Community
Participate
Working Groups
Using SWT's FileDialog with SWT.OPEN and SWT.MULTI as the flags I can select many files. Using SWT's DirectoryDialog I can select a directory. But what I really would like is one single Dialog that can select a mixture of both files and directories and return an array of String[] file paths for the mixed selection. Swing's JFileChooser can do this, and may serve as a model for implementation. I don't think any of the platforms have native support for such a dialog, but maybe something could be created in SWT?
None of the native file dialogs allow this. Unfortunately, we have to stick with what they can do.