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)
DiffFiltertrue if the provided IDiffNode matches the filter.select in class DiffFilterdiff - 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 filterGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.