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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top