Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Service Oriented Architecture Tools Platform (STP) » Traverse a BPMN diagram
Traverse a BPMN diagram [message #375086] Tue, 16 June 2009 17:01 Go to next message
Felix is currently offline Felix
Messages: 10
Registered: July 2009
Junior Member
Hi,
I generated a BPMN diagram and saved it in a file. For my further work I
only need the *.bpmn file which contains the model without the visual
information for the editor.
This model I've already loaded with the help of a resourceSet into an
object of BpmnPackage. My question is if there are already some methods to
traverse this graph which is instantiate in an object from the type
BpmnPackage.

In my case I want to follow the process flow from a begin event to an end
event.


thx
Felix
Re: Traverse a BPMN diagram [message #375087 is a reply to message #375086] Tue, 16 June 2009 17:13 Go to previous messageGo to next message
Eclipse User
Originally posted by: atoulme.intalio.com

Hi Felix,

AFAIK there's no traversal implementation for this.

Given that the Resource is a tree, you can probably read it with a
TreeIterator, keep the elements that are of interest and build an object
model from there, or track the start event and follow its connections.


Thanks,

Antoine


Felix wrote:
> Hi,
> I generated a BPMN diagram and saved it in a file. For my further work I
> only need the *.bpmn file which contains the model without the visual
> information for the editor. This model I've already loaded with the help
> of a resourceSet into an object of BpmnPackage. My question is if there
> are already some methods to traverse this graph which is instantiate in
> an object from the type BpmnPackage.
>
> In my case I want to follow the process flow from a begin event to an
> end event.
>
>
> thx Felix
>
Re: Traverse a BPMN diagram [message #375088 is a reply to message #375087] Wed, 17 June 2009 11:26 Go to previous messageGo to next message
Felix is currently offline Felix
Messages: 10
Registered: July 2009
Junior Member
Thx Antoine,
It's a pity. So I should code the tracking methode on my own. I've once
read that you said that your metamodel out of the ecore set was highly
customized in the source code. Do you have an uml diagram or something
like that which represents the internal model of how you saved and
structured the data of an bpmn diagram?


> Hi Felix,
>
> AFAIK there's no traversal implementation for this.
> Given that the Resource is a tree, you can probably read it with a
> TreeIterator,
> keep the elements that are of interest and build an object model from
> there, or
> track the start event and follow its connections.
>
>
> Thanks,
>
> Antoine
>
> Felix wrote:
>
> Hi,
> I generated a BPMN diagram and saved it in a file. For my further work I
> only need the *.bpmn file which contains the model without the visual
> information for the editor. This model I've already loaded with the help
> of a resourceSet into an object of BpmnPackage. My question is if there
> are already some methods to traverse this graph which is instantiate in
> an object from the type BpmnPackage.
>
> In my case I want to follow the process flow from a begin event to an
> end event.
>
>
> thx Felix
>
>
>
> Zum Beitrag:
>
> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp/ms g00727.html
Re: Traverse a BPMN diagram [message #375089 is a reply to message #375088] Wed, 17 June 2009 12:15 Go to previous message
Eclipse User
Originally posted by: atoulme.intalio.com

Felix wrote:
> Thx Antoine,
> It's a pity. So I should code the tracking methode on my own. I've once
> read that you said that your metamodel out of the ecore set was highly
> customized in the source code. Do you have an uml diagram or something
> like that which represents the internal model of how you saved and
> structured the data of an bpmn diagram?
Yeah, of course everything is specified, no worries on that.
The BPMN modeler domain is explained here:
http://eclipse.org/bpmn/model/index.php

Frankly, a traversal parsing is always very specific to your needs and
it's best for you to code it yourself. It won't be too hard I think.

>
>> Hi Felix,
>>
>> AFAIK there's no traversal implementation for this.
>> Given that the Resource is a tree, you can probably read it with a
>> TreeIterator,
>> keep the elements that are of interest and build an object model from
>> there, or
>> track the start event and follow its connections.
>>
>>
>> Thanks,
>>
>> Antoine
>>
>> Felix wrote:
>>
>> Hi,
>> I generated a BPMN diagram and saved it in a file. For my further work I
>> only need the *.bpmn file which contains the model without the visual
>> information for the editor. This model I've already loaded with the help
>> of a resourceSet into an object of BpmnPackage. My question is if there
>> are already some methods to traverse this graph which is instantiate in
>> an object from the type BpmnPackage.
>>
>> In my case I want to follow the process flow from a begin event to an
>> end event.
>>
>>
>> thx Felix
>>
>>
>>
>> Zum Beitrag:
>>
>> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp/ms g00727.html
>
Re: Traverse a BPMN diagram [message #621218 is a reply to message #375086] Tue, 16 June 2009 17:13 Go to previous message
Eclipse User
Originally posted by: atoulme.intalio.com

Hi Felix,

AFAIK there's no traversal implementation for this.

Given that the Resource is a tree, you can probably read it with a
TreeIterator, keep the elements that are of interest and build an object
model from there, or track the start event and follow its connections.


Thanks,

Antoine


Felix wrote:
> Hi,
> I generated a BPMN diagram and saved it in a file. For my further work I
> only need the *.bpmn file which contains the model without the visual
> information for the editor. This model I've already loaded with the help
> of a resourceSet into an object of BpmnPackage. My question is if there
> are already some methods to traverse this graph which is instantiate in
> an object from the type BpmnPackage.
>
> In my case I want to follow the process flow from a begin event to an
> end event.
>
>
> thx Felix
>
Re: Traverse a BPMN diagram [message #621219 is a reply to message #375087] Wed, 17 June 2009 11:26 Go to previous message
Felix is currently offline Felix
Messages: 10
Registered: July 2009
Junior Member
Thx Antoine,
It's a pity. So I should code the tracking methode on my own. I've once
read that you said that your metamodel out of the ecore set was highly
customized in the source code. Do you have an uml diagram or something
like that which represents the internal model of how you saved and
structured the data of an bpmn diagram?


> Hi Felix,
>
> AFAIK there's no traversal implementation for this.
> Given that the Resource is a tree, you can probably read it with a
> TreeIterator,
> keep the elements that are of interest and build an object model from
> there, or
> track the start event and follow its connections.
>
>
> Thanks,
>
> Antoine
>
> Felix wrote:
>
> Hi,
> I generated a BPMN diagram and saved it in a file. For my further work I
> only need the *.bpmn file which contains the model without the visual
> information for the editor. This model I've already loaded with the help
> of a resourceSet into an object of BpmnPackage. My question is if there
> are already some methods to traverse this graph which is instantiate in
> an object from the type BpmnPackage.
>
> In my case I want to follow the process flow from a begin event to an
> end event.
>
>
> thx Felix
>
>
>
> Zum Beitrag:
>
> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp/ms g00727.html
Re: Traverse a BPMN diagram [message #621220 is a reply to message #375088] Wed, 17 June 2009 12:15 Go to previous message
Eclipse User
Originally posted by: atoulme.intalio.com

Felix wrote:
> Thx Antoine,
> It's a pity. So I should code the tracking methode on my own. I've once
> read that you said that your metamodel out of the ecore set was highly
> customized in the source code. Do you have an uml diagram or something
> like that which represents the internal model of how you saved and
> structured the data of an bpmn diagram?
Yeah, of course everything is specified, no worries on that.
The BPMN modeler domain is explained here:
http://eclipse.org/bpmn/model/index.php

Frankly, a traversal parsing is always very specific to your needs and
it's best for you to code it yourself. It won't be too hard I think.

>
>> Hi Felix,
>>
>> AFAIK there's no traversal implementation for this.
>> Given that the Resource is a tree, you can probably read it with a
>> TreeIterator,
>> keep the elements that are of interest and build an object model from
>> there, or
>> track the start event and follow its connections.
>>
>>
>> Thanks,
>>
>> Antoine
>>
>> Felix wrote:
>>
>> Hi,
>> I generated a BPMN diagram and saved it in a file. For my further work I
>> only need the *.bpmn file which contains the model without the visual
>> information for the editor. This model I've already loaded with the help
>> of a resourceSet into an object of BpmnPackage. My question is if there
>> are already some methods to traverse this graph which is instantiate in
>> an object from the type BpmnPackage.
>>
>> In my case I want to follow the process flow from a begin event to an
>> end event.
>>
>>
>> thx Felix
>>
>>
>>
>> Zum Beitrag:
>>
>> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp/ms g00727.html
>
Previous Topic:Traverse a BPMN diagram
Next Topic:Is BPMN and BPEL the right choice for my problem?
Goto Forum:
  


Current Time: Thu Sep 18 09:45:25 GMT 2014

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

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