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

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