Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Need to customise .gmfgen generation template
Need to customise .gmfgen generation template [message #201970] Thu, 14 August 2008 11:22 Go to next message
Eclipse UserFriend
Originally posted by: knakov.scopeset.de

Hi,

I need to customize the template that generates .gmfgen file out of the
gmfmap file. I need this because the current generator overrides my
manual changes to the .gmfgen file. Where is this template located and
how can I modify it?

Thanks in advance,
Kalin
Re: Need to customise .gmfgen generation template [message #202024 is a reply to message #201970] Fri, 15 August 2008 01:01 Go to previous messageGo to next message
Jevon  is currently offline Jevon Friend
Messages: 164
Registered: July 2009
Senior Member
Hi Kalin,

If you can't find the answer to this, I just use diff in Eclipse to
merge my changes manually. It's not ideal but it will suffice until the
GMF team addresses this problem (or adds more parameters to the
generation files perhaps?)

Jevon

Kalin Nakov wrote:
> Hi,
>
> I need to customize the template that generates .gmfgen file out of the
> gmfmap file. I need this because the current generator overrides my
> manual changes to the .gmfgen file. Where is this template located and
> how can I modify it?
>
> Thanks in advance,
> Kalin
Re: Need to customise .gmfgen generation template [message #202072 is a reply to message #201970] Fri, 15 August 2008 08:38 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Kalin,

For now you have to extens DiagramGenModelTransformer class. In future we
will use .qvto transformation script for it.

-----------------
Alex Shatalin
Re: Need to customise .gmfgen generation template [message #235401 is a reply to message #202072] Mon, 06 July 2009 11:59 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Alex Shatalin schrieb:
> For now you have to extens DiagramGenModelTransformer class. In future
> we will use .qvto transformation script for it.

Hey Alex,

is this problem now solved in Galileo? As I understand, you now use
there real model transformations with QVTO, don't you?

Does this anyhow affect the merging of a customized gmfgen model and a
mapping model?

I still have the problem that I have a customized gmfgen and have to
reapply the transformation of the mapping model to the gmfgen. This
usually destroys most of my customizations and I have to do them again...

Cheers,
Hauke
Re: Need to customise .gmfgen generation template [message #235408 is a reply to message #202072] Mon, 06 July 2009 11:59 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Alex Shatalin schrieb:
> For now you have to extens DiagramGenModelTransformer class. In future
> we will use .qvto transformation script for it.

Hey Alex,

is this problem now solved in Galileo? As I understand, you now use
there real model transformations with QVTO, don't you?

Does this anyhow affect the merging of a customized gmfgen model and a
mapping model?

I still have the problem that I have a customized gmfgen and have to
reapply the transformation of the mapping model to the gmfgen. This
usually destroys most of my customizations and I have to do them again...

Cheers,
Hauke
Re: Need to customise .gmfgen generation template [message #235558 is a reply to message #235408] Tue, 07 July 2009 13:40 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Hauke,

Yes, it is possible to use QVTO in the latest released GMF - see "Map to
Gen transformation/Use QVTO transformation" option in .gmfmap->.gmfgen transformation
wizard + org.eclipse.gmf.bridge/transforms/Map2Gen.qvto

-----------------
Alex Shatalin
Re: Need to customise .gmfgen generation template [message #236400 is a reply to message #235558] Fri, 17 July 2009 18:20 Go to previous message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Alex Shatalin schrieb:
> Yes, it is possible to use QVTO in the latest released GMF - see "Map to
> Gen transformation/Use QVTO transformation" option in .gmfmap->.gmfgen
> transformation wizard + org.eclipse.gmf.bridge/transforms/Map2Gen.qvto

Is there an example somewhere that uses such an in-place transformation?

Hauke
Previous Topic:Convert RelativeBendpoints to absolute points?
Next Topic:Workflow runner having trouble finding packages
Goto Forum:
  


Current Time: Fri Apr 19 18:19:27 GMT 2024

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

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

Back to the top