|Re: How to extend the BPMN Plane [message #1238181 is a reply to message #1238137]
||Fri, 31 January 2014 15:34
| Robert Brodt
Registered: August 2010
Location: Colorado Springs, CO
According to the BPMNDI XML schema, BPMNDiagram has exactly one BPMNPlane, however that BPMNPlane may theoretically contain any number of BPMNPlane objects itself - the "planeElement" list of the DI "Plane" class is the container for BPMNShape, BPMNEdge, BPMNLabel and BPMNPlane objects. So (again theoretically, as I have never seen models that do this) it should be possible to have something like this:
<bpmndi:BPMNPlane bpmnElement="some base element referenced here???" ...>
<!-- a collection of BPMNShape, BPMNEdge, BPMNLabel and optionally more BPMNPlanes here??? -->
However, keep in mind that a BPMNPlane can only reference a BaseElement of the types Process, SubProcess, AdHocSubProcess, Transaction,
Collaboration, Choreography or SubChoreography, and I believe this reference is REQUIRED, so your embedded BPMNPlane would need to reference one of these types of objects in your document. This is only a Semantic requirement of the BPMN2 specification, and (I think!) is not enforced by the XML schema, so depending on who or what will be consuming these types of models, you could probably omit this reference.
Also keep in mind that your embedded plane may only contain BPMNShape, BPMNEdge and BPMNLabel objects, so the overlay data you want to render in your editor would need to be contained in one of these types of objects (probably a BPMNLabel).
All that said, this is currently not possible with the BPMN2 Modeler, although I think it's a useful enhancement! Please feel free to file an enhancement request.
Powered by FUDForum
. Page generated in 0.06644 seconds