Interface IDependencyProvider
-
@Beta public interface IDependencyProviderContract 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 booleanapply(URI uri)Specifies whether thisIDependencyProvidercan 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 thisIDependencyProvidercan determine dependencies of the givenuri.- Parameters:
uri- TheURIfor which additional dependencies may be determined.- Returns:
trueif theIDependencyProvidercan provide dependencies for the givenuri,falseotherwise.
-
getDependencies
Set<URI> getDependencies(URI uri, URIConverter uriConverter)
Determines the dependencies of the givenuri.- Parameters:
uri- TheURIfor which additional dependencies may be determined.uriConverter- TheURIConverterto 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.
-
-