public class FiltersPreferencePage extends PreferencePage implements 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.
|
ERROR, INFORMATION, NONE, WARNING
Constructor and Description |
---|
FiltersPreferencePage() |
Modifier and Type | Method and Description |
---|---|
protected Control |
createContents(Composite parent) |
String |
getCurrentSynchronizationBehavior()
Gets the current value of the filter synchronization behavior.
|
String |
getDefaultSynchronizationBehavior() |
void |
init(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, 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
computeSize, isValid, okToLeave, performCancel, setContainer, setSize
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
public static final String PAGE_ID
public static final String SYNCHRONIZATION_BEHAVIOR
public void init(IWorkbench workbench)
init
in interface IWorkbenchPreferencePage
protected Control createContents(Composite parent)
createContents
in class PreferencePage
public String getCurrentSynchronizationBehavior()
This value can only be one of the following:
public String getDefaultSynchronizationBehavior()
public void setCurrentSynchronizationBehavior(String newBehavior)
newBehavior
- New value.public boolean performOk()
performOk
in interface IPreferencePage
performOk
in class PreferencePage
protected void performDefaults()
performDefaults
in class PreferencePage
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.