Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.ui
Interface IViewSite

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

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