예제 #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();
  }