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: 39
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: 5
Registered: October 2014
Junior Member

Sorry ignore

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

Report message to a moderator

Previous Topic:Changing Label Provider for tree viewer giving null pointer exception in MAC
Next Topic:TextCellEditor does not show edited content
Goto Forum:
  


Current Time: Thu Dec 18 23:07:43 GMT 2014

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

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