public interface IStoragePathProvider2 extends IStoragePathProvider
Implementors can provide an adapter from a given IStorage implementation to a sub-class of this interface to provide EMF Compare with a mean to compute the absolute path.
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IPath |
computeAbsolutePath(org.eclipse.core.resources.IStorage storage)
Allows EMF compare to query for the absolute path of the given IStorage.
|
computeFixedPath
org.eclipse.core.runtime.IPath computeAbsolutePath(org.eclipse.core.resources.IStorage storage)
The returned path must be absolute and may not be null
. The resource pointed to by this
path is not required to exist locally.
storage
- storage The storage for which we seek an absolute path.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.