@Override protected void performDefaults() { super.performDefaults(); updateFieldEnablement( getPreferenceStore().getBoolean(EMFCompareUIPreferences.DISABLE_RESOLVERS_PREFERENCE)); updateScopeDescription( getPreferenceStore().getString(EMFCompareUIPreferences.RESOLUTION_SCOPE_PREFERENCE)); }
@Override protected void performDefaults() { super.performDefaults(); // We don't get property changed events when the default values are // restored... lastCustomValue = getPreferenceStore().getDefaultString(UIPreferences.DATE_FORMAT); updateFields(getPreferenceStore().getDefaultString(UIPreferences.DATE_FORMAT_CHOICE)); }
/* * (non-Javadoc) * * @see org.eclipse.jface.preference.FieldEditorPreferencePage#performDefaults() */ @Override protected void performDefaults() { super.performDefaults(); if (scriptTxt != null && !scriptTxt.isDisposed()) { isDefaultPresentedForScriptTxt = true; scriptTxt.setText(getPreferenceStore().getDefaultString(getPreferenceKey())); } }
@Override protected void performDefaults() { IEclipsePreferences prefs = LiferayDebugCore.getPrefs(); prefs.remove(LiferayDebugCore.PREF_FM_DEBUG_PASSWORD); prefs.remove(LiferayDebugCore.PREF_FM_DEBUG_PORT); try { prefs.flush(); } catch (BackingStoreException e) { LiferayDebugUI.logError(e); } super.performDefaults(); }
@Override protected void performDefaults() { super.performDefaults(); bracketMatching.loadDefault(); IPreferenceStore store = EditorsUI.getPreferenceStore(); matchingBrackets.setSelection(store.getDefaultBoolean(SELECTED_BRACKET)); enclosingBrackets.setSelection(store.getDefaultBoolean(ENCLOSING_BRACKETS)); oppositeBracket.setSelection(false); smartCaret.loadDefault(); pasteCorrectIndent.loadDefault(); pasteEscapeQuoted.loadDefault(); pasteImports.loadDefault(); autoFoldImports.loadDefault(); autoFoldComments.loadDefault(); closeAngles.loadDefault(); closeBackticks.loadDefault(); closeBraces.loadDefault(); closeBrackets.loadDefault(); closeParens.loadDefault(); closeQuotes.loadDefault(); enableFolding.store(); }
/** @see org.eclipse.jface.preference.PreferencePage#performDefaults() */ protected void performDefaults() { super.performDefaults(); }
/** {@inheritDoc} */ @Override protected void performDefaults() { super.performDefaults(); isDirty = true; setAutoDownloadEnabled(fieldEnableAutoDownload.getBooleanValue()); }