org.eclipse.jface.viewers
Class AcceptAllFilter
java.lang.Object
org.eclipse.jface.viewers.AcceptAllFilter
-
All Implemented Interfaces:
-
IFilter
-
public final class AcceptAllFilter
- extends
Object
- implements
IFilter
Filter that accepts everything. Available as a singleton since having
more than one instance would be wasteful.
-
Since:
- 3.1
AcceptAllFilter
public AcceptAllFilter()
getInstance
public static
IFilter getInstance()
- Returns the singleton instance of AcceptAllFilter
-
-
-
Returns:
- the singleton instance of AcceptAllFilter
select
public boolean select(
Object toTest)
-
Description copied from interface:
IFilter
- Determines if the given object passes this filter.
-
-
Specified by:
-
select
in interface
IFilter
-
-
Parameters:
-
toTest
- object to compare against the filter
-
Returns:
-
true
if the object is accepted by the filter.
equals
public boolean equals(
Object other)
-
-
Overrides:
-
equals
in class
Object
-
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.