|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface which identifies an ArgoUML plug-in.
Plug-ins are specific modules which are replacements
or additions to standard Argo classes.
Argo references the plug-in functionality through interfaces which
define the features of each type of plug-in.
This interface must be extended by another interface which is used
to categorize the plugins. An example of this is the
PluggableNotation
interface,
which provides all the required functionality to request
a notation generator of a notation dialect.
Argo will ask the ModuleLoader
for a plug-in of a certain type.
The loader will determine which plug-in to use and return a
concrete class which implements that interface.
It is the intent of this class that any Argo feature that can be
replaced or extended by this means be callable only by this means.
Field Summary | |
---|---|
static java.lang.String |
PLUGIN_PREFIX
Constant required in plugin manifest. |
static java.lang.String |
PLUGIN_TITLE
Constant required in plugin manifest. |
static java.lang.String |
PLUGIN_VENDOR
Constant required in plugin manifest. |
Fields inherited from interface org.argouml.application.api.ArgoModule |
---|
cat, MODULEFILENAME, MODULEFILENAME_ALTERNATE |
Method Summary | |
---|---|
boolean |
inContext(java.lang.Object[] context)
A function which allows a plug-in to decide if it is available under a specific context. |
Methods inherited from interface org.argouml.application.api.ArgoModule |
---|
getModuleAuthor, getModuleDescription, getModuleKey, getModuleName, getModulePopUpActions, getModuleVersion, initializeModule, isModuleEnabled, setModuleEnabled, shutdownModule |
Field Detail |
public static final java.lang.String PLUGIN_TITLE
public static final java.lang.String PLUGIN_VENDOR
public static final java.lang.String PLUGIN_PREFIX
Method Detail |
public boolean inContext(java.lang.Object[] context)
context
- An identification of the context.
The interpretation of criteria is specific to
the plug-in type, but must be consistent
across that type. The plug-in must want
to be exposed to all contexts.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |