Package org.eclipse.ui
Interface IViewSite
- All Superinterfaces:
IAdaptable,IServiceLocator,IShellProvider,IWorkbenchPartSite,IWorkbenchSite
- All Known Implementing Classes:
ViewSite
The primary interface between a view part and the workbench.
The workbench exposes its implemention of view part sites via this interface, which is not intended to be implemented or extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the action bars for this part site.Returns the secondary id for this part site's part, ornullif it has none.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.services.IServiceLocator
getService, hasServiceMethods inherited from interface org.eclipse.ui.IWorkbenchPartSite
getId, getKeyBindingService, getPart, getPluginId, getRegisteredName, registerContextMenu, registerContextMenuMethods inherited from interface org.eclipse.ui.IWorkbenchSite
getPage, getSelectionProvider, getShell, getWorkbenchWindow, setSelectionProvider
-
Method Details
-
getActionBars
IActionBars getActionBars()Returns the action bars for this part site. Views have exclusive use of their site's action bars.- Returns:
- the action bars
-
getSecondaryId
String getSecondaryId()Returns the secondary id for this part site's part, ornullif it has none.- Returns:
- the secondary id for this part site's part or
nullif it has none - Since:
- 3.0
- See Also:
-