@Override
    protected void actionPerformed(@NotNull AnActionEvent event) {
      HelpTooltip.hide(this);

      if (mousePressType == MousePressType.Popup || !selectedActionEnabled()) {
        showActionGroupPopup(myActionGroup, event);
      }
      else {
        selectedAction.actionPerformed(event);
      }
    }
@Override
    protected void actionPerformed(@NotNull AnActionEvent event)