|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that defines the characteristics of an external module usable by Argo.
Field Summary | |
static String |
MODULEFILENAME
External modules are supposed to be located at MODULEFILENAME . |
static String |
MODULEFILENAME_ALTERNATE
Or, alternatively, external modules may be located at MODULEFILENAME_ALTERNATE . |
Method Summary | |
String |
getModuleAuthor()
The module author. |
String |
getModuleDescription()
Textual description of the module. |
String |
getModuleKey()
The module identifying key. |
String |
getModuleName()
Display name of the module. |
Vector |
getModulePopUpActions(Vector popUpActions,
Object context)
Calls all modules to let them add to a popup menu. |
String |
getModuleVersion()
The module version. |
boolean |
initializeModule()
Method called when Argo is loading a module. |
boolean |
isModuleEnabled()
Allows determination if a module is enabled or disabled. |
void |
setModuleEnabled(boolean tf)
Called to enable or disable a module programmatically. |
boolean |
shutdownModule()
Method called when Argo is unloading a module. |
Field Detail |
public static final String MODULEFILENAME
MODULEFILENAME
.
public static final String MODULEFILENAME_ALTERNATE
MODULEFILENAME_ALTERNATE
.
Method Detail |
public boolean initializeModule()
public boolean shutdownModule()
public void setModuleEnabled(boolean tf)
tf
- true to enable module, false to disablepublic boolean isModuleEnabled()
public String getModuleName()
public String getModuleDescription()
public String getModuleVersion()
public String getModuleAuthor()
public Vector getModulePopUpActions(Vector popUpActions, Object context)
popUpActions
- Vector of actionscontext
- which the actions are valid for
public String getModuleKey()
|
|||||||||||
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 |