@Override
  public void update(@NotNull AnActionEvent e) {
    Presentation presentation = e.getPresentation();
    presentation.setEnabledAndVisible(e.getProject() != null && !getTargets(e).isEmpty());
    if (ActionPlaces.isPopupPlace(e.getPlace())) {
      presentation.setText(getTemplatePresentation().getText() + "...");
    }
  }
@Override
  public void update(@NotNull AnActionEvent e)