Migrating to Eclipse 4.x patterns

Although the previous section demonstrated how to translate code from an Eclipse 3.x-based example into an Eclipse 4.x example, it's not the canonical way that Eclipse 4.x views or applications are written. Instead, the preferred approach is to generate a model fragment, loaded from a fragment.e4xmi file. This not only reduces the code but also dramatically simplifies the internationalization of messages.

Get Eclipse Plug-in Development Beginner's Guide - 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.