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

PropertiesMIMEOptionFile (Editor Module) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor/3 1.32.0

org.netbeans.modules.editor.options
Class PropertiesMIMEOptionFile

java.lang.Object
  extended by org.netbeans.modules.editor.options.MIMEOptionFile
      extended by org.netbeans.modules.editor.options.PropertiesMIMEOptionFile

public class PropertiesMIMEOptionFile
extends MIMEOptionFile

MIME Option XML file for Properties settings. Properties settings are loaded and saved in XML format according to EditorProperties-1_0.dtd. Properties is common name for all additional Editor settings like expert settings or simple boolean, integer, string, etc. properties type.

Since:
08/2001

Field Summary
static String ATTR_CLASS
           
static String ATTR_NAME
          Attributes
static String ATTR_VALUE
           
static String TAG_PROPERTY
           
static String TAG_ROOT
          Elements
 
Fields inherited from class org.netbeans.modules.editor.options.MIMEOptionFile
base, dom, processor, properties
 
Constructor Summary
PropertiesMIMEOptionFile(BaseOptions base, Object proc)
           
 
Method Summary
protected  void loadSettings(boolean propagate)
          Loads settings from XML file.
protected  void updateSettings(Map changedProp)
          Save settings to XML file
 
Methods inherited from class org.netbeans.modules.editor.options.MIMEOptionFile
getAllProperties, isLoaded, loadSettings, reloadSettings, saveSettings, setLoaded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_ROOT

public static final String TAG_ROOT
Elements

See Also:
Constant Field Values

TAG_PROPERTY

public static final String TAG_PROPERTY
See Also:
Constant Field Values

ATTR_NAME

public static final String ATTR_NAME
Attributes

See Also:
Constant Field Values

ATTR_CLASS

public static final String ATTR_CLASS
See Also:
Constant Field Values

ATTR_VALUE

public static final String ATTR_VALUE
See Also:
Constant Field Values
Constructor Detail

PropertiesMIMEOptionFile

public PropertiesMIMEOptionFile(BaseOptions base,
                                Object proc)
Method Detail

loadSettings

protected void loadSettings(boolean propagate)
Loads settings from XML file.

Specified by:
loadSettings in class MIMEOptionFile
Parameters:
propagate - if true - propagates the loaded settings to Editor UI

updateSettings

protected void updateSettings(Map changedProp)
Save settings to XML file

Specified by:
updateSettings in class MIMEOptionFile
Parameters:
changedProp - the Map of settings to save

org.netbeans.modules.editor/3 1.32.0

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