Interface IDependencyProvider
-
@Beta public interface IDependencyProvider
Contract for clients of the org.eclipse.emf.ecompare.ide.ui.modelDependencies extension point.- Since:
- 4.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
apply(URI uri)
Specifies whether thisIDependencyProvider
can determine dependencies of the givenuri
.Set<URI>
getDependencies(URI uri, URIConverter uriConverter)
Determines the dependencies of the givenuri
.
-
-
-
Method Detail
-
apply
boolean apply(URI uri)
Specifies whether thisIDependencyProvider
can determine dependencies of the givenuri
.- Parameters:
uri
- TheURI
for which additional dependencies may be determined.- Returns:
true
if theIDependencyProvider
can provide dependencies for the givenuri
,false
otherwise.
-
getDependencies
Set<URI> getDependencies(URI uri, URIConverter uriConverter)
Determines the dependencies of the givenuri
.- Parameters:
uri
- TheURI
for which additional dependencies may be determined.uriConverter
- TheURIConverter
to produce an input stream for theURI
.- Returns:
- The set of dependencies of the given
uri
. If no dependency is determined an empty set is returned.
-
-