O'Reilly logo

The Eclipse Graphical Editing Framework (GEF) by Eric Clayberg, Jaime Wren, Dan Rubel

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 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 ...

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