Class ResourceVariantStorageProvider
java.lang.Object
org.eclipse.emf.compare.ide.ui.internal.logical.ResourceVariantStorageProvider
- All Implemented Interfaces:
IStorageProvider
Allows access to the underlying IResourceVariant's storage.
-
Constructor Summary
ConstructorDescriptionResourceVariantStorageProvider
(org.eclipse.team.core.variants.IResourceVariant variant) Wraps a resource variant as a storage provider. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.resources.IStorage
getStorage
(org.eclipse.core.runtime.IProgressMonitor monitor) Retrieves the underlying storage of this provider.
-
Constructor Details
-
ResourceVariantStorageProvider
public ResourceVariantStorageProvider(org.eclipse.team.core.variants.IResourceVariant variant) Wraps a resource variant as a storage provider.- Parameters:
variant
- The wrapped resource variant.
-
-
Method Details
-
getStorage
public org.eclipse.core.resources.IStorage getStorage(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Retrieves the underlying storage of this provider.- Specified by:
getStorage
in interfaceIStorageProvider
- Parameters:
monitor
- Monitor on which to report progress information.- Returns:
- The underlying storage of this provider.
- Throws:
org.eclipse.core.runtime.CoreException
- Thrown if the underlying storage cannot be retrieved.- See Also:
-