Open SUIT plugin for Eclipse

Requirements

The Open SUIT plugin runs in Eclipse Europa (3.3) or higher.

Features

Embeds Open SUIT libraries

Therefore Open SUIT libraries can be simply added to your projects build path (with Library called Open SUIT SDK).

Registers Open SUIT XSDs

This is especially useful to provide content-assist and inline documentation when editing Open SUIT xml files.

Automatic validation

The plugin automatically triggers an Open SUIT validation whenever any of your Open SUIT XML file is touched.

Issues appear in the Eclipse Problems view.

Explicit validation

Validation is triggered automatically when an Open SUIT XML changes, but it's not the case with other source code changes (Java, properties, ...).

Nevertheless, sometimes you may want to (re)validate your GUI model after having changed some of your beans code or resource bundles.

For this, you can explicitly trigger validation with the Open SUIT > Validate action available in the contextual menu (right-click).

Wizards

The plugin also provides 3 basic File > New wizards to create:

  • Application,
  • Frame,
  • Page.

Installing the plugin

Here are the steps to follow:

  1. Download it (see here),
  2. Close Eclipse,
  3. Remove any previous plugin version from the Eclipse /plugins directory,
  4. Copy the (new) plugin to your Eclipse /plugins directory,
  5. Restart Eclipse.

Enabling Open SUIT support for a project

In order to enable Open SUIT support for a project, do the following:

  • > Project > Properties > Open SUIT,
  • Check the Enable Open SUIT Support,
  • Select your project's context path root directory in the Root Web App dir field,
  • Select your project's root Open SUIT file in the Root Open SUIT XML field,
  • Press OK,
  • If you didn't install the Open SUIT libraries to your project, the plugin will ask you whether you want to add them now or not (see ).

You'll notice that Eclipse launches a build: that's the first Open SUIT validation.

From now on, every time you save any of your Open SUIT XML files, the validator will check your code and inform you about potential issues.

You'll quickly understand it's a major tool in producing good quality.