com.ibm.jdg2e.view.files.ui
Class FileView.NameFilter

java.lang.Object
  extended byorg.eclipse.jface.viewers.ViewerFilter
      extended bycom.ibm.jdg2e.view.files.ui.FileView.NameFilter
Enclosing class:
FileView

class FileView.NameFilter
extends org.eclipse.jface.viewers.ViewerFilter

This filter identifies the files from the input source that should actually be displayed in the viewer. The string entred is parsed to substitute strings for regex values and then string matching logic is used against the file name.


Constructor Summary
(package private) FileView.NameFilter()
           
 
Method Summary
 boolean select(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object parentElement, java.lang.Object element)
          Revises the input string to prepare it for regex pattern matching and then determines if the current IFile name should be included in the set displayed by the viewer.
 
Methods inherited from class org.eclipse.jface.viewers.ViewerFilter
filter, isFilterProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileView.NameFilter

FileView.NameFilter()
Method Detail

select

public boolean select(org.eclipse.jface.viewers.Viewer viewer,
                      java.lang.Object parentElement,
                      java.lang.Object element)
Revises the input string to prepare it for regex pattern matching and then determines if the current IFile name should be included in the set displayed by the viewer.

See Also:
ViewerFilter.select(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)