|Re: Traverse a BPMN diagram [message #12731]
||Wed, 17 June 2009 08:15
Originally posted by: atoulme.intalio.com|
> 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:
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
>> keep the elements that are of interest and build an object model from
>> there, or
>> track the start event and follow its connections.
>> Felix wrote:
>> 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
Powered by FUDForum
. Page generated in 0.01561 seconds