O'Reilly logo

EMF: Eclipse Modeling Framework Second Edition by Frank Budinsky, Ed Merks, Marcelo Paternostro, Dave Steinberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17. The Change Model

As we’ve seen in previous chapters, there are many possible kinds of EMF models. Application-specific models like the various purchase order models we’ve looked at in this book; Ecore, the metamodel for all EMF models; and the generator model, used to implement the EMF code generator, are all examples of EMF models. Another useful generic model provided by EMF is the change model, a model for representing changes, or deltas, to an instance of any other EMF model. In this chapter, we’ll look at the design of the change model and at how you can use it to represent and make changes to objects, or to record changes as they’re being made, enabling you to later roll them back (i.e., undo them).

17.1 Describing a Change ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required