|
|||||||||||
| 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.MultipleActivationControllerFeature
An ActivationController, that manages a set of sub dialogs with
a local name. Any of the sub dialogs can be activated or deactivated.
Per default an added sub dialog will be activated.
| Nested Class Summary |
| Nested classes inherited from class com.sdm.quasar.client.core.dialogbase.features.AbstractControllerFeature |
AbstractControllerFeature.SubDialogController |
| Constructor Summary | |
MultipleActivationControllerFeature()
Creates a new MultipleActivationControllerFeature. |
|
| 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. |
boolean |
hasSubDialogControl(java.lang.String localName)
Checks if a SubDialogControl has been registered under the
given local name. |
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,
boolean active)
Sets the controlled sub dialog with the given local name to active or inactive. |
| 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 MultipleActivationControllerFeature()
MultipleActivationControllerFeature.
| 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)
MultipleActivationController
addSubDialog in interface MultipleActivationControllerlocalName - a local name to choose (must be unique for this controller)subDialogControl - the SubDialogControl for the controlled subdialogMultipleActivationController.addSubDialog(java.lang.String, com.sdm.quasar.client.core.dialog.SubDialogControl)public void removeSubDialog(SubDialogControl subDialogControl)
MultipleActivationController
removeSubDialog in interface MultipleActivationControllersubDialogControl - the SubDialogControl specifying the subdialog to removeMultipleActivationController.removeSubDialog(com.sdm.quasar.client.core.dialog.SubDialogControl)public void removeSubDialog(java.lang.String localName)
MultipleActivationController
removeSubDialog in interface MultipleActivationControllerlocalName - the local name specifying the subdialog to removeMultipleActivationController.removeSubDialog(java.lang.String)public SubDialogControl getSubDialogControl(java.lang.String localName)
MultipleActivationControllerSubDialogControl of an controlled subdialog which was
registered under the local name given.
getSubDialogControl in interface MultipleActivationControllerlocalName - the local name, where the subdialog was registered under
SubDialogControl of the controlled subdialogMultipleActivationController.getSubDialogControl(java.lang.String)public boolean hasSubDialogControl(java.lang.String localName)
MultipleActivationControllerSubDialogControl has been registered under the
given local name.
hasSubDialogControl in interface MultipleActivationControllerlocalName - the local name, where the subdialog was registered under
MultipleActivationController.hasSubDialogControl(java.lang.String)
public void setSubDialogActive(java.lang.String localName,
boolean active)
MultipleActivationController
setSubDialogActive in interface MultipleActivationControllerlocalName - the local name of the subdialog to activateMultipleActivationController.setSubDialogActive(java.lang.String, boolean)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||