|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--org.argouml.uml.ui.UMLAction
|
+--org.argouml.ui.ActionExportXMI
Exports the xmi of a project to a file choosen by the user.
| Field Summary |
|---|
| Fields inherited from class org.argouml.uml.ui.UMLAction |
|---|
cat, HAS_ICON, NO_ICON |
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface org.argouml.application.api.PluggableMenu |
|---|
KEY_ARRANGE, KEY_CREATE_DIAGRAMS, KEY_FILE_IMPORT, KEY_GENERATE, KEY_HELP, KEY_TOOLS, KEY_VIEW |
| Fields inherited from interface org.argouml.application.api.Pluggable |
|---|
PLUGIN_PREFIX, PLUGIN_TITLE, PLUGIN_VENDOR |
| Fields inherited from interface org.argouml.application.api.ArgoModule |
|---|
cat, MODULEFILENAME, MODULEFILENAME_ALTERNATE |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Perform the work the action is supposed to do. |
java.lang.Object[] |
buildContext(javax.swing.JMenuItem parentMenuItem,
java.lang.String menuType)
|
static ActionExportXMI |
getInstance()
Singleton instance method |
javax.swing.JMenuItem |
getMenuItem(java.lang.Object[] context)
Return the JMenuItem controlled by the plugin under the specific context. |
java.lang.String |
getModuleAuthor()
|
java.lang.String |
getModuleDescription()
Textual description of the module. |
java.lang.String |
getModuleKey()
|
java.lang.String |
getModuleName()
Display name of the module. |
java.util.Vector |
getModulePopUpActions(java.util.Vector popUpActions,
java.lang.Object context)
|
java.lang.String |
getModuleVersion()
|
boolean |
inContext(java.lang.Object[] context)
A function which allows a plug-in to decide if it is available under a specific context. |
boolean |
initializeModule()
|
boolean |
isModuleEnabled()
|
void |
setModuleEnabled(boolean tf)
|
boolean |
shouldBeEnabled()
return true if this action should be available to the user. |
boolean |
shutdownModule()
|
| Methods inherited from class org.argouml.uml.ui.UMLAction |
|---|
getMnemonic, getShortcut, isEnabled, markNeedsSave, stripJunk, updateEnabled, updateEnabled |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ActionExportXMI getInstance()
public javax.swing.JMenuItem getMenuItem(java.lang.Object[] context)
PluggableMenu
getMenuItem in interface PluggableMenucontext - array of objects
as created by PluggableMenu.buildContext(JMenuItem, String).
PluggableMenu.getMenuItem(java.lang.Object[])
public java.lang.Object[] buildContext(javax.swing.JMenuItem parentMenuItem,
java.lang.String menuType)
buildContext in interface PluggableMenuPluggableMenu.buildContext(javax.swing.JMenuItem,
java.lang.String)public boolean inContext(java.lang.Object[] context)
Pluggable
inContext in interface Pluggablecontext - 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.
Pluggable.inContext(java.lang.Object[])public boolean initializeModule()
initializeModule in interface ArgoModuleArgoModule.initializeModule()public boolean shutdownModule()
shutdownModule in interface ArgoModuleArgoModule.shutdownModule()public void setModuleEnabled(boolean tf)
setModuleEnabled in interface ArgoModuleArgoModule.setModuleEnabled(boolean)public boolean isModuleEnabled()
isModuleEnabled in interface ArgoModuleArgoModule.isModuleEnabled()public java.lang.String getModuleName()
ArgoModule
getModuleName in interface ArgoModuleArgoModule.getModuleName()public java.lang.String getModuleDescription()
ArgoModule
getModuleDescription in interface ArgoModuleArgoModule.getModuleDescription()public java.lang.String getModuleVersion()
getModuleVersion in interface ArgoModuleArgoModule.getModuleVersion()public java.lang.String getModuleAuthor()
getModuleAuthor in interface ArgoModuleArgoModule.getModuleAuthor()
public java.util.Vector getModulePopUpActions(java.util.Vector popUpActions,
java.lang.Object context)
getModulePopUpActions in interface ArgoModuleArgoModule.getModulePopUpActions(java.util.Vector,
java.lang.Object)public java.lang.String getModuleKey()
getModuleKey in interface ArgoModuleArgoModule.getModuleKey()public void actionPerformed(java.awt.event.ActionEvent e)
UMLAction
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class UMLActionActionListener.actionPerformed(java.awt.event.ActionEvent)public boolean shouldBeEnabled()
UMLAction
shouldBeEnabled in class UMLActionUMLAction.shouldBeEnabled()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
| ArgoUML © 1996-2003 (20040229) | ArgoUML Project Home | ArgoUML Cookbook |