|FileFieldEditor Help [message #665674]
||Fri, 15 April 2011 08:46
| frank b
Registered: July 2009
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,
PS : org.eclipse.jface_3.5.2.M20100120-0800.jar
Powered by FUDForum
. Page generated in 0.02795 seconds