@Override
  protected void run(@NotNull Project project, @NotNull RunnerAndConfigurationSettings settings, @NotNull DataContext dataContext) {
    LOG.assertTrue(myRunConfig == settings);

    if (myEditConfigBeforeRun) {
      String dialogTitle = ExecutionBundle.message("dialog.title.edit.configuration.settings");
      if (!RunDialog.editConfiguration(project, myRunConfig, dialogTitle, myExecutor)) {
        return;
      }
    }

    super.run(project, myRunConfig, dataContext);

    RunManager.getInstance(project).setSelectedConfiguration(myRunConfig);
  }
@Override
  protected void run(@NotNull Project project, @NotNull RunnerAndConfigurationSettings settings, @NotNull DataContext dataContext)