Adding new Artifacts [message #3528] |
Mon, 17 November 2008 06:13  |
Eclipse User |
|
|
|
Hello everybody,
i am now trying to add a new artifcat to the standard BPMN objects. I am
using GMF 2.1.2 and EMF 2.4 under eclipse 3.4. I downloaded the STP-BPMN
code from:
http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trun k/org.eclipse.stp.bpmn.diagram
Then I changed the BPMN.ecore and updated BPMN.genmodel and generated the
model and edit code then I changed BPMN.gmfgraph, BPMN.gmftool and
BPMN.gmfmap models. Afterwards I created the generator model BPMN.gmfgen.
During that I had the following problems:
1- GMF version conflict: When I tried to open the BPMN.gmfmap model, the
GMF editor showed a conflict message telling that the model is written in
an older GMF version and I should migrate it to GMF 2.1.
---> I migrated the models (BPMN.gmfgraph and BPMN.gmfmap) into GMF 2.1 and
then the GMF editor didn't show the message any more.
2- Code Errors: I generated the diagram code from the new BPMN.gmfgen and
found too many code errors in almost all packages. :(
---> I think is related to the GMF version I use, but I am not sure
I don't know what to do really? I am still an STP-BPMN beginner. I also
could not find which EMF, GMF version the STP-BPMN uses?
Thank you for you help.
|
|
|
Re: Adding new Artifacts [message #3561 is a reply to message #3528] |
Mon, 17 November 2008 07:33   |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hi,
you should not try to regenerate the code, this is not meant to be.
Instead you should try to annotate the semantic elements, and provide
your own edit parts.
See the samples for more information.
Thanks,
Antoine
BPMNbeginner wrote:
> Hello everybody,
>
> i am now trying to add a new artifcat to the standard BPMN objects. I am
> using GMF 2.1.2 and EMF 2.4 under eclipse 3.4. I downloaded the STP-BPMN
> code from:
> http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.bpmn/trun k/org.eclipse.stp.bpmn.diagram
>
>
> Then I changed the BPMN.ecore and updated BPMN.genmodel and generated
> the model and edit code then I changed BPMN.gmfgraph, BPMN.gmftool and
> BPMN.gmfmap models. Afterwards I created the generator model
> BPMN.gmfgen. During that I had the following problems:
>
> 1- GMF version conflict: When I tried to open the BPMN.gmfmap model, the
> GMF editor showed a conflict message telling that the model is written
> in an older GMF version and I should migrate it to GMF 2.1.
>
> ---> I migrated the models (BPMN.gmfgraph and BPMN.gmfmap) into GMF 2.1
> and then the GMF editor didn't show the message any more.
>
> 2- Code Errors: I generated the diagram code from the new BPMN.gmfgen
> and found too many code errors in almost all packages. :(
>
> ---> I think is related to the GMF version I use, but I am not sure
>
> I don't know what to do really? I am still an STP-BPMN beginner. I also
> could not find which EMF, GMF version the STP-BPMN uses?
>
> Thank you for you help.
>
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03202 seconds