Chapter 9. Zest
Zest is a layer on top of Draw2D for adapting your model to a diagram. As with JFace, you create a viewer (see Section 9.2 on page 131), then specify a content provider (see Section 9.3 on page 132) and a label provider (see Section 9.4.1 on page 138). Because it is a diagram rather than a list, tree, or table, you can specify the layout algorithm (see Section 9.7 on page 160). In general, Zest provides an easier way to present your model information in diagram form than using just Draw2D, but at the same time, it has limits to the presentation format and the ability of the user to edit that information.
9.1 Setup
To use Zest, we must install the Zest feature, modify our plug-in to depend upon the Zest plug-in, and create a new ...
Get The Eclipse Graphical Editing Framework (GEF) 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.