Пример #1
0
  private void loadPhar() {

    String phar = getValue(scriptToExecute);
    if (phar == null) {
      return;
    }

    scriptField.setText(phar);
  }
Пример #2
0
  @Override
  public void performDefaults() {

    scriptField.setText("");
    scriptField.setEnabled(false);

    if (buttonGroup != null) {
      buttonGroup.setSelection(0, true);
      buttonGroup.setSelection(1, false);
    }
    setValue(useScriptInsideProject, true);
    setValue(scriptToExecute, "");
    setValue(phpExecutable, "");
    validateSettings(null, null, null);
    super.performDefaults();
  }