use of com.evolveum.midpoint.studio.ui.trace.entry.ResultNode in project midpoint-studio by Evolveum.
the class OpDetailsTreePanel method updateModel.
@Override
void updateModel(OpNode node) {
super.updateModel(node);
Node result;
Node trace;
if (node != null) {
result = new ResultNode(node);
trace = createTraceNodeTreatingExceptions(node);
} else {
result = TextNode.create("Result", "", null);
trace = TextNode.create("Trace", "", null);
}
DefaultMutableTreeTableNode root = new DefaultMutableTreeTableNode();
root.add(result);
root.add(trace);
updateTreeModel(root);
applySelection(null);
}
Aggregations