The ui manager method is designed to be compatible with the pre-existing MorphicToollBuilder usage... You should write as such: UIManager default chooseFileMatching: #('mse') label: 'Import model from MSE file.'. It is unfortunate that the method name is somewhat misleading. Regards, Gary ----- Original Message ----- From: "Tudor Girba" <girba@iam.unibe.ch> To: "Pharo Development" <pharo-project@lists.gforge.inria.fr> Sent: Tuesday, August 04, 2009 11:32 PM Subject: [Pharo-project] file dialog
Hi,
I need to load a file from the disk.
I am invoking: UIManager default chooseFileMatching: '*.mse' label: 'Import model from MSE file.'.
The problem is that I do not see any files, even though I have files with .mse ending in the directory. Also, even if I pass '*.*' I still cannot see the files (only the directories).
Could anyone tell me what I am doing wrong?
Cheers, Doru
-- www.tudorgirba.com
"Next time you see your life passing by, say 'hi' and get to know her."
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project