Widget Palette Plug-in Wizard

The Widget Palette Plug-in Wizard is used to create plug-ins extending the WindowBuilder palette. The palette may be further configured using the Palette Manager.

Directions for using the wizard follow.

1) Select the New > Designer > Widget Palette Plug-in wizard.

2) One the first page of the wizard, enter the name of new plug-in into the Plug-in name field. The Use Eclipse META-INF/MANIFEST.MF option determines whether the wizard generates an Eclipse 3.1/3.2 style plug-in JAR. If this option is turned off, the wizard will generate an older style plug-in directory. The Restart Eclipse option determines whether Eclipse is restarted after the plug-in is created (necessary for the plug-in to be loaded).

3) Select the SWT or Swing tab to create appropriate entries. Click the Edit... button to edit the palette.

4) Click the Add from archive... button to select teh JAR containing the widgets.

5) Select the category and click the Edit... button to edit the palette category name.

6) Close the Palette Manager to review the entries to be added to the widget palette plug-in.

7) Click the Finish button to create the widget palette plug-in. The plug-in will be generated into your Eclipse /plugins directory.

8) Open the generated JAR file and review the plugin.xml file and MANIFEST.MF file.

10) Restart Eclipse and open the Designer Editor to see the new palette appear.