Page 1 of 1

showFileOpenDialog - Remove ALL Files from filter

PostPosted: Fri Apr 27, 2012 8:28 pm
by kschuster
I"m using this
var f = plugins.file.showFileOpenDialog(1,null,false,new Array("txt,csv","txt","csv"));

When I run it I get the filter in the selector for txt and csv - but I also get ALL Files as a filter... How do i remove that option?

I'm in Windows running client with version 6.06

Re: showFileOpenDialog - Remove ALL Files from filter

PostPosted: Tue May 01, 2012 9:41 am
by jcompagner
you can't remove that option currently, it is by default enabled on the JFileChooser dialog we have to call an extra method for that to remove that filter.
Create a case for this

Re: showFileOpenDialog - Remove ALL Files from filter

PostPosted: Wed May 02, 2012 4:42 am
by kschuster
"Create a case for this"... newbie here... what is it you want me to do?

From what I gather it would have to be an enhancement request to get that removed...?

Re: showFileOpenDialog - Remove ALL Files from filter

PostPosted: Thu May 03, 2012 12:34 pm
by jcompagner