|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.internal.ide.util.EcoreHelper
public final class EcoreHelper
Helper methods for dealing with ecores.
| Method Summary | |
|---|---|
static Object[] |
getDefaultPackageRegistryContents()
|
static void |
registerEcore(String ecorePath)
Put an ecore's EPackage into the EPackage.Registry. |
static void |
unregisterEcore(String ecorePath)
Remove the ecore's EPackage from the EPackage.Registry. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void registerEcore(String ecorePath)
throws IOException
EPackage into the EPackage.Registry. Subsequently, register
all referenced ecores.
ecorePath - - path to the ecore
IOException - if resource cannot be loadedpublic static void unregisterEcore(String ecorePath)
EPackage from the EPackage.Registry.
It also removes the packages of referenced ecores.
ecorePath - - the path of the ecore to be removed.public static Object[] getDefaultPackageRegistryContents()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||