|
|
|
Re: BPMN Meta Model [message #8537 is a reply to message #8507] |
Sat, 14 February 2009 22:03 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Felix wrote:
> Hi Antoine,
> if it's possible I would like to use your metamodel. I want to draw with
> your tool a diagram and use the *.bpmn file to import it in another
> project. I don't need all the graphical description of the layout and
> the representation with gmf. All I need is somehow the information about
> the bpmn-tasks, events, gateways and how they are connected beetween
> each other.
> Is the *.bpmn_diagram file only for the description of the layout?
Yes.
> How could I import out of the *.bpmn file and the ecore-files in the
> model-directory a BPMN-diagram? Is there somewhere in your sourcecode
> already a "load"-function or something else? I think I need only the
> bpmn.ecore, right?
I'm not sure what you mean here. The bpmn_diagram may be initialized
from the bpmn diagram through a gmf action.
>
>
> thx Felix
|
|
|
|
Re: BPMN Meta Model [message #9256 is a reply to message #8564] |
Mon, 16 February 2009 11:51 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Felix wrote:
> Antoine Toulme wrote:
>> I'm not sure what you mean here. The bpmn_diagram may be initialized
>> from the bpmn diagram through a gmf action.
> At the moment I'm importing the bpmn-file with an ResourceSet. Therefor
> I try to understand your model and create all the object manual, for
> example
>
> for (EObject object :resource.getContents())
> {
> if (BpmnDiagram.class.isInstance(object))
> diagrams.add((BpmnDiagram)object);
> }
Sorry, but I don't understand what you are trying to achieve there, not
sure it matters if I do.
>
> Is there somewhere in your code a method which instantiate automatically
> all the objects definied in the bpmn-file?
Yes, of course, the BpmnFactory is there for that. That's how EMF loads
models in general.
>
> ciao Felix
>
|
|
|
Powered by
FUDForum. Page generated in 0.04516 seconds