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
-
Method Summary
Modifier and TypeMethodDescriptionstatic final FastDiffFilter
getStateFilter
(int[] states, int mask) abstract boolean
Returntrue
if the providedIDiffNode
matches the filter.final boolean
select
(IDiff diff, IProgressMonitor monitor) Returntrue
if the providedIDiffNode
matches the filter.
-
Constructor Details
-
FastDiffFilter
public FastDiffFilter()
-
-
Method Details
-
getStateFilter
-
select
Description copied from class:DiffFilter
Returntrue
if the providedIDiffNode
matches the filter.- Specified by:
select
in classDiffFilter
- Parameters:
diff
- theIDiffNode
to be testedmonitor
- a progress monitor- Returns:
true
if theIDiffNode
matches the filter
-
select
Returntrue
if the providedIDiffNode
matches the filter.- Parameters:
diff
- theIDiffNode
to be tested- Returns:
true
if theIDiffNode
matches the filter
-