Package jadex.gpmn.editor.model.visual
Class VGoal
- java.lang.Object
-
- com.mxgraph.model.mxCell
-
- jadex.gpmn.editor.model.visual.VElement
-
- jadex.gpmn.editor.model.visual.VNode
-
- jadex.gpmn.editor.model.visual.VGoal
-
- All Implemented Interfaces:
com.mxgraph.model.mxICell
,IPlanModeProvider
,java.io.Serializable
,java.lang.Cloneable
public class VGoal extends VNode implements IPlanModeProvider
Visual representation of a goal.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
VGoal.VGoalType
Goal Type Marker
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IGoal
getGoal()
Gets the underlying goal.INode
getNode()
Returns the business model node.java.lang.String
getPlanMode()
Provides the mode of the associated plan.java.lang.String
getStyle()
java.lang.Object
getValue()
Gets the value.void
setGeometry(com.mxgraph.model.mxGeometry geometry)
Override to match type marker.void
setGoalType(java.lang.String type)
Sets the goal type.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 jadex.gpmn.editor.model.visual.VElement
isFoldable
-
Methods inherited from class com.mxgraph.model.mxCell
clone, cloneValue, getAttribute, getAttribute, getChildAt, getChildCount, getEdgeAt, getEdgeCount, getEdgeIndex, getGeometry, getId, getIndex, getParent, getSource, 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
-
VGoal
public VGoal(IGoal goal, com.mxgraph.util.mxPoint position)
Creates a new visual goal element and goal element in the model.
-
-
Method Detail
-
getGoal
public IGoal getGoal()
Gets the underlying goal.- Returns:
- The goal.
-
setGoalType
public void setGoalType(java.lang.String type)
Sets the goal type.
-
getStyle
public java.lang.String getStyle()
- Specified by:
getStyle
in interfacecom.mxgraph.model.mxICell
- Overrides:
getStyle
in classcom.mxgraph.model.mxCell
-
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.
-
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
-
getNode
public INode getNode()
Returns the business model node.
-
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.
-
-