@Override
  public void applyEditorTo(final @NotNull RunnerAndConfigurationSettings settings) throws ConfigurationException {
    myEditor.applyEditorTo(settings);
    doApply((RunnerAndConfigurationSettingsImpl)settings, false);

    if (myRunOnTargetPanel != null) {
      // editing a template run configuration
      myRunOnTargetPanel.apply();
    }
  }
@Override
  public void applyEditorTo(final @NotNull RunnerAndConfigurationSettings settings)