Skip to main content



      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 08:58 Go to next message
Eclipse UserFriend
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 10:49 Go to previous messageGo to next message
Eclipse UserFriend
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 03:08 Go to previous messageGo to next message
Eclipse UserFriend
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 04:27 Go to previous message
Eclipse UserFriend
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: Fri Nov 07 17:58:20 EST 2025

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

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

Back to the top