Installing and using Eclipse samples

Rogue Wave® provides a number of Eclipse™ samples built for Eclipse 3.7 or newer. The Eclipse samples are distributed as Eclipse features and plug-ins.

Installation of a new local site

In order to install the Rogue Wave JViews Eclipse plug-ins, you need to install from the local site as shown below.
For Eclipse 3.7 or newer:
  1. Launch your Eclipse installation.
  2. Go to Help/Install New Software.
  3. Add a new local site: Click Add, then Local and specify the directory <installdir>/jviews-framework89/tools/ilog.views.eclipse.update.site
  4. Select the features you want to install, and press the Next button.
The Rogue Wave JViews local site is automatically created during the installation of your product. If you need to update the local site installation for any reason there is a batch file that will build the Eclipse update site and patch your Rogue Wave JViews license key into the appropriate plug-in.
In order to rebuild the Rogue Wave JViews local site, you should run the following file:
  • Windows® : <installdir>/jviews-framework89/tools/build_eclipse.bat .
  • UNIX® : <installdir>/jviews-framework89/tools/build_eclipse.sh.

Plug-in descriptions

ilog.views.eclipse.ui
  • Defines an extension point to add new actions to the new action drop-down in the toolbar
  • Defines an extension point to add filters to the Open Dialog box
  • Adds an Open menu item in the File menu of the workbench window
  • Adds an Open button in the workbench toolbar
  • Adds a New button in the workbench toolbar

Setting up a workspace for browsing source files

You can set up a workspace with binary projects for all the Rogue Wave JViews plug-ins that you have installed:
  1. Switch to the Java™ perspective by selecting Window>Open Perspective>Java.
  2. Choose File>Import>Plug-ins and Fragments.
  3. Click Projects with source folders.
  4. Click Finish.