Search in sources :

Example 1 with XValueContainerNode

use of com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode in project intellij-community by JetBrains.

the class XVariablesViewBase method createNewRootNode.

protected XValueContainerNode createNewRootNode(@Nullable XStackFrame stackFrame) {
    XValueContainerNode root;
    if (stackFrame == null) {
        root = new XValueContainerNode<XValueContainer>(getTree(), null, new XValueContainer() {
        }) {
        };
    } else {
        root = new XStackFrameNode(getTree(), stackFrame);
    }
    getTree().setRoot(root, false);
    return root;
}
Also used : XValueContainer(com.intellij.xdebugger.frame.XValueContainer) XValueContainerNode(com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode) XStackFrameNode(com.intellij.xdebugger.impl.ui.tree.nodes.XStackFrameNode)

Example 2 with XValueContainerNode

use of com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode in project intellij-community by JetBrains.

the class XVariablesView method clear.

@Override
protected void clear() {
    XDebuggerTree tree = getTree();
    tree.setSourcePosition(null);
    clearInlineData(tree);
    XValueContainerNode root = createNewRootNode(null);
    addEmptyMessage(root);
    super.clear();
}
Also used : XValueContainerNode(com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode) XDebuggerTree(com.intellij.xdebugger.impl.ui.tree.XDebuggerTree)

Aggregations

XValueContainerNode (com.intellij.xdebugger.impl.ui.tree.nodes.XValueContainerNode)2 XValueContainer (com.intellij.xdebugger.frame.XValueContainer)1 XDebuggerTree (com.intellij.xdebugger.impl.ui.tree.XDebuggerTree)1 XStackFrameNode (com.intellij.xdebugger.impl.ui.tree.nodes.XStackFrameNode)1