public class NetCellFactory
extends java.lang.Object
Constructor and Description |
---|
NetCellFactory() |
Modifier and Type | Method and Description |
---|---|
static AtomicTask |
insertAtomicTask(NetGraph net,
java.awt.geom.Point2D point)
Creates a new atomic task and inserts at the specified point of the given net.
|
static CompositeTask |
insertCompositeTask(NetGraph net,
java.awt.geom.Point2D point)
Creates a new composite task and inserts at the specified point of the given net.
|
static Condition |
insertCondition(NetGraph net,
java.awt.geom.Point2D point)
Creates a new condition and inserts at specified point of the given net.
|
static YAWLFlowRelation |
insertFlow(NetGraph net,
java.lang.String sourceID,
java.lang.String targetID)
Creates a new flow between two elements of the given net.
|
static MultipleAtomicTask |
insertMultipleAtomicTask(NetGraph net,
java.awt.geom.Point2D point)
Creates a new multiple atomic task and inserts at the specified point of the given net.
|
static MultipleCompositeTask |
insertMultipleCompositeTask(NetGraph net,
java.awt.geom.Point2D point)
Creates a new multiple composite task and inserts at the specified point of the
given net.
|
public static Condition insertCondition(NetGraph net, java.awt.geom.Point2D point)
net
- The net to insert the condition into.point
- The point on the net canvas to insert the condition at.public static AtomicTask insertAtomicTask(NetGraph net, java.awt.geom.Point2D point)
net
- The net to insert the task into.point
- The point on the net canvas to insert the task at.public static MultipleAtomicTask insertMultipleAtomicTask(NetGraph net, java.awt.geom.Point2D point)
net
- The net to insert the task into.point
- The point on the net canvas to insert the task at.public static CompositeTask insertCompositeTask(NetGraph net, java.awt.geom.Point2D point)
net
- The net to insert the task into.point
- The point on the net canvas to insert the task at.public static MultipleCompositeTask insertMultipleCompositeTask(NetGraph net, java.awt.geom.Point2D point)
net
- The net to insert the task into.point
- The point on the net canvas to insert the task at.public static YAWLFlowRelation insertFlow(NetGraph net, java.lang.String sourceID, java.lang.String targetID)
net
- The net to insert the task into.sourceID
- The identifier of the source element.targetID
- The identifier of the target element.