Skip to main content



      Home
Home » Modeling » MDT (Model Development Tools) » BPMNPlane question(Is BPMNPlane containment allowed in other DiagramElements besides BPMNDiagram?)
BPMNPlane question [message #903216] Wed, 22 August 2012 10:34 Go to next message
Eclipse UserFriend
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 10:35] by Moderator

Re: BPMNPlane question [message #903217 is a reply to message #903216] Wed, 22 August 2012 10:48 Go to previous messageGo to next message
Eclipse UserFriend
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 11:04 Go to previous messageGo to next message
Eclipse UserFriend
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 #903240 is a reply to message #903228] Wed, 22 August 2012 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Actually, this is BPMN2 metamodel project question and has nothing to do with the editor. Am I in the wrong place?
Re: BPMNPlane question [message #903304 is a reply to message #903240] Thu, 23 August 2012 01:57 Go to previous message
Eclipse UserFriend
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?
Previous Topic:Ecore file to BPMN
Next Topic:EMF based project to support Reusable Asset Specification (OMG Standard)
Goto Forum:
  


Current Time: Tue Jul 15 08:15:54 EDT 2025

Powered by FUDForum. Page generated in 0.11836 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top