|
|||||||||||
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 | |
private String |
bundle
String naming the resource bundle to use for localization. |
static String |
DIAGRAM_BUNDLE
Default localization key for diagrams |
Fields inherited from class org.argouml.ui.ArgoDiagram |
|
Fields inherited from class org.tigris.gef.base.Diagram |
_comments, _name, _toolBar, NAME_KEY, SCALE_KEY |
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 |
Constructor Summary | |
DiagramHelper()
The constructor. |
Method Summary | |
JMenuItem |
getDiagramMenuItem()
Returns the settings tab panel for the plugin. |
String |
getDiagramResourceBundleKey()
|
Vector |
getModulePopUpActions(Vector v,
Object o)
Calls all modules to let them add to a popup menu. |
boolean |
inContext(Object[] o)
A function which allows a plug-in to decide if it is available under a specific context. |
boolean |
initializeModule()
Method called when Argo is loading a module. |
boolean |
isModuleEnabled()
Allows determination if a module is enabled or disabled. |
void |
setModuleEnabled(boolean v)
Called to enable or disable a module programmatically. |
boolean |
shutdownModule()
Method called when Argo is unloading a module. |
Methods inherited from class org.argouml.ui.ArgoDiagram |
damage, getContainingFig, getEdges, getItemUID, getNodes, getVetoMessage, initialize, setItemUID, setName, toString |
Methods inherited from class org.tigris.gef.base.Diagram |
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, bringForward, bringToFront, countContained, edgeAdded, edgeRemoved, elements, elementsIn, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getClassAndModelID, getComments, getGraphController, getGraphModel, getLayer, getName, getScale, getShowSingleMultiplicity, getToolBar, graphChanged, hit, initToolBar, nodeAdded, nodeRemoved, postLoad, postSave, preSave, presentationFor, remove, remove, removeAll, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, reorder, sendBackward, sendToBack, setComments, setGraphModel, setLayer, setScale, setShowSingleMultiplicity, setToolBar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.argouml.application.api.ArgoModule |
getModuleAuthor, getModuleDescription, getModuleKey, getModuleName, getModuleVersion |
Field Detail |
public static final String DIAGRAM_BUNDLE
private String bundle
Constructor Detail |
public DiagramHelper()
Method Detail |
public void setModuleEnabled(boolean v)
ArgoModule
setModuleEnabled
in interface ArgoModule
v
- true to enable module, false to disableArgoModule.setModuleEnabled(boolean)
public boolean initializeModule()
ArgoModule
initializeModule
in interface ArgoModule
ArgoModule.initializeModule()
public boolean inContext(Object[] o)
Pluggable
inContext
in interface Pluggable
o
- 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 isModuleEnabled()
ArgoModule
isModuleEnabled
in interface ArgoModule
ArgoModule.isModuleEnabled()
public Vector getModulePopUpActions(Vector v, Object o)
ArgoModule
getModulePopUpActions
in interface ArgoModule
v
- Vector of actionso
- which the actions are valid for
ArgoModule.getModulePopUpActions(
java.util.Vector, java.lang.Object)
public boolean shutdownModule()
ArgoModule
shutdownModule
in interface ArgoModule
ArgoModule.shutdownModule()
public JMenuItem getDiagramMenuItem()
PluggableDiagram
getDiagramMenuItem
in interface PluggableDiagram
PluggableDiagram.getDiagramMenuItem()
public String getDiagramResourceBundleKey()
|
|||||||||||
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 |