projectviewer.importer
Class AllFilesFilter

java.lang.Object
  extended by projectviewer.importer.ImporterFileFilter
      extended by projectviewer.importer.AllFilesFilter
All Implemented Interfaces:
org.gjt.sp.jedit.io.VFSFileFilter

public class AllFilesFilter
extends ImporterFileFilter

The file filter that accepts everything.

Author:
Marcelo Vanzin

Field Summary
 
Fields inherited from interface org.gjt.sp.jedit.io.VFSFileFilter
SERVICE_NAME
 
Constructor Summary
AllFilesFilter()
           
 
Method Summary
 boolean accept(java.lang.String url)
          Calls VFSFileFilter.accept(VFSFile).
 boolean accept(org.gjt.sp.jedit.io.VFSFile file)
           
 java.lang.String getDescription()
           
 java.lang.String getRecurseDescription()
          This method will be called by the toString() method when showing this filter as an option to the dialog shown when asking about whether the user wants to recurse into the directories selected for importing.
 
Methods inherited from class projectviewer.importer.ImporterFileFilter
done, getId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllFilesFilter

public AllFilesFilter()
Method Detail

getDescription

public java.lang.String getDescription()

accept

public boolean accept(org.gjt.sp.jedit.io.VFSFile file)

accept

public boolean accept(java.lang.String url)
Description copied from class: ImporterFileFilter
Calls VFSFileFilter.accept(VFSFile).

Specified by:
accept in interface org.gjt.sp.jedit.io.VFSFileFilter
Overrides:
accept in class ImporterFileFilter

getRecurseDescription

public java.lang.String getRecurseDescription()
Description copied from class: ImporterFileFilter
This method will be called by the toString() method when showing this filter as an option to the dialog shown when asking about whether the user wants to recurse into the directories selected for importing.

It should return a short, descriptive string of what the filter does. For example, "Import all files." or "Use the CVS/Entries file."

Specified by:
getRecurseDescription in class ImporterFileFilter