Class EMFUtil.ExtResourceSet
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.NotifierImpl
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
org.eclipse.emf.cdo.common.model.EMFUtil.ExtResourceSet
- All Implemented Interfaces:
Notifier, ResourceSet
- Enclosing class:
EMFUtil
An extension of
ResourceSetImpl that allows demandLoading of resources and delegation of resource lookups,
to be switched on/off as desired.- Since:
- 4.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from class ResourceSetImpl
ResourceSetImpl.MappedResourceLocator, ResourceSetImpl.ResourceLocator, ResourceSetImpl.ResourcesEList<E>Nested classes/interfaces inherited from class BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList -
Field Summary
Fields inherited from class ResourceSetImpl
adapterFactories, loadOptions, packageRegistry, resourceFactoryRegistry, resourceLocator, resources, uriConverter, uriResourceMapFields inherited from class NotifierImpl
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAGFields inherited from interface ResourceSet
RESOURCE_SET__RESOURCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ResourcedelegatedGetResource(URI uri, boolean loadOnDemand) protected voiddemandLoad(Resource resource) booleanbooleanvoidsetDelegating(boolean delegating) voidsetDemandLoading(boolean demandLoading) Methods inherited from class ResourceSetImpl
createResource, createResource, demandCreateResource, demandLoadHelper, getAdapterFactories, getAllContents, getEObject, getLoadOptions, getPackageRegistry, getResource, getResourceFactoryRegistry, getResources, getURIConverter, getURIResourceMap, handleDemandLoadException, setPackageRegistry, setResourceFactoryRegistry, setURIConverter, setURIResourceMap, toStringMethods inherited from class NotifierImpl
eAdapters, eBasicAdapters, eDeliver, eSetDeliverMethods inherited from class BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Constructor Details
-
ExtResourceSet
public ExtResourceSet(boolean delegating, boolean demandLoading) - Since:
- 4.7
-
-
Method Details
-
isDelegating
public boolean isDelegating() -
setDelegating
public void setDelegating(boolean delegating) -
isDemandLoading
public boolean isDemandLoading() -
setDemandLoading
public void setDemandLoading(boolean demandLoading) -
demandLoad
- Overrides:
demandLoadin classResourceSetImpl- Throws:
IOException
-
delegatedGetResource
- Overrides:
delegatedGetResourcein classResourceSetImpl
-