Chapter 3. Model Editing with EMF.Edit

In the previous chapter we saw how EMF can take a model definition and produce a good, easily customizable Java implementation for it. Well, that’s just the beginning. Once you decide to use EMF to model your application, you can then use EMF.Edit to build very functional viewers and editors for the model. You can generate an editor that will display and edit (i.e., copy, paste, drag-and-drop, etc.) instances of your model using standard JFace viewers and a property sheet, all with unlimited undo and redo. Alternatively, you can use the reflective support in EMF.Edit to do the same kinds of editing reflectively, even with a dynamic EMF model for which you didn’t generate code.

You might be thinking that ...

Get EMF: Eclipse Modeling Framework Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.