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
public abstract class SearchResultEvent extends EventObject
The common superclass of all events sent fromISearchResults
. This class is supposed to be subclassed to provide more specific notification.- Since:
- 3.0
- See Also:
ISearchResultListener.searchResultChanged(SearchResultEvent)
, Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SearchResultEvent(ISearchResult searchResult)
Creates a new search result event for the given search result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISearchResult
getSearchResult()
Gets theISearchResult
for this event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
SearchResultEvent
protected SearchResultEvent(ISearchResult searchResult)
Creates a new search result event for the given search result.- Parameters:
searchResult
- the source of the event
-
-
Method Detail
-
getSearchResult
public ISearchResult getSearchResult()
Gets theISearchResult
for this event.- Returns:
- the source of this event
-
-