Search in sources :

Example 1 with ResultNode

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);
}
Also used : ResultNode(com.evolveum.midpoint.studio.ui.trace.entry.ResultNode) OpNode(com.evolveum.midpoint.schema.traces.OpNode) TextNode(com.evolveum.midpoint.studio.ui.trace.entry.TextNode) TraceNode(com.evolveum.midpoint.studio.ui.trace.entry.TraceNode) DefaultMutableTreeTableNode(org.jdesktop.swingx.treetable.DefaultMutableTreeTableNode) ResultNode(com.evolveum.midpoint.studio.ui.trace.entry.ResultNode) Node(com.evolveum.midpoint.studio.ui.trace.entry.Node) DefaultMutableTreeTableNode(org.jdesktop.swingx.treetable.DefaultMutableTreeTableNode)

Aggregations

OpNode (com.evolveum.midpoint.schema.traces.OpNode)1 Node (com.evolveum.midpoint.studio.ui.trace.entry.Node)1 ResultNode (com.evolveum.midpoint.studio.ui.trace.entry.ResultNode)1 TextNode (com.evolveum.midpoint.studio.ui.trace.entry.TextNode)1 TraceNode (com.evolveum.midpoint.studio.ui.trace.entry.TraceNode)1 DefaultMutableTreeTableNode (org.jdesktop.swingx.treetable.DefaultMutableTreeTableNode)1