1 11 package org.eclipse.team.core.mapping; 12 13 import org.eclipse.core.resources.IResource; 14 import org.eclipse.core.resources.mapping.ResourceTraversal; 15 import org.eclipse.team.core.diff.*; 16 import org.eclipse.team.core.mapping.provider.ResourceDiffTree; 17 18 32 public interface IResourceDiffTree extends IDiffTree { 33 34 42 IDiff getDiff(IResource resource); 43 44 51 IResource getResource(IDiff diff); 52 53 59 void accept(ResourceTraversal[] traversals, IDiffVisitor visitor); 60 61 69 IDiff[] getDiffs(ResourceTraversal[] traversals); 70 71 80 IDiff[] getDiffs(IResource resource, int depth); 81 82 90 IResource[] members(IResource resource); 91 92 98 IResource[] getAffectedResources(); 99 100 107 public boolean hasMatchingDiffs(ResourceTraversal[] traversals, final FastDiffFilter filter); 108 109 } 110 | Popular Tags |