public class SearchTableContentProvider
extends java.lang.Object
ISearchContentProvider
for the table viewer.Constructor and Description |
---|
SearchTableContentProvider(AbstractSearchResultPage page)
Creates a new content provider for the given search result page.
|
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.
|
java.lang.Object[] |
getElements(java.lang.Object inputElement) |
protected AbstractSearchResultPage |
getPage()
Returns the search result page passed into the constructor.
|
public SearchTableContentProvider(AbstractSearchResultPage page)
page
- not null
public java.lang.Object[] getElements(java.lang.Object inputElement)
public void clear()
ISearchContentProvider
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.
public void elementsChanged(java.lang.Object[] elements)
ISearchContentProvider
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.
elements
- never null
protected AbstractSearchResultPage getPage()
null
)Copyright (c) 2014, 2019 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0