|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.impl.DefaultDialogInstance
A default implementation of LifeCycleControl.
| Constructor Summary | |
DefaultDialogInstance(DialogInstanceId diid,
LifeCycleStateProvider lifeCycleStateProvider,
DialogLifeCycleController dialogLifeCycleController,
HierarchyManager hierarchyManager,
DialogManager dialogManager,
DialogServiceManager dialogServiceManager)
Creates a new DefaultDialogInstance. |
|
| Method Summary | |
void |
attachToLifeCycle(LifeCycle lifeCycle)
Attaches a component that is interested in the life cycle of this dialog to the notification chain. |
void |
collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
Builds the system information tree upon local information of the implementor. |
void |
detachFromLifeCycle(LifeCycle lifeCycle)
Detaches a component from the life cycle notification. |
java.lang.Object |
getCreationContext()
Returns the creation context passed by the dialog instance creation of this dialog instance. |
DialogInstanceId |
getDialogInstanceId()
|
DialogLifeCycleController |
getDialogLifeCycleController()
|
DialogManager |
getDialogManager()
|
DialogServiceManager |
getDialogServiceManager()
|
FeatureManager |
getFeatureManager()
|
HierarchyManager |
getHierarchyManager()
|
LifeCycleControl |
getLifeCycleControl()
|
LifeCycleStateProvider |
getLifeCycleStateProvider()
|
void |
prepare()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultDialogInstance(DialogInstanceId diid,
LifeCycleStateProvider lifeCycleStateProvider,
DialogLifeCycleController dialogLifeCycleController,
HierarchyManager hierarchyManager,
DialogManager dialogManager,
DialogServiceManager dialogServiceManager)
DefaultDialogInstance.
| Method Detail |
public void prepare()
public void attachToLifeCycle(LifeCycle lifeCycle)
LifeCycleControlLifeCycle implementations will be notified
of lifecycle changes in the order they have been registered for calls to
LifeCycle.prepare() and LifeCycle.activate() and in
reverse order for LifeCycle.deactivate() and LifeCycle.release().
attachToLifeCycle in interface LifeCycleControllifeCycle - the life cycle to be notifiedLifeCycleControl.attachToLifeCycle(LifeCycle)public void detachFromLifeCycle(LifeCycle lifeCycle)
LifeCycleControl
detachFromLifeCycle in interface LifeCycleControllifeCycle - the life cycle that should not be notified any moreLifeCycleControl.detachFromLifeCycle(LifeCycle)public DialogInstanceId getDialogInstanceId()
getDialogInstanceId in interface DialogInstanceDialogInstance.getDialogInstanceId()public java.lang.Object getCreationContext()
DialogInstance
getCreationContext in interface DialogInstanceDialogInstance.getCreationContext()public LifeCycleControl getLifeCycleControl()
getLifeCycleControl in interface DialogInstanceLifeCycleControl used.DialogInstance.getLifeCycleControl()public LifeCycleStateProvider getLifeCycleStateProvider()
getLifeCycleStateProvider in interface DialogInstanceLifeCycleStateProvider providing the lifecycle state.DialogInstance.getLifeCycleStateProvider()public DialogLifeCycleController getDialogLifeCycleController()
getDialogLifeCycleController in interface DialogInstanceDialogLifeCycleController used.DialogInstance.getDialogLifeCycleController()public DialogManager getDialogManager()
getDialogManager in interface DialogInstanceDialogManager used.DialogInstance.getDialogManager()public DialogServiceManager getDialogServiceManager()
getDialogServiceManager in interface DialogInstanceDialogServiceManager used.DialogInstance.getDialogServiceManager()public FeatureManager getFeatureManager()
getFeatureManager in interface DialogInstanceFeatureManager to use.DialogInstance.getFeatureManager()public HierarchyManager getHierarchyManager()
getHierarchyManager in interface DialogInstanceHierarchyManager to use.DialogInstance.getHierarchyManager()
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 | ||||||||||