Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Commercial » FileDialogue setFilterExtension method not working in MAC OS(SWT FileDialogue in MAC OS)
FileDialogue setFilterExtension method not working in MAC OS [message #514690] Tue, 16 February 2010 11:12
rajeev  is currently offline rajeev Friend
Messages: 2
Registered: February 2010
Junior Member
I am setting some filter Extension in FileDialogue window which is working fine for windows and Linux OS but on MAC it is not able to filter and files are coming as hidden.
Here is sample code:

String[] wgzextension = {" Config.xml;config.xml;info.plist;Info.plist;*.wgt;*.wgz;*.zi p " };

String[] names = {"All WRT Files (Config.xml;Info.plist;*.wgt;*.wgz;*.zip)"};

wrtFileSelectionDlg.setFilterExtensions(wgzextension);
wrtFileSelectionDlg.setFilterNames(names);

However if i code like this :
String[] wgzextension = {"*.xml;*.plist;*.wgt;*.wgz;*.zip" };

then files are filtered properly and can be selected(not hidden one).

Pls let me know how this can done with option 1.

Rajeev
Previous Topic:[ANN] PosterGenius 1.5 (Eclipse RCP) released
Next Topic:FileDialogue setFilterExtension method not working in MAC OS
Goto Forum:
  


Current Time: Sat Apr 27 03:31:52 GMT 2024

Powered by FUDForum. Page generated in 0.02909 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top