Introduction: This article through in-depth GMF development group to provide us with the Taipan instance, from the installation process to the design intent, then to the implementation method, as well as refactoring taipan applications or plug-ins, in order to fully understand the GMF capabilities and operating methods.
Objective
As a perfect implementation of the MVC architecture, the GEF (graphical Editor framework) is widely used to build visual graphical editors. However, when the editor and the model are perfectly isolated, a lot of redundant code and steep learning curve are introduced. More often, we need to jointly use the GEF and EMF (Eclipse modeling Framework) to use the latter to build a background model. But integrating the EMF with the GEF framework is not easy, and it usually takes a long time to understand the EMF model design approach and the GEF MVC framework, so GMF. GMF a further encapsulation of EMF and GEF, providing a graphical development environment and runtime framework that allows us to easily develop a graphical editor based on EMF and GEF. In addition, if necessary, we can still skip GMF to directly access the GEF and EMF functions to complete GMF or inefficient tasks.
Xxxxxx
As a perfect implementation of the MVC architecture, the GEF (graphical Editor framework) is widely used to build visual graphical editors. However, when the editor and the model are perfectly isolated, a lot of redundant code and steep learning curve are introduced. More often, we need to jointly use the GEF and EMF (Eclipse modeling Framework) to use the latter to build a background model. But integrating the EMF with the GEF framework is not easy, and it usually takes a long time to understand the EMF model design approach and the GEF MVC framework, so GMF. GMF a further encapsulation of EMF and GEF, providing a graphical development environment and runtime framework that allows us to easily develop a graphical editor based on EMF and GEF. In addition, if necessary, we can still skip GMF to directly access the GEF and EMF functions to complete GMF or inefficient tasks.