Package jadex.bpmn.model.io
Interface IBpmnVisualModelReader
- All Known Subinterfaces:
IPostProcessingVisualModelReader
public interface IBpmnVisualModelReader
Interface for writer of the visual part of BPMN models.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processBpmnEdge
(String bpmnid, MIdElement medge, List<Point2D> waypoints) Process the visual part of a standard BPMN edge.void
processBpmnShape
(String bpmnid, MIdElement e, Boolean expanded, Rectangle2D bounds, Rectangle2D altbounds, Set<String> internalparameters, String eventparentid, String subprocessparentid, String laneparentid) Process the visual part of a standard BPMN shape.void
processGenericEdge
(String type, List<Point2D> waypoints, Map<String, String> attrs, Map<String, MIdElement> emap) Process the visual part of a generic (non-standard) edge.
-
Method Details
-
processBpmnShape
void processBpmnShape(String bpmnid, MIdElement e, Boolean expanded, Rectangle2D bounds, Rectangle2D altbounds, Set<String> internalparameters, String eventparentid, String subprocessparentid, String laneparentid) Process the visual part of a standard BPMN shape.- Parameters:
bpmnid
- The referenced ID of the shape.e
- The semantic shape, if found, null otherwise.expanded
- Flag whether the shape should be collapsed (false), expanded (true) or default (null).bounds
- Bounds of the shape.altbounds
- Alternative bounds.internalparameters
- Parameters that are considered to be internal and should not have input connectors.eventparentid
- The parent ID if the shape is an event with a parent.subprocessparentid
- The parent subprocess ID if the shape is part of a subprocess.laneparentid
- ID if the parent if the shape is a lane.
-
processBpmnEdge
Process the visual part of a standard BPMN edge.- Parameters:
bpmnid
- The referenced ID of the edge.medge
- The semantic edge, if found.waypoints
- The way points of the edge.
-
processGenericEdge
void processGenericEdge(String type, List<Point2D> waypoints, Map<String, String> attrs, Map<String, MIdElement> emap) Process the visual part of a generic (non-standard) edge.- Parameters:
type
- Type of the edge, if found.waypoints
- The way points of the edge.attrs
- XML attributes for the edge.emap
- Map from element IDs to semantic elements.
-