当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
BaseSettingsInitializer (Editor Library) - NetBeans API Javadoc (Current Development Version)
org.netbeans.editor
Class BaseSettingsInitializer
java.lang.Object
org.netbeans.editor.Settings.AbstractInitializer
org.netbeans.editor.BaseSettingsInitializer
- All Implemented Interfaces:
- Settings.Initializer
public class BaseSettingsInitializer
- extends Settings.AbstractInitializer
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.
Field Summary |
static String |
NAME
Name assigned to initializer |
NAME
public static final String NAME
- Name assigned to initializer
- See Also:
- Constant Field Values
BaseSettingsInitializer
public BaseSettingsInitializer()
updateSettingsMap
public void updateSettingsMap(Class kitClass,
Map settingsMap)
- Update map filled with the settings.
- Parameters:
kitClass
- kit class for which the settings are being updated.
It is always non-null value.settingsMap
- map holding [setting-name, setting-value] pairs.
The map can be empty if this is the first initializer
that updates it or if no previous initializers updated it.