public abstract class FastDiffFilter extends DiffFilter
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.IDiff
,
IDiffTree
,
DiffFilter
Constructor and Description |
---|
FastDiffFilter() |
Modifier and Type | Method and Description |
---|---|
static FastDiffFilter |
getStateFilter(int[] states,
int mask) |
abstract boolean |
select(IDiff diff)
Return
true if the provided IDiffNode matches the filter. |
boolean |
select(IDiff diff,
IProgressMonitor monitor)
Return
true if the provided IDiffNode matches the filter. |
public static final FastDiffFilter getStateFilter(int[] states, int mask)
public final boolean select(IDiff diff, IProgressMonitor monitor)
DiffFilter
true
if the provided IDiffNode
matches the filter.select
in class DiffFilter
diff
- the IDiffNode
to be testedmonitor
- a progress monitortrue
if the IDiffNode
matches the filterpublic abstract boolean select(IDiff diff)
true
if the provided IDiffNode
matches the filter.diff
- the IDiffNode
to be testedtrue
if the IDiffNode
matches the filter
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.