Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Oriented Architecture Tools Platform (STP) » BPMN Modeler Metamodel
BPMN Modeler Metamodel [message #592957] Sat, 18 August 2007 15:45
Eclipse UserFriend
Originally posted by: rb_account.yahoo.de

Hello,

I just downloaded the stp project and used BPMN modeler which is pretty =
=

impressive.

Writing a thesis about bpmn/xpdl/bpel, I came up with the following =

questions:
1. Why do you use your own Metamodel when there exists the XML Process =

Definition Language 2.0 (XPDL), which defines the abstract syntax for BP=
MN?

2. I would like to use your modeler because:
- it's based on EMF and GMF
- it supports all (?) shapes

However, I would need to extend the Metamodel in order to use advanced =

features like PartnerLinkTypes, PartnerLinks etc.
I could use the Annotations-Feature which is described in the tutorial. =
=

However, I would prefer to use a metamodel-based approach with specific =
=

Metaelements for all necessary features.
With this thoughts in mind, I came up with the idea to extend the =

bpmn-metamodel with the elements I need. Then I simply generate the code=
=

for the EMF Tree editor plugin based on the GeneratorModel. I could then=
=

model my bpmn-model with the STP-BPMN-Modeler and extend the model with =
=

the EMF based editor.

However, the output of the EMF based editor and the BPMN editor are not =
=

the same and I am not able to open the BPMN output with the EMF generate=
d =

editor

BPMN output:
*********************************************
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<bpmn:BpmnDiagram xmi:version=3D"2.0" xmlns:xmi=3D"http://www.omg.org/XM=
I" =

xmlns:bpmn=3D"http://stp.eclipse.org/bpmn" =

xmlns:ecore=3D"http://www.eclipse.org/emf/2002/Ecore" =

xmi:id=3D"_-CiFcEzhEdyNL4XXdWFXDg" iD=3D"_-CVRIEzhEdyNL4XXdWFXDg">
<pools xmi:type=3D"bpmn:Pool" xmi:id=3D"_-qD_gUzhEdyNL4XXdWFXDg" =

iD=3D"_-qD_gEzhEdyNL4XXdWFXDg">
<vertices xmi:type=3D"bpmn:Activity" xmi:id=3D"_-znkIUzhEdyNL4XXdWF=
XDg" =

iD=3D"_-znkIEzhEdyNL4XXdWFXDg"/>
</pools>
</bpmn:BpmnDiagram>


EMF Tree output
******************************************************
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<bpmn:BpmnDiagram xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance=
" =

xmlns:bpmn=3D"http://stp.eclipse.org/bpmn">
<pools>
<vertices xsi:type=3D"bpmn:Activity"/>
</pools>
</bpmn:BpmnDiagram>


Did you generate the stp-bpmn-modeler code with emf?
If so: Why are there differences in the output?
Are there any possibilities to use the emf tree editor on stp-bmn-modele=
r =

files?

Best regards

Rainer Bernhard
Previous Topic:STP Planning Meetings
Next Topic:Problems with SCA HelloWorld example.
Goto Forum:
  


Current Time: Sun Nov 23 13:50:51 GMT 2014

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

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