public interface IMetamodelProvider
com.adocus.mma.metamodel.provider
By using that extension point there will be no need for dependency relationships between a model and its metamodel.Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAllMetaModels()
This method should provides references to all metamodels managed by this class
|
java.lang.String |
getMetaModel(org.eclipse.emf.ecore.EModelElement item)
This method should return a reference to the metamodel that should be associated with the provided model element
if the metamodel is stored in the workspace, the reference should be on the format
platform:/resource/<eclipse project>/<path within project>/<model file name>
if the metamodel is stored in a plugin, the reference should be the name under which the metamodel is registered |
java.lang.String getMetaModel(org.eclipse.emf.ecore.EModelElement item)
platform:/resource/<eclipse project>/<path within project>/<model file name>
if the metamodel is stored in a plugin, the reference should be the name under which the metamodel is registereditem
- the element or diagram for which the reference to the metamodel should be returnedjava.lang.String[] getAllMetaModels()