You must create a plug-in and define an extension point.
You must then define the Java class that describes this extension
point.
Procedure
- To open the creation wizard, select .
- The following two pages are standardly used to create Eclipse
projects.
On the Content page,
in the Options pane, you must clear the following
two options: This plug-in will make contributions to the
UI and Generate an activator.
Click Finish.
The
plug-in in which you can customize the generation target is now created
in Eclipse.
- A dialog box makes it possible to automatically switch
to the Plug-in Development perspective. Click Yes to
indicate the necessary information of the plug-in in this perspective.
You can click No and open the perspective later.
- In the plug-in manifest editor, you must complete the following
tasks:
- Specify the following required plug-in in the Dependencies tab: com.ibm.pdp.mdl.pacbase.util.
- Specify the following extension point: com.ibm.pdp.mdl.pacbase.util.generatedTargetExtension,
- Define the Java class where you will describe the extension point.
Results
You can now implement the customization of the generation
target in the Java class. Programming interfaces are available.