01: /*******************************************************************************
02: * Copyright (c) 2004, 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.tests.performance;
11:
12: import org.eclipse.ui.IPageLayout;
13: import org.eclipse.ui.IPerspectiveFactory;
14:
15: /**
16: * @since 3.1
17: */
18: public class PerformancePerspective2 implements IPerspectiveFactory {
19:
20: /* (non-Javadoc)
21: * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)
22: */
23: public void createInitialLayout(IPageLayout layout) {
24: layout.setEditorAreaVisible(false);
25: layout.addView(IPageLayout.ID_TASK_LIST, IPageLayout.RIGHT,
26: .75f, IPageLayout.ID_EDITOR_AREA);
27: layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.BOTTOM,
28: .75f, IPageLayout.ID_EDITOR_AREA);
29: }
30: }
|