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

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

org.netbeans.modules.editor/3 1.32.0

org.netbeans.modules.editor.options
Class MacrosMIMEOptionFile

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

public class MacrosMIMEOptionFile
extends MIMEOptionFile

MIME Option XML file for Macros settings. Macros settings are loaded and saved in XML format according to EditorMacros-1_0.dtd

Since:
08/2001

Field Summary
static String ATTR_NAME
          Attributes
static String ATTR_REMOVE
           
static String ATTR_XML_SPACE
           
static String TAG_MACRO
           
static String TAG_ROOT
          Elements
static String VALUE_XML_SPACE
           
 
Fields inherited from class org.netbeans.modules.editor.options.MIMEOptionFile
base, dom, processor, properties
 
Constructor Summary
MacrosMIMEOptionFile(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_MACRO

public static final String TAG_MACRO
See Also:
Constant Field Values

ATTR_NAME

public static final String ATTR_NAME
Attributes

See Also:
Constant Field Values

ATTR_REMOVE

public static final String ATTR_REMOVE
See Also:
Constant Field Values

ATTR_XML_SPACE

public static final String ATTR_XML_SPACE
See Also:
Constant Field Values

VALUE_XML_SPACE

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

MacrosMIMEOptionFile

public MacrosMIMEOptionFile(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.