public class ModelsResolution extends AbstractResolution
context, diagnostic, logger, monitor| Constructor and Description |
|---|
ModelsResolution(IResolutionContext context,
IProgressMonitor monitor,
IStorageProviderAccessor storageAccessor,
IStorage left,
IStorage right,
IStorage origin)
|
| Modifier and Type | Method and Description |
|---|---|
protected Runnable |
getFinalizeResolvingRunnable()
Overridden to set the work remaining to zero on the progress monitor used.
|
protected com.google.common.base.Function<URI,IComputation<URI>> |
resolveRemoteURI(ThreadSafeProgressMonitor tspm,
org.eclipse.emf.compare.ide.ui.internal.logical.resolver.SynchronizedResourceSet resourceSet)
Provides a
Function that converts a givn URI into a Computation that can be run by a
ResourceComputationScheduler. |
SynchronizationModel |
run()
Executes the resolution.
|
asURISet, call, getTicks, resolveTraversalpublic ModelsResolution(IResolutionContext context, IProgressMonitor monitor, IStorageProviderAccessor storageAccessor, IStorage left, IStorage right, IStorage origin)
dependencyProvider - The dependency providerscheduler - The muti-thread support to useeventBus - The event busmonitor - The progress monitor to use to report progressstorageAccessor - The storage accessor, must not be nullleft - The left storage, can be nullright - The right storage, can be nullorigin - The ancestor storage, can be nullpublic SynchronizationModel run() throws InterruptedException
InterruptedException - If the treatment is interrupted.protected Runnable getFinalizeResolvingRunnable()
getFinalizeResolvingRunnable in class AbstractResolutionRunnable to run after having resolved resources.protected com.google.common.base.Function<URI,IComputation<URI>> resolveRemoteURI(ThreadSafeProgressMonitor tspm, org.eclipse.emf.compare.ide.ui.internal.logical.resolver.SynchronizedResourceSet resourceSet)
Function that converts a givn URI into a Computation that can be run by a
ResourceComputationScheduler.tspm - The progress monitor to useresourceSet - The resource set to useFunction, never null, that can be used to remotely resolvea given URI.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.