View and Editor Information

From Section 20.6 in our book:

An alternate approach is a development utility that interrogates the active workbench part, be it an editor or a view, and dumps information about that part, such as the context menu identifiers, to the console. Unfortunately, the API for obtaining this information does not exist (see Section 20.2, “Accessing Internal Code”), so before we create an action delegate, we need to modify the underlying Eclipse system to provide the appropriate accessor methods.

Description:

We created a tool for displaying information about the currently selected editor or view.
Select Window > Show View > Other... to open the Show View Dialog, and then select Quality Eclipse > Part Info View.

Installation:

You can install the Reference Project Tool using the QualityEclipse Tools Update Site.

Source:

The source is available both as part of the QualityEclipse Tools feature and as a separate download from the QualityEclipse Tools Update Site. The wizard classes involved are:

Comments, Suggestions, Bugs:

These tools are available to you "as-is" free of charge under Eclipse CPL and thus I work on it in my free time.
Please send me email with any comments, suggestions, and bugs you have.

SWT Spy Plug-in

Eclipse.org provides a simple SWT Spy Plug-in tool that prints out information about the widget under the cursor. Currently, this includes style, layout and parent information.