summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-04-21 03:25:06 (EDT)
committerEike Stepper2008-04-21 03:25:06 (EDT)
commit9aa350cdc5c413a9f627d4cea62ab82d9025e23e (patch)
treef280544e2ba341cf1b71c1737fda915389a19f36
parent430646ced300534b7b1815ab5c5dfe1169fdc8c2 (diff)
downloadcdo-9aa350cdc5c413a9f627d4cea62ab82d9025e23e.zip
cdo-9aa350cdc5c413a9f627d4cea62ab82d9025e23e.tar.gz
cdo-9aa350cdc5c413a9f627d4cea62ab82d9025e23e.tar.bz2
[226233] Issues with EPackages having inter-dependencies
https://bugs.eclipse.org/bugs/show_bug.cgi?id=226233
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOPackageRegistry.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOPackageRegistry.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOPackageRegistry.java
index 1e0485e..0aea01f 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOPackageRegistry.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/util/CDOPackageRegistry.java
@@ -17,5 +17,13 @@ import org.eclipse.emf.ecore.EPackage;
*/
public interface CDOPackageRegistry extends EPackage.Registry
{
+ /**
+ * Registers a top level {@link EPackage} and its sub packages with this package registry.
+ *
+ * @param ePackage
+ * a top level EPackage (i.e. a package with <code>eSuperPackage == null</code>).
+ * @return the package that was previously registered under the <code>nsURI</code> of the top level package or
+ * <code>null</code>.
+ */
public EPackage putEPackage(EPackage ePackage);
}