public void dialogFieldChanged(DialogField field) { if (field == fDefaultValues) { final boolean checked = fDefaultValues.isSelected(); if (null != fConfigurationBlock) this.fConfigurationBlock.setEnabled(!checked); } fireEvent(); }
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(); } }
/** * 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(); }