Contributing to the sidebarAdded by IBM on September 9, 2010 | Version 1 (Original)
|This section discusses the “shelfViews” programming model, and explicitly explains how to contribute a shelf view to the Lotus® Expeditor sidebar.
This section discusses the “shelfViews” programming model, and explicitly explains how to contribute a shelf view to the Lotus® Expeditor sidebar.
There are two steps:
- Create a view and add a contribution to the org.eclipse.ui.views extension point.
- Contribute the view to the com.ibm.rcp.ui.shelfViews extension point to have it appear in the sidebar.
Please refer to Lotus Expeditor Toolkit plug-in templates
for information on using Side Shelf templates to generate fully functional side shelf components.
shelfViews Programming Model: XPD622
Lotus Expeditor makes use of the eclipse IViewPart
interface to be able to tie each shelf view to the workbench. Each view part has a view site that connects it to the workbench, allowing the view to register any global actions with the site’s action bars, including access to its own panel menu, a local toolbar, and the status line. The view can also register any context menus with the site, or register a selection provider to allow the workbench’s ISelectionService
to include the part in its tracking.
Contributing to the shelfViews extension point: XPD622
This section describes how to contribute to the shelfViews
Parent topic: Using personalities: XPD622