se.liu.ida.critiquer.gui.graph
Class ActivityNode
java.lang.Object
org.tigris.gef.graph.presentation.NetPrimitive
org.tigris.gef.graph.presentation.NetNode
se.liu.ida.critiquer.gui.graph.ActivityNode
- All Implemented Interfaces:
- Serializable, GraphNodeHooks
public class ActivityNode
- extends NetNode
- See Also:
- Serialized Form
debug
public static PrintStream debug
ActivityNode
public ActivityNode(Class activityClass)
initialize
public void initialize(Hashtable args)
- Specified by:
initialize
in interface GraphNodeHooks
- Specified by:
initialize
in class NetNode
makePresentation
public FigNode makePresentation(Layer lay)
- Specified by:
makePresentation
in class NetNode
getId
public String getId()
- Specified by:
getId
in class NetPrimitive
getChildPort
public ChildPort getChildPort()
- Returns:
- Returns the childPort.
getNextPort
public NextPort getNextPort()
- Returns:
- Returns the nextPort.
getParentPort
public ParentPort getParentPort()
- Returns:
- Returns the parentPort.
getPreviousPort
public PreviousPort getPreviousPort()
- Returns:
- Returns the previousPort.
getActivity
public Activity getActivity()
- Returns:
- Returns the activity.
toString
public String toString()
- Overrides:
toString
in class Object
postLoad
public void postLoad()
- Restore necessary properties after reading this node from a file
preSave
public void preSave()
deleteFromModel
public void deleteFromModel()
- Remove the activity, along with any constraints related to it and notify listeners it has been removed.
- Specified by:
deleteFromModel
in interface GraphNodeHooks
- Overrides:
deleteFromModel
in class NetNode
- See Also:
NetNode.deleteFromModel()