return new BufferListSet(bufferList.getSelectedValues());
{ Object[] values = bufferList.getSelectedValues(); if(values == null || values.length == 0) return new CurrentBufferSet(); else return new BufferListSet(values); }
	public SearchFileSet getSearchFileSet()	{		if(!isOK)			return null;		if(current.getModel().isSelected())			return new CurrentBufferSet();		else if(all.getModel().isSelected())			return new AllBufferSet();		else if(selected.getModel().isSelected())			return new BufferListSet(bufferList.getSelectedValues());		else if(directory.getModel().isSelected())		{			String _directory = directoryPath.getText();			String _glob = (String)directoryGlob.getSelectedItem();			boolean _recurse = directoryRecurse.getModel()				.isSelected();			jEdit.setProperty("multifile.directory.path.value",_directory);			jEdit.setProperty("multifile.directory.glob.value",_glob);			jEdit.setProperty("multifile.directory.recurse.value",				_recurse ? "on" : "off");			return new DirectoryListSet(_directory,_glob,_recurse);		}		else			return null;	}