Eclipse Platform
Release 3.1

org.eclipse.ui
Interface IViewSite

All Superinterfaces:
IAdaptable, 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.


Method Summary
 IActionBars getActionBars()
          Returns the action bars for this part site.
 String getSecondaryId()
          Returns the secondary id for this part site's part, or null if it has none.
 
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
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getActionBars

public 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

public String getSecondaryId()
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)

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.