org.argouml.uml.diagram.sequence.ui
Class UMLSequenceDiagram

java.lang.Object
  |
  +--org.tigris.gef.base.Diagram
        |
        +--org.argouml.ui.ArgoDiagram
              |
              +--org.argouml.uml.diagram.ui.UMLDiagram
                    |
                    +--org.argouml.uml.diagram.sequence.ui.UMLSequenceDiagram
All Implemented Interfaces:
java.util.EventListener, org.tigris.gef.graph.GraphListener, ru.novosoft.uml.MElementListener, java.io.Serializable

public class UMLSequenceDiagram
extends UMLDiagram

See Also:
Serialized Form

Field Summary
protected static javax.swing.Action _actionLinkWithStimulusCall
           
protected static javax.swing.Action _actionLinkWithStimulusCreate
           
protected static javax.swing.Action _actionLinkWithStimulusDestroy
           
protected static javax.swing.Action _actionLinkWithStimulusReturn
           
protected static javax.swing.Action _actionLinkWithStimulusSend
           
protected static javax.swing.Action _actionObject
           
protected static int _SequenceDiagramSerial
           
protected static org.apache.log4j.Category cat
           
 
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.argouml.ui.ArgoDiagram
TheInstance
 
Fields inherited from class org.tigris.gef.base.Diagram
_comments, _lay, _name, _toolBar, vetoListeners
 
Constructor Summary
UMLSequenceDiagram()
           
UMLSequenceDiagram(ru.novosoft.uml.foundation.core.MNamespace m)
           
 
Method Summary
protected static java.lang.String getNewDiagramName()
          Creates a new diagramname.
 int getNumStimuluss()
           
protected  void initToolBar(javax.swing.JToolBar toolBar)
          initialize the toolbar for this diagram type
 void postLoad()
          every stimulus has to become a path item of its link to have a graphical connections between stimulus and link
 void setNamespace(ru.novosoft.uml.foundation.core.MNamespace m)
          sets the namespace of the Diagram, and adds the diagram as a listener of its namspace in the UML model. (so that it can delete itself when the model element is deleted).
 
Methods inherited from class org.argouml.uml.diagram.ui.UMLDiagram
getClassAndModelID, getNamespace, getOwner, getToolBar, initialize, initToolBar, listRoleItemSet, propertySet, recovered, removed, roleAdded, roleRemoved, setName
 
Methods inherited from class org.argouml.ui.ArgoDiagram
addChangeRegistryAsListener, damage, getContainingFig, getEdges, getItemUID, getNodes, getVetoMessage, removeChangeRegistryAsListener, setItemUID
 
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, 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
 

Field Detail

cat

protected static org.apache.log4j.Category cat

_actionObject

protected static javax.swing.Action _actionObject

_actionLinkWithStimulusCall

protected static javax.swing.Action _actionLinkWithStimulusCall

_actionLinkWithStimulusCreate

protected static javax.swing.Action _actionLinkWithStimulusCreate

_actionLinkWithStimulusDestroy

protected static javax.swing.Action _actionLinkWithStimulusDestroy

_actionLinkWithStimulusSend

protected static javax.swing.Action _actionLinkWithStimulusSend

_actionLinkWithStimulusReturn

protected static javax.swing.Action _actionLinkWithStimulusReturn

_SequenceDiagramSerial

protected static int _SequenceDiagramSerial
Constructor Detail

UMLSequenceDiagram

public UMLSequenceDiagram()

UMLSequenceDiagram

public UMLSequenceDiagram(ru.novosoft.uml.foundation.core.MNamespace m)
Method Detail

getNumStimuluss

public int getNumStimuluss()

setNamespace

public void setNamespace(ru.novosoft.uml.foundation.core.MNamespace m)
Description copied from class: UMLDiagram
sets the namespace of the Diagram, and adds the diagram as a listener of its namspace in the UML model. (so that it can delete itself when the model element is deleted).
Overrides:
setNamespace in class UMLDiagram

initToolBar

protected void initToolBar(javax.swing.JToolBar toolBar)
initialize the toolbar for this diagram type
Overrides:
initToolBar in class UMLDiagram
Following copied from class: org.argouml.uml.diagram.ui.UMLDiagram
Parameters:
toolbar - The toolbar to populate with buttons

postLoad

public void postLoad()
every stimulus has to become a path item of its link to have a graphical connections between stimulus and link
Overrides:
postLoad in class org.tigris.gef.base.Diagram

getNewDiagramName

protected static java.lang.String getNewDiagramName()
Creates a new diagramname.
Returns:
String


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook