当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
PropertiesMIMEOptionFile (Editor Module) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.editor.options
Class PropertiesMIMEOptionFile
java.lang.Object
org.netbeans.modules.editor.options.MIMEOptionFile
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
PropertiesMIMEOptionFile
public PropertiesMIMEOptionFile(BaseOptions base,
Object proc)
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