@Override
  public void update(@NotNull AnActionEvent event) {
    Presentation presentation = event.getPresentation();
    presentation.setEnabledAndVisible(!event.getUpdateSession().children(this).isEmpty());
  }
@Override
  public void update(@NotNull AnActionEvent event)