org.eclipse.actf.model.traverse.filters
Class NodeVisibilityFilter

java.lang.Object
  extended by org.eclipse.actf.model.traverse.filters.NodeVisibilityFilter
All Implemented Interfaces:
INodeFilter

public class NodeVisibilityFilter
extends Object
implements INodeFilter

This filter will exclude invisible items. If you wish to show all items, visible or invisible, remove it, or do not set it in the first place.

Author:
annford

Constructor Summary
NodeVisibilityFilter(IModel model)
           
 
Method Summary
 boolean pass(Object node)
          whether or not to admit this object through the filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeVisibilityFilter

public NodeVisibilityFilter(IModel model)
Method Detail

pass

public boolean pass(Object node)
Description copied from interface: INodeFilter
whether or not to admit this object through the filter

Specified by:
pass in interface INodeFilter
Returns:
true if this object should be included in successor node collections, false if it should be filtered