@Beta
public interface IStorageProviderAccessor
Modifier and Type | Interface and Description |
---|---|
static class |
IStorageProviderAccessor.DiffSide
Used by the resolution process to determine the side of the revision to fetch.
|
Modifier and Type | Method and Description |
---|---|
IStorageProvider |
getStorageProvider(IResource resource,
IStorageProviderAccessor.DiffSide side)
This will be called by the URI Converter to get the content associated with the given local resource
(which might not exist locally).
|
boolean |
isInSync(IResource resource)
Checks whether the given resource is considered "in sync".
|
IStorageProvider getStorageProvider(IResource resource, IStorageProviderAccessor.DiffSide side) throws CoreException
resource
- The resource we need content for.side
- Side of the content we seek.CoreException
- Thrown if the underlying provider cannot be retrieved.boolean isInSync(IResource resource) throws CoreException
resource
- The resource to check.true
if this resource is in sync with its remote variant, false
otherwise.CoreException
- Thrown if we cannot get the diff for this resource.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.