]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - rap/Perspective.java
1 package org
.argeo
.sandbox
.ui
.rap
;
3 import org
.argeo
.sandbox
.ui
.rap
.views
.TestDownloadView
;
4 import org
.eclipse
.ui
.IFolderLayout
;
5 import org
.eclipse
.ui
.IPageLayout
;
6 import org
.eclipse
.ui
.IPerspectiveFactory
;
9 * Configures the perspective layout. This class is contributed through the
12 public class Perspective
implements IPerspectiveFactory
{
14 public final static String ID
= "org.argeo.sandbox.ui.downloadTries";
16 public void createInitialLayout(IPageLayout layout
) {
17 String editorArea
= layout
.getEditorArea();
18 layout
.setEditorAreaVisible(true);
19 layout
.setFixed(false);
21 // Create the main ui layout
22 IFolderLayout left
= layout
.createFolder("left", IPageLayout
.LEFT
,
25 // add the views to the corresponding place holder
26 left
.addView(TestDownloadView
.ID
);