EMF: Eclipse Modeling Framework Second Edition
by Dave Steinberg, Frank Budinsky, Marcelo Paternostro, Ed Merks
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access