]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistributionPerspective.java
git-svn-id: https://svn.argeo.org/slc/trunk@6893 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / DistributionPerspective.java
index 954f54e6d1368b7c1865c95c02d7def8a202529e..918b4b44cbf54e98443b41f0a650ba9851211b8a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2012 Mathieu Baudier
+ * Copyright (C) 2007-2012 Argeo GmbH
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,6 +20,9 @@ import org.eclipse.ui.IFolderLayout;
 import org.eclipse.ui.IPageLayout;
 import org.eclipse.ui.IPerspectiveFactory;
 
+/**
+ * Manage a set of software repositories
+ */
 public class DistributionPerspective implements IPerspectiveFactory {
 
        public final static String ID = DistPlugin.ID + ".distributionPerspective";
@@ -30,12 +33,10 @@ public class DistributionPerspective implements IPerspectiveFactory {
                layout.setFixed(false);
 
                IFolderLayout main = layout.createFolder("main", IPageLayout.LEFT,
-                               0.5f, editorArea);
+                               0.3f, editorArea);
                main.addView(DistributionsView.ID);
-//             main.addView(ArtifactsBrowser.ID);
-//             main.addView(QueryArtifactsForm.ID);
-//             main.addView(QueryBundlesForm.ID);
-//             main.addView(QueryArtifactsText.ID);
-               main.addView("org.eclipse.ui.views.ProgressView");
+               IFolderLayout bottom = layout.createFolder("bottom",
+                               IPageLayout.BOTTOM, 0.75f, editorArea);
+               bottom.addView("org.eclipse.ui.views.ProgressView");
        }
 }