|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.gef.graph.MutableGraphSupport
org.argouml.uml.diagram.UMLMutableGraphSupport
org.argouml.uml.diagram.deployment.DeploymentDiagramGraphModel
This class defines a bridge between the UML meta-model representation of the design and the GraphModel interface used by GEF.
This class handles only UML Deployment Diagrams.
| Field Summary | |
private static Logger |
LOG
Logger. |
private Object |
model
The "home" UML model of this diagram, not all ModelElements in this graph are in the home model, but if they are added and don't already have a model, they are placed in the "home model". |
(package private) static long |
serialVersionUID
|
| Fields inherited from class org.argouml.uml.diagram.UMLMutableGraphSupport |
|
| Fields inherited from class org.tigris.gef.graph.MutableGraphSupport |
|
| Constructor Summary | |
DeploymentDiagramGraphModel()
|
|
| Method Summary | |
void |
addEdge(Object edge)
Add the given edge to the graph, if valid. |
void |
addNode(Object node)
Add the given node to the graph, if valid. |
void |
addNodeRelatedEdges(Object node)
|
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. |
List |
getInEdges(Object port)
Return all edges going to given port. |
Object |
getNamespace()
Get the homemodel. |
List |
getOutEdges(Object port)
Return all edges going from given port |
Object |
getOwner(Object port)
Return the node or edge that owns the given port |
List |
getPorts(Object nodeOrEdge)
Return all ports on node or edge. |
void |
setNamespace(Object namespace)
Set the homemodel. |
void |
vetoableChange(PropertyChangeEvent pce)
|
| Methods inherited from class org.argouml.uml.diagram.UMLMutableGraphSupport |
buildCommentConnection, buildConnection, canConnect, connect, connect, constainsEdge, containsNode, getDestPort, getEdges, getNodes, getSourcePort, isConnectionValid, removeEdge, removeNode |
| Methods inherited from class org.tigris.gef.graph.MutableGraphSupport |
addGraphEventListener, canChangeConnectedNode, canConnect, canDragNode, changeConnectedNode, 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 |
| Field Detail |
private static final Logger LOG
private Object model
static final long serialVersionUID
| Constructor Detail |
public DeploymentDiagramGraphModel()
| Method Detail |
public Object getNamespace()
getNamespace in class UMLMutableGraphSupportUMLMutableGraphSupport.getNamespace()public void setNamespace(Object namespace)
namespace - the namespacepublic List getPorts(Object nodeOrEdge)
getPorts in interface org.tigris.gef.graph.GraphModelGraphModel.getPorts(java.lang.Object)public Object getOwner(Object port)
getOwner in interface org.tigris.gef.graph.BaseGraphModelBaseGraphModel.getOwner(java.lang.Object)public List getInEdges(Object port)
getInEdges in interface org.tigris.gef.graph.GraphModelGraphModel.getInEdges(java.lang.Object)public List getOutEdges(Object port)
getOutEdges in interface org.tigris.gef.graph.GraphModelGraphModel.getOutEdges(java.lang.Object)public boolean canAddNode(Object node)
canAddNode in interface org.tigris.gef.graph.MutableGraphModelcanAddNode in class UMLMutableGraphSupportMutableGraphModel.canAddNode(java.lang.Object)public boolean canAddEdge(Object edge)
canAddEdge in interface org.tigris.gef.graph.MutableGraphModelcanAddEdge in class UMLMutableGraphSupportMutableGraphModel.canAddEdge(java.lang.Object)public void addNode(Object node)
addNode in interface org.tigris.gef.graph.MutableGraphModelMutableGraphModel.addNode(java.lang.Object)public void addEdge(Object edge)
addEdge in interface org.tigris.gef.graph.MutableGraphModelMutableGraphModel.addEdge(java.lang.Object)public void addNodeRelatedEdges(Object node)
addNodeRelatedEdges in interface org.tigris.gef.graph.MutableGraphModeladdNodeRelatedEdges in class UMLMutableGraphSupportMutableGraphModel.addNodeRelatedEdges(java.lang.Object)public void vetoableChange(PropertyChangeEvent pce)
vetoableChange in interface VetoableChangeListenerVetoableChangeListener.vetoableChange(java.beans.PropertyChangeEvent)
|
|||||||||||
| 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 |