projectviewer.importer
Class NonProjectFileFilter
java.lang.Object
projectviewer.importer.ImporterFileFilter
projectviewer.importer.NonProjectFileFilter
- All Implemented Interfaces:
- org.gjt.sp.jedit.io.VFSFileFilter
public class NonProjectFileFilter
- extends ImporterFileFilter
A FileFilter that filters out files already added to the project.
- Since:
- PV 2.1.1 (was a protected inner class in FileImporter before this)
- Author:
- Marcelo Vanzin
Fields inherited from interface org.gjt.sp.jedit.io.VFSFileFilter |
SERVICE_NAME |
Method Summary |
boolean |
accept(java.lang.String url)
Calls VFSFileFilter.accept(VFSFile) . |
boolean |
accept(org.gjt.sp.jedit.io.VFSFile f)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NonProjectFileFilter
public NonProjectFileFilter(VPTProject project)
getDescription
public java.lang.String getDescription()
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
accept
public boolean accept(org.gjt.sp.jedit.io.VFSFile f)
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