Module jEdit

Class AllBufferSet

java.lang.Object
org.gjt.sp.jedit.search.BufferListSet
org.gjt.sp.jedit.search.AllBufferSet
All Implemented Interfaces:
SearchFileSet

public class AllBufferSet extends BufferListSet
A file set for searching all open buffers in a view.
Version:
$Id: AllBufferSet.java 25108 2020-03-31 22:41:49Z kpouer $
Author:
Slava Pestov
  • Constructor Details

    • AllBufferSet

      public AllBufferSet(String glob, View view)
      Creates a view buffer set.
      Parameters:
      glob - The filename glob
      view - The view to check for open buffers
      Since:
      jEdit 5.1pre1
  • Method Details

    • getView

      public View getView()
      Since:
      jEdit 5.1pre1
    • getFileFilter

      public String getFileFilter()
      Returns the filename filter.
      Since:
      jEdit 2.7pre3
    • getCode

      public String getCode()
      Returns the BeanShell code that will recreate this file set.
      Specified by:
      getCode in interface SearchFileSet
      Overrides:
      getCode in class BufferListSet
      Since:
      jEdit 2.7pre3
    • _getFiles

      protected String[] _getFiles(Component comp)
      Description copied from class: BufferListSet
      Note that the paths in the returned list must be fully canonicalized.
      Specified by:
      _getFiles in class BufferListSet