01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui;
11:
12: /**
13: * The primary interface between a view part and the workbench.
14: * <p>
15: * The workbench exposes its implemention of view part sites via this interface,
16: * which is not intended to be implemented or extended by clients.
17: * </p>
18: */
19: public interface IViewSite extends IWorkbenchPartSite {
20:
21: /**
22: * Returns the action bars for this part site.
23: * Views have exclusive use of their site's action bars.
24: *
25: * @return the action bars
26: */
27: public IActionBars getActionBars();
28:
29: /**
30: * Returns the secondary id for this part site's part,
31: * or <code>null</code> if it has none.
32: *
33: * @see IWorkbenchPage#showView(String, String, int)
34: * @since 3.0
35: */
36: public String getSecondaryId();
37: }
|