|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.gef.base.Diagram
org.argouml.ui.ArgoDiagram
org.argouml.application.helpers.DiagramHelper
Helper object for Diagrams
| Field Summary | |
protected java.lang.String |
_bundle
String naming the resource bundle to use for localization. |
static java.lang.String |
DIAGRAM_BUNDLE
Default localization key for diagrams |
| Fields inherited from class org.argouml.ui.ArgoDiagram |
TheInstance |
| Fields inherited from class org.tigris.gef.base.Diagram |
_comments, _lay, _name, _toolBar, vetoListeners |
| 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 |
| Constructor Summary | |
DiagramHelper()
|
|
| Method Summary | |
javax.swing.JMenuItem |
getDiagramMenuItem()
Returns the settings tab panel for the plugin. |
java.lang.String |
getDiagramResourceBundleKey()
|
java.util.Vector |
getModulePopUpActions(java.util.Vector v,
java.lang.Object o)
|
boolean |
inContext(java.lang.Object[] o)
A function which allows a plug-in to decide if it is available under a specific context. |
boolean |
initializeModule()
|
boolean |
isModuleEnabled()
|
void |
setModuleEnabled(boolean v)
|
boolean |
shutdownModule()
|
| Methods inherited from class org.argouml.ui.ArgoDiagram |
addChangeRegistryAsListener, damage, getContainingFig, getEdges, getItemUID, getNodes, getVetoMessage, initialize, removeChangeRegistryAsListener, setItemUID, setName |
| Methods inherited from class org.tigris.gef.base.Diagram |
add, addVetoableChangeListener, bringForward, bringToFront, countContained, edgeAdded, edgeRemoved, elements, elementsIn, fireVetoableChange, fireVetoableChange, fireVetoableChange, getClassAndModelID, getComments, getGraphController, getGraphModel, getLayer, getName, getToolBar, graphChanged, hit, initToolBar, nodeAdded, nodeRemoved, postLoad, postSave, preSave, presentationFor, remove, removeAll, removeVetoableChangeListener, reorder, sendBackward, sendToBack, setComments, setGraphModel, setLayer, setToolBar |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.argouml.application.api.ArgoModule |
getModuleAuthor, getModuleDescription, getModuleKey, getModuleName, getModuleVersion |
| Field Detail |
public static final java.lang.String DIAGRAM_BUNDLE
protected java.lang.String _bundle
| Constructor Detail |
public DiagramHelper()
| Method Detail |
public void setModuleEnabled(boolean v)
setModuleEnabled in interface ArgoModulepublic boolean initializeModule()
initializeModule in interface ArgoModulepublic boolean inContext(java.lang.Object[] o)
Pluggable
inContext in interface Pluggableo - 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.
public boolean isModuleEnabled()
isModuleEnabled in interface ArgoModule
public java.util.Vector getModulePopUpActions(java.util.Vector v,
java.lang.Object o)
getModulePopUpActions in interface ArgoModulepublic boolean shutdownModule()
shutdownModule in interface ArgoModulepublic javax.swing.JMenuItem getDiagramMenuItem()
PluggableDiagram
getDiagramMenuItem in interface PluggableDiagrampublic java.lang.String getDiagramResourceBundleKey()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2003 (20040125) | ArgoUML Project Home | ArgoUML Cookbook |