This section describes how to contribute to the shelfViews
In the plugin where the view is defined, add an extension to the com.ibm.rcp.ui.shelfViews
extension point as demonstrated in the following example taken from the shelfView.exsd
<!-- first define view -->
<!-- next, define shelf view -->
<!-- notice that the com.ibm.rcp.ui.shelfViews "view" attribute corresponds
to an org.eclipse.ui.views "id" attribute -->
Note that the com.ibm.rcp.platform.shelfViews
extension point has been deprecated.
attribute uniquely identifies the shelf view. Thus, if the same id is used more than once, only one of those views will be registered.
attribute corresponds to the id
specified in the view contribution.
attribute is an optional means of describing what area of the sidebar the view should belong to. Possible values are “TOP,” “MIDDLE,” and “BOTTOM.” Items within the same placeholder region will be ordered based on when the view gets loaded. Thus, the contributor of the view cannot control the placing of views within the same placeholder region. If nothing is specified, the view will automatically be placed on the bottom.
attribute describes which sidebar the view should belong. For Lotus® Expeditor, the value “RIGHT” should be specified such that the view appears in the sidebar on the right side of the client.
attribute describes whether or not the titlebar should be shown. For Lotus Expeditor, a value of “true” should be specified such that all views in the sidebar have a titlebar and look uniform.
Parent topic: Contributing to the sidebar: XPD621