|
|||||||||||
| 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.dialogsupport.features.AbstractDialogCoreFeature
Abstract Feature that supports convenience methods
and a typical initialization for a dialog core
| Constructor Summary | |
AbstractDialogCoreFeature()
|
|
| Method Summary | |
protected void |
dispose()
Called when the feature or dialog is disposed. |
protected CommandManagerFeature |
getCommandManagerFeature()
Returns the Feature instance. |
protected DataManager |
getDataManager()
Convenience methof for access to the DataManager |
protected DataManagerFeature |
getDataManagerFeature()
Returns the data manager feature instance where our data is stored. |
protected java.lang.Object |
getValue(java.lang.String key)
Convenience method to to get a value from the data manager |
protected void |
init()
Called when the feature is initializing. |
protected abstract void |
initCommandManager()
Initializes the CommandManager.
|
protected abstract void |
initDataManager()
Initializes the DataManager.
|
protected abstract void |
initStates()
Initializes the States.
|
protected void |
setValue(java.lang.String key,
Context context,
java.lang.Object value)
Convenience method to set or change data in the data manager |
protected void |
setValue(java.lang.String key,
java.lang.Object value)
Convenience method to set or change data in the data manager |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature |
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractDialogCoreFeature()
| Method Detail |
protected void dispose()
throws DisposeException
AbstractFeature
dispose in class AbstractFeatureDisposeExceptionprotected 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 AbstractFeatureprotected abstract void initDataManager()
DataManager.
This method is called first in the init() method
protected abstract void initStates()
States.
This method is called second in init()
after initializing the DataManager
(see initDataManager()).
protected abstract void initCommandManager()
CommandManager.
This method is called last in the init() method
after initDataManager() and initStates().
protected DataManagerFeature getDataManagerFeature()
FeatureManager.requireFeature(Class)
for more information about the process.
protected DataManager getDataManager()
DataManager
protected java.lang.Object getValue(java.lang.String key)
key - the key to the value in the data manager
protected void setValue(java.lang.String key,
java.lang.Object value)
key - the key to the value in the data manager
protected void setValue(java.lang.String key,
Context context,
java.lang.Object value)
key - the key to the value in the data managerprotected CommandManagerFeature getCommandManagerFeature()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||