Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 4772 Details for
Bug 37155
[Preferences] StringButtonFieldEditor should disable button when disabled.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
sbfe.patch (text/plain), 828 bytes, created by
thierry lach
on 2003-05-01 18:27:02 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
thierry lach
Created:
2003-05-01 18:27:02 EDT
Size:
828 bytes
patch
obsolete
>Index: StringButtonFieldEditor.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jface/src/org/eclipse/jface/preference/StringButtonFieldEditor.java,v >retrieving revision 1.6 >diff -u -r1.6 StringButtonFieldEditor.java >--- StringButtonFieldEditor.java 10 Mar 2003 21:56:31 -0000 1.6 >+++ StringButtonFieldEditor.java 1 May 2003 22:24:37 -0000 >@@ -139,4 +139,14 @@ > if (changeButton != null) > changeButton.setText(text); > } >+ /* (non-Javadoc) >+ * @see org.eclipse.jface.preference.FieldEditor#setEnabled(boolean, org.eclipse.swt.widgets.Composite) >+ */ >+ public void setEnabled(boolean enabled, Composite parent) { >+ super.setEnabled(enabled, parent); >+ if (changeButton != null) { >+ changeButton.setEnabled(enabled); >+ } >+ } >+ > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37155
: 4772