public class FilterUpdateEvent extends SearchResultEvent
matches
has been updated or
match filters
have been reconfigured.
Clients may instantiate or subclass this class.
source
Constructor and Description |
---|
FilterUpdateEvent(ISearchResult searchResult,
Match[] matches,
MatchFilter[] filters)
Constructs a new
FilterUpdateEvent . |
Modifier and Type | Method and Description |
---|---|
MatchFilter[] |
getActiveFilters()
Returns the the filters currently set, or
null if filters have been disabled. |
Match[] |
getUpdatedMatches()
Returns the matches updated by the filter update.
|
getSearchResult
getSource, toString
public FilterUpdateEvent(ISearchResult searchResult, Match[] matches, MatchFilter[] filters)
FilterUpdateEvent
.searchResult
- the search result concernedmatches
- the matches updated by the filter changefilters
- the currently activated filterspublic Match[] getUpdatedMatches()
public MatchFilter[] getActiveFilters()
null
if filters have been disabled.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.