protected class AbstractResourceLoader.CheckedLoadOperation extends java.lang.Object implements IResourceLoader.LoadOperation
Constructor and Description |
---|
AbstractResourceLoader.CheckedLoadOperation(IResourceLoader.LoadOperation parent) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<org.eclipse.emf.common.util.URI> |
cancel()
Cancel loading the resources.
|
boolean |
hasNext()
Checks if the ResourceLoader is still processing resources.
|
void |
load(java.util.Collection<org.eclipse.emf.common.util.URI> uris)
Load the resources.
|
IResourceLoader.LoadResult |
next()
Get the next
IResourceLoader.LoadResult . |
public AbstractResourceLoader.CheckedLoadOperation(IResourceLoader.LoadOperation parent)
public void load(java.util.Collection<org.eclipse.emf.common.util.URI> uris)
IResourceLoader.LoadOperation
load
in interface IResourceLoader.LoadOperation
uris
- the urispublic boolean hasNext()
IResourceLoader.LoadOperation
hasNext
in interface IResourceLoader.LoadOperation
public IResourceLoader.LoadResult next() throws IResourceLoader.LoadOperationException
IResourceLoader.LoadOperation
IResourceLoader.LoadResult
.
This is a blocking call, it returns the next result that was finished processing.next
in interface IResourceLoader.LoadOperation
IResourceLoader.LoadOperationException
- the load operation exceptionpublic java.util.Collection<org.eclipse.emf.common.util.URI> cancel()
IResourceLoader.LoadOperation
cancel
in interface IResourceLoader.LoadOperation