|
Re: Adding a new property for sequence edges [message #2078 is a reply to message #2064] |
Mon, 20 October 2008 09:10 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hi Sven,
you shoud follow the tutorial we had developed for EclipseCon 2007, that
has been kept as a sample.
Here:
http://wiki.eclipse.org/STP/BPMN_Component/STP_BPMN_Presenta tion_Hands_on_tutorial
It does everything you want.
Thanks,
Antoine
Sven wrote:
> hi :)
>
> I'd like to add a new property (in the property view) for sequence edges
> in the BPMN-program.
> Unfortunately just editing the ecore-metamodel bpmn.ecore, extracting it
> into bpmn.ecore_diagram
> and running the whole code as an eclipse application doesn't work.
>
> Has anyone an idea oder can tell me how to do that?
>
> Many thanks in advance!
>
> Sven
>
>
|
|
|
|
|
|
Re: Adding a new property for sequence edges [message #3257 is a reply to message #3225] |
Wed, 29 October 2008 22:53 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Sven, we discourage people to do that and we recommend they use
annotations as the model may change at any time.
Thanks,
Antoine
Sven wrote:
> hi
>
> first of all, thank you very much for you help!!
>
> Finally it's much more simple than it seemed to be.
>
> At first, you have to change the ecore-model
> "../org.eclipse.stp.bpmn/model/bpmn.ecore" by adding a new EAttribute as
> a child of Sequence Edges with the datatype String and a specific name
> (in this case conditionExpression).
>
> Moreover you have to right click on bpmn.genmodel, afterwards on
> "Reload" and then select the ecoremodel in the following windows. Then
> click on Finish.
>
> At last you have to generate the new program code by double-clicking on
> bpmn.genmodel, right-clicking on the root of the tree ("Bpmn") and click
> on "Generate all". That's it :)
>
> Thanks,
>
> Sven
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02890 seconds