org.eclipse.xtext.resource
Class SynchronizedXtextResourceSet

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.xtext.resource.XtextResourceSet
                  extended by org.eclipse.xtext.resource.SynchronizedXtextResourceSet
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.ResourceSet

public class SynchronizedXtextResourceSet
extends XtextResourceSet

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.resource.XtextResourceSet
XtextResourceSet.ResourcesList, XtextResourceSet.UriChangeListener
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.ResourcesEList<E extends java.lang.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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
adapterFactories, loadOptions, packageRegistry, resourceFactoryRegistry, 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
 
Constructor Summary
SynchronizedXtextResourceSet()
           
 
Method Summary
 org.eclipse.emf.ecore.resource.Resource createResource(org.eclipse.emf.common.util.URI uri)
           
 org.eclipse.emf.ecore.resource.Resource getResource(org.eclipse.emf.common.util.URI uri, boolean loadOnDemand)
           
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource> getResources()
           
 
Methods inherited from class org.eclipse.xtext.resource.XtextResourceSet
addLoadOption, getClasspathURIContext, getClasspathUriResolver, getUriChangeListener, getURIConverter, registerURI, removeLoadOption, setClasspathURIContext, setClasspathUriResolver
 
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
createResource, delegatedGetResource, demandCreateResource, demandLoad, demandLoadHelper, getAdapterFactories, getAllContents, getEObject, 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Constructor Detail

SynchronizedXtextResourceSet

public SynchronizedXtextResourceSet()
Method Detail

getResource

public org.eclipse.emf.ecore.resource.Resource getResource(org.eclipse.emf.common.util.URI uri,
                                                           boolean loadOnDemand)
Specified by:
getResource in interface org.eclipse.emf.ecore.resource.ResourceSet
Overrides:
getResource in class XtextResourceSet

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

getResources

public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource> getResources()
Specified by:
getResources in interface org.eclipse.emf.ecore.resource.ResourceSet
Overrides:
getResources in class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl