public interface MetamodelManager
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
Metamodel |
getMetamodel(EPackage ePackage)
Returns the metamodel built using the specified EMF package.
|
Metamodel |
getMetamodel(String uniqueID)
Returns the metamodel which matches the specified ID.
|
Collection<Metamodel> |
getMetamodels()
Returns the metamodels available in the environment.
|
MDWorkbench |
getWorkbench()
Returns the workbench.
|
MDWorkbench getWorkbench()
Collection<Metamodel> getMetamodels()
Collection
of Metamodel
elements.Metamodel
Metamodel getMetamodel(String uniqueID) throws CoreException
uniqueID
- the metamodel identifier.CoreException
- if no metamodel matches this ID.Metamodel getMetamodel(EPackage ePackage) throws CoreException
ePackage
- the EMF package describing the metamodel.CoreException
- if the EMF package does not match a metamodel.