public abstract class BaseMetamodelProviderService extends java.lang.Object implements IMetamodelProvider
Constructor and Description |
---|
BaseMetamodelProviderService() |
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) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadEPackage
public org.eclipse.xtext.scoping.IScope getAllMetamodelObjects(org.eclipse.xtext.scoping.IScope delegateScope, org.eclipse.emf.ecore.EObject context)
IMetamodelProvider
IEObjectDescription
for the use of scoping.
It uses the IEObjectDescription
s from the delegate scope provider too, this way the
EPackage
s from the XText index will be available too.getAllMetamodelObjects
in interface IMetamodelProvider
delegateScope
- the delegate scopecontext
- the context object for the scopingpublic boolean isGeneratedCodeAvailable(org.eclipse.emf.ecore.EPackage ePackage, org.eclipse.emf.ecore.resource.ResourceSet set)
isGeneratedCodeAvailable
in interface IMetamodelProvider
public java.lang.String getQualifiedClassName(org.eclipse.emf.ecore.EClassifier classifier, org.eclipse.emf.ecore.EObject context)
getQualifiedClassName
in interface IMetamodelProvider