public class EditorPreferencePage
extends org.eclipse.jface.preference.FieldEditorPreferencePage
implements org.eclipse.ui.IWorkbenchPreferencePage
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.ui.dialogs.PreferenceLinkArea |
colorsAndFontsLink
Link to color preference page.
|
protected org.eclipse.swt.widgets.Composite |
colorTab
Color tab.
|
static String |
PAGE_ID
Preference page ID.
|
protected org.eclipse.swt.widgets.TabFolder |
tabFolder
Tab folder for all tabs in this page.
|
protected org.eclipse.jface.preference.IntegerFieldEditor |
treeAutoExpandLevel
Editor for preference
EMFCompareUIPreferences.EDITOR_TREE_AUTO_EXPAND_LEVEL. |
protected org.eclipse.jface.preference.BooleanFieldEditor |
treeAutoSelectFirstChange
Editor for preference
EMFCompareUIPreferences.EDITOR_TREE_AUTO_SELECT_FIRST_CHANGE. |
protected org.eclipse.jface.preference.BooleanFieldEditor |
treeHighlightRelatedChanges
Editor for preference
EMFCompareUIPreferences.EDITOR_TREE_HIGHLIGHT_RELATED_CHANGES. |
protected org.eclipse.swt.widgets.Composite |
treeTab
Tree tab.
|
| Constructor and Description |
|---|
EditorPreferencePage() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.jface.preference.IntegerFieldEditor |
createAutoExpandTreeLevel(org.eclipse.swt.widgets.Composite parent)
Creates an editor for the
EMFCompareUIPreferences.EDITOR_TREE_AUTO_EXPAND_LEVEL preference. |
protected org.eclipse.jface.preference.BooleanFieldEditor |
createAutoSelectFirstChange(org.eclipse.swt.widgets.Composite parent)
Creates an editor for the
EMFCompareUIPreferences.EDITOR_TREE_AUTO_SELECT_FIRST_CHANGE
preference. |
protected org.eclipse.ui.dialogs.PreferenceLinkArea |
createColorsAndFontsLink(org.eclipse.swt.widgets.Composite parent)
Creates a link to the preference page setting the colors and fonts for the Compare Editor.
|
protected void |
createColorTabContent()
Creates and adds the content of the color tab.
|
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent) |
protected void |
createFieldEditors() |
protected org.eclipse.jface.preference.BooleanFieldEditor |
createHighlightRelatedChanges(org.eclipse.swt.widgets.Composite parent)
Creates an editor for the
EMFCompareUIPreferences.EDITOR_TREE_HIGHLIGHT_RELATED_CHANGES
preference. |
protected org.eclipse.jface.preference.BooleanFieldEditor |
createSelectNextUnresolvedDiff(org.eclipse.swt.widgets.Composite parent)
Creates an editor for the
EMFCompareUIPreferences.EDITOR_TREE_HIGHLIGHT_RELATED_CHANGES
preference. |
protected org.eclipse.swt.widgets.Composite |
createTabSkeleton(String tabLabel)
Create a skeleton of a tab.
|
protected org.eclipse.swt.widgets.Composite |
createTabSkeleton(String tabLabel,
String introText)
Create a skeleton of a tab.
|
protected void |
createTreeTabContent()
Creates and adds the content of the tree tab.
|
protected org.eclipse.swt.widgets.Composite |
getColorTab()
Returns the lazily created color tab.
|
protected org.eclipse.swt.widgets.Composite |
getTreeTab()
Returns the lazily created tree tab.
|
void |
init(org.eclipse.ui.IWorkbench workbench) |
addField, adjustGridLayout, applyFont, checkState, dispose, getFieldEditorParent, initialize, performDefaults, performOk, propertyChange, setVisibleapplyData, 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, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String PAGE_ID
protected org.eclipse.swt.widgets.TabFolder tabFolder
protected org.eclipse.swt.widgets.Composite colorTab
protected org.eclipse.swt.widgets.Composite treeTab
protected org.eclipse.ui.dialogs.PreferenceLinkArea colorsAndFontsLink
protected org.eclipse.jface.preference.BooleanFieldEditor treeAutoSelectFirstChange
EMFCompareUIPreferences.EDITOR_TREE_AUTO_SELECT_FIRST_CHANGE.protected org.eclipse.jface.preference.IntegerFieldEditor treeAutoExpandLevel
EMFCompareUIPreferences.EDITOR_TREE_AUTO_EXPAND_LEVEL.protected org.eclipse.jface.preference.BooleanFieldEditor treeHighlightRelatedChanges
EMFCompareUIPreferences.EDITOR_TREE_HIGHLIGHT_RELATED_CHANGES.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.FieldEditorPreferencePageprotected org.eclipse.swt.widgets.Composite createTabSkeleton(String tabLabel)
tabLabel - tab labelprotected org.eclipse.swt.widgets.Composite createTabSkeleton(String tabLabel, String introText)
tabLabel - tab labelintroText - Text use as description a tab (may be null)protected org.eclipse.swt.widgets.Composite getColorTab()
protected org.eclipse.swt.widgets.Composite getTreeTab()
protected void createFieldEditors()
createFieldEditors in class org.eclipse.jface.preference.FieldEditorPreferencePageprotected void createColorTabContent()
protected void createTreeTabContent()
protected org.eclipse.ui.dialogs.PreferenceLinkArea createColorsAndFontsLink(org.eclipse.swt.widgets.Composite parent)
parent - link parentprotected org.eclipse.jface.preference.IntegerFieldEditor createAutoExpandTreeLevel(org.eclipse.swt.widgets.Composite parent)
EMFCompareUIPreferences.EDITOR_TREE_AUTO_EXPAND_LEVEL preference.parent - editor parentprotected org.eclipse.jface.preference.BooleanFieldEditor createAutoSelectFirstChange(org.eclipse.swt.widgets.Composite parent)
EMFCompareUIPreferences.EDITOR_TREE_AUTO_SELECT_FIRST_CHANGE
preference.parent - editor parentprotected org.eclipse.jface.preference.BooleanFieldEditor createHighlightRelatedChanges(org.eclipse.swt.widgets.Composite parent)
EMFCompareUIPreferences.EDITOR_TREE_HIGHLIGHT_RELATED_CHANGES
preference.parent - editor parentprotected org.eclipse.jface.preference.BooleanFieldEditor createSelectNextUnresolvedDiff(org.eclipse.swt.widgets.Composite parent)
EMFCompareUIPreferences.EDITOR_TREE_HIGHLIGHT_RELATED_CHANGES
preference.parent - editor parent
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.