|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractFeature
com.sdm.quasar.client.showcase.swing.dialogs.extlifecycle.ExtendedLifeCycleDialog
This is an example of a dialog that uses the extended life cycle defined
in LifeCycle
and demonstrates the use of the
ActivationObjectionService.
It conforms to the architecture of an unstructured dialog
(i.e. this class is the only feature in the dialog.)
| Constructor Summary | |
ExtendedLifeCycleDialog()
|
|
| Method Summary | |
protected void |
activate()
Called when the dialog is activated. |
protected void |
deactivate()
Called when the dialog is deactivated. |
void |
dispose()
Called when the feature or dialog is disposed. |
protected void |
init()
Called when the feature is initializing. |
protected void |
prepare()
Called when the dialog is prepared. |
protected void |
release()
Called when the dialog is released. |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
attachDialogControl, collectSystemInfo, disposeFeature, getDialogControl, isInitialized |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExtendedLifeCycleDialog()
| Method Detail |
protected void init()
AbstractFeatureDialogControl installed to. To access the
DialogControl use the AbstractFeature.getDialogControl() method.
Override this method to perform some action on initialization e.g. register public services.
init in class AbstractFeature
public void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionprotected void prepare()
AbstractFeatureLifeCycle.prepare(),
e.g. gain resource and provide services for childs.
The default implementation in AbstractFeature does nothing.
prepare in class AbstractFeatureprotected void activate()
AbstractFeatureLifeCycle.activate().
The default implementation in AbstractFeature does nothing.
activate in class AbstractFeatureprotected void deactivate()
AbstractFeatureLifeCycle.deactivate()().
The default implementation in AbstractFeature does nothing.
deactivate in class AbstractFeatureprotected void release()
AbstractFeatureLifeCycle.release()(),
e.g. unregister services.
The default implementation in AbstractFeature does nothing.
release in class AbstractFeature
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||