@Override
  public void update(@NotNull AnActionEvent e) {
    Project project = e.getProject();
    Presentation presentation = e.getPresentation();
    presentation.setEnabledAndVisible(project != null);
  }
@Override
  public void update(@NotNull AnActionEvent e)