|
|||||||||||
| 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.core.dialogbase.features.AbstractControllerFeature
com.sdm.quasar.client.core.embedding.features.AbstractActivationControllerFeature
com.sdm.quasar.client.core.embedding.features.SingleActivationControllerFeature
A simple activation controller, that simply activates all subdialogs that where added to it (when itself is activated).
| Nested Class Summary |
| Nested classes inherited from class com.sdm.quasar.client.core.dialogbase.features.AbstractControllerFeature |
AbstractControllerFeature.SubDialogController |
| Constructor Summary | |
SingleActivationControllerFeature()
Creates a new SingleActivationControllerFeature. |
|
| Method Summary | |
void |
addSubDialog(java.lang.String localName,
SubDialogControl subDialogControl)
Adds a new subdialog to get controlled by this controller. |
java.lang.String |
createUniqueName()
Creates and returns a new unique name (may be used as local name). |
protected void |
dispose()
Called when the feature or dialog is disposed. |
SubDialogControl |
getSubDialogControl(java.lang.String localName)
Returns the SubDialogControl of an controlled subdialog which was
registered under the local name given. |
protected void |
init()
Called when the feature is initializing. |
void |
removeSubDialog(java.lang.String localName)
Removes the specified previously added subdialog from this controller. |
void |
removeSubDialog(SubDialogControl subDialogControl)
Removes the specified previously added subdialog from this controller. |
void |
setSubDialogActive(java.lang.String localName)
Sets the controlled sub dialog with the given local name to active. |
| Methods inherited from class com.sdm.quasar.client.core.embedding.features.AbstractActivationControllerFeature |
addActivationControllerListener, onChildActivated, onChildAdded, onChildDeactivated, onChildRemoved, removeActivationControllerListener |
| Methods inherited from class com.sdm.quasar.client.core.dialogbase.features.AbstractControllerFeature |
activate, addSubDialogController, collectSystemInfo, deactivate, getLifeCycleState, getSubDialogController, getSubDialogController, getSubDialogController, getSubDialogControllerCount, hasSubDialogController, hasSubDialogController, hasSubDialogController, iterateSubDialogControllers, prepare, removeSubDialogController, removeSubDialogController, requestActivate, requestDeactivate |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
attachDialogControl, disposeFeature, getDialogControl, isInitialized, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sdm.quasar.client.core.embedding.ActivationController |
addActivationControllerListener, removeActivationControllerListener |
| Constructor Detail |
public SingleActivationControllerFeature()
SingleActivationControllerFeature.
| 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 AbstractFeaturecom.sdm.quasar.client.core.dialog.features.AbstractFeature#init()
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptioncom.sdm.quasar.client.core.dialog.features.AbstractFeature#dispose()public java.lang.String createUniqueName()
public void addSubDialog(java.lang.String localName,
SubDialogControl subDialogControl)
SingleActivationController
addSubDialog in interface SingleActivationControllerlocalName - a local name to choose (must be unique for this controller)subDialogControl - the SubDialogControl for the controlled subdialogSingleActivationController.addSubDialog(java.lang.String, com.sdm.quasar.client.core.dialog.SubDialogControl)public void removeSubDialog(SubDialogControl subDialogControl)
SingleActivationController
removeSubDialog in interface SingleActivationControllersubDialogControl - the SubDialogControl specifying the subdialog to removeSingleActivationController.removeSubDialog(com.sdm.quasar.client.core.dialog.SubDialogControl)public void removeSubDialog(java.lang.String localName)
SingleActivationController
removeSubDialog in interface SingleActivationControllerlocalName - the local name specifying the subdialog to removeSingleActivationController.removeSubDialog(java.lang.String)public SubDialogControl getSubDialogControl(java.lang.String localName)
SingleActivationControllerSubDialogControl of an controlled subdialog which was
registered under the local name given.
getSubDialogControl in interface SingleActivationControllerlocalName - the local name, where the subdialog was registered under
SubDialogControl of the controlled subdialogSingleActivationController.getSubDialogControl(java.lang.String)public void setSubDialogActive(java.lang.String localName)
SingleActivationControllernull, no subdialog will become active.
setSubDialogActive in interface SingleActivationControllerlocalName - the local name of the subdialog to activate or null
to deactivateSingleActivationController.setSubDialogActive(java.lang.String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||