use of com.intellij.xdebugger.impl.ui.tree.nodes.WatchNodeImpl in project intellij-community by JetBrains.
the class XEditWatchAction method perform.
@Override
protected void perform(@NotNull AnActionEvent e, @NotNull XDebuggerTree tree, @NotNull XWatchesView watchesView) {
List<? extends WatchNodeImpl> watchNodes = getSelectedNodes(tree, WatchNodeImpl.class);
if (watchNodes.size() != 1)
return;
WatchNodeImpl node = watchNodes.get(0);
XDebuggerTreeNode root = tree.getRoot();
if (root instanceof WatchesRootNode) {
((WatchesRootNode) root).editWatch(node);
}
}
Aggregations