import org.eclipse.ui.IPerspectiveFactory;
public class JcrExplorerPerspective implements IPerspectiveFactory {
+ public static String BROWSER_VIEW_ID = JcrExplorerPlugin.ID
+ + ".browserView";
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(true);
- IFolderLayout main = layout.createFolder("upperLeft", IPageLayout.LEFT,
- 0.5f, layout.getEditorArea());
-
+ IFolderLayout upperLeft = layout.createFolder(JcrExplorerPlugin.ID
+ + ".upperLeft", IPageLayout.LEFT, 0.4f, layout.getEditorArea());
+ upperLeft.addView(BROWSER_VIEW_ID);
}
}