Source Code

Sample Source Code from both the Eclipse Plugins and Eclipse GEF books

A collection of the source code that is shown in every chapter of each book — provided in an easy-to-use book "QualityEclipse Samples View". If you import source code from the Eclipse GEF book and compilation errors on the imported projects, then you may need to install GEF as outlined in Section 2.1 of Chapter 2. In addition, there is a "New Reference Project" wizard for creating projects for searching plug-ins referenced by classpath variables.

Installation (for Eclipse 3.6+):

    • Download the qualityeclipse.book.samples.zip file

    • Select Help > Install New Software… to open the Available Software dialog

    • Click the Add... button to open the Add Repository dialog

    • Click the Archive... button and select the zip file you just downloaded

    • Click OK to confirm your selection

    • Select and install the QualityEclipse Book Samples

    • Restart Eclipse

    • Select Help > QualityEclipse Book Samples... to open the samples view

    • In the QualityEclipse Book Samples view, select either Eclipse Plugins or Eclipse GEF to see sample source code