@NotNull
  private ExecutorAction createAction(@NotNull RunnerAndConfigurationSettings selected, @NotNull Executor executor) {
    return new ExecutorAction(executor) {
      {
        AnAction action = ActionManager.getInstance().getAction(executor.getId());
        if (action != null) {
          setShortcutSet(action.getShortcutSet());
          registerCustomShortcutSet(getContentPanel(), null);
        }
        myExecutorActions.add(this);
      }

      @Override
      public void actionPerformed(@NotNull AnActionEvent e) {
        run(myProject, selected, Objects.requireNonNull(myDataContext));
        doOKAction();
      }

      @Override
      protected RunnerAndConfigurationSettings getSelectedConfiguration(@NotNull AnActionEvent e) {
        return selected;
      }
    };
  }
@NotNull
  private ExecutorAction createAction(@NotNull RunnerAndConfigurationSettings selected, @NotNull Executor executor)