About this tutorial
The Visualiser plug-in from Eclipse.org is a universal tool for visualising any type of resource. This tutorial, written by the creators of the Visualiser, takes you step by step through the process of extending the tool to visualise a new type of resource -- the results returned by the Google Internet search engine. It then shows you some of the other ways in which the Visualiser has already been put to good use.
This tutorial is intended for developers who use, or are considering using, the Eclipse platform and would benefit from having a visual overview of a set of resources, or who are developing a tool that could be enhanced by adding visualisation capabilities. A basic knowledge of Eclipse plug-in development will help you complete the tasks described. See the Resources for some relevant background reading.
To complete the steps in this tutorial you need this software installed:
- The Eclipse SDK version 3.0 or later. We recommend installing the latest stable release, which you can download from http://www.eclipse.org/downloads/index.php. Note that you need the full SDK version, which includes the Java Development Tools.
- The Visualiser plug-in. You can download it as a standalone plug-in in the form of a zip file from http://www.eclipse.org/ajdt/visualiser/ and unzip it into your Eclipse installation directory. (If you've already installed the AspectJ Development Tools (AJDT), which includes the Visualiser, you need not download and install the Visualiser separately.)
To build and run the Visualiser provider for Google that you'll develop in this tutorial, you also need to:
- Download the Google provider example as a zip file from http://www.eclipse.org/ajdt/visualiser and unzip it into your Eclipse installation directory.
- Download the Google Web APIs Developer Kit by following the steps at http://www.google.com/apis/download.html and unzip this into your eclipse\plugins\org.eclipse.contribution.visualiser.google_<version_number> directory.
- Create a Google account by following the steps at https://www.google.com/accounts/NewAccount, then obtain a Google license key by signing in to Google at https://www.google.com/accounts/.