As mentioned in my previous blog entry (Template
Based BPEL Document Generation) I have integrated the functionality
into NetBeans as a simple plug-in that provides an additional
Right-Click option on BPEL Files. The actual NetBeans Plug-in download
can be found on the NetBeans Plug-in Portal at "BPEL
template based
Document Generator" and consists of four separate module and
library NBMs.
The associated icons and document template that are required can be
found on my previous blog entry.
Installing Plug-in
Before this plug-in can be executed you will need to install OpenOffice (or StarOffice) and download the Example Icons and template OpenOffice Document from the (Template Based BPEL Document Generation) blog.
The Module Suite c should be downloaded from the NetBeans Plug-in Portal (zip format) and then extracted. This will provided you with the four NBM files.
Running Plug-in


In addition if you are in the Source view you will also see the same context-menu option when you right-click on the source.
When the menu item is selected it will execute in exactly the same way as the command-line implementation described in the Template Based BPEL Document Generation blog entry.
| Document
Generator Trail |
Installing Plug-in
Before this plug-in can be executed you will need to install OpenOffice (or StarOffice) and download the Example Icons and template OpenOffice Document from the (Template Based BPEL Document Generation) blog.
The Module Suite c should be downloaded from the NetBeans Plug-in Portal (zip format) and then extracted. This will provided you with the four NBM files.
- com-tox-doc-nbm.nbm - Documentation Plug-in
- com-tox-doc-gen.nbm - Command-line documentation jar wrapped as a library
- com-tox-doc-nbm-oo.nbm - Minimum OpenOffice Jars wrapped as a library
- com-tox-doc-nbm-batik.nbm - Minimum Batik Jar wrapped as a library
Running Plug-in
Configuration
The plug-in comes with it's own Configuration tab that provides access to all the configuration information that you would have specified in the config.properties files for the command-line version. Before executing the Document Generator for the first time you will need to specify, as a minimum, the OpenOffice Program folder, the template file, the output directory and the Icon Directory. If these are not specified the plug-in will not run and will simply display an error dialog.
Context Menu
For each file with the bpel extension the plug-in provides an additional context-menu entry (Generate Documentation) which will run the Document Generator for the selected bpel.
In addition if you are in the Source view you will also see the same context-menu option when you right-click on the source.
When the menu item is selected it will execute in exactly the same way as the command-line implementation described in the Template Based BPEL Document Generation blog entry.







