Class GoalMarkerShape
- java.lang.Object
-
- com.mxgraph.shape.mxBasicShape
-
- com.mxgraph.shape.mxActorShape
-
- jadex.gpmn.editor.gui.stylesheets.AbstractTextMarkerShape
-
- jadex.gpmn.editor.gui.stylesheets.GoalMarkerShape
-
- All Implemented Interfaces:
com.mxgraph.shape.mxIShape
public class GoalMarkerShape extends AbstractTextMarkerShape
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,java.lang.String>
TYPE_TO_INDICATOR
Goal type to indicator mapping.
-
Constructor Summary
Constructors Constructor Description GoalMarkerShape()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Shape
createShape(com.mxgraph.canvas.mxGraphics2DCanvas canvas, com.mxgraph.view.mxCellState state)
Generates the shape.protected java.lang.String
getText(com.mxgraph.view.mxCellState state)
Returns the text for the marker.-
Methods inherited from class jadex.gpmn.editor.gui.stylesheets.AbstractTextMarkerShape
paintShape
-
-
-
-
Method Detail
-
createShape
public java.awt.Shape createShape(com.mxgraph.canvas.mxGraphics2DCanvas canvas, com.mxgraph.view.mxCellState state)
Generates the shape.- Overrides:
createShape
in classcom.mxgraph.shape.mxActorShape
-
getText
protected java.lang.String getText(com.mxgraph.view.mxCellState state)
Returns the text for the marker.- Specified by:
getText
in classAbstractTextMarkerShape
- Parameters:
state
- The cell state.- Returns:
- Text of the marker.
-
-