public interface IResourceDependencyLocalResolver
Modifier and Type | Method and Description |
---|---|
void |
demandResolve(SynchronizedResourceSet resourceSet,
URI uri,
DiagnosticSupport diagnostic,
ThreadSafeProgressMonitor tspm)
Allows callers to launch the loading and resolution of the model pointed at by the given URI.
|
void |
updateDependencies(org.eclipse.core.runtime.IProgressMonitor monitor,
DiagnosticSupport diagnostic,
org.eclipse.core.resources.IFile... start)
Make sure that dependencies for the given files are up to date.
|
void demandResolve(SynchronizedResourceSet resourceSet, URI uri, DiagnosticSupport diagnostic, ThreadSafeProgressMonitor tspm)
This will check whether the given storage isn't already being resolved, then submit a job to the
#resolvingPool
to load and resolve the model in a separate thread.
resourceSet
- The resource set in which to load the resource.uri
- The uri we are to try and load as a model.diagnostic
- The diagnostictspm
- Monitor on which to report progress to the user.LocalResolveComputation
void updateDependencies(org.eclipse.core.runtime.IProgressMonitor monitor, DiagnosticSupport diagnostic, org.eclipse.core.resources.IFile... start) throws InterruptedException
monitor
- Progress monitor to usediagnostic
- Diagnostic to report issuesstart
- files that are the starting points for the updateInterruptedException
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.