Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336660 - SingleSelectionAttributeEditor should react on readOnly changes
Summary: SingleSelectionAttributeEditor should react on readOnly changes
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-08 16:34 EST by Benjamin Muskalla CLA
Modified: 2011-02-08 18:09 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Muskalla CLA 2011-02-08 16:34:40 EST
The SingleSelectionAttributeEditor should react on changes to metadata.readonly as part of a refresh. The usecase is to have an operation which required some fields to be set (eg. Resolve requires a resolution). I'd love to have the resolution field disabled (readonly) if it doesn't make sense to set a value there (or not even allowed) and to enable it once an operation is selected that requires a resolution.
Comment 1 Steffen Pingel CLA 2011-02-08 16:50:16 EST
Bug 331154 added a new flag to control enablement but it's currently only supported by operations. We couldn't easily toggle between a presentation for read only mode and a mode that allows modification since the framework uses different controls for rendering but we could work around that through using control enablement. Would that work for you? And if so, would you be able to provide a patch :)?
Comment 2 Benjamin Muskalla CLA 2011-02-08 17:16:12 EST
Makes way more sense to have a dedicated disabled state (disabled combo is better than textfield for this case). Will come up with a patch, we have to tackle all TaskAttribute editors with this change or should we limit it to the SingleSelectionEditor for now?
Comment 3 Steffen Pingel CLA 2011-02-08 18:09:40 EST
We can do it incrementally.
Comment 4 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn