@Override
  public void update(@NotNull AnActionEvent e) {
    Project project = e.getData(CommonDataKeys.PROJECT);
    e.getPresentation().setPerformGroup(!e.isFromActionToolbar());
    e.getPresentation().setDisableGroupIfEmpty(false);
    e.getPresentation().putClientProperty(ActionMenu.SUPPRESS_SUBMENU, true);
    e.getPresentation().setEnabledAndVisible(project != null);
  }
@Override
  public void update(@NotNull AnActionEvent e)