@Override
      public void update(@NotNull AnActionEvent event) {
        event.getPresentation().setEnabled(action.isEnabled());
      }
@Override
      public void update(@NotNull AnActionEvent event)