@Override
    public void update(@NotNull AnActionEvent e) {
      @Nullable XValueNodeImpl node = getValueNode();
      Presentation presentation = e.getPresentation();
      presentation.setEnabledAndVisible(node != null && canSetTextValue(node));
    }
@Override
    public void update(@NotNull AnActionEvent e)