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 |
setComboInput(String behavior)
Sets the combo to the given synchronization behavior.
|
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
public 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.IWorkbenchPreferencePage
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents
in class org.eclipse.jface.preference.PreferencePage
public void setComboInput(String behavior)
behavior
- Input.public boolean performOk()
performOk
in interface org.eclipse.jface.preference.IPreferencePage
performOk
in class org.eclipse.jface.preference.PreferencePage
protected void performDefaults()
performDefaults
in class org.eclipse.jface.preference.PreferencePage
public void setCurrentSynchronizationBehavior(String newBehavior, boolean isThreeWay)
newBehavior
- Should be one of the following value.
MessageDialogWithToggle.PROMPT
MessageDialogWithToggle.ALWAYS
MessageDialogWithToggle.NEVER
isThreeWay
- True if three way comparison.public String getCurrentSynchronizationBehavior(boolean isThreeWay)
isThreeWay
- True if three way comparison.MessageDialogWithToggle.PROMPT
MessageDialogWithToggle.ALWAYS
MessageDialogWithToggle.NEVER
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.