public class MacPathChooserDialog extends java.lang.Object implements PathChooserDialog, FileChooserDialog
PREFER_LAST_OVER_EXPLICIT
PREFER_LAST_OVER_TO_SELECT
Constructor and Description |
---|
MacPathChooserDialog(FileChooserDescriptor descriptor,
java.awt.Component parent,
Project project) |
Modifier and Type | Method and Description |
---|---|
VirtualFile [] |
choose(Project project,
VirtualFile... toSelect)
Choose one or more files
|
void |
choose(VirtualFile toSelect,
Consumer<? super java.util.List<VirtualFile>> callback) |
VirtualFile [] |
choose(VirtualFile toSelect,
Project project) |
public MacPathChooserDialog(FileChooserDescriptor descriptor, java.awt.Component parent, Project project)
public void choose(VirtualFile toSelect, Consumer<? super java.util.List<VirtualFile>> callback)
choose
in interface PathChooserDialog
public VirtualFile [] choose(VirtualFile toSelect, Project project)
choose
in interface FileChooserDialog
public VirtualFile [] choose(Project project, VirtualFile... toSelect)
FileChooserDialog
choose
in interface FileChooserDialog
project
- use this project (you may pass null if you already set project in ctor)toSelect
- files to be selected automatically.