se.liu.ida.critiquer.gui.graph
Class AbstractActivityPort

java.lang.Object
  extended by org.tigris.gef.graph.presentation.NetPrimitive
      extended by org.tigris.gef.graph.presentation.NetPort
          extended by se.liu.ida.critiquer.gui.graph.AbstractActivityPort
All Implemented Interfaces:
Serializable, GraphPortHooks
Direct Known Subclasses:
ChildPort, NextPort, ParentPort, PreviousPort

public abstract class AbstractActivityPort
extends NetPort
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.tigris.gef.graph.presentation.NetPort
DEFAULT_EDGE_CLASS
 
Fields inherited from class org.tigris.gef.graph.presentation.NetPrimitive
_changeSup, _highlight
 
Constructor Summary
AbstractActivityPort(ActivityNode activityNode)
           
 
Method Summary
 boolean canConnectTo(GraphModel gm, Object anotherPort)
           
protected abstract  Class defaultEdgeClass(NetPort otherPort)
           
 ActivityNode getActivityNode()
           
 
Methods inherited from class org.tigris.gef.graph.presentation.NetPort
addEdge, deleteFromModel, getEdges, getId, getParent, getParentEdge, getParentNode, makeEdgeFor, postConnect, postDisconnect, removeEdge
 
Methods inherited from class org.tigris.gef.graph.presentation.NetPrimitive
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getHighlight, removePropertyChangeListener, setHighlight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tigris.gef.graph.GraphPortHooks
addPropertyChangeListener, removePropertyChangeListener, setHighlight
 

Constructor Detail

AbstractActivityPort

public AbstractActivityPort(ActivityNode activityNode)
Method Detail

getActivityNode

public ActivityNode getActivityNode()
Returns:
Returns the activityNode.

canConnectTo

public boolean canConnectTo(GraphModel gm,
                            Object anotherPort)
Specified by:
canConnectTo in interface GraphPortHooks
Overrides:
canConnectTo in class NetPort

defaultEdgeClass

protected abstract Class defaultEdgeClass(NetPort otherPort)
Overrides:
defaultEdgeClass in class NetPort