org.eclipse.gmt.umlx.ecore
Class AdaptedResourceSetImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.common.notify.impl.NotifierImpl
          extended by org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
              extended by org.eclipse.gmt.umlx.ecore.AdaptedResourceSetImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.ResourceSet

public class AdaptedResourceSetImpl
extends org.eclipse.emf.ecore.resource.impl.ResourceSetImpl

AdaptedResourceSetImpl ensures prompt creation of a ResourceAdapter for each Resource and enables EObject instances to detect that they are being read and consequently may need to queue IResolveEntry instances for activation on completion of the read.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.ecore.resource.ResourceSet
RESOURCE_SET__RESOURCES
 
Constructor Summary
AdaptedResourceSetImpl()
           
 
Method Summary
 org.eclipse.emf.ecore.resource.Resource createResource(org.eclipse.emf.common.util.URI uri)
           
 org.eclipse.emf.ecore.EObject getEObject(org.eclipse.emf.common.util.URI uri, boolean loadOnDemand)
           
static boolean isResolving(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
           
static void queueResolve(IResolveEntry resolveEntry)
           
 
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
getAdapterFactories, getAllContents, getLoadOptions, getPackageRegistry, getResource, getResourceFactoryRegistry, getResources, getURIConverter, getURIResourceMap, setPackageRegistry, setResourceFactoryRegistry, setURIConverter, setURIResourceMap, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, eDeliver, eSetDeliver
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Constructor Detail

AdaptedResourceSetImpl

public AdaptedResourceSetImpl()
Method Detail

isResolving

public static boolean isResolving(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)

queueResolve

public static void queueResolve(IResolveEntry resolveEntry)

createResource

public org.eclipse.emf.ecore.resource.Resource createResource(org.eclipse.emf.common.util.URI uri)
Specified by:
createResource in interface org.eclipse.emf.ecore.resource.ResourceSet
Overrides:
createResource in class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl

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