public class GroupsPreferencePage
extends org.eclipse.jface.preference.PreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage
| Modifier and Type | Field and Description |
|---|---|
static String |
PAGE_ID
Id of the preference page.
|
| Constructor and Description |
|---|
GroupsPreferencePage() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.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(org.eclipse.ui.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, waitpublic static final String PAGE_ID
public static String getGroupSynchronizationPreferenceKey(boolean isThreeWay)
isThreeWay - True if three way comparison.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 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.PreferencePagepublic void setCurrentSynchronizationBehavior(String newBehavior, boolean isThreeWay)
newBehavior - Should be one of the following value.
MessageDialogWithToggle.PROMPTMessageDialogWithToggle.ALWAYSMessageDialogWithToggle.NEVERisThreeWay - True if three way comparison.public String getCurrentSynchronizationBehavior(boolean isThreeWay)
isThreeWay - True if three way comparison.MessageDialogWithToggle.PROMPTMessageDialogWithToggle.ALWAYSMessageDialogWithToggle.NEVER
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.