Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BPMN Modeler » Adding new Artifacts
Adding new Artifacts [message #3528] Mon, 17 November 2008 11:13 Go to next message
BPMNbeginner is currently offline BPMNbeginnerFriend
Messages: 7
Registered: July 2009
Junior Member
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 12:33 Go to previous messageGo to next message
Eclipse UserFriend
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.
>
>
>
Re: Adding new Artifacts [message #3594 is a reply to message #3561] Mon, 17 November 2008 22:05 Go to previous messageGo to next message
BPMNbeginner is currently offline BPMNbeginnerFriend
Messages: 7
Registered: July 2009
Junior Member
Hello,

Thank you for your answer!

What do you mean by trying to annotate semantic model. Do you mean I
should add new EAnnotations to the EClasses in the BPMN.core model? What
is the benefit if I do so? I thnik I would only have some new attributes
added to the BPMN objects, but i need here a new shape in the Artifacts
group.

BPMN specification allows to add new artifacts as a light-weighted
extensibility mechanism. how can I do that? Is it necessary to regenerate
the code again?

I read the samples but I could not answer my questions yet. I could only
see some code. No explanation or tutorial how to use this code and how was
it coded were found! Do I have to change the EMF and GMF models in order
to add new shapes?

I am very thankful for every help and answer.
Re: Adding new Artifacts [message #3627 is a reply to message #3594] Mon, 17 November 2008 23:42 Go to previous message
Eclipse UserFriend
Originally posted by: atoulme.intalio.com

Please follow our EclipseCon 2008 tutorial:

http://wiki.eclipse.org/STP/BPMN_Component/EclipseCon2008

Thanks,

Antoine
Previous Topic:Look and feel modifications
Next Topic:Problem with property sheets
Goto Forum:
  


Current Time: Thu Apr 18 04:14:15 GMT 2024

Powered by FUDForum. Page generated in 0.02001 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top