Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BPMN Modeler » Re: Traverse a BPMN diagram
Re: Traverse a BPMN diagram [message #12731] Wed, 17 June 2009 12:15
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:Add item in context menu
Next Topic:How to edit the BPMN metamodel
Goto Forum:
  


Current Time: Sun Sep 21 12:06:44 GMT 2014

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

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