|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsmacs.xngr.browser.properties.ConfigurationPropertiesXml
Handles the eXchaNGeR configuration document.
| Field Summary | |
protected DesktopProperties |
desktopProperties
|
protected Document |
document
|
protected EditorProperties |
editorProperties
|
protected ExplorerProperties |
explorerProperties
|
protected static Logger |
log
|
protected static String |
PROPERTIES_FILE
|
protected Element |
root
|
protected CategoryProperties |
rootCategoryProperties
|
protected Vector |
services
|
protected URL |
url
|
protected ViewerProperties |
viewerProperties
|
static String |
XNGR_HOME
|
| Constructor Summary | |
ConfigurationPropertiesXml()
|
|
ConfigurationPropertiesXml(File projectdir)
|
|
ConfigurationPropertiesXml(File projectdir,
String projectfile)
Creates the Configuration Document wrapper. |
|
| Method Summary | |
void |
addService(ServiceProperties service)
Adds a service to the properties. |
DesktopProperties |
getDesktop()
Returns the properties for the desktop. |
EditorProperties |
getEditor()
Returns the properties for the editor. |
ExplorerProperties |
getExplorer()
Returns the properties for the explorer. |
CategoryProperties |
getRootCategory()
Returns the root document category. |
Element |
getRootElement()
Returns the root of the preferences or null if not applicable |
Vector |
getServices()
Returns a list of Service Properties. |
ViewerProperties |
getViewer()
Returns the properties for the viewer. |
boolean |
isShowDesktop()
Returns true when the desktop is shown. |
ConfigurationProperties |
newConfigurationProperties(File projectdir)
Creates the Configuration Document wrapper. |
void |
removeService(ServiceProperties service)
Removes a service from the document and the list of services. |
void |
save()
Saves the configuration properties to disk. |
void |
showDesktop(boolean visible)
Set the desktop (in)visible. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final Logger log
public static final String XNGR_HOME
protected static final String PROPERTIES_FILE
protected Document document
protected DesktopProperties desktopProperties
protected ExplorerProperties explorerProperties
protected EditorProperties editorProperties
protected ViewerProperties viewerProperties
protected CategoryProperties rootCategoryProperties
protected Element root
protected Vector services
protected URL url
| Constructor Detail |
public ConfigurationPropertiesXml()
public ConfigurationPropertiesXml(File projectdir)
public ConfigurationPropertiesXml(File projectdir,
String projectfile)
| Method Detail |
public ConfigurationProperties newConfigurationProperties(File projectdir)
ConfigurationProperties
newConfigurationProperties in interface ConfigurationPropertiespublic Element getRootElement()
ConfigurationProperties
getRootElement in interface ConfigurationPropertiespublic boolean isShowDesktop()
isShowDesktop in interface ConfigurationPropertiespublic void showDesktop(boolean visible)
showDesktop in interface ConfigurationPropertiesvisible - true when the desktop should be visible.public DesktopProperties getDesktop()
getDesktop in interface ConfigurationPropertiespublic EditorProperties getEditor()
getEditor in interface ConfigurationPropertiespublic ViewerProperties getViewer()
getViewer in interface ConfigurationPropertiespublic ExplorerProperties getExplorer()
getExplorer in interface ConfigurationPropertiespublic Vector getServices()
getServices in interface ConfigurationPropertiespublic void addService(ServiceProperties service)
addService in interface ConfigurationPropertiespublic void removeService(ServiceProperties service)
removeService in interface ConfigurationPropertiesservice - the service properties.public CategoryProperties getRootCategory()
getRootCategory in interface ConfigurationPropertiespublic void save()
save in interface ConfigurationProperties
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||