public interface IMetamodelProvider
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.xtext.scoping.IScope |
getAllMetamodelObjects(org.eclipse.xtext.scoping.IScope delegateScope,
org.eclipse.emf.ecore.EObject context)
Returns a set of all available EPackages wrapped into
IEObjectDescription for the use of scoping. |
java.lang.String |
getQualifiedClassName(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.EObject context) |
boolean |
isGeneratedCodeAvailable(org.eclipse.emf.ecore.EPackage ePackage,
org.eclipse.emf.ecore.resource.ResourceSet set) |
org.eclipse.emf.ecore.EPackage |
loadEPackage(java.lang.String uri,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Loads an EMF package from the nsURI or resource URI of the model, and uses the resource set given as the second
parameter.
|
org.eclipse.xtext.scoping.IScope getAllMetamodelObjects(org.eclipse.xtext.scoping.IScope delegateScope,
org.eclipse.emf.ecore.EObject context)
IEObjectDescription for the use of scoping.
It uses the IEObjectDescriptions from the delegate scope provider too, this way the
EPackages from the XText index will be available too.delegateScope - the delegate scopecontext - the context object for the scopingorg.eclipse.emf.ecore.EPackage loadEPackage(java.lang.String uri,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
uri - resourceSet - boolean isGeneratedCodeAvailable(org.eclipse.emf.ecore.EPackage ePackage,
org.eclipse.emf.ecore.resource.ResourceSet set)
java.lang.String getQualifiedClassName(org.eclipse.emf.ecore.EClassifier classifier,
org.eclipse.emf.ecore.EObject context)