Package org.eclipse.search.ui
Class SearchResultEvent
java.lang.Object
java.util.EventObject
org.eclipse.search.ui.SearchResultEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FilterUpdateEvent
,MatchEvent
,RemoveAllEvent
The common superclass of all events sent from
ISearchResults
.
This class is supposed to be subclassed to provide more specific
notification.- Since:
- 3.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ModifierConstructorDescriptionprotected
SearchResultEvent
(ISearchResult searchResult) Creates a new search result event for the given search result. -
Method Summary
Modifier and TypeMethodDescriptionGets theISearchResult
for this event.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
SearchResultEvent
Creates a new search result event for the given search result.- Parameters:
searchResult
- the source of the event
-
-
Method Details
-
getSearchResult
Gets theISearchResult
for this event.- Returns:
- the source of this event
-