Text generation from GMF Runtime (from diagram) [message #1287262] |
Mon, 07 April 2014 15:42 |
mind mixer 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 |
Ed Merks Messages: 33142 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/
|
|
|
Powered by
FUDForum. Page generated in 0.03044 seconds