se.liu.ida.critiquer.gui.graph
Class InheritanceEdge
java.lang.Object
org.tigris.gef.graph.presentation.NetPrimitive
org.tigris.gef.graph.presentation.NetEdge
se.liu.ida.critiquer.gui.graph.InheritanceEdge
- All Implemented Interfaces:
- Serializable, GraphEdgeHooks
public class InheritanceEdge
- extends NetEdge
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InheritanceEdge
public InheritanceEdge()
makePresentation
public FigEdge makePresentation(Layer lay)
- Specified by:
makePresentation
in class NetEdge
connect
public boolean connect(GraphModel gm,
Object srcPort,
Object destPort)
- The parentPort is the port that connects TO a parent and the childPort is
the port that connects TO the children.
That means that a parentPort is located on an ActivityFigNode which
represents and activity that is supposed to be the child of the activity
associated with the childPort.
- Overrides:
connect
in class NetEdge
deleteFromModel
public void deleteFromModel()
- Specified by:
deleteFromModel
in interface GraphEdgeHooks
- Overrides:
deleteFromModel
in class NetEdge
- See Also:
for an explanation on how the parentPort should be interpreted.
getId
public String getId()
- Specified by:
getId
in class NetPrimitive
getChild
public Activity getChild()
- Returns:
- Returns the child.
getParent
public Activity getParent()
- Returns:
- Returns the parent.