Package org.eclipse.team.core.diff
Class FastDiffFilter
java.lang.Object
org.eclipse.team.core.diff.DiffFilter
org.eclipse.team.core.diff.FastDiffFilter
A specialized
DiffNodeFilter that does not require a progress monitor.
This enables these filters to be used when determining menu enablement or other
operations that must be short running.- Since:
- 3.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final FastDiffFiltergetStateFilter(int[] states, int mask) abstract booleanReturntrueif the providedIDiffNodematches the filter.final booleanselect(IDiff diff, IProgressMonitor monitor) Returntrueif the providedIDiffNodematches the filter.
-
Constructor Details
-
FastDiffFilter
public FastDiffFilter()
-
-
Method Details
-
getStateFilter
-
select
Description copied from class:DiffFilterReturntrueif the providedIDiffNodematches the filter.- Specified by:
selectin classDiffFilter- Parameters:
diff- theIDiffNodeto be testedmonitor- a progress monitor- Returns:
trueif theIDiffNodematches the filter
-
select
Returntrueif the providedIDiffNodematches the filter.- Parameters:
diff- theIDiffNodeto be tested- Returns:
trueif theIDiffNodematches the filter
-