Package org.eclipse.handly.ui.search

# Interface ISearchContentProvider

All Superinterfaces:
  `org.eclipse.jface.viewers.IContentProvider`, `org.eclipse.jface.viewers.IStructuredContentProvider`

All Known Implementing Classes:
  `AbstractSearchTreeContentProvider`, `SearchTableContentProvider`

public interface ISearchContentProvider extends org.eclipse.jface.viewers.IStructuredContentProvider
Represents a content provider for an `AbstractSearchResultPage`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clear()`
  Notifies that all elements have been removed from the displayed search result.
  `void`
  `elementsChanged(Object[] elements)`
  Notifies that the set of matches for the given elements has changed.

  ### Methods inherited from interface org.eclipse.jface.viewers.IContentProvider

  `dispose, inputChanged`

  ### Methods inherited from interface org.eclipse.jface.viewers.IStructuredContentProvider

  `getElements`

- ## Method Details

  - ### elementsChanged

    void elementsChanged(Object[] elements)
    Notifies that the set of matches for the given elements has changed.

    This method is guaranteed to be called in the UI thread. Note that this notification is asynchronous, i.e., further changes may have occurred by the time this method is called. They will be described in a future call.

    Parameters:
      `elements` - never `null`

  - ### clear

    void clear()
    Notifies that all elements have been removed from the displayed search result.

    This method is guaranteed to be called in the UI thread. Note that this notification is asynchronous, i.e., further changes may have occurred by the time this method is called. They will be described in a future call.