Package jadex.gpmn.editor.model.visual
Class VPlan
- java.lang.Object
-
- com.mxgraph.model.mxCell
-
- jadex.gpmn.editor.model.visual.VElement
-
- jadex.gpmn.editor.model.visual.VNode
-
- jadex.gpmn.editor.model.visual.VPlan
-
- All Implemented Interfaces:
com.mxgraph.model.mxICell,IPlanModeProvider,java.io.Serializable,java.lang.Cloneable
public class VPlan extends VNode implements IPlanModeProvider
Visual plan node.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classVPlan.VPlanTypePlan type marker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INodegetNode()Returns the business model node.IPlangetPlan()Returns the business model plan.java.lang.StringgetPlanMode()Provides the mode of the associated plan.java.lang.ObjectgetValue()Gets the value.booleanisFoldable()Tests if this element is collapsible (stylesheet must allow collapsing).voidsetGeometry(com.mxgraph.model.mxGeometry geometry)Override to match type marker.voidsetValue(java.lang.Object value)Sets the value.-
Methods inherited from class jadex.gpmn.editor.model.visual.VNode
getElement, getX, getY, setX, setY
-
Methods inherited from class com.mxgraph.model.mxCell
clone, cloneValue, getAttribute, getAttribute, getChildAt, getChildCount, getEdgeAt, getEdgeCount, getEdgeIndex, getGeometry, getId, getIndex, getParent, getSource, getStyle, getTarget, getTerminal, insert, insert, insertEdge, isCollapsed, isConnectable, isEdge, isVertex, isVisible, remove, remove, removeEdge, removeFromParent, removeFromTerminal, setAttribute, setCollapsed, setConnectable, setEdge, setId, setParent, setSource, setStyle, setTarget, setTerminal, setVertex, setVisible
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jadex.gpmn.editor.model.visual.IPlanModeProvider
getGeometry
-
-
-
-
Constructor Detail
-
VPlan
public VPlan(IPlan plan, com.mxgraph.util.mxPoint position)
Creates a new plan node.- Parameters:
plan- Business model plan.position- The position.
-
VPlan
public VPlan(IPlan plan, double x, double y)
Creates a new plan node.- Parameters:
plan- Business model plan.x- The X-position.y- The Y-position.
-
-
Method Detail
-
getPlan
public IPlan getPlan()
Returns the business model plan.- Returns:
- The plan.
-
getNode
public INode getNode()
Returns the business model node.
-
setValue
public void setValue(java.lang.Object value)
Sets the value.- Specified by:
setValuein interfacecom.mxgraph.model.mxICell- Overrides:
setValuein classcom.mxgraph.model.mxCell- Parameters:
value- The value.
-
getValue
public java.lang.Object getValue()
Gets the value.- Specified by:
getValuein interfacecom.mxgraph.model.mxICell- Overrides:
getValuein classcom.mxgraph.model.mxCell- Returns:
- The value.
-
isFoldable
public boolean isFoldable()
Tests if this element is collapsible (stylesheet must allow collapsing).- Overrides:
isFoldablein classVElement- Returns:
- True, if collapsing is allowed.
-
setGeometry
public void setGeometry(com.mxgraph.model.mxGeometry geometry)
Override to match type marker.- Specified by:
setGeometryin interfacecom.mxgraph.model.mxICell- Overrides:
setGeometryin classcom.mxgraph.model.mxCell
-
getPlanMode
public java.lang.String getPlanMode()
Provides the mode of the associated plan.- Specified by:
getPlanModein interfaceIPlanModeProvider- Returns:
- Sequential, Parallel or null if undetermined.
-
-