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 class
VPlan.VPlanType
Plan type marker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INode
getNode()
Returns the business model node.IPlan
getPlan()
Returns the business model plan.java.lang.String
getPlanMode()
Provides the mode of the associated plan.java.lang.Object
getValue()
Gets the value.boolean
isFoldable()
Tests if this element is collapsible (stylesheet must allow collapsing).void
setGeometry(com.mxgraph.model.mxGeometry geometry)
Override to match type marker.void
setValue(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:
setValue
in interfacecom.mxgraph.model.mxICell
- Overrides:
setValue
in classcom.mxgraph.model.mxCell
- Parameters:
value
- The value.
-
getValue
public java.lang.Object getValue()
Gets the value.- Specified by:
getValue
in interfacecom.mxgraph.model.mxICell
- Overrides:
getValue
in classcom.mxgraph.model.mxCell
- Returns:
- The value.
-
isFoldable
public boolean isFoldable()
Tests if this element is collapsible (stylesheet must allow collapsing).- Overrides:
isFoldable
in classVElement
- Returns:
- True, if collapsing is allowed.
-
setGeometry
public void setGeometry(com.mxgraph.model.mxGeometry geometry)
Override to match type marker.- Specified by:
setGeometry
in interfacecom.mxgraph.model.mxICell
- Overrides:
setGeometry
in classcom.mxgraph.model.mxCell
-
getPlanMode
public java.lang.String getPlanMode()
Provides the mode of the associated plan.- Specified by:
getPlanMode
in interfaceIPlanModeProvider
- Returns:
- Sequential, Parallel or null if undetermined.
-
-