A specific creation wizard is available to create this
type of plug-in.
Procedure
- To open the creation wizard, select .
- The following two pages are standard pages used for the
creation of Eclipse projects.
Note: On the Content page,
you must clear the selected check boxes in the Options pane.
You must not generate an activator or indicate that the plug-in will
make contributions to the UI.
- On the Templates page, select Create
a plug-in using one of the templates and RPPz
Subcommand wizard. Click Next.
- Enter the name of the Java™ class
in which you will describe your command. Specify also the identifier
of the extension point.
Results
The plug-in in which you can write your command line has been
created in Eclipse. You can see it in the
Project Explorer view
of the
Resource perspective.
The
plugin.xml file
contains the user command-line extension point.
Figure 1. Command-line
extension point<extension
point="com.ibm.pdp.product.tools.rppSubCommand">
<rppSubcommand
rppSubCommandId="rppCommandId"
class="com.rppsubcommand.sample.SampleRppSubCommand">
</rppSubcommand>
</extension>
To write your command line, open the plug-in and the Java class generated from the name
you specified in the creation wizard.