|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
GenericArgoMenuBar
from ModuleInterface.enable().
The needed registration is not currently available. Add it first!
An interface which identifies an ArgoUML plug-in to the menu. Plug-ins are replacements or additions to standard Argo classes. PluggableMenu require two criteria. The first is a JMenuItem. The second is an unlocalized string which identifies the menu requesting the plugin, such as "File" or "Edit".
| Field Summary | |
static String |
KEY_ARRANGE
Deprecated. Key looked for in ProjectBrowser for Arrange menu. |
static String |
KEY_CREATE_DIAGRAMS
Deprecated. Key looked for in ProjectBrowser for Create Diagram menu. |
static String |
KEY_FILE_IMPORT
Deprecated. Key looked for in ProjectBrowser for File Import submenu. |
static String |
KEY_GENERATE
Deprecated. Key looked for in ProjectBrowser for Generate menu. |
static String |
KEY_HELP
Deprecated. Key looked for in ProjectBrowser for Help menu. |
static String |
KEY_TOOLS
Deprecated. Key looked for in ProjectBrowser for Tools menu. |
static String |
KEY_VIEW
Deprecated. Key looked for in ProjectBrowser for View menu. |
| Fields inherited from interface org.argouml.application.api.Pluggable |
PLUGIN_PREFIX, PLUGIN_TITLE, PLUGIN_VENDOR |
| Fields inherited from interface org.argouml.application.api.ArgoModule |
MODULEFILENAME, MODULEFILENAME_ALTERNATE |
| Method Summary | |
Object[] |
buildContext(JMenuItem parentMenuItem,
String menuType)
Deprecated. Helper to create a context recognized by Pluggable.inContext(Object[]). |
JMenuItem |
getMenuItem(Object[] context)
Deprecated. Return the JMenuItem controlled by the plugin under the specific context. |
| Methods inherited from interface org.argouml.application.api.Pluggable |
inContext |
| Methods inherited from interface org.argouml.application.api.ArgoModule |
getModuleAuthor, getModuleDescription, getModuleKey, getModuleName, getModulePopUpActions, getModuleVersion, initializeModule, isModuleEnabled, setModuleEnabled, shutdownModule |
| Field Detail |
public static final String KEY_FILE_IMPORT
public static final String KEY_VIEW
public static final String KEY_CREATE_DIAGRAMS
public static final String KEY_ARRANGE
public static final String KEY_GENERATE
public static final String KEY_TOOLS
public static final String KEY_HELP
| Method Detail |
public JMenuItem getMenuItem(Object[] context)
context - array of objects
as created by buildContext(JMenuItem, String).
public Object[] buildContext(JMenuItem parentMenuItem,
String menuType)
Pluggable.inContext(Object[]).
parentMenuItem - menu itemmenuType - menu name
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |