public void applyTo(@NotNull CommonProgramRunConfigurationParameters configuration) {
    configuration.setProgramParameters(fromTextField(myProgramParametersComponent.getComponent(), configuration));
    configuration.setWorkingDirectory(fromTextField(myWorkingDirectoryField, configuration));

    myEnvVariablesComponent.apply(configuration);
  }
public void applyTo(@NotNull CommonProgramRunConfigurationParameters configuration)