Bug 37155

Summary: [Preferences] StringButtonFieldEditor should disable button when disabled.
Product: [Eclipse Project] Platform Reporter: thierry lach <thierry.lach>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description thierry lach CLA 2003-05-01 18:06:22 EDT
setEnabled() should not only enable/disable the text string, it should also 
enable/disable the button, or should provide the capability for 
enabling/disabling the button separately.

This problem is most evident when using a DirectoryFieldEditor.  After 
disabling it, the user can still press on the "Browse..." button.
Comment 1 thierry lach CLA 2003-05-01 18:27:02 EDT
Created attachment 4772 [details]
Proposed patch
Comment 2 Steve Northover CLA 2003-05-01 21:49:57 EDT
Not SWT.
Comment 3 Tod Creasey CLA 2003-05-08 11:59:46 EDT
Patch released into HEAD as requested. Congratulations - you are now an 
Eclipse contributor (Added you to the contributor list in the 
StringButtonFieldEditor class comment).
Comment 4 Tod Creasey CLA 2005-05-10 14:55:42 EDT
Marking closed