|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface which identifies an ArgoUML plug-in which behaves as a singleton, but may be swapped with another plugin singleton of the same type. Only one singleton module can be considered active at the same time.
Field Summary |
Fields inherited from interface org.argouml.application.api.ArgoModule |
MODULEFILENAME, MODULEFILENAME_ALTERNATE |
Method Summary | |
void |
activateSingleton()
Callback by which the singleton being activated is notified that it is being activated. |
boolean |
canActivateSingleton()
Allows verification that the current singleton can be activated. |
boolean |
canDeactivateSingleton()
Allows verification that the current singleton can be deactivated. |
void |
deactivateSingleton()
Callback by which the active singleton is notified that it is being deactivated. |
Class |
getSingletonType()
TODO: Document this. |
Methods inherited from interface org.argouml.application.api.ArgoModule |
getModuleAuthor, getModuleDescription, getModuleKey, getModuleName, getModulePopUpActions, getModuleVersion, initializeModule, isModuleEnabled, setModuleEnabled, shutdownModule |
Method Detail |
public boolean canActivateSingleton()
true
if the singleton can be activated
false
otherwise.public boolean canDeactivateSingleton()
true
if the singleton can be deactivated
false
otherwise.public void deactivateSingleton()
public void activateSingleton()
public Class getSingletonType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |