Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-05-15 02:30:01 -0400
committerEike Stepper2013-05-15 02:30:01 -0400
commitb52dd58c1a00efac4a0d08352b6a8da6fcba4833 (patch)
tree6529a6d5f3cce03eeb59e9ff3da49029eeb3ee26
parente99bcec7b3979a2eb3348bc7e4278ee6a0603e35 (diff)
downloadcdo-b52dd58c1a00efac4a0d08352b6a8da6fcba4833.tar.gz
cdo-b52dd58c1a00efac4a0d08352b6a8da6fcba4833.tar.xz
cdo-b52dd58c1a00efac4a0d08352b6a8da6fcba4833.zip
Populate package registry for sessions from admin view
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java b/plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java
index aad7ef998a..172d98693b 100644
--- a/plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java
+++ b/plugins/org.eclipse.emf.cdo.ui.admin/src/org/eclipse/emf/cdo/ui/internal/admin/CDOAdminView.java
@@ -14,6 +14,7 @@ import org.eclipse.emf.cdo.admin.CDOAdminClient;
import org.eclipse.emf.cdo.admin.CDOAdminClientManager;
import org.eclipse.emf.cdo.admin.CDOAdminClientRepository;
import org.eclipse.emf.cdo.common.admin.CDOAdminRepository;
+import org.eclipse.emf.cdo.common.model.CDOPackageRegistryPopulator;
import org.eclipse.emf.cdo.common.util.NotAuthenticatedException;
import org.eclipse.emf.cdo.net4j.CDONet4jSession;
import org.eclipse.emf.cdo.net4j.CDONet4jSessionConfiguration;
@@ -278,6 +279,8 @@ public class CDOAdminView extends ContainerView
CDONet4jSession session = repository.openSession(this);
if (session != null)
{
+ CDOPackageRegistryPopulator.populate(session.getPackageRegistry());
+
IManagedContainer container = adminManager.getContainer();
String description = "session" + getNextSessionNumber();
container.putElement(CDOSessionFactory.PRODUCT_GROUP, "admin", description, session);

Back to the top