Bug 37155 - [Preferences] StringButtonFieldEditor should disable button when disabled.
Summary: [Preferences] StringButtonFieldEditor should disable button when disabled.
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-01 18:06 EDT by thierry lach CLA
Modified: 2005-05-10 14:55 EDT (History)
0 users

See Also:


Attachments
Proposed patch (828 bytes, patch)
2003-05-01 18:27 EDT, thierry lach CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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