01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 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: * An <code>IFolderLayout</code> is used to define the initial views within a folder.
14: * The folder itself is contained within an <code>IPageLayout</code>.
15: * <p>
16: * This interface is not intended to be implemented by clients.
17: * </p>
18: *
19: * @see IPageLayout#createFolder
20: */
21: public interface IFolderLayout extends IPlaceholderFolderLayout {
22: /**
23: * Adds a view with the given compound id to this folder.
24: * See the {@link IPageLayout} type documentation for more details about compound ids.
25: * The primary id must name a view contributed to the workbench's view extension point
26: * (named <code>"org.eclipse.ui.views"</code>).
27: *
28: * @param viewId the view id
29: */
30: public void addView(String viewId);
31: }
|