BPMNPlane question [message #903216] |
Wed, 22 August 2012 14:34  |
Eclipse User |
|
|
|
Hi all,
I'm not sure I understand the relationship of BPMNPlane elements to other DI model elements. It seems to me that you should be able to have containment of a BPMNPlane in a BPMNShape, something like this:
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1">
<bpmndi:BPMNShape id="BPMNShape_1" bpmnElement="StartEvent_1">
<dc:Bounds height="36.0" width="36.0" x="100.0" y="100.0"/>
<bpmndi:BPMNPlane>
<bpmndi:BPMNShape id="BPMNShape_2" bpmnElement="EndEvent_1">
<dc:Bounds height="36.0" width="36.0" x="500.0" y="100.0"/>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
When I try this, the XML parser tells me that "Feature 'BPMNPlane' not found." What am I missing here? Is this even allowed?
Thanks!
Bob
[Updated on: Wed, 22 August 2012 14:35] by Moderator Report message to a moderator
|
|
|
Re: BPMNPlane question [message #903217 is a reply to message #903216] |
Wed, 22 August 2012 14:48   |
Eclipse User |
|
|
|
Another interesting thing to note is that when I used the default BPMN2 Model editor to add a BPMNPlane as a child of another BPMNPlane, I see this:
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1">
<bpmndi:BPMNShape id="BPMNShape_Lane_1" bpmnElement="Lane_1" isHorizontal="true">
<dc:Bounds/>
</bpmndi:BPMNShape>
<di:DiagramElement xsi:type="bpmndi:BPMNPlane" id="_7klmwOxnEeGbVMzLJh8Eiw">
<bpmndi:BPMNShape id="_-OoyMOxnEeGbVMzLJh8Eiw"/>
<bpmndi:BPMNEdge id="_-OoyMexnEeGbVMzLJh8Eiw"/>
</di:DiagramElement>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
I would haved expected to see this instead:
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1">
<bpmndi:BPMNShape id="BPMNShape_Lane_1" bpmnElement="Lane_1" isHorizontal="true">
<dc:Bounds/>
</bpmndi:BPMNShape>
<bpmndi:BPMNPlane id="_7klmwOxnEeGbVMzLJh8Eiw">
<bpmndi:BPMNShape id="_-OoyMOxnEeGbVMzLJh8Eiw"/>
<bpmndi:BPMNEdge id="_-OoyMexnEeGbVMzLJh8Eiw"/>
</bpmndi:BPMNPlane>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
|
|
|
Re: BPMNPlane question [message #903228 is a reply to message #903217] |
Wed, 22 August 2012 15:04   |
Eclipse User |
|
|
|
Please use eclipse.bpmn2-modeler.
On 22/08/2012 4:48 PM, Robert Brodt wrote:
> Another interesting thing to note is that when I used the default
> BPMN2 Model editor to add a BPMNPlane as a child of another BPMNPlane,
> I see this:
>
>
> <bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
> <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1">
> <bpmndi:BPMNShape id="BPMNShape_Lane_1" bpmnElement="Lane_1"
> isHorizontal="true">
> <dc:Bounds/>
> </bpmndi:BPMNShape>
> <di:DiagramElement xsi:type="bpmndi:BPMNPlane"
> id="_7klmwOxnEeGbVMzLJh8Eiw">
> <bpmndi:BPMNShape id="_-OoyMOxnEeGbVMzLJh8Eiw"/>
> <bpmndi:BPMNEdge id="_-OoyMexnEeGbVMzLJh8Eiw"/>
> </di:DiagramElement>
> </bpmndi:BPMNPlane>
> </bpmndi:BPMNDiagram>
>
>
> I would haved expected to see this instead:
>
>
>
> <bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Process Diagram">
> <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1">
> <bpmndi:BPMNShape id="BPMNShape_Lane_1" bpmnElement="Lane_1"
> isHorizontal="true">
> <dc:Bounds/>
> </bpmndi:BPMNShape>
> <bpmndi:BPMNPlane id="_7klmwOxnEeGbVMzLJh8Eiw">
> <bpmndi:BPMNShape id="_-OoyMOxnEeGbVMzLJh8Eiw"/>
> <bpmndi:BPMNEdge id="_-OoyMexnEeGbVMzLJh8Eiw"/>
> </bpmndi:BPMNPlane>
> </bpmndi:BPMNPlane>
> </bpmndi:BPMNDiagram>
>
>
|
|
|
|
Re: BPMNPlane question [message #903304 is a reply to message #903240] |
Thu, 23 August 2012 05:57  |
Eclipse User |
|
|
|
Robert,
Yes, this is a general newsgroup for the MDT container project which
includes things like UML2, XSD, BPMN2, OCL, and so on. Best when you
have specific questions about one of those technologies you use the
forum specific to that technology.
On 22/08/2012 6:17 PM, Robert Brodt wrote:
> Actually, this is BPMN2 metamodel project question and has nothing to
> do with the editor. Am I in the wrong place?
|
|
|
Powered by
FUDForum. Page generated in 0.03875 seconds