public class FiltersPreferencePage
extends org.eclipse.jface.preference.PreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage
IDifferenceFilter
.Modifier and Type | Field and Description |
---|---|
static String |
PAGE_ID
Preference page ID.
|
static String |
SYNCHRONIZATION_BEHAVIOR
Preference key holding synchronization behavior value.
|
Constructor and Description |
---|
FiltersPreferencePage() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent) |
String |
getCurrentSynchronizationBehavior()
Gets the current value of the filter synchronization behavior.
|
String |
getDefaultSynchronizationBehavior() |
void |
init(org.eclipse.ui.IWorkbench workbench) |
protected void |
performDefaults() |
boolean |
performOk() |
void |
setCurrentSynchronizationBehavior(String newBehavior)
Set the current value of the filter synchronization behavior.
|
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final String PAGE_ID
public static final String SYNCHRONIZATION_BEHAVIOR
public void init(org.eclipse.ui.IWorkbench workbench)
init
in interface org.eclipse.ui.IWorkbenchPreferencePage
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents
in class org.eclipse.jface.preference.PreferencePage
public String getCurrentSynchronizationBehavior()
This value can only be one of the following:
MessageDialogWithToggle.PROMPT
MessageDialogWithToggle.ALWAYS
MessageDialogWithToggle.NEVER
public String getDefaultSynchronizationBehavior()
public void setCurrentSynchronizationBehavior(String newBehavior)
newBehavior
- New value.public boolean performOk()
performOk
in interface org.eclipse.jface.preference.IPreferencePage
performOk
in class org.eclipse.jface.preference.PreferencePage
protected void performDefaults()
performDefaults
in class org.eclipse.jface.preference.PreferencePage
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.