Specifying an Action to Call the Tool

You need to specify an action which calls the newly created tool:

  1. Right-click the Action Descriptors category folder, and then click New Child > Action Descriptor.

    This opens the Enter Object ID dialog box.

  2. In the New ID field, type OFFL_ACT_CONT_AssociateProblemNumber.
  3. Click OK.
  4. Right-click OFFL_ACT_CONT_AssociateProblemNumber, and then click Edit.

    This opens the Edit Properties dialog box.

  5. Double-click the Label value cell, and then type Problem Tracking/Associate Problem Number.

    This action now appears under the Problem Tracking category in the context menu.

  6. Right-click OFFL_ACT_CONT_AssociateProblemNumber, and then click New Child > Tool.

    This creates a new tool under the OFFL_ACT_CONT_AssociateProblemNumber action descriptor.

  7. Right-click Tool, and then click Edit.

    This opens the Edit Properties dialog box.

  8. Double-click the Target ID value cell, and then select OFFL_TOOL_AWM_Dialog_GetProblemNumber.
  9. Click OK.
  10. Finally, you need to specify where the action should be displayed. It should be displayed in the context menu of elements of an Eclipse linked file type. To do this:

    Under the Element Types, right-click OFFL_ELE_Eclipse_File, and then click New Child > Action.

  11. Right-click the new Action, and then click Edit.

    This opens the Edit Properties dialog box.

  12. Double-click the Target ID value cell, and then select OFFL_ACT_CONT_AssociateProblemNumber.
  13. Click OK.
  14. Click File > Save.