Class MetamodelProviderService

    • Constructor Detail

      • MetamodelProviderService

        public MetamodelProviderService()
    • Method Detail

      • getIdentifier

        public java.lang.String getIdentifier()
        Description copied from interface: IMetamodelProviderInstance
        Get a textual identifier for the metamodel provider instance
        Specified by:
        getIdentifier in interface IMetamodelProviderInstance
        Returns:
        a non-null textual identifier; should be unique over all possible implementations
      • loadEPackage

        public org.eclipse.emf.ecore.EPackage loadEPackage​(java.lang.String packageUri,
                                                           org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
        Description copied from interface: IMetamodelProvider
        Loads an EMF package from the nsURI or resource URI of the model, and uses the resource set given as the second parameter.
        Specified by:
        loadEPackage in interface IMetamodelProvider
        Returns:
        the loaded EMF EPackage