Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » FileFieldEditor Help
FileFieldEditor Help [message #665674] Fri, 15 April 2011 12:46 Go to next message
frank b is currently offline frank bFriend
Messages: 45
Registered: July 2009
Member
Hello,

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
icon9.gif  Re: FileFieldEditor Help [message #1457582 is a reply to message #665674] Fri, 31 October 2014 13:29 Go to previous messageGo to next message
Alfred Sterphone is currently offline Alfred SterphoneFriend
Messages: 5
Registered: June 2011
Junior Member
I'm having this exact issue. Did you ever find a fix and/or workaround?
Re: FileFieldEditor Help [message #1462800 is a reply to message #1457582] Thu, 06 November 2014 00:14 Go to previous message
Thibault Le Ouay is currently offline Thibault Le OuayFriend
Messages: 23
Registered: October 2014
Junior Member

Sorry ignore

[Updated on: Thu, 06 November 2014 00:17]

Report message to a moderator

Previous Topic:[Databinding] Problem with datetime, validation and unit testing
Next Topic:Zest status
Goto Forum:
  


Current Time: Tue Mar 19 11:23:26 GMT 2024

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

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

Back to the top