Adding extension points to the BrowserMemberAction
lets Developer for z/OS® know
where to incorporate your plug-in into the rest of the system.
About this task
To add the action to an extension point:
Procedure
- In the Plug-in Development perspective,
right click your Eclipse plug-in project in the Package
Explorer view and select PDE Tools > Open
Manifest to open the Plug-in Editor.
- From the bottom menu of tabs, select Extensions.
Click the Add button.
- In the New Extension dialog box
that opens, type the filter text, org.eclipse.ui.popupMenus in
the Extension Point filter text field.
- Highlight the extension point that matches your filter,
and click Finish. You should see the extension
that you selected added to the list of extensions in the left panel
on the Extensions page.
- Now, select the
plugin.xml
tab
from the menu options at the bottom of the Plug-in Editor.
- Replace the existing code with the following:
<plugin>
<extension
id="carma.bootcamp.ui.actions"
point="org.eclipse.ui.popupMenus">
<objectContribution
id="CARMA.Bootcamp.browse"
objectClass="com.ibm.carma.model.CARMAMember">
<action
class="browse.BrowseMemberAction"
id="BootCamp.browse"
label="Browse Member"
menubarPath="open">
</action>
</objectContribution>
</extension>
</plugin>