Lesson 2: Define the dependency and extensions for the plug-in project

In this lesson, you define the dependencies and the three extension points: actionValidators, parameterValidators, and customParameterControl.

About this task

Note: Before you complete this lesson, you should create an Eclipse plug-in project with the following attributes:
  • Project Name: com.ibm.carma.plugin.howto
  • ID: com.ibm.carma.plugin.howto
  • Name: HowTo Action

Procedure

  1. Open the Plug-in Manifest Editor by right-clicking on the com.ibm.carma.plugin.howto plug-in project, and selecting PDE Tools > Open Manifest.
  2. Start by adding the dependency. Select the Dependencies tab at the bottom of the Plug-in Manifest Editor.
  3. Click the Add button under the Required Plug-ins panel. The Plug-in Selection dialog box opens.
  4. Filter for the com.ibm.carma.ui plug-in, select it when it appears, and click OK.
  5. Next, add the extensions to the plug-in project. Select the Extensions tab and filter for each of the following:
    • com.ibm.carma.ui.parameterValidators,
    • com.ibm.carma.actionValidators,
    • com.ibm.carma.customParameterControls

Results

In the next three lessons, you configure each of the extensions to be associated with the HowTo custom action and its parameters.