| org.eclipse.ui.texteditor.WorkbenchChainedTextFontFieldEditor org.eclipse.ui.texteditor.PropagatingFontFieldEditor org.eclipse.ui.texteditor.WorkbenchChainedTextFontFieldEditor
All known Subclasses: org.eclipse.ui.texteditor.PropagatingFontFieldEditor,
WorkbenchChainedTextFontFieldEditor | public class WorkbenchChainedTextFontFieldEditor extends PropagatingFontFieldEditor (Code) | | This font field editor implements chaining between the workbench's preference
store and a given target preference store. Any time the workbench's preference
for the text font changes, the change is propagated to the target store.
Propagation means that the actual text font stored in the workbench store is set as
default text font in the target store. If the target store does not contain a value
rather than the default text font, the new default text font is immediately effective.
See Also: org.eclipse.jface.preference.FontFieldEditor since: 2.0 |
Method Summary | |
public static void | startPropagate(IPreferenceStore target, String targetKey) Starts the propagation of the text font preference set in the workbench
to given target preference store using the given preference key. |
WorkbenchChainedTextFontFieldEditor | public WorkbenchChainedTextFontFieldEditor(String name, String labelText, Composite parent)(Code) | | Creates a new font field editor with the given parameters.
Parameters: name - the editor's name Parameters: labelText - the text shown as editor description Parameters: parent - the editor's parent widget |
startPropagate | public static void startPropagate(IPreferenceStore target, String targetKey)(Code) | | Starts the propagation of the text font preference set in the workbench
to given target preference store using the given preference key.
Parameters: target - the target preference store Parameters: targetKey - the key to be used in the target preference store |
Methods inherited from org.eclipse.ui.texteditor.WorkbenchChainedTextFontFieldEditor | public static void startPropagate(IPreferenceStore target, String targetKey)(Code)(Java Doc)
|
|
|