@Override
  public void update(@NotNull final AnActionEvent e) {
    XDebuggerTree tree = XDebuggerTree.getTree(e);
    e.getPresentation().setEnabledAndVisible(tree != null && getSelectedNodes(tree, WatchNodeImpl.class).size() == 1);
  }
@Override
  public void update(@NotNull final AnActionEvent e)