站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

Settings.Initializer (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor
Interface Settings.Initializer

All Known Implementing Classes:
BaseSettingsInitializer, ExtSettingsInitializer, Settings.AbstractInitializer, SettingsUtil.TokenColoringInitializer
Enclosing class:
Settings

public static interface Settings.Initializer

Initializer of the settings updates the map filled with settings for the particular kit class when asked. If the settings are being initialized all the initializers registered by the Settings.addInitializer() are being asked to update the settings-map through calling their updateSettingsMap().


Method Summary
 String getName()
          Each initializer must have a name.
 void updateSettingsMap(Class kitClass, Map settingsMap)
          Update map filled with the settings.
 

Method Detail

getName

String getName()
Each initializer must have a name. The name should be unique. The name is used for identifying the initializer during removal and sort operations and for debuging purposes.


updateSettingsMap

void updateSettingsMap(Class kitClass,
                       Map settingsMap)
Update map filled with the settings.

Parameters:
kitClass - kit class for which the settings are being updated. It can be null which means the root of the whole kit class hierarchy.
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.

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.