Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How do I disable a FileFieldEditor based upon another BooleanFieldEditor state
How do I disable a FileFieldEditor based upon another BooleanFieldEditor state [message #555331] Thu, 26 August 2010 11:01
Andy Coleman is currently offline Andy ColemanFriend
Messages: 33
Registered: September 2009
Member
Hi,

I am trying to implement a set of preferences for our users to specify which sound file is played when a certain event occours.

I have a FieldEditorPreferencePage which has pairs of BooleanFieldEditor and FileFieldEditor controls, one pair for each event. If the BooleanFieldEditor is clear then no sound should be played, if it is selected then the user can select a sound file using the FileFieldEditor.

I would like the FileFieldEditor to be disabled when the BooleanFieldEditor is cleared but I can't see a way of doing this.

Any help would be appreciated.

Thanks
Andy
Previous Topic:[Databinding] Binding to single entry in List<String>
Next Topic:How to avoid scaling of column images in jface TableViewer
Goto Forum:
  


Current Time: Fri Apr 26 01:24:57 GMT 2024

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

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

Back to the top