Chapter 12. Running the Generators

Central to EMF’s value as a programming tool is its ability to generate high-quality code. Moreover, the EMF code generator is highly configurable, offering the user a great deal of control over the model and editor implementations that it produces. We can affect the choice of generator patterns, as we have seen over the last two chapters, as well as the naming of classes and their organization in packages and plug-ins. If necessary, we can even customize the templates that specify these patterns, giving us total control over each line of generated code.

This chapter describes the code generation tools provided by EMF. It begins with an overview of the code generation process and a summary of the content produced ...

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.