Page 1 of 1

WorkspaceUtilities chooseFiles

Posted: Wed Sep 18, 2013 4:26 pm
by jonathangudgion
Would it be possible to add another method to WorkspaceUtilities called chooseFiles which would be exactly the same as chooseFile but allow the user to select multiple files instead of a single file?

I think that chooseFile uses your WindowsNativeHelper dll on Windows to create a better file browser than the default JFileChooser

I can't believe that I'm the only person using the Author API who needs this kind of functionality but I can't find any other posts asking for it which would make this request a stronger one!

Jonathan

Re: WorkspaceUtilities chooseFiles

Posted: Wed Sep 18, 2013 5:04 pm
by Radu
Hi Jonathan,

I added an improvement request for the new API method, we'll update this post when this happens.
Indeed the benefits of not using directly a swing JFileChoose would be that on Windows the native file chooser is used and on Mac the AWT file chooser is used (which also looks like the native MAC finder).

Regards,
Radu

Re: WorkspaceUtilities chooseFiles

Posted: Mon Jan 27, 2014 1:55 pm
by Radu
Hi Jonathan,

Oxygen 15.2 was released about a week ago and should also contain this API that you requested:

WorkspaceUtilities.chooseFiles(File, String, String[], String)

Regards,
Radu