org.argouml.uml.diagram.activity
Class ActivityDiagramGraphModel

java.lang.Object
  extended byorg.tigris.gef.graph.MutableGraphSupport
      extended byorg.argouml.uml.diagram.UMLMutableGraphSupport
          extended byorg.argouml.uml.diagram.state.StateDiagramGraphModel
              extended byorg.argouml.uml.diagram.activity.ActivityDiagramGraphModel
All Implemented Interfaces:
org.tigris.gef.graph.BaseGraphModel, EventListener, org.tigris.gef.graph.GraphModel, org.tigris.gef.graph.MutableGraphModel, Serializable, VetoableChangeListener

public class ActivityDiagramGraphModel
extends StateDiagramGraphModel

The graphmodel for an activitydiagram. A graph model in argouml implements rules for adding and removing elements.

Since:
Jul 11, 2004
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.argouml.uml.diagram.state.StateDiagramGraphModel
 
Fields inherited from class org.argouml.uml.diagram.UMLMutableGraphSupport
 
Fields inherited from class org.tigris.gef.graph.MutableGraphSupport
 
Constructor Summary
ActivityDiagramGraphModel()
           
 
Method Summary
 boolean canAddEdge(Object edge)
          Return true if the given object is a valid edge in this graph.
 boolean canAddNode(Object node)
          Return true if the given object is a valid node in this graph.
 
Methods inherited from class org.argouml.uml.diagram.state.StateDiagramGraphModel
addEdge, addNode, addNodeRelatedEdges, canChangeConnectedNode, canConnect, changeConnectedNode, connect, getInEdges, getMachine, getNamespace, getOutEdges, getOwner, getPorts, setMachine, setNamespace, vetoableChange
 
Methods inherited from class org.argouml.uml.diagram.UMLMutableGraphSupport
buildCommentConnection, buildConnection, connect, constainsEdge, containsNode, getDestPort, getEdges, getNodes, getSourcePort, isConnectionValid, removeEdge, removeNode
 
Methods inherited from class org.tigris.gef.graph.MutableGraphSupport
addGraphEventListener, canConnect, canDragNode, containsEdge, containsEdgePort, containsNodePort, containsPort, createNode, dragNode, fireEdgeAdded, fireEdgeRemoved, fireGraphChanged, fireNodeAdded, fireNodeRemoved, getConnectionConstrainer, getGraphListeners, removeAll, removeAllEdges, removeAllNodes, removeFig, removeGraphEventListener, setConnectionConstrainer, setSaveAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityDiagramGraphModel

public ActivityDiagramGraphModel()
Method Detail

canAddNode

public boolean canAddNode(Object node)
Description copied from class: StateDiagramGraphModel
Return true if the given object is a valid node in this graph.

Specified by:
canAddNode in interface org.tigris.gef.graph.MutableGraphModel
Overrides:
canAddNode in class StateDiagramGraphModel
See Also:
MutableGraphModel.canAddNode(java.lang.Object)

canAddEdge

public boolean canAddEdge(Object edge)
Description copied from class: StateDiagramGraphModel
Return true if the given object is a valid edge in this graph.

Specified by:
canAddEdge in interface org.tigris.gef.graph.MutableGraphModel
Overrides:
canAddEdge in class StateDiagramGraphModel
See Also:
MutableGraphModel.canAddEdge(java.lang.Object)


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook