net.sourceforge.java.feednread.frontend.components.newstable
Class NewsFeedTableViewerTaggedFilter
java.lang.Object
org.eclipse.jface.viewers.ViewerFilter
net.sourceforge.java.feednread.frontend.components.newstable.NewsFeedTableViewerTaggedFilter
- public class NewsFeedTableViewerTaggedFilter
- extends ViewerFilter
Selects all tagged NewsFeedEntry objects, i.e. filters out all
untagged NewsFeedEntry objects.
- Author:
- Sebastian Machhausen
|
Method Summary |
boolean |
select(Viewer viewer,
Object parentElement,
Object element)
Decides whether or not the element in the
parentElement structure displayed in the specified
Viewer has to be selected.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewsFeedTableViewerTaggedFilter
public NewsFeedTableViewerTaggedFilter()
select
public boolean select(Viewer viewer,
Object parentElement,
Object element)
Decides whether or not the element in the
parentElement structure displayed in the specified
Viewer has to be selected.
The selection is based on the tagged status of the
NewsFeedEntry element. A tagged news
element is selected whereas an untagged news
element is rejected.
- Parameters:
viewer - the Viewer for which selection is doneparentElement - the parent elementelement - the element to potentially select
- Returns:
true if the specified element was
selected; false it was rejected