Lesson 1: Add the plug-in dependencies
This lesson teaches you how to add required dependencies to your plug-in project.
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.disable.options
- Plug-in ID: com.ibm.carma.plugin.disable.options
- Plug-in Name: Disable Options
To add dependencies to your plug-in:
Procedure
- Make sure that you are in the Plug-in Development perspective.
- In the Package Explorer view, right click your Eclipse plug-in project, and select PDE Tools > Open Manifest. The Plug-in Editor opens.
- From the tabs at the bottom of the Plug-in Editor, select Dependencies.
- Check to see whether the dependency,
com.ibm.carma.ui
is listed in the left panel. If not, click the Add button to the right of the left panel. In the text field of the Plug-in Selection dialog box, enter in the name of the plug-in as filter text. - Select the first plug-in that appears matching the filter text, and click OK.
Results
com.ibm.carma.ui
to your
list of dependencies. You should see it listed in the left panel with
any other default dependencies.