Eclipse Platform
Release 3.3

Uses of Class
org.eclipse.core.resources.mapping.ResourceTraversal

Packages that use ResourceTraversal
org.eclipse.core.resources.mapping Provides APIs for integrating application models with the workspace Package Specification This package specifies the APIs in the Resources plug-in that are used to integrate application models with the workspace.  
org.eclipse.ltk.core.refactoring.model Application programming interface to support logical models. 
org.eclipse.team.core.mapping Application programming interfaces for working with resource mappings Package Specification This package specifies the API for working with resources mappings.  
org.eclipse.team.core.mapping.provider Application programming interfaces for working with resource mappings Package Specification This package specifies the API for working with resources mappings.  
org.eclipse.team.core.subscribers Application programming interfaces for generating and refreshing synchronization state.  
org.eclipse.team.ui.mapping Application programming interfaces for working with resource mappings Package Specification This package specifies the API for working with resources mappings.  
 

Uses of ResourceTraversal in org.eclipse.core.resources.mapping
 

Methods in org.eclipse.core.resources.mapping that return ResourceTraversal
abstract  ResourceTraversal[] ResourceMapping.getTraversals(ResourceMappingContext context, IProgressMonitor monitor)
          Returns one or more traversals that can be used to access all the physical resources that constitute the logical resource.
 ResourceTraversal[] ModelProvider.getTraversals(ResourceMapping[] mappings, ResourceMappingContext context, IProgressMonitor monitor)
          Return a set of traversals that cover the given resource mappings.
 ResourceTraversal[] IModelProviderDescriptor.getMatchingTraversals(ResourceTraversal[] traversals)
          Return the set of traversals that overlap with the resources that this descriptor matches.
 ResourceTraversal[] CompositeResourceMapping.getTraversals(ResourceMappingContext context, IProgressMonitor monitor)
           
 

Methods in org.eclipse.core.resources.mapping with parameters of type ResourceTraversal
abstract  void RemoteResourceMappingContext.refresh(ResourceTraversal[] traversals, int flags, IProgressMonitor monitor)
          Refresh the known remote state for any resources covered by the given traversals.
 ResourceMapping[] ModelProvider.getMappings(ResourceTraversal[] traversals, ResourceMappingContext context, IProgressMonitor monitor)
          Return the set of mappings that overlap with the given resource traversals.
 ResourceTraversal[] IModelProviderDescriptor.getMatchingTraversals(ResourceTraversal[] traversals)
          Return the set of traversals that overlap with the resources that this descriptor matches.
 

Uses of ResourceTraversal in org.eclipse.ltk.core.refactoring.model
 

Methods in org.eclipse.ltk.core.refactoring.model that return ResourceTraversal
 ResourceTraversal[] AbstractRefactoringHistoryResourceMapping.getTraversals(ResourceMappingContext context, IProgressMonitor monitor)
          Returns one or more traversals that can be used to access all the physical resources that constitute the logical resource. A traversal is simply a set of resources and the depth to which they are to be traversed. This method returns an array of traversals in order to provide flexibility in describing the traversals that constitute a model element.

Subclasses should, when possible, include all resources that are or may be members of the model element. For instance, a model element should return the same list of resources regardless of the existence of the files on the file system. For example, if a logical resource called "form" maps to "/p1/form.xml" and "/p1/form.java" then whether form.xml or form.java existed, they should be returned by this method.

In some cases, it may not be possible for a model element to know all the resources that may constitute the element without accessing the state of the model element in another location (e.g. a repository). This method is provided with a context which, when provided, gives access to the members of corresponding remote containers and the contents of corresponding remote files. This gives the model element the opportunity to deduce what additional resources should be included in the traversal.

 ResourceTraversal[] AbstractRefactoringDescriptorResourceMapping.getTraversals(ResourceMappingContext context, IProgressMonitor monitor)
          Returns one or more traversals that can be used to access all the physical resources that constitute the logical resource. A traversal is simply a set of resources and the depth to which they are to be traversed. This method returns an array of traversals in order to provide flexibility in describing the traversals that constitute a model element.

Subclasses should, when possible, include all resources that are or may be members of the model element. For instance, a model element should return the same list of resources regardless of the existence of the files on the file system. For example, if a logical resource called "form" maps to "/p1/form.xml" and "/p1/form.java" then whether form.xml or form.java existed, they should be returned by this method.

In some cases, it may not be possible for a model element to know all the resources that may constitute the element without accessing the state of the model element in another location (e.g. a repository). This method is provided with a context which, when provided, gives access to the members of corresponding remote containers and the contents of corresponding remote files. This gives the model element the opportunity to deduce what additional resources should be included in the traversal.

 

Uses of ResourceTraversal in org.eclipse.team.core.mapping
 

Methods in org.eclipse.team.core.mapping that return ResourceTraversal
 ResourceTraversal[] ISynchronizationScopeManager.refresh(ResourceMapping[] mappings, IProgressMonitor monitor)
          Refresh the scope of this manager for the given mappings.
 ResourceTraversal[] ISynchronizationScope.getTraversals()
          Return an array of traversals that cover the resource mappings to be operated on as returned by the ISynchronizationScope.getMappings() method.
 ResourceTraversal[] ISynchronizationScope.getTraversals(ResourceMapping mapping)
          Return an array of traversals that cover the given resource mapping to be operated on.
 ResourceTraversal[] ISynchronizationScope.getTraversals(String modelProviderId)
          Return the set of traversals that cover the mappings for the given model provider.
 

Methods in org.eclipse.team.core.mapping with parameters of type ResourceTraversal
 void ISynchronizationScopeChangeListener.scopeChanged(ISynchronizationScope scope, ResourceMapping[] mappings, ResourceTraversal[] traversals)
          Notification that the scope has changed.
 void ISynchronizationContext.refresh(ResourceTraversal[] traversals, int flags, IProgressMonitor monitor)
          Refresh the context in order to update the diff tree returned by ISynchronizationContext.getDiffTree() to include the latest synchronization state for the resources.
 void IResourceDiffTree.accept(ResourceTraversal[] traversals, IDiffVisitor visitor)
          Visit all diffs in this tree that are covered by the given traversals.
 IDiff[] IResourceDiffTree.getDiffs(ResourceTraversal[] traversals)
          Return all the diffs in the tree that are contained in the given traversals.
 boolean IResourceDiffTree.hasMatchingDiffs(ResourceTraversal[] traversals, FastDiffFilter filter)
          Return whether the this diff tree contains any diffs that match the given filter within the given traversals.
 

Uses of ResourceTraversal in org.eclipse.team.core.mapping.provider
 

Methods in org.eclipse.team.core.mapping.provider that return ResourceTraversal
 ResourceTraversal[] SynchronizationScopeManager.refresh(ResourceMapping[] mappings, IProgressMonitor monitor)
           
protected  ResourceTraversal[] SynchronizationScopeManager.adjustInputTraversals(ResourceTraversal[] traversals)
          Adjust the given set of input resources to include any additional resources required by a particular repository provider for the current operation.
protected  ResourceTraversal[] SynchronizationScopeManager.addMappingToScope(ResourceMapping mapping, ResourceTraversal[] traversals)
          Add the mapping and its calculated traversals to the scope.
 

Methods in org.eclipse.team.core.mapping.provider with parameters of type ResourceTraversal
static ResourceMapping[] SynchronizationScopeManager.getMappingsFromProviders(ResourceTraversal[] traversals, ResourceMappingContext context, IProgressMonitor monitor)
          Convenience method for obtaining the set of resource mappings from all model providers that overlap with the given resources.
protected  ResourceTraversal[] SynchronizationScopeManager.adjustInputTraversals(ResourceTraversal[] traversals)
          Adjust the given set of input resources to include any additional resources required by a particular repository provider for the current operation.
protected  ResourceTraversal[] SynchronizationScopeManager.addMappingToScope(ResourceMapping mapping, ResourceTraversal[] traversals)
          Add the mapping and its calculated traversals to the scope.
 void ResourceDiffTree.accept(ResourceTraversal[] traversals, IDiffVisitor visitor)
           
 IDiff[] ResourceDiffTree.getDiffs(ResourceTraversal[] traversals)
           
 boolean ResourceDiffTree.hasMatchingDiffs(ResourceTraversal[] traversals, FastDiffFilter filter)
           
 

Uses of ResourceTraversal in org.eclipse.team.core.subscribers
 

Methods in org.eclipse.team.core.subscribers that return ResourceTraversal
 ResourceTraversal[] SubscriberScopeManager.refresh(ResourceMapping[] mappings, IProgressMonitor monitor)
           
 

Methods in org.eclipse.team.core.subscribers with parameters of type ResourceTraversal
 void SubscriberResourceMappingContext.refresh(ResourceTraversal[] traversals, int flags, IProgressMonitor monitor)
           
 void SubscriberMergeContext.refresh(ResourceTraversal[] traversals, int flags, IProgressMonitor monitor)
           
 void Subscriber.accept(ResourceTraversal[] traversals, IDiffVisitor visitor)
          Visit any out-of-sync resources covered by the given traversals.
 void Subscriber.refresh(ResourceTraversal[] traversals, IProgressMonitor monitor)
          Refresh the subscriber for the given traversals.
 

Uses of ResourceTraversal in org.eclipse.team.ui.mapping
 

Methods in org.eclipse.team.ui.mapping that return ResourceTraversal
protected abstract  ResourceTraversal[] SynchronizationContentProvider.getTraversals(ISynchronizationContext context, Object object)
          Return the traversals for the given object in the given context.
 


Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.