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%2Feditors%2FDistWorkspaceEditor.java;fp=plugins%2Forg.argeo.slc.client.ui.dist%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fclient%2Fui%2Fdist%2Feditors%2FDistWorkspaceEditor.java;h=8f053bf3bf5cdaa006fc42de9455a30750cb31c0;hb=dfe3fcaa16195d0fff84839e86546d753e588253;hp=98e84f4098b52f8b45f87c7c43a8c1e83d8668c7;hpb=3355fbcd66a8fc061b8ddbf9d287ee4d17734d0e;p=gpl%2Fargeo-slc.git diff --git a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/editors/DistWorkspaceEditor.java b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/editors/DistWorkspaceEditor.java index 98e84f409..8f053bf3b 100644 --- a/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/editors/DistWorkspaceEditor.java +++ b/plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/editors/DistWorkspaceEditor.java @@ -39,8 +39,7 @@ import org.eclipse.ui.forms.editor.FormEditor; public class DistWorkspaceEditor extends FormEditor implements SlcNames { // private final static Log log = // LogFactory.getLog(DistributionEditor.class); - public final static String ID = DistPlugin.ID - + ".distWorkspaceEditor"; + public final static String ID = DistPlugin.ID + ".distWorkspaceEditor"; /* DEPENDENCY INJECTION */ private RepositoryFactory repositoryFactory; @@ -79,9 +78,10 @@ public class DistWorkspaceEditor extends FormEditor implements SlcNames { @Override protected void addPages() { try { - addPage(new DistWkspSearchPage(this, "Overview", + addPage(new DistWkspSearchPage(this, "Details ", businessSession)); + addPage(new DistWkspBrowserPage(this, "Browser ", businessSession)); + addPage(new WkspCategoryBaseListPage(this, "Group base ", businessSession)); - addPage(new DistWkspBrowserPage(this, "Browser", businessSession)); } catch (PartInitException e) { throw new ArgeoException("Cannot add distribution editor pages", e); } @@ -111,6 +111,10 @@ public class DistWorkspaceEditor extends FormEditor implements SlcNames { return repoNode; } + protected Session getSession() { + return businessSession; + } + /* DEPENDENCY INJECTION */ public void setRepositoryFactory(RepositoryFactory repositoryFactory) { this.repositoryFactory = repositoryFactory;