Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:34 Go to next message
Robert Brodt is currently offline Robert Brodt
Messages: 601
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

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]

Report message to a moderator

Re: BPMNPlane question [message #903217 is a reply to message #903216] Wed, 22 August 2012 14:48 Go to previous messageGo to next message
Robert Brodt is currently offline Robert Brodt
Messages: 601
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

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 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
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 16:17 Go to previous messageGo to next message
Robert Brodt is currently offline Robert Brodt
Messages: 601
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

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 05:57 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
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: Fri Sep 19 23:58:53 GMT 2014

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

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