Archive for March, 2008

Model Refactoring in EMF editors

March 16, 2008

In this post we demonstrated how EWL from the Epsilon GMT component can be used to automate model refactoring (in-place model transformation in general) in GMF-based editors. Since version 1.3.2, the same wizards can be executed in EMF tree-based editors as well. The following screenshots demonstrate the application of the CreateAssociationClassCase1 wizard (originally described by Ed Merks here) in the default ECore tree-based editor.

The original ECore metamodel:

image

Selecting the classes and applying the wizard:

image

The ECore metamodel after the wizard has executed:

image