[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.stp] Re: Traverse a BPMN diagram

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/msg00727.html