public class GroupsPreferencePage extends PreferencePage implements IWorkbenchPreferencePage
Modifier and Type | Field and Description |
---|---|
static String |
PAGE_ID
Id of the preference page.
|
ERROR, INFORMATION, NONE, WARNING
Constructor and Description |
---|
GroupsPreferencePage() |
Modifier and Type | Method and Description |
---|---|
protected Control |
createContents(Composite parent) |
String |
getCurrentSynchronizationBehavior(boolean isThreeWay)
Gets the state of the the group synchronization behavior.
|
static String |
getGroupSynchronizationPreferenceKey(boolean isThreeWay)
Gets the preference key for synchronization behavior.
|
void |
init(IWorkbench workbench) |
protected void |
performDefaults() |
boolean |
performOk() |
void |
setCurrentSynchronizationBehavior(String newBehavior,
boolean isThreeWay)
Sets the current synchronization behavior value.
|
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
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 String getGroupSynchronizationPreferenceKey(boolean isThreeWay)
isThreeWay
- True if three way comparison.public void init(IWorkbench workbench)
init
in interface IWorkbenchPreferencePage
protected Control createContents(Composite parent)
createContents
in class PreferencePage
public boolean performOk()
performOk
in interface IPreferencePage
performOk
in class PreferencePage
protected void performDefaults()
performDefaults
in class PreferencePage
public void setCurrentSynchronizationBehavior(String newBehavior, boolean isThreeWay)
newBehavior
- Should be one of the following value.
isThreeWay
- True if three way comparison.public String getCurrentSynchronizationBehavior(boolean isThreeWay)
isThreeWay
- True if three way comparison.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.