Abhishek Choudhary
Abhishek Choudhary

Reputation: 8385

How to generate code as Eclipse Visual Editor Does

I want to create an editor which should be drag and drop and it should generate source code accordingly.I found Visual Editor is doing almost the same what I wanted to achieve. I already went through GEF but I was expecting is there any source code available for Visual Editor so that I could understand the code generation logic behind it.

Upvotes: 2

Views: 357

Answers (1)

Manuel Selva
Manuel Selva

Reputation: 19050

Because Visual Editor is now an Eclipse project you can access the sources from CVS. See here for more details: http://www.eclipse.org/vep/WebContent/faq.html#install_cvs

On a side note: Acceleo is an other Eclipse project aiming at creating code Generator. I really recommend to have a look at it. If you are not familiar with modeling techniques the learning curve maybe quite long but once you get it it's really powerful.

Upvotes: 1

Related Questions