Class MultiBmAwareSynchronizedXtextResourceSet

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.ResourceSet, org.eclipse.xtext.resource.ISynchronizable<org.eclipse.xtext.resource.SynchronizedXtextResourceSet>

    public class MultiBmAwareSynchronizedXtextResourceSet
    extends org.eclipse.xtext.resource.SynchronizedXtextResourceSet
    Xtext resource set aware of BigModel.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.xtext.resource.XtextResourceSet

        org.eclipse.xtext.resource.XtextResourceSet.ResourcesList, org.eclipse.xtext.resource.XtextResourceSet.UriChangeListener
      • Nested classes/interfaces inherited from class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl

        org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.MappedResourceLocator, org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.ResourceLocator, org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.ResourcesEList<E extends Object & org.eclipse.emf.ecore.resource.Resource>
      • Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

        org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IBmModel[] bmModels  
      • Fields inherited from class org.eclipse.xtext.resource.XtextResourceSet

        normalizationMap
      • Fields inherited from class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl

        adapterFactories, loadOptions, packageRegistry, resourceFactoryRegistry, resourceLocator, resources, uriConverter, uriResourceMap
      • Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl

        eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
      • Fields inherited from interface org.eclipse.emf.ecore.resource.ResourceSet

        RESOURCE_SET__RESOURCES
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.emf.ecore.resource.Resource delegatedGetResource​(org.eclipse.emf.common.util.URI uri, boolean loadOnDemand)  
      org.eclipse.emf.ecore.EObject getEObject​(org.eclipse.emf.common.util.URI uri, boolean loadOnDemand)  
      • Methods inherited from class org.eclipse.xtext.resource.SynchronizedXtextResourceSet

        createResource, createResourceList, execute, getLock, getResource, getResources, registerURI
      • Methods inherited from class org.eclipse.xtext.resource.XtextResourceSet

        addLoadOption, addTimeout, getClasspathURIContext, getClasspathUriResolver, getModificationStamp, getNormalizationMap, getUriChangeListener, getURIConverter, initializeDefaultLoadOptions, isOutdated, markOutdated, markSynced, removeLoadOption, setClasspathURIContext, setClasspathUriResolver
      • Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl

        createResource, demandCreateResource, demandLoad, demandLoadHelper, getAdapterFactories, getAllContents, getLoadOptions, getPackageRegistry, getResourceFactoryRegistry, getURIResourceMap, handleDemandLoadException, setPackageRegistry, setResourceFactoryRegistry, setURIConverter, setURIResourceMap, toString
      • Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl

        eAdapters, eBasicAdapters, eDeliver, eSetDeliver
      • Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

        eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
      • Methods inherited from interface org.eclipse.emf.common.notify.Notifier

        eAdapters, eDeliver, eNotify, eSetDeliver
    • Field Detail

      • bmModels

        protected IBmModel[] bmModels
    • Constructor Detail

      • MultiBmAwareSynchronizedXtextResourceSet

        public MultiBmAwareSynchronizedXtextResourceSet​(IBmModelManager modelManager,
                                                        IBmModel[] bmModels)
        Constructor.
        Parameters:
        modelManager - The reference to the IBmModelManager, can't be null
        bmModels - actual set of IBmModel's, can't be null
    • Method Detail

      • getEObject

        public org.eclipse.emf.ecore.EObject getEObject​(org.eclipse.emf.common.util.URI uri,
                                                        boolean loadOnDemand)
        Specified by:
        getEObject in interface org.eclipse.emf.ecore.resource.ResourceSet
        Overrides:
        getEObject in class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
      • delegatedGetResource

        protected org.eclipse.emf.ecore.resource.Resource delegatedGetResource​(org.eclipse.emf.common.util.URI uri,
                                                                               boolean loadOnDemand)
        Overrides:
        delegatedGetResource in class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl