|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.services.DefaultDialogConfiguration
A default implementation of DialogConfiguration and DialogProperties.
The added feature classes (see addFeatureClass(Class) and setFeatureClasses(Class[]))
were instanciated and registered to the dialog instance on configuration. Via
DialogProperties, all defined properties (see addProperty(String, Object)
and setPropertyMap(Map)) can be accessed.
| Constructor Summary | |
DefaultDialogConfiguration()
Creates a new DefaultDialogConfiguration. |
|
DefaultDialogConfiguration(java.lang.Class[] featureClasses)
Creates a new DefaultDialogConfiguration. |
|
| Method Summary | |
void |
addFeature(Feature feature)
Adds another feature's class name to get installed to the configured dialog. |
void |
addFeatureClass(java.lang.Class featureClass)
Adds another feature's class name to get installed to the configured dialog. |
void |
addFeatureClassName(java.lang.String featureClassName)
Adds another feature's class name to get installed to the configured dialog. |
void |
addFeatureClassName(java.lang.String featureKeyClassName,
java.lang.String featureClassName)
Adds another feature's class name to get installed to the configured dialog. |
void |
addProperty(java.lang.String propertyKey,
java.lang.Object propertyValue)
Stores a property key-value mapping at this DialogConfiguration. |
void |
collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
Builds the system information tree upon local information of the implementor. |
void |
configureDialog(DialogControl dialogControl,
DialogProperties dialogProperties)
Initially configures the dialog represented by the given DialogControl.
|
java.lang.Object |
getProperty(java.lang.String propertyKey)
Returns the property value for the given property key. |
void |
setFeatureClasses(java.lang.Class[] featureClasses)
|
void |
setFeatureMap(java.util.Map featureMap)
|
void |
setFeatures(java.util.List featureList)
|
void |
setPropertyMap(java.util.Map propertyMap)
Defines all properties by the given property map. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultDialogConfiguration()
DefaultDialogConfiguration.
public DefaultDialogConfiguration(java.lang.Class[] featureClasses)
DefaultDialogConfiguration.
| Method Detail |
public void setFeatureClasses(java.lang.Class[] featureClasses)
public void setFeatures(java.util.List featureList)
public void setFeatureMap(java.util.Map featureMap)
public void addFeatureClass(java.lang.Class featureClass)
featureClass - the class name of a feature to get installedpublic void addFeatureClassName(java.lang.String featureClassName)
featureClassName - the class name of a feature to get installed
public void addFeatureClassName(java.lang.String featureKeyClassName,
java.lang.String featureClassName)
featureKeyClassName - the class name of a feature key class to get installedfeatureClassName - the class name of a feature to get installedpublic void addFeature(Feature feature)
public void addProperty(java.lang.String propertyKey,
java.lang.Object propertyValue)
DialogConfiguration.
propertyKey - the property key (not null)propertyValue - the property value (not null)public void setPropertyMap(java.util.Map propertyMap)
propertyMap - the property map
public void configureDialog(DialogControl dialogControl,
DialogProperties dialogProperties)
throws DialogException
DialogConfigurationDialogControl.
Implementors should set-up the dialog initially; e.g. install
Features.
configureDialog in interface DialogConfigurationdialogControl - the DialogControl to get configureddialogProperties - the DialogProperties containing static dialog properties
DialogException - if the dialog could not be createdDialogConfiguration.configureDialog(com.sdm.quasar.client.core.dialog.DialogControl, com.sdm.quasar.client.core.dialog.services.DialogProperties)public java.lang.Object getProperty(java.lang.String propertyKey)
DialogProperties
getProperty in interface DialogPropertiespropertyKey - the property key
null means, the property is not set)DialogProperties.getProperty(java.lang.String)
public void collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
SystemInfoProviderSystemInfoOptions).
The information can be appended to the tree by adding new child
SystemInformationNodes to the root node given using the
SystemInfoNode.createChild(String) method and by setting information
attributes the these nodes or the given root node.
collectSystemInfo in interface SystemInfoProviderroot - the SystemInfoNode to add information to (guaranteed to be not null)options - contains additional options, that might influence the amount of
information added to the tree (guaranteed to be not null)SystemInfoProvider.collectSystemInfo(com.sdm.quasar.client.core.common.sysinfo.SystemInfoNode, com.sdm.quasar.client.core.common.sysinfo.SystemInfoOptions)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||