org.eclipse.xtext.builder.resourceloader
Interface IResourceLoader

All Known Implementing Classes:
AbstractResourceLoader, ParallelResourceLoader, SerialResourceLoader

public interface IResourceLoader

Since:
2.1
Author:
Lieven Lemiengre - Initial contribution and API

Nested Class Summary
static interface IResourceLoader.LoadOperation
          The Interface LoadOperation.
static class IResourceLoader.LoadOperationException
          The Class LoadOperationException.
static class IResourceLoader.LoadResult
          Represents a resource with its associated URI, which was used to load or look up the resource from its ResourceSet Note, that the URI returned from IResourceLoader.LoadResult.getUri() must not neccessarily be equals to what'S returned by IResourceLoader.LoadResult.getResource().getURI().
static interface IResourceLoader.Sorter
           
 
Method Summary
 IResourceLoader.LoadOperation create(org.eclipse.emf.ecore.resource.ResourceSet parent, org.eclipse.core.resources.IProject project)
          Create a LoadOperation.
 

Method Detail

create

IResourceLoader.LoadOperation create(org.eclipse.emf.ecore.resource.ResourceSet parent,
                                     org.eclipse.core.resources.IProject project)
Create a LoadOperation. Be careful, while the load operation is running the parent ResourceSet may be read from different threads. Synchronize on the parent ResourceSet when you interact with it!

Parameters:
parent - the parent ResourceSet
Returns:
a LoadOperation