public static interface IResourceLoader.LoadOperation
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 . |
void load(java.util.Collection<org.eclipse.emf.common.util.URI> uris)
uris
- the urisjava.lang.IllegalStateException
- If the loading was already started or it was cancelledboolean hasNext()
java.lang.IllegalStateException
- If the loading was cancelled or it hasn't started yet.IResourceLoader.LoadResult next() throws IResourceLoader.LoadOperationException
IResourceLoader.LoadResult
.
This is a blocking call, it returns the next result that was finished processing.java.lang.IllegalStateException
- If the loading was cancelled or it hasn't started yet.IResourceLoader.LoadOperationException
- the load operation exceptionjava.util.Collection<org.eclipse.emf.common.util.URI> cancel()