Chapter 12. GEF Editor

We take all that we have learned in the prior chapter building a GEF view and apply it to build a Genealogy Graph Editor. With this editor, you can load and save genealogy graphs in your workspace. A tool palette is provided for selection, adding people, connecting people and marriages, and more.

12.1 Setup

In addition to the setup described in the prior chapter (see Section 11.1 on page 185), implementing a GEF Editor depends upon the following plug-ins that must be added to the plug-in manifest:

org.eclipse.core.resources

org.eclipse.ui.ide

12.2 GenealogyGraphEditor

To start, modify the plug-in manifest to declare a new Genealogy Graph Editor with both editor and contributor classes in the com.qualityeclipse.genealogy.editor ...

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.