|
org.netbeans.modules.editor/3 1.32.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.editor.options.MIMEOptionFile
public abstract class MIMEOptionFile
MIME Option XML file.
Field Summary | |
---|---|
protected BaseOptions |
base
|
protected Document |
dom
|
protected MIMEProcessor |
processor
|
protected Map |
properties
|
Constructor Summary | |
---|---|
MIMEOptionFile(BaseOptions base,
Object proc)
Creates new MIMEOptionFile |
Method Summary | |
---|---|
Map |
getAllProperties()
Gets all properties stored in user XML setting file |
boolean |
isLoaded()
Getter for loaded flag. |
protected void |
loadSettings()
Loads settings stored in XML file and propagate them |
protected abstract void |
loadSettings(boolean propagate)
Loads settings stored in XML file |
void |
reloadSettings()
Updates all properties from (external modified) XML file |
protected void |
saveSettings(Document doc)
|
protected void |
setLoaded(boolean load)
Sets loaded flag. |
protected abstract void |
updateSettings(Map map)
Updates the settings in property map and save them in XML file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BaseOptions base
protected MIMEProcessor processor
protected Document dom
protected Map properties
Constructor Detail |
---|
public MIMEOptionFile(BaseOptions base, Object proc)
Method Detail |
---|
public boolean isLoaded()
protected void setLoaded(boolean load)
load
- if true file has been already loadedpublic void reloadSettings()
protected void saveSettings(Document doc)
protected abstract void loadSettings(boolean propagate)
propagate
- if true loaded settings take effect in editorprotected void loadSettings()
protected abstract void updateSettings(Map map)
public Map getAllProperties()
|
org.netbeans.modules.editor/3 1.32.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |