public interface IPageSite extends IWorkbenchSite
The workbench exposes its implemention of page sites via this interface, which is not intended to be implemented or extended by clients.
|Modifier and Type||Method and Description|
Returns the action bars for this page site.
Registers a pop-up menu with a particular id for extension.
getPage, getSelectionProvider, getShell, getWorkbenchWindow, setSelectionProvider
void registerContextMenu(String menuId, MenuManager menuManager, ISelectionProvider selectionProvider)
Within the workbench one plug-in may extend the pop-up menus for a view
or editor within another plug-in. In order to be eligible for extension,
the menu must be registered by calling
Once this has been done the workbench will automatically insert any action
extensions which exist.
A unique menu id must be provided for each registered menu. This id should be published in the Javadoc for the page.
Any pop-up menu which is registered with the workbench should also define a
GroupMarker in the registered menu with id
IWorkbenchActionConstants.MB_ADDITIONS. Other plug-ins will use this
group as a reference point for insertion. The marker should be defined at an
appropriate location within the menu for insertion.
menuId- the menu id
menuManager- the menu manager
selectionProvider- the selection provider
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.