|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.
IDiff
,
IDiffTree
,
DiffFilter
Constructor Summary | |
---|---|
FastDiffFilter()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FastDiffFilter()
Method Detail |
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 monitor
true
if the IDiffNode
matches the filterpublic abstract boolean select(IDiff diff)
true
if the provided IDiffNode
matches the filter.
diff
- the IDiffNode
to be tested
true
if the IDiffNode
matches the filter
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.