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 |
setComboInput(String behavior)
Select the correct behavior in the interactive UI.
|
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, updateApplyButtonconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.IWorkbenchPreferencePageprotected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents in class org.eclipse.jface.preference.PreferencePagepublic void setComboInput(String behavior)
behavior - public String getCurrentSynchronizationBehavior()
This value can only be one of the following:
MessageDialogWithToggle.PROMPTMessageDialogWithToggle.ALWAYSMessageDialogWithToggle.NEVERpublic String getDefaultSynchronizationBehavior()
public void setCurrentSynchronizationBehavior(String newBehavior)
newBehavior - New value.public boolean performOk()
performOk in interface org.eclipse.jface.preference.IPreferencePageperformOk in class org.eclipse.jface.preference.PreferencePageprotected void performDefaults()
performDefaults in class org.eclipse.jface.preference.PreferencePage
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.