X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=plugins%2Forg.argeo.slc.client.ui.dist%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2FDistributionPerspective.java;h=918b4b44cbf54e98443b41f0a650ba9851211b8a;hb=706b98df2c68382d7bd501fa05cb128f329087ee;hp=5b185a89aeb50639751cd427ce852f660663f1ff;hpb=5a4fe81c7ba0b26751ed6b69cc5a503638c9bcbc;p=gpl%2Fargeo-slc.git diff --git a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistributionPerspective.java b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistributionPerspective.java index 5b185a89a..918b4b44c 100644 --- a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistributionPerspective.java +++ b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/DistributionPerspective.java @@ -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. @@ -15,15 +15,14 @@ */ package org.argeo.slc.client.ui.dist; -import org.argeo.slc.client.ui.dist.views.ArtifactsBrowser; import org.argeo.slc.client.ui.dist.views.DistributionsView; -import org.argeo.slc.client.ui.dist.views.QueryArtifactsForm; -import org.argeo.slc.client.ui.dist.views.QueryArtifactsText; -import org.argeo.slc.client.ui.dist.views.QueryBundlesForm; 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"; @@ -34,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"); } }