Package org.eclipse.ui
Interface IViewSite
-
- All Superinterfaces:
IAdaptable
,IServiceLocator
,IShellProvider
,IWorkbenchPartSite
,IWorkbenchSite
public interface IViewSite extends IWorkbenchPartSite
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IActionBars
getActionBars()
Returns the action bars for this part site.String
getSecondaryId()
Returns the secondary id for this part site's part, ornull
if it has none.-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Methods inherited from interface org.eclipse.ui.services.IServiceLocator
getService, hasService
-
Methods inherited from interface org.eclipse.ui.IWorkbenchPartSite
getId, getKeyBindingService, getPart, getPluginId, getRegisteredName, registerContextMenu, registerContextMenu
-
Methods inherited from interface org.eclipse.ui.IWorkbenchSite
getPage, getSelectionProvider, getShell, getWorkbenchWindow, setSelectionProvider
-
-
-
-
Method Detail
-
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, ornull
if it has none.- Returns:
- the secondary id for this part site's part or
null
if it has none - Since:
- 3.0
- See Also:
IWorkbenchPage.showView(String, String, int)
-
-