Remove Unused Texts from UIText.java and corresponding properties
[egit.git] / org.eclipse.egit.ui / src / org / eclipse / egit / ui / GitRepositoriesPerspectiveFactory.java
bloba3f7f57e4290c64948106585e6fd6d0e2524f139
1 /*******************************************************************************
2 * Copyright (c) 2010 SAP AG.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
8 * Contributors:
9 * Mathias Kinzler (SAP AG) - initial implementation
10 *******************************************************************************/
11 package org.eclipse.egit.ui;
13 import org.eclipse.egit.ui.internal.repository.RepositoriesView;
14 import org.eclipse.team.ui.history.IHistoryView;
15 import org.eclipse.ui.IPageLayout;
16 import org.eclipse.ui.IPerspectiveFactory;
18 /**
21 public class GitRepositoriesPerspectiveFactory implements IPerspectiveFactory {
23 public void createInitialLayout(IPageLayout layout) {
25 // repositories on the left hand
26 layout.addView(RepositoriesView.VIEW_ID, IPageLayout.LEFT, (float) 0.5, layout.getEditorArea());
28 // Properties under editor area
29 layout.addView(IPageLayout.ID_PROP_SHEET, IPageLayout.BOTTOM, (float) 0.5, layout
30 .getEditorArea());
32 // place holder for Package Explorer under repositories
33 layout.addPlaceholder("org.eclipse.jdt.ui.PackageExplorer", IPageLayout.BOTTOM, (float) 0.7, RepositoriesView.VIEW_ID); //$NON-NLS-1$
35 // shortcut to Package Explorer
36 layout.addShowViewShortcut("org.eclipse.jdt.ui.PackageExplorer"); //$NON-NLS-1$
37 // shortcut to History view
38 layout.addShowViewShortcut(IHistoryView.VIEW_ID);