]> 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
Migrate SLC modules
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / editors / DistWorkspaceEditor.java
index 8f053bf3bf5cdaa006fc42de9455a30750cb31c0..0a34a62da0fdeda63d5690b48b9d9a72b75d5b8f 100644 (file)
@@ -64,7 +64,7 @@ public class DistWorkspaceEditor extends FormEditor implements SlcNames {
                                        && localSession.nodeExists(editorInput.getRepoNodePath()))
                                repoNode = localSession.getNode(editorInput.getRepoNodePath());
 
-                       businessSession = RepoUtils.getCorrespondingSession(
+                       businessSession = RepoUtils.getRemoteSession(
                                        repositoryFactory, keyring, repoNode, editorInput.getUri(),
                                        editorInput.getWorkspaceName());
                } catch (RepositoryException e) {
@@ -79,8 +79,8 @@ public class DistWorkspaceEditor extends FormEditor implements SlcNames {
        protected void addPages() {
                try {
                        addPage(new DistWkspSearchPage(this, "Details ", businessSession));
-                       addPage(new DistWkspBrowserPage(this, "Browser ", businessSession));
-                       addPage(new WkspCategoryBaseListPage(this, "Group base ",
+                       addPage(new DistWkspBrowserPage(this, "Maven ", businessSession));
+                       addPage(new WkspCategoryBaseListPage(this, "Groups ",
                                        businessSession));
                } catch (PartInitException e) {
                        throw new ArgeoException("Cannot add distribution editor pages", e);