public class FileRevisionStorageProvider extends Object implements IStorageProvider
Constructor and Description |
---|
FileRevisionStorageProvider(org.eclipse.team.core.history.IFileRevision revision)
Wraps a file revision as a storage provider.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.resources.IStorage |
getStorage(org.eclipse.core.runtime.IProgressMonitor monitor)
Retrieves the underlying storage of this provider.
|
public FileRevisionStorageProvider(org.eclipse.team.core.history.IFileRevision revision)
revision
- The wrapped file revision.public org.eclipse.core.resources.IStorage getStorage(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
getStorage
in interface IStorageProvider
monitor
- Monitor on which to report progress information.org.eclipse.core.runtime.CoreException
- Thrown if the underlying storage cannot be retrieved.IStorageProvider.getStorage(org.eclipse.core.runtime.IProgressMonitor)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.