Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsFileFieldEditor Help
https://www.eclipse.org/forums/index.php/mv/msg/207802/665674/#msg_665674
I'm using a FileFieldEditor form jface plugin in a preference page to
allow user to select an executable file within her or his file system.
A problem comes when I select an "app" executable file in Mac OSX.
As it is actually a Folder, it is not considered to be a valid file
in "checkState" method of FileFieldEditor : the test "if
(file.isFile())" on line 137 obviously returns false and goes through
an error "value must be an existing file". As a result, "Apply" and "OK"
buttons are not enabled.
Am I misusing FileFieldEditor ? Is there another more suitable class ?
Is there a workaround for app mac "files" ? Should FileFieldEditor
handle 'app' files ?
Thks a lot,
frank
PS : org.eclipse.jface_3.5.2.M20100120-0800.jar]]>frank b2011-04-15T12:46:02-00:00Re: FileFieldEditor Help
https://www.eclipse.org/forums/index.php/mv/msg/207802/1457582/#msg_1457582
Alfred Sterphone2014-10-31T13:29:09-00:00Re: FileFieldEditor Help
https://www.eclipse.org/forums/index.php/mv/msg/207802/1462800/#msg_1462800
Sorry ignore
]]>Thibault Le Ouay2014-11-06T00:14:32-00:00