| org.eclipse.ui.navigator.ICommonViewerSite
All known Subclasses: org.eclipse.ui.internal.navigator.CommonViewerSiteIPageSiteDelegate, org.eclipse.ui.internal.navigator.CommonViewerSiteDelegate,
ICommonViewerSite | public interface ICommonViewerSite extends IAdaptable(Code) | | Provides context for extensions including a valid shell, a selection
provider, and a unique identifer corresponding to the abstract viewer behind
the viewer site.
This interface is not intended to be implemented by clients.
since: 3.2 |
Method Summary | |
String | getId() The unique identifier associated with the defined abstractviewer. | ISelectionProvider | getSelectionProvider() The selection provider that can provide a current, validselection. | Shell | getShell() | public void | setSelectionProvider(ISelectionProvider provider) Sets the selection provider for this common viewer site. |
getId | String getId()(Code) | | The unique identifier associated with the defined abstractviewer. In general, this will be the id of theorg.eclipse.ui.views extension that defines the viewpart. |
getSelectionProvider | ISelectionProvider getSelectionProvider()(Code) | | The selection provider that can provide a current, validselection. The default selection provider is theCommonViewer. |
getShell | Shell getShell()(Code) | | A valid shell corresponding to the shell of theCommonViewer |
setSelectionProvider | public void setSelectionProvider(ISelectionProvider provider)(Code) | | Sets the selection provider for this common viewer site.
Parameters: provider - the selection provider, or null to clear it |
|
|