org.eclipse.xtext.resource
Class ExternalContentSupport

java.lang.Object
  extended by org.eclipse.xtext.resource.ExternalContentSupport
All Implemented Interfaces:
IExternalContentSupport

public class ExternalContentSupport
extends java.lang.Object
implements IExternalContentSupport

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
static class ExternalContentSupport.ExternalContentAwareURIHandler
           
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.IExternalContentSupport
IExternalContentSupport.IExternalContentProvider
 
Constructor Summary
ExternalContentSupport()
           
 
Method Summary
 void configureConverter(org.eclipse.emf.ecore.resource.URIConverter converter, IExternalContentSupport.IExternalContentProvider contentProvider)
           
 void configureResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, IExternalContentSupport.IExternalContentProvider contentProvider)
          Configure the resource set with an provider of dirty or external content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalContentSupport

public ExternalContentSupport()
Method Detail

configureResourceSet

public void configureResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
                                 IExternalContentSupport.IExternalContentProvider contentProvider)
Description copied from interface: IExternalContentSupport
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.

Specified by:
configureResourceSet in interface IExternalContentSupport

configureConverter

public void configureConverter(org.eclipse.emf.ecore.resource.URIConverter converter,
                               IExternalContentSupport.IExternalContentProvider contentProvider)