Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » C++ Code Generation from gmf diagram
C++ Code Generation from gmf diagram [message #529843] Tue, 27 April 2010 12:58 Go to next message
osh is currently offline oshFriend
Messages: 7
Registered: April 2010
Junior Member
Hello,

i have created an gmf diagram with palette and graphic. I can create a new project , and use it for modeling.

How can i generate C++ code from my model? (from xxx.xxx_diagram file).

Can i find anywere an example for code generation from gmf diagram?

Thanks,
Alex
Re: C++ Code Generation from gmf diagram [message #529899 is a reply to message #529843] Tue, 27 April 2010 14:49 Go to previous messageGo to next message
Enrico Schnepel is currently offline Enrico SchnepelFriend
Messages: 121
Registered: July 2009
Senior Member
Hello Alex,

If not configured differently you will have next to your xxx.xxx_diagram
file a file with the domain model (xxx.xxx). This should be the input for a
code generator and not the diagram file. Some commonly used code generators
are Xpand and Acceleo.
Please note that there is also the eclipse.modeling.m2t newsgroup covering
code generation topics.

Best Regards

Enrico

<sheleh@web.de> schrieb im Newsbeitrag
news:hr6n1g$61v$1@build.eclipse.org...
> Hello,
>
> i have created an gmf diagram with palette and graphic. I can create a new
> project , and use it for modeling.
> How can i generate C++ code from my model? (from xxx.xxx_diagram file).
> Can i find anywere an example for code generation from gmf diagram?
>
> Thanks, Alex
icon5.gif  Re: C++ Code Generation from gmf diagram [message #531190 is a reply to message #529899] Tue, 04 May 2010 07:08 Go to previous messageGo to next message
osh is currently offline oshFriend
Messages: 7
Registered: April 2010
Junior Member
Hello Enrico,

thank you for your answer! Smile

Where can i find an example (or information) for code generation from GMF domain model?

Thanks,
Alex
Re: C++ Code Generation from gmf diagram [message #531217 is a reply to message #531190] Tue, 04 May 2010 08:27 Go to previous message
Enrico Schnepel is currently offline Enrico SchnepelFriend
Messages: 121
Registered: July 2009
Senior Member
The domain model is a EMF model and it is not GMF specific.
The following thread contains some relevant links:
http://www.eclipse.org/forums/index.php?&t=msg&th=16 1471
Previous Topic:get a handle to the document provider
Next Topic:New to RCP,GMF
Goto Forum:
  


Current Time: Sun Sep 27 18:10:26 GMT 2020

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

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

Back to the top