|
|
thinnb
|
| Summary | ThinNB |
|---|---|
| Categories | None |
| License | Lesser General Public License (LGPL) |
| Owner(s) | mister__m |
ThinNB is actually two things: an umbrella project for the ThinNB family of NetBeans modules and also the module responsible for installing the ThinNB Update Center in the IDE.
The ThinNB family of NetBeans modules provides support for Thinlet in the NetBeans IDE. The currently supported NetBeans versions are 4.1, 5.0 and 5.5. Here is a more detailed description of each module:
Makes Thinlet's jar available to other modules.
This module adds support for Thinlet xml files. They are displayed with their own icon as shown below:
Thinlet xml files are currently recognized if they contain the
following DOCTYPE declaration:
<!DOCTYPE panel
PUBLIC '-//Thinlets 1.0//EN'
'https://thinlet.dev.java.net/thinlet.dtd'>
Actually, only the public id is used to identify the xml file, so you could use another DTD location if it is necessary. It introduces support for two new context actions (also shown by right-clicking inside the text editor in the Tools menu): Open in visual editor and Preview:
This module implements both the Preview and the Preview in new window actions, but the Open in visual editor item is simply a hook that is implemented in another module, ThinNBEditor, described below.
The Preview mode works inside the editor, as shown below:
The Preview in new window action displays the xml file in a dialog, either using its preferred size or a fixed size, as shown below:
In order to change the window size or to make the xml be shown using its preferred size, hold the CTRL key while clicking on the action. The following dialog will appear:
The module also adds a simple template that creates a new xml file with a panel as its root element:
Makes ThinG's jar available to other modules.
Provides an implementation for the Open in Visual Editor action by integrating ThinG into the IDE:
It is also possible to configure how the xml file will be generated by the editor:
Install a new Update Center that makes it possible to download the other modules:
net-java-dev-thinnb.nbm file from the location you
saved it. Do not forget to mark the Include checkbox before
clicking on Finish;Turning on modules...done. in your
status bar, go back to Tools -> Update Center,
make sure Check the Web for Available Updates and New Modules
and ThinNB Update Center are selected and click on
Next >;| Name | Summary |
|---|---|
| thinnbeditor | ThinNBEditor |
| thinnbjar | ThinNB Jar |
| thinnbsupport | ThinNBSupport |
| thinnbthing | ThinNB Thing |