public interface IRepairReferencesProvider
URI
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
fixID(org.eclipse.emf.common.util.URI uri,
java.util.Set<java.lang.String> brokenIDs)
Given a set of broken IDs for a particular URI, this method should
resolve the broken IDs into correct IDs by returning a map of broken IDs
versus fixed IDs.
|
org.eclipse.emf.common.util.URI |
fixURI(org.eclipse.emf.common.util.URI uri)
Given a potential broken URI, return the correct URI.
|
boolean |
provides(org.eclipse.emf.common.util.URI uri)
Determines if the given URI can be handled by this provider.
|
boolean provides(org.eclipse.emf.common.util.URI uri)
uri
- that this provider can handle. May or may not be a broken URI,
as long as this provider can recognize it and handle it.URI
java.util.Map<java.lang.String,java.lang.String> fixID(org.eclipse.emf.common.util.URI uri, java.util.Set<java.lang.String> brokenIDs)
IMPORTANT: The Value in the map is the FIXED ID
The URI argument is assumed to be the CORRECT, resolvable external resource URI. If the URI pertaining to this set of IDs was also broken, it will first be fixed (see the appropriate fix URI method) and THEN passed into this method. To fix the URI if the URI is also broken, see the appropriate API for fixing URI This method may be invoked multiple times by the framework if there are several URIs, each with a set of IDs, which this provider can handle, so it is possible to have this provider handle multiple sets of IDs per URI.uri
- pertaining to the set of broken IDs to be fixed. This URI is
the CORRECT or FIXED URI.brokenIDs
- to fix for the given URI.provides(URI)
,
fixURI(URI)
,
URI
org.eclipse.emf.common.util.URI fixURI(org.eclipse.emf.common.util.URI uri)
uri
- to fix.URI