01: package org.enhydra.jawe.components.graph;
02:
03: import java.awt.Point;
04: import java.util.Set;
05:
06: import org.jgraph.graph.DefaultGraphCell;
07:
08: /**
09: * Interface for defining Activity graph object.
10: *
11: * @author Sasa Bojanic
12: */
13: public abstract class GraphActivityInterface extends DefaultGraphCell
14: implements WorkflowElement, Linkable {
15:
16: /**
17: * Gets the port associated with this activity.
18: */
19: public abstract GraphPortInterface getPort();
20:
21: /**
22: * Gets all activities that reference this one.
23: */
24: public abstract Set getReferencingActivities();
25:
26: /**
27: * Gets all activities that this activity references.
28: */
29: public abstract Set getReferencedActivities();
30:
31: public abstract Point getOffset();
32:
33: }
|