Package org.eclipse.search.ui.text
Class FilterUpdateEvent
java.lang.Object
java.util.EventObject
org.eclipse.search.ui.SearchResultEvent
org.eclipse.search.ui.text.FilterUpdateEvent
- All Implemented Interfaces:
Serializable
An event object describing that the filter state of the given
matches
has been updated or
match filters
have been reconfigured.
Clients may instantiate or subclass this class.
- Since:
- 3.3
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionFilterUpdateEvent
(ISearchResult searchResult, Match[] matches, MatchFilter[] filters) Constructs a newFilterUpdateEvent
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the the filters currently set, ornull
if filters have been disabled.Match[]
Returns the matches updated by the filter update.Methods inherited from class org.eclipse.search.ui.SearchResultEvent
getSearchResult
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
FilterUpdateEvent
Constructs a newFilterUpdateEvent
.- Parameters:
searchResult
- the search result concernedmatches
- the matches updated by the filter changefilters
- the currently activated filters
-
-
Method Details
-
getUpdatedMatches
Returns the matches updated by the filter update.- Returns:
- the matches updated by the filter update
-
getActiveFilters
Returns the the filters currently set, ornull
if filters have been disabled.- Returns:
- the filters currently set
-