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

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

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

      `getElements`

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

      `dispose, inputChanged`

- - ### Method Detail

    - #### elementsChanged

          void elementsChanged(java.lang.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.

Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0