public class FileChooserFactoryImpl extends Object implements FileChooserFactory
| Constructor and Description |
|---|
FileChooserFactoryImpl(Workbench workbench,
Preferences preferences) |
| Modifier and Type | Method and Description |
|---|---|
FileChooser |
getFileChooser(String preferencesKey)
Same as calling getFileChooser(preferencesKey, null, null)
|
FileChooser |
getFileChooser(String preferencesKey,
String matchDescription,
List<String> matchPatterns)
Get a file chooser.
|
public FileChooserFactoryImpl(Workbench workbench, Preferences preferences)
public FileChooser getFileChooser(String preferencesKey, String matchDescription, List<String> matchPatterns)
FileChooserFactorygetFileChooser in interface FileChooserFactorypreferencesKey - The key used by the file chooser to store the recently used
directory and files. May not be null or empty, may not contain /,
max 80 characters.matchDescription - A displayble description of the filename patterns - e.g.
'Image files'. May be null.matchPatterns - A list of regular expressions that is used to filter the
selectable files. May be null or empty, which means that no
files should be excluded.public FileChooser getFileChooser(String preferencesKey)
FileChooserFactorygetFileChooser in interface FileChooserFactoryCopyright © 2012. All Rights Reserved.