Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » genmodel template
genmodel template [message #232617] Fri, 05 June 2009 11:23 Go to next message
Michael is currently offline MichaelFriend
Messages: 23
Registered: July 2009
Junior Member
Hi,

is there a template for the *.genmodel file, which is generated out of the
*.gmfmap file? I don't want to setup everything again for every new
diagram.
Thanks,
Michael
Re: genmodel template [message #232630 is a reply to message #232617] Fri, 05 June 2009 11:25 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Michael,

This is a m2m transformation.

-----------------
Alex Shatalin
Re: genmodel template [message #232669 is a reply to message #232630] Fri, 05 June 2009 11:36 Go to previous messageGo to next message
Michael is currently offline MichaelFriend
Messages: 23
Registered: July 2009
Junior Member
Hi Alex,

thanks for your reply . So can I change the predefined settings (e.g. that
the "use dynamic template option" is true by default)?
Re: genmodel template [message #232738 is a reply to message #232669] Fri, 05 June 2009 13:17 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Michael,

> that the "use dynamic template option" is true by default)?
You can change this option in .gmfgen file directly. Next time you perform
gmfmap->gmfgen transformation the value of this option will be saved.

-----------------
Alex Shatalin
Re: genmodel template [message #233360 is a reply to message #232738] Wed, 10 June 2009 19:42 Go to previous messageGo to next message
Michael is currently offline MichaelFriend
Messages: 23
Registered: July 2009
Junior Member
Hi Alex,

but everytime I create a new diagram, I have to specify the settings
again. Even if it's only necessary at the first time, I would like to have
predefined settings in the *.gmfgen file.

Do you have an idea?

Thanks,
Michael
Re: genmodel template [message #233446 is a reply to message #233360] Thu, 11 June 2009 11:24 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Michael,

Then you probably can use recently added "Extra in-place gmfgen transformation
after reconcile step" option inside "Create Generator model" wizard.

http://wiki.eclipse.org/GMF_New_and_Noteworthy#M2M_.28QVTO.2 9_transformations

-----------------
Alex Shatalin
Previous Topic:BorderedItem on Link
Next Topic:Error on RCP product export, when OCL validation is used
Goto Forum:
  


Current Time: Thu Apr 25 09:30:59 GMT 2024

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

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

Back to the top