public class PropagatingFontFieldEditor extends FontFieldEditor
FontFieldEditor
HORIZONTAL_GAP, IS_VALID, VALUE
Constructor and Description |
---|
PropagatingFontFieldEditor(String name,
String labelText,
Composite parent,
String defaultFontLabel)
Deprecated.
Creates a new font field editor with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doLoad()
Deprecated.
Initializes this field editor with the preference value from
the preference store.
|
protected void |
doLoadDefault()
Deprecated.
Initializes this field editor with the default preference value from
the preference store.
|
static void |
startPropagate(IPreferenceStore source,
String sourceKey,
IPreferenceStore target,
String targetKey)
Deprecated.
Starts the propagation of the font preference stored in the source preference
store under the source key to the target preference store using the target
preference key.
|
adjustForNumColumns, applyFont, doFillIntoGrid, doStore, getChangeControl, getNumberOfControls, getPreferredPreviewHeight, getPreviewControl, getValueControl, setChangeButtonText, setEnabled, setToDefault
checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPage, getPreferenceName, getPreferencePage, getPreferenceStore, init, isValid, load, loadDefault, presentsDefaultValue, refreshValidState, setButtonLayoutData, setFocus, setLabelText, setPage, setPreferenceName, setPreferencePage, setPreferenceStore, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, store
public PropagatingFontFieldEditor(String name, String labelText, Composite parent, String defaultFontLabel)
name
- the editor's namelabelText
- the text shown as editor descriptionparent
- the editor's parent widgetdefaultFontLabel
- the label shown in the editor value field when the default value should be takenprotected void doLoad()
FieldEditor
Subclasses must implement this method to properly initialize the field editor.
doLoad
in class FontFieldEditor
protected void doLoadDefault()
FieldEditor
Subclasses must implement this method to properly initialize the field editor.
doLoadDefault
in class FontFieldEditor
public static void startPropagate(IPreferenceStore source, String sourceKey, IPreferenceStore target, String targetKey)
source
- the source preference storesourceKey
- the key to be used in the source preference storetarget
- the target preference storetargetKey
- the key to be used in the target preference store
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.