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 from ISearchResults. This class is supposed to be subclassed to provide more specific notification.
Since:
3.0
See Also:
  • Constructor Details

    • SearchResultEvent

      protected SearchResultEvent(ISearchResult searchResult)
      Creates a new search result event for the given search result.
      Parameters:
      searchResult - the source of the event
  • Method Details

    • getSearchResult

      public ISearchResult getSearchResult()
      Gets the ISearchResult for this event.
      Returns:
      the source of this event