1 11 package org.eclipse.team.core.diff; 12 13 import org.eclipse.core.runtime.*; 14 15 27 public interface IDiffTree { 28 29 32 public static final int P_BUSY_HINT = 1; 33 34 37 public static final int P_HAS_DESCENDANT_CONFLICTS = 2; 38 39 46 public void addDiffChangeListener(IDiffChangeListener listener); 47 48 54 public void removeDiffChangeListener(IDiffChangeListener listener); 55 56 68 public void accept(IPath path, IDiffVisitor visitor, int depth); 69 70 84 public IDiff getDiff(IPath path); 85 86 95 public IPath[] getChildren(IPath parent); 96 97 101 public int size(); 102 103 107 public boolean isEmpty(); 108 109 123 public long countFor(int state, int mask); 124 125 131 public void setBusy(IDiff[] diffs, IProgressMonitor monitor); 132 133 139 public boolean getProperty(IPath path, int property); 140 141 142 147 public void clearBusy(IProgressMonitor monitor); 148 149 156 public boolean hasMatchingDiffs(IPath path, final FastDiffFilter filter); 157 158 } 159 | Popular Tags |