java.lang.Object
org.gjt.sp.jedit.search.BufferListSet
- All Implemented Interfaces:
- SearchFileSet
- Direct Known Subclasses:
- AllBufferSet, DirectoryListSet
- public abstract class BufferListSet
- extends java.lang.Object
- implements SearchFileSet
A file set for searching a user-specified list of buffers.
- Version:
- $Id: BufferListSet.java,v 1.5 2003/02/05 15:44:05 spestov Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
files
private java.lang.String[] files
BufferListSet
public BufferListSet()
getFirstFile
public java.lang.String getFirstFile(org.gjt.sp.jedit.View view)
- Description copied from interface:
SearchFileSet
- Returns the first file to search.
- Specified by:
getFirstFile in interface SearchFileSet
getNextFile
public java.lang.String getNextFile(org.gjt.sp.jedit.View view,
java.lang.String file)
- Description copied from interface:
SearchFileSet
- Returns the next file to search.
- Specified by:
getNextFile in interface SearchFileSet
getFiles
public java.lang.String[] getFiles(org.gjt.sp.jedit.View view)
- Description copied from interface:
SearchFileSet
- Returns all path names in this file set.
- Specified by:
getFiles in interface SearchFileSet
getFileCount
public int getFileCount(org.gjt.sp.jedit.View view)
- Description copied from interface:
SearchFileSet
- Returns the number of files in this file set.
- Specified by:
getFileCount in interface SearchFileSet
getCode
public java.lang.String getCode()
- Description copied from interface:
SearchFileSet
- Returns the BeanShell code that will recreate this file set.
- Specified by:
getCode in interface SearchFileSet
invalidateCachedList
public void invalidateCachedList()
_getFiles
protected abstract java.lang.String[] _getFiles(java.awt.Component comp)