@Override
  protected void applyEditorTo(@NotNull ShRunConfiguration configuration) {
    configuration.setScriptText(myScript.getText());
    // If we execute script by path, fill one components or other components if execute script text
    if (myScriptFileRadioButton.isSelected()) {
      configuration.setScriptWorkingDirectory(myScriptFileWorkingDirectory.getText());
      configuration.setExecuteInTerminal(myExecuteFileInTerminal.isSelected());
      configuration.setEnvData(myEnvComponent.getEnvData());
      configuration.setExecuteScriptFile(true);
    } else {
      configuration.setScriptWorkingDirectory(myScriptWorkingDirectory.getText());
      configuration.setExecuteInTerminal(myExecuteScriptInTerminal.isSelected());
      configuration.setEnvData(myScriptEnvComponent.getEnvData());
      configuration.setExecuteScriptFile(false);
    }
    configuration.setScriptPath(myScriptSelector.getText());
    configuration.setScriptOptions(myScriptOptions.getText());
    configuration.setInterpreterPath(myInterpreterSelector.getText());
    configuration.setInterpreterOptions(myInterpreterOptions.getText());
  }
@Override
  protected void applyEditorTo(@NotNull ShRunConfiguration configuration)