Class SearchResultEvents.Added
java.lang.Object
java.util.EventObject
org.eclipse.search.ui.SearchResultEvent
com._1c.g5.v8.dt.internal.search.ui.SearchResultEvents.Added
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- SearchResultEvents
public static class SearchResultEvents.Added
extends org.eclipse.search.ui.SearchResultEvent
An event object describing addition of matches.
Events of this class are sent when
Match
es are added to an SearchResult
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionAdded
(SearchResult searchResult, Match... matches) Constructs a instance ofSearchResultEvents.Added
Added
(SearchResult searchResult, Collection<Match> matches) Constructs a instance ofSearchResultEvents.Added
-
Method Summary
Methods inherited from class org.eclipse.search.ui.SearchResultEvent
getSearchResult
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
Added
Constructs a instance ofSearchResultEvents.Added
- Parameters:
searchResult
- the search result concerned, cannot benull
matches
- the reason of event sending, cannot benull
-
Added
Constructs a instance ofSearchResultEvents.Added
- Parameters:
searchResult
- the search result concerned, cannot benull
matches
- the reason of event sending, cannot benull
-
-
Method Details
-
getMatches
Gets contain matches- Returns:
- array of matches, cannot be
null
-