@Override
  protected void applyEditorTo(@NotNull MavenRunConfiguration runConfiguration) throws ConfigurationException {
    String targetName = MavenRunConfiguration.getTargetName(this);
    boolean localTarget = targetName == null;
    myUseProjectSettings.setEnabled(localTarget);
    if (!localTarget) {
      myUseProjectSettings.setSelected(false);
      myUseProjectSettings.setToolTipText(MavenConfigurableBundle.message("maven.settings.on.targets.runner.use.project.settings.tooltip"));
    } else {
      myUseProjectSettings.setToolTipText(MavenConfigurableBundle.message("maven.settings.runner.use.project.settings.tooltip"));
    }

    if (myUseProjectSettings.isSelected()) {
      runConfiguration.setRunnerSettings(null);
    }
    else {
      MavenRunnerSettings runnerSettings = runConfiguration.getRunnerSettings();
      myPanel.applyTargetEnvironmentConfiguration(targetName);
      if (runnerSettings != null) {
        myPanel.setData(runnerSettings);
      }
      else {
        MavenRunnerSettings settings = MavenRunner.getInstance(myPanel.getProject()).getSettings().clone();
        myPanel.setData(settings);
        runConfiguration.setRunnerSettings(settings);
      }
    }
  }
@Override
  protected void applyEditorTo(@NotNull MavenRunConfiguration runConfiguration)