Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Text generation from GMF Runtime (from diagram)
Text generation from GMF Runtime (from diagram) [message #1287262] Mon, 07 April 2014 15:42 Go to next message
mind mixer is currently offline mind mixerFriend
Messages: 6
Registered: April 2014
Junior Member
I've successfully created (generate) a graphical editor using GMF and run it as Eclipse Application. I've created a new project and added from "Example EMF Model Creation Wizards" new model. There is a palette with primities and etc. In added project (I see it in Project Explorer) I have two items default.mymodel and mymodel_diagram. How can I integrate in this project code generation? May be XPand code generation or another? What should I do to have an opportunity to generate some text, based on primitives that I've added on diagram from palette with primities. I want to see some mini instuction.

[Updated on: Mon, 07 April 2014 15:49]

Report message to a moderator

Re: Text generation from GMF Runtime (from diagram) [message #1287847 is a reply to message #1287262] Tue, 08 April 2014 04:23 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
You'll have to decide on a technology you want to use or explore, i.e.,
JET, Acceleo, Xpand, or Xtend, and direct your question to their
specific newsgroup (typically eclipse.modeling.m2t). I would suggest
that http://www.eclipse.org/xtend/ and http://www.eclipse.org/acceleo/
are the most advanced options...


On 07/04/2014 5:42 PM, mind mixer wrote:
> I've successfully created a graphical editor using GMF and run it as
> Ecplise Application. I've created a new project and added from
> "Example EMF Model Creation Wizards" new model. There is a palette
> with primities and etc. In added project (I see it in Project
> Explorer) I have two items default.mymodel and mymodel_diagram. How
> can I integrate in this project code generation? May be XPand code
> generation or another? What should I do to have an opportunity to
> generate some text, based on primitives that I've added on diagram
> from palette with primities. I want to see some mini instuction.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic: [CDO] Potential bug in org.eclipse.net4j.internal.db.DBConnection
Next Topic:[EMF] Retrieving URI fragments
Goto Forum:
  


Current Time: Thu Apr 25 13:54:05 GMT 2024

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

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

Back to the top