Community
Participate
Working Groups
Hi, The composite /org.eclipse.emf.facet.widgets.celleditors.ecore.composite.StringComposite.java does not override setEnabled() method. It should override it and the boolean value should be passed to the textField, so that when the user disable the whole cellEditor, it also disabled the textField. Regards, Nicolas Guyomar
Created attachment 198117 [details] Patch for Bug 349574 Hi, Please find attached the corresponding code modifications. StringComposite now overrides the setEnabled method in order to disable/enable its inner textField. (a) I, Nicolas Guyomar, wrote 100% of the code I've provided. (b) I have the right to contribute the code to Eclipse. (c) I contribute the content under the EPL. (d) This contribution contains no Cryptography features. Regards, Nicolas Guyomar
Comment on attachment 198117 [details] Patch for Bug 349574 This is a contribution from an employee of Mia-Software, targeting a future Juno release. The company has signed a Member Committer Agreement. The contribution does not need a CQ (see bug 322327). Committed in revision 889.
Committed in revision 889.
Note: the setEnabled method when called on the Composite did disable the Composite and its contents, but the text field inside it did not *appear* to be disabled. So the user may try to click it and wonder why it didn't work. So this patch fixes this by restoring the standard visual clue when a text field is disabled (so that it appears, for example, grayed out on Windows).
This bug can be closed.