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, 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, waitcomputeSize, isValid, okToLeave, performCancel, setContainer, setSizecreateControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisiblepublic 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 IWorkbenchPreferencePageprotected Control createContents(Composite parent)
createContents in class PreferencePagepublic boolean performOk()
performOk in interface IPreferencePageperformOk in class PreferencePageprotected void performDefaults()
performDefaults in class PreferencePagepublic 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.