Am in the start process of devloping an eclipse plugin for workflow drawing. now i have to understand the architure of eclipse plugin.I would like to know about difference/relationship between GEF ,EMF and GMF what is the latest tech to go as of now? where can i get the materials for the understanding ?
Asked
Active
Viewed 364 times
1 Answers
4
- EMF - the Eclipse Modeling Framework - provides you with tools to help you create your model. The basic idea is that you define a domain model using ecore, and with this model you can then generate a lot of code for this model: java classes for each entity in the domain, with getters/setters, listening capabilities and lots of other goodies.
- GEF - the Graphical Editing Framework - is a framework written for creating visual editors in eclipse using the MVC pattern. It is built on top of draw2d, which is a "lightweight" drawing framework on top of SWT. GEF does not require the use of EMF as its model, and you can use any model you like, but since EMF generates the code that you normally require to do MVC, it is very useful.
- GMF - the Graphical Modeling Framework - is a framework built on top of both EMF and GEF. Basically, you create both a model of your domain and a model of your view and GMF generates all of the code of the editor.
I have worked for the past year with GEF and EMF have great results. For a couple of weeks I tried working with GMF but was unable to understand how things work there - the learning curve is very steep. I wrote a set of tutorials on GEF, and invite you to check them out.

vainolo
- 6,907
- 4
- 24
- 47
-
thanks for your timely reply and wonderful tutorial work from your side...Going forward i also have to know about GMF if you have any link or tutorial just give me – Anbu Aug 07 '12 at 14:20
-
Vainolo, I agree with you totally. In the same boat of building some products with GEF and EMF, then going to GMF felt bloated complicated and not worth the effort. Could be that I don't understand it well enough but you're point is right on. – Duncan Krebs Nov 08 '12 at 17:09