org.argouml.uml.diagram.activity.ui
Class UMLActivityDiagram
java.lang.Object
|
+--org.tigris.gef.base.Diagram
|
+--org.argouml.ui.ArgoDiagram
|
+--org.argouml.uml.diagram.ui.UMLDiagram
|
+--org.argouml.uml.diagram.activity.ui.UMLActivityDiagram
- All Implemented Interfaces:
- java.util.EventListener, org.tigris.gef.graph.GraphListener, ru.novosoft.uml.MElementListener, java.io.Serializable
- public class UMLActivityDiagram
- extends UMLDiagram
Enabling an activity diagram connected to an
actor has been requested as a feature.
As well enabling swim lanes in the activity
diagram is considered valuable as well.
- See Also:
- Serialized Form
Fields inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
_actionBroom, _actionCircle, _actionInk, _actionLine, _actionPoly, _actionRectangle, _actionRRectangle, _actionSelect, _actionSpline, _actionText, _diagramName, _namespace |
Fields inherited from class org.tigris.gef.base.Diagram |
_comments, _lay, _name, _toolBar, vetoListeners |
Method Summary |
protected static java.lang.String |
getNewDiagramName()
Creates a new diagramname. |
ru.novosoft.uml.foundation.core.MModelElement |
getOwner()
|
ru.novosoft.uml.behavior.state_machines.MStateMachine |
getStateMachine()
|
void |
initialize(java.lang.Object o)
|
protected void |
initToolBar(javax.swing.JToolBar toolBar)
Initialize the toolbar with buttons required for a use case diagram. |
void |
setStateMachine(ru.novosoft.uml.behavior.state_machines.MStateMachine sm)
|
void |
setup(ru.novosoft.uml.foundation.core.MNamespace m,
ru.novosoft.uml.behavior.activity_graphs.MActivityGraph agraph)
method to perform a number of important initializations of an Activity Diagram.
each diagram type has a similar UMLxxxDiagram class. |
Methods inherited from class org.argouml.uml.diagram.ui.UMLDiagram |
getClassAndModelID, getNamespace, getToolBar, initToolBar, listRoleItemSet, propertySet, recovered, removed, roleAdded, roleRemoved, setName, setNamespace |
Methods inherited from class org.tigris.gef.base.Diagram |
add, addVetoableChangeListener, bringForward, bringToFront, countContained, edgeAdded, edgeRemoved, elements, elementsIn, fireVetoableChange, fireVetoableChange, fireVetoableChange, getComments, getGraphController, getGraphModel, getLayer, getName, graphChanged, hit, 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 |
cat
protected static org.apache.log4j.Category cat
_actionState
protected static javax.swing.Action _actionState
_actionStartPseudoState
protected static javax.swing.Action _actionStartPseudoState
_actionFinalPseudoState
protected static javax.swing.Action _actionFinalPseudoState
_actionBranchPseudoState
protected static javax.swing.Action _actionBranchPseudoState
_actionForkPseudoState
protected static javax.swing.Action _actionForkPseudoState
_actionJoinPseudoState
protected static javax.swing.Action _actionJoinPseudoState
_actionTransition
protected static javax.swing.Action _actionTransition
_ActivityDiagramSerial
protected static int _ActivityDiagramSerial
UMLActivityDiagram
public UMLActivityDiagram()
UMLActivityDiagram
public UMLActivityDiagram(ru.novosoft.uml.foundation.core.MNamespace m)
UMLActivityDiagram
public UMLActivityDiagram(ru.novosoft.uml.foundation.core.MNamespace m,
ru.novosoft.uml.behavior.activity_graphs.MActivityGraph agraph)
initialize
public void initialize(java.lang.Object o)
- Overrides:
initialize
in class UMLDiagram
- Following copied from class:
org.argouml.ui.ArgoDiagram
- See Also:
Diagram.initialize(Object)
setup
public void setup(ru.novosoft.uml.foundation.core.MNamespace m,
ru.novosoft.uml.behavior.activity_graphs.MActivityGraph agraph)
- method to perform a number of important initializations of an Activity Diagram.
each diagram type has a similar UMLxxxDiagram class.
- Parameters:
m
- MNamespace from the model in NSUML...agraph
- MActivityGraph from the model in NSUML...
getOwner
public ru.novosoft.uml.foundation.core.MModelElement getOwner()
- Overrides:
getOwner
in class UMLDiagram
getStateMachine
public ru.novosoft.uml.behavior.state_machines.MStateMachine getStateMachine()
setStateMachine
public void setStateMachine(ru.novosoft.uml.behavior.state_machines.MStateMachine sm)
initToolBar
protected void initToolBar(javax.swing.JToolBar toolBar)
Initialize the toolbar with buttons required for a use case diagram.
- Overrides:
initToolBar
in class UMLDiagram
- Parameters:
toolBar
- The toolbar to which to add the buttons.
getNewDiagramName
protected static java.lang.String getNewDiagramName()
- Creates a new diagramname.
- Returns:
- String