Chapter 4. Using EMF—A Simple Overview

Now that you have been introduced to EMF, it’s time to get personally acquainted.

In Chapter 2, we explained EMF’s notion of a model, examining its conceptual and concrete, serialized forms, and discussing the framework and generated Java code that realize it. In Chapter 3, we looked at EMF.Edit’s contributions, primarily item providers for model objects and a command framework, and how these can form the basis for a structured editor for any EMF model. Now, let’s put all of this into action.

In this chapter, we walk through the process of creating an EMF application from a data model in each of the four forms—annotated Java, UML, XML Schema, and Ecore itself—discussed in Chapter 2. Each step in the process ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.