public class ResourceDependencyProvider extends Object implements IResourceDependencyProvider
IResourceDependencyProvider.| Constructor and Description | 
|---|
| ResourceDependencyProvider(IResolutionContext context)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable<URI> | getDependenciesOf(org.eclipse.core.resources.IFile file)Provides the dependencies of the given file. | 
| Iterable<URI> | getDependenciesOf(org.eclipse.core.resources.IFile file,
                 Set<URI> bounds)Provides the dependencies of the given file. | 
| boolean | hasChild(URI parent,
        URI candidate)Indicates whether the given parent has the given URI as child according to the graph of dependencies. | 
| protected com.google.common.base.Predicate<URI> | isInContainer(org.eclipse.core.resources.IResource container)This predicate can be used to check wether a given URI points to a workspace resource contained in the
 given container. | 
public ResourceDependencyProvider(IResolutionContext context)
context - The resolution context, must not be null.public Iterable<URI> getDependenciesOf(org.eclipse.core.resources.IFile file)
IResourceDependencyProvidergetDependenciesOf in interface IResourceDependencyProviderfile - The fileURIs.public boolean hasChild(URI parent, URI candidate)
IResourceDependencyProviderhasChild in interface IResourceDependencyProviderparent - The parent URIcandidate - The candidate childtrue if and only if the candidate URI is known as a child of the parent URI in the
         graph of dependencies.public Iterable<URI> getDependenciesOf(org.eclipse.core.resources.IFile file, Set<URI> bounds)
IResourceDependencyProvidergetDependenciesOf in interface IResourceDependencyProviderfile - The filebounds - The bounds to exclude from the research, in cas the compared resources are part of the same
            logical model.URIs.protected com.google.common.base.Predicate<URI> isInContainer(org.eclipse.core.resources.IResource container)
container - The container in which we need the resources to be contained.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.