@Beta
public interface IStorage2UriMapperContribution
IStorage2UriMapper
that allows to
contribute additional storages for a uri, or to compute the URI
from a given storage
.Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<Pair<org.eclipse.core.resources.IStorage,org.eclipse.core.resources.IProject>> |
getStorages(org.eclipse.emf.common.util.URI uri)
Returns all the pairs of
IStorage and IProject that map to
the given URI , e.g. if the uri points to an archive file that is
used by different projects, all known references should be returned. |
org.eclipse.emf.common.util.URI |
getUri(org.eclipse.core.resources.IStorage storage)
Returns the URI for the given storage or
null if this contribution
does no handle the storage explicitly. |
void |
initializeCache()
Initialize any local caching.
|
boolean |
isRejected(org.eclipse.core.resources.IFolder folder)
Allows to reject a given folder, e.g. the bin folder of a
java project . |
void initializeCache()
boolean isRejected(@NonNull org.eclipse.core.resources.IFolder folder)
java project
.@NonNull java.lang.Iterable<Pair<org.eclipse.core.resources.IStorage,org.eclipse.core.resources.IProject>> getStorages(@NonNull org.eclipse.emf.common.util.URI uri)
IStorage
and IProject
that map to
the given URI
, e.g. if the uri points to an archive file that is
used by different projects, all known references should be returned.@Nullable org.eclipse.emf.common.util.URI getUri(@NonNull org.eclipse.core.resources.IStorage storage)
null
if this contribution
does no handle the storage explicitly.