|
|||||||||||
| 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.DefaultSubDialogLifeCycleController
A default implementation of SubDialogLifeCycleController.
If this implementation is disposed, it is inactive for the user.
| Constructor Summary | |
DefaultSubDialogLifeCycleController(DialogInstance dialogInstance)
Creates a new DefaultSubDialogLifeCycleController. |
|
| Method Summary | |
void |
activateDialog()
Activates the child-dialog. |
void |
addDisposeCallback(DisposeCallback disposeCallback)
Adds a DisposeCallback, that will be called, when the child dialog controlled was
disposed. |
void |
deactivateDialog()
Deactivates the child-dialog. |
void |
dispose()
Disposes the component. |
LifeCycleState |
getLifeCycleState()
|
void |
prepareDialog()
Prepares the child-dialog. |
void |
releaseDialog()
Releases the child-dialog. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultSubDialogLifeCycleController(DialogInstance dialogInstance)
DefaultSubDialogLifeCycleController.
| Method Detail |
public LifeCycleState getLifeCycleState()
getLifeCycleState in interface LifeCycleStateProviderLifeCycleStateProvider.getLifeCycleState()public void prepareDialog()
SubDialogLifeCycleControllerPrecondition: The parent dialog must be at least preparing. The controlled subdialog must be created.
prepareDialog in interface SubDialogLifeCycleControllerSubDialogLifeCycleController.prepareDialog()public void activateDialog()
SubDialogLifeCycleControllerPrecondition: The parent dialog must be active or activating. The controlled subdialog must be prepeared.
activateDialog in interface SubDialogLifeCycleControllerSubDialogLifeCycleController.activateDialog()public void deactivateDialog()
SubDialogLifeCycleControllerPrecondition: The parent dialog must be active or deactivating. The controlled subdialog must be active
deactivateDialog in interface SubDialogLifeCycleControllerSubDialogLifeCycleController.deactivateDialog()public void releaseDialog()
SubDialogLifeCycleControllerPrecondition: The parent dialog must be prepared or releasing. The controlled subdialog must be prepeared.
releaseDialog in interface SubDialogLifeCycleControllerSubDialogLifeCycleController.releaseDialog()
public final void dispose()
throws DisposeException
Disposable
Important:
This method is called by an administrating component
and must never be called directly.
The implementation should release any resources or objects allocated and
any services registered. Furthermore, this method should be developed
carefully to free a maximum of resources even when the system may
have become unstable. In case of one or multiple errors, you should collect
them in a DisposeException, continue with the execution,
and throw it at the end of the method.
Note: The implementation must not return before the component is disposed. Any threads or asynchronous calls started must be completed before this method returns.
dispose in interface DisposableDisposeException - if there was one or more errors while
disposing the component.Disposable.dispose()public void addDisposeCallback(DisposeCallback disposeCallback)
SubDialogLifeCycleControllerDisposeCallback, that will be called, when the child dialog controlled was
disposed.
addDisposeCallback in interface SubDialogLifeCycleControllerdisposeCallback - the DisposeCallback to call back (not null)SubDialogLifeCycleController.addDisposeCallback(com.sdm.quasar.client.core.common.DisposeCallback)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||