| Summary: | [CellEditor] EMF Facet Ecore String composite textField cannot be disabled | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Nicolas Guyomar <nicolas.guyomar> | ||||
| Component: | EMF-Facet | Assignee: | Nicolas Bros <nicolas.bros> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | emft.facet-inbox, gdupe, nicolas.bros | ||||
| Version: | unspecified | Flags: | gdupe:
juno+
|
||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 349546 | ||||||
| Attachments: |
|
||||||
|
Description
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. |