boolean (@NotNull AnActionEvent event, @NotNull XValueNodeImpl node) { if (node instanceof WatchNodeImpl || node.isComputed()) { event.getPresentation().setEnabled(true); return true; } return false; }