Exemplo n.º 1
0
    public void dialogFieldChanged(DialogField field) {
      if (field == fDefaultValues) {
        final boolean checked = fDefaultValues.isSelected();
        if (null != fConfigurationBlock) this.fConfigurationBlock.setEnabled(!checked);
      }

      fireEvent();
    }
Exemplo n.º 2
0
 public void widgetDefaultSelected(SelectionEvent e) {
   String prefID = PHPInterpreterPreferencePage.PREF_ID;
   Map data = null;
   PreferencesUtil.createPreferenceDialogOn(getShell(), prefID, new String[] {prefID}, data)
       .open();
   if (!fCustomValues.isSelected()) {
     fConfigurationBlock.performRevert();
   }
 }
Exemplo n.º 3
0
 /**
  * Return <code>true</code> if the user specified to create 'application' and 'public' folders.
  *
  * @return returns <code>true</code> if the user specified to create 'source' and 'bin' folders.
  */
 public boolean isDetailedLayout() {
   return fSrcBinRadio.isSelected();
 }