| java.lang.Object org.netbeans.editor.Settings org.netbeans.editor.BaseSettingsInitializer
BaseSettingsInitializer | public class BaseSettingsInitializer extends Settings.AbstractInitializer (Code) | | Initializer for the editor settings. This initializer contains the default
values for the majority of the base-level settings. The constants defined
here are used also internally as the default values for the editor in cases
the user enters an invalid value into some setting that would break the
editor functionality.
author: Miloslav Metelka version: 1.00 |
Method Summary | |
public void | updateSettingsMap(Class kitClass, Map settingsMap) Update map filled with the settings.
Parameters: kitClass - kit class for which the settings are being updated. |
NAME | final public static String NAME(Code) | | Name assigned to initializer
|
BaseSettingsInitializer | public BaseSettingsInitializer()(Code) | | |
updateSettingsMap | public void updateSettingsMap(Class kitClass, Map settingsMap)(Code) | | Update map filled with the settings.
Parameters: kitClass - kit class for which the settings are being updated. It isalways non-null value. Parameters: settingsMap - map holding [setting-name, setting-value] pairs. The map canbe empty if this is the first initializer that updates it orif no previous initializers updated it. |
Methods inherited from org.netbeans.editor.Settings | public static synchronized void addFilter(Filter f)(Code)(Java Doc) public static synchronized void addInitializer(Initializer i)(Code)(Java Doc) public static synchronized void addInitializer(Initializer i, int level)(Code)(Java Doc) public static void addSettingsChangeListener(SettingsChangeListener l)(Code)(Java Doc) public static synchronized InitializerSorter getInitializerSorter()(Code)(Java Doc) public static Object getValue(Class kitClass, String settingName)(Code)(Java Doc) public static synchronized Object getValue(Class kitClass, String settingName, boolean evaluateEvaluators)(Code)(Java Doc) public static KitAndValue[] getValueHierarchy(Class kitClass, String settingName)(Code)(Java Doc) public static synchronized KitAndValue[] getValueHierarchy(Class kitClass, String settingName, boolean evaluateEvaluators)(Code)(Java Doc) public static synchronized String initializersToString()(Code)(Java Doc) public static synchronized void propagateValue(Class kitClass, String settingName, Object newValue)(Code)(Java Doc) public static synchronized void removeFilter(Filter f)(Code)(Java Doc) public static synchronized void removeInitializer(String name)(Code)(Java Doc) public static void removeSettingsChangeListener(SettingsChangeListener l)(Code)(Java Doc) public static synchronized void reset()(Code)(Java Doc) public static synchronized void setInitializerSorter(InitializerSorter initializerSorter)(Code)(Java Doc) public static synchronized void setValue(Class kitClass, String settingName, Object newValue)(Code)(Java Doc) public static synchronized void touchValue(Class kitClass, String settingName)(Code)(Java Doc) public static synchronized void update(Runnable r)(Code)(Java Doc)
|
|
|