Chapter 3. Draw2D Infrastructure

This chapter discusses the architecture behind the code in the previous chapter. Before we dive deeper into every aspect of the program, it’s time to step back and look at Draw2D as a whole. The simple example started in Chapter 2—the GenealogyView—provides a concrete basis on which to discuss the Draw2D architecture.

3.1 Architecture

SWT provides the developer with all of the standard widgets and layouts needed to design and deliver rich client cross-platform applications. For information or data that would be best displayed graphically, however, SWT may not be the complete solution. This is where Draw2D comes into play for many applications. Draw2D is a lightweight drawing framework built on top of SWT that ...

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.