/**
* Method declared on IPreferencePage. Save the
* color preference to the preference store.
*/
public boolean performOk() {
IPreferenceStore prefs = PerlEditorPlugin.getDefault().getPreferenceStore();
PerlEditorPlugin.getDefault().setPerlExecutable(
executableText.getText());
prefs.setValue(
PreferenceConstants.DEBUG_SHOW_WARNINGS,
warningsCheckBox.getSelection());
prefs.setValue(
PreferenceConstants.DEBUG_METHOD_SIGNATURES,
methodsCheckBox.getSelection());
prefs.setValue(
PreferenceConstants.DEBUG_TAINT_MODE,
taintCheckBox.getSelection());
prefs.setValue(
PreferenceConstants.DEBUG_DEBUG_CONSOLE,
debugConsoleCheckBox.getSelection());
prefs.setValue(
PreferenceConstants.DEBUG_SUSPEND_AT_FIRST,
suspendAtFirstCheckBox.getSelection());
prefs.setValue(
PreferenceConstants.EDITOR_SYNTAX_VALIDATION,
validateCheckBox.getSelection());
prefs.setValue(
PreferenceConstants.DEBUG_INTERPRETER_TYPE,
interpreterTypeCombo.getText());
prefs.setValue(
PreferenceConstants.EDITOR_SYNTAX_VALIDATION_INTERVAL,
syntaxCheckInterval.getSelection());
prefs.setValue(
PreferenceConstants.BROWSER_START_URL,
browserLabelText.getText());
prefs.setValue(
PreferenceConstants.DEBUG_PREVIEW_KEYS,
debugPreviewKeysText.getText());
return super.performOk();
}