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
KeyStroke s. |
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, write
firePreferenceAdded, firePreferenceChanged, firePreferenceRemoved, getController, listeners
public 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()
KeyStroke
s.null
IllegalStateException
- if the model was removed or replaced by the clientpublic CLayoutPreferenceModel getLayoutPreferences()
null
IllegalStateException
- if the model was removed or replaced by the clientpublic ButtonContentPreferenceModel getButtonContent()
ButtonContent
.null
IllegalStateException
- if the model was removed or replaced by the clientpublic BubbleThemePreferenceModel getBubbleThemePreferences()
BubbleTheme
.null
IllegalStateException
- if the model was removed or replaced by the clientpublic EclipseThemePreferenceModel getEclipseThemePreferences()
EclipseTheme
.null
IllegalStateException
- if the model was removed or replaced by the client