Interface IExternalContentSupport

All Known Implementing Classes:

public interface IExternalContentSupport

Allows to configure an arbitrary ResourceSet with an external content provider. Such a resource sets may obtain the content for a resource from a dirty in-memory state instead of the persistent state of the underlying IResource, file or similar.

Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
static interface IExternalContentSupport.IExternalContentProvider
          Lightweight abstraction for a contributor of external state.
Method Summary
 void configureResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, IExternalContentSupport.IExternalContentProvider contentProvider)
          Configure the resource set with an provider of dirty or external content.

Method Detail


void configureResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
                          IExternalContentSupport.IExternalContentProvider contentProvider)
Configure the resource set with an provider of dirty or external content. The resource set will transparently use the external content to populate its resources. Subsequent calls will create sort of layers that allow to shadow previously provided content. Neither of both arguments may be null.