WorkspaceUtilities chooseFiles

Are you missing a feature? Request its implementation here.
jonathangudgion
Posts: 8
Joined: Tue Nov 15, 2011 12:53 pm

WorkspaceUtilities chooseFiles

Post 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
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: WorkspaceUtilities chooseFiles

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: WorkspaceUtilities chooseFiles

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply