blob: 0aea01f3d7288fb4a296db98cb4e42aec994b958 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/***************************************************************************
* Copyright (c) 2004 - 2008 Eike Stepper, Germany.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eike Stepper - initial API and implementation
**************************************************************************/
package org.eclipse.emf.cdo.util;
import org.eclipse.emf.ecore.EPackage;
/**
* @author Eike Stepper
*/
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);
}
|