public class CPreferenceModel extends PreferenceTreeModel
PreferenceModel that shows the settings of a CControl.PreferenceTreeModel.Node| Constructor and Description |
|---|
CPreferenceModel(CControl control)
Creates a new model.
|
CPreferenceModel(CControl control,
PathCombiner combiner)
Creates a new model.
|
| Modifier and Type | Method and Description |
|---|---|
BubbleThemePreferenceModel |
getBubbleThemePreferences()
Grants access to the preferences concerning the
BubbleTheme. |
ButtonContentPreferenceModel |
getButtonContent()
Grants access to the preferences concerning the
ButtonContent. |
EclipseThemePreferenceModel |
getEclipseThemePreferences()
Grants access to the preferences concerning the
EclipseTheme. |
CKeyStrokePreferenceModel |
getKeyStrokePreferences()
Grants access to the preferences concerning the global
KeyStrokes. |
CLayoutPreferenceModel |
getLayoutPreferences()
Grants access to the preferences concerning layout options like "where are the tabs placed?".
|
addPreferenceModelListener, addTreeModelListener, delete, doOperation, getChild, getChildCount, getDescription, getIndexOfChild, getLabel, getModel, getOperations, getPath, getRoot, getSize, getTreeModelListeners, getTypePath, getValue, getValueInfo, hasListeners, isEnabled, isLeaf, isNatural, put, putLinked, putLinked, putModel, putNode, read, removePreferenceModelListener, removeTreeModelListener, setValue, setValueNatural, valueForPathChanged, writefirePreferenceAdded, firePreferenceChanged, firePreferenceRemoved, getController, listenerspublic CPreferenceModel(CControl control)
PathCombiner.SECOND. This
behavior allows reordering of models and preferences in future releases,
however forces any preference to have a truly unique path in a global
scale.control - the control whose settings can be changed by this modelpublic CPreferenceModel(CControl control, PathCombiner combiner)
control - the control whose settings can be changed by this modelcombiner - how to combine paths of models and of preferencespublic CKeyStrokePreferenceModel getKeyStrokePreferences()
KeyStrokes.nullIllegalStateException - if the model was removed or replaced by the clientpublic CLayoutPreferenceModel getLayoutPreferences()
nullIllegalStateException - if the model was removed or replaced by the clientpublic ButtonContentPreferenceModel getButtonContent()
ButtonContent.nullIllegalStateException - if the model was removed or replaced by the clientpublic BubbleThemePreferenceModel getBubbleThemePreferences()
BubbleTheme.nullIllegalStateException - if the model was removed or replaced by the clientpublic EclipseThemePreferenceModel getEclipseThemePreferences()
EclipseTheme.nullIllegalStateException - if the model was removed or replaced by the clientCopyright © 2018. All rights reserved.