]> 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/editors/DistWorkspaceEditor.java
work on modular distribution. Work in progress.
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / editors / DistWorkspaceEditor.java
index 98e84f4098b52f8b45f87c7c43a8c1e83d8668c7..8f053bf3bf5cdaa006fc42de9455a30750cb31c0 100644 (file)
@@ -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;