public class Activity extends FlowObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LOOP_MULTI_PARALLEL
Loop-Property: Mutli Instance Parallel
|
static java.lang.String |
LOOP_MULTI_SEQUENCE
Loop-Property: Multi Instance Sequence
|
static java.lang.String |
LOOP_NONE
Loop-Property: None
|
static java.lang.String |
LOOP_STANDARD
Loop-Property: Standard
|
static int |
MARKER_ICON_SIZE
The size of the marker icons
|
static java.lang.String |
PROP_LOOP_TYPE
Loop-Type: "NONE, STANDARD, SEQUENCE, PARALLEL"
|
static int |
STEREOTYPE_ICON_SIZE
The size of the stereotype icons
|
static java.lang.String |
TYPE_MANUAL |
static java.lang.String |
TYPE_RECEIVE |
static java.lang.String |
TYPE_REFERENCE |
static java.lang.String |
TYPE_RULE |
static java.lang.String |
TYPE_SCRIPT |
static java.lang.String |
TYPE_SEND |
static java.lang.String |
TYPE_SERVICE |
static java.lang.String |
TYPE_USER |
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 |
---|
Activity() |
Modifier and Type | Method and Description |
---|---|
static void |
drawAdHoc(java.awt.Graphics2D g2,
int x,
int y) |
static void |
drawCompensation(java.awt.Graphics2D g2,
int x,
int y) |
static void |
drawMessage(java.awt.Graphics2D g2,
int x,
int y,
java.awt.Color fill,
java.awt.Color draw) |
static void |
drawParallelMultiInstance(java.awt.Graphics2D g2,
int x,
int y) |
static void |
drawSequentialMultiInstance(java.awt.Graphics2D g2,
int x,
int y) |
static void |
drawService(java.awt.Graphics2D g2,
int x,
int y) |
static void |
drawStandardLoop(java.awt.Graphics2D g2,
int x,
int y) |
static void |
drawStereotype(java.awt.Graphics2D g2,
ProcessNode n) |
static void |
drawSubProcessMarker(java.awt.Graphics2D g2,
int x,
int y) |
static void |
drawSubProcessMarker(java.awt.Graphics2D g2,
int x,
int y,
boolean plus)
set plus to false, to draw a minus sign
|
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
java.util.List<java.lang.Class<? extends ProcessNode>> |
getVariants()
Returns the list of variants for this node, e.g. the node types
that can be used to refactor this node.
|
void |
pack() |
void |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
java.lang.String |
toString() |
addConnectionPoint, checkDefaultConnectionPoints, clone, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBoundingBox, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getDefaultConnectionPoints, getName, getParentClusters, getPos, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getXmlTag, handleCloning, isCluster, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintSelection, removeAllConnectionPoints, setBackground, setPos, setPos, setProperty, 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 TYPE_SERVICE
public static final java.lang.String TYPE_SEND
public static final java.lang.String TYPE_RECEIVE
public static final java.lang.String TYPE_MANUAL
public static final java.lang.String TYPE_SCRIPT
public static final java.lang.String TYPE_RULE
public static final java.lang.String TYPE_USER
public static final java.lang.String TYPE_REFERENCE
public static final java.lang.String LOOP_NONE
public static final java.lang.String LOOP_STANDARD
public static final java.lang.String LOOP_MULTI_SEQUENCE
public static final java.lang.String LOOP_MULTI_PARALLEL
public static final int MARKER_ICON_SIZE
public static final int STEREOTYPE_ICON_SIZE
public static void drawParallelMultiInstance(java.awt.Graphics2D g2, int x, int y)
public static void drawSequentialMultiInstance(java.awt.Graphics2D g2, int x, int y)
public static void drawStandardLoop(java.awt.Graphics2D g2, int x, int y)
public static void drawSubProcessMarker(java.awt.Graphics2D g2, int x, int y, boolean plus)
g2
- x
- y
- plus
- public static void drawSubProcessMarker(java.awt.Graphics2D g2, int x, int y)
public static void drawAdHoc(java.awt.Graphics2D g2, int x, int y)
public static void drawCompensation(java.awt.Graphics2D g2, int x, int y)
public static void drawMessage(java.awt.Graphics2D g2, int x, int y, java.awt.Color fill, java.awt.Color draw)
public static void drawService(java.awt.Graphics2D g2, int x, int y)
public static void drawStereotype(java.awt.Graphics2D g2, ProcessNode n)
public void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class ProcessNode
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class ProcessNode
public java.util.List<java.lang.Class<? extends ProcessNode>> getVariants()
ProcessNode
getVariants
in class ProcessNode
public void pack()
public java.lang.String toString()
toString
in class ProcessNode