Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_AD_HOC
The property for ad-hoc sub-processes (0=FALSE,1=TRUE)
|
static java.lang.String |
PROP_COMPENSATION |
static java.lang.String |
PROP_EVENT_SUBPROCESS
Event-SubProcess: 0=false 1=true
|
static java.lang.String |
PROP_LOOP_TYPE
Loop-Type: "NONE, STANDARD, SEQUENCE, PARALLEL"
|
static java.lang.String |
PROP_TRANSACTION
Transaction: 0=false 1=true
|
PROP_COLLAPSED, PROP_CONTAINED_NODES
PROP_ANNOTATION, PROP_BACKGROUND, PROP_HEIGHT, PROP_LABEL, PROP_MODULEID, PROP_REF, PROP_SHADOW, PROP_STEREOTYPE, PROP_TEXT, PROP_WIDTH, PROP_XPOS, PROP_YPOS, TAG_NODE, userObject
contexts, FALSE, PROP_CLASS_TYPE, PROP_ID, TRUE
Constructor and Description |
---|
SubProcess() |
SubProcess(int x,
int y,
java.lang.String label) |
Modifier and Type | Method and Description |
---|---|
void |
addProcessNode(ProcessNode n)
Adds a ProcessNode to this Cluster.
|
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
java.util.List<java.lang.Class<? extends ProcessNode>> |
getVariants()
Code replicated from Activity, since SubProcess does not inherit Activity.
|
boolean |
isCollapsed() |
void |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
void |
removeProcessNode(ProcessNode n)
Removes a ProcessNode from this Cluster.
|
void |
setAdHoc() |
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property.
|
void |
setTransaction() |
clearContainment, clone, getProcessNodes, getProcessNodesRecursivly, isCluster, isCollapseable, isContained, isContainedGraphically, moveClusterNodes, setPos, setPosIgnoreContainedNodes, setProcessNodes, toString, updateContainments
addConnectionPoint, checkDefaultConnectionPoints, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBoundingBox, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getDefaultConnectionPoints, getName, getParentClusters, getPos, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getXmlTag, handleCloning, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintSelection, removeAllConnectionPoints, setBackground, setPos, setShadowEnabled, setSize, setSize, setStereotype, setText, setUserObject, setVisible, updateReferences
addContext, addListener, equals, getAlpha, getContexts, getId, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setPropertyEditor, setSelected
getProperty, getPropertyKeys, getSerialization, removeProperty
public static final java.lang.String PROP_LOOP_TYPE
public static final java.lang.String PROP_TRANSACTION
public static final java.lang.String PROP_EVENT_SUBPROCESS
public static final java.lang.String PROP_AD_HOC
public static final java.lang.String PROP_COMPENSATION
public SubProcess()
public SubProcess(int x, int y, java.lang.String label)
public void setProperty(java.lang.String key, java.lang.String value)
ProcessObject
setProperty
in class Cluster
public void setAdHoc()
public void setTransaction()
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class ProcessNode
public void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class ProcessNode
public void addProcessNode(ProcessNode n)
Cluster
addProcessNode
in class Cluster
public void removeProcessNode(ProcessNode n)
Cluster
removeProcessNode
in class Cluster
public boolean isCollapsed()
isCollapsed
in class Cluster
public java.util.List<java.lang.Class<? extends ProcessNode>> getVariants()
getVariants
in class ProcessNode