|
From: Oliver H. (JIRA) <no...@at...> - 2005-09-29 22:41:03
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-209?page=all ] Oliver Hutchison updated RCP-209: --------------------------------- Priority: Minor (was: Major) Version: (was: PR1) Fix Version: PR1 > Add get/setReadOnly to FormModel & DefaultFormModel, to allow a whole form to be set read only > ---------------------------------------------------------------------------------------------- > > Key: RCP-209 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-209 > Project: Spring Framework Rich Client Project > Type: Improvement > Components: Binding System > Reporter: Scott Russell > Assignee: Oliver Hutchison > Priority: Minor > Fix For: PR1 > > Many components (eg. JTextField) display differently when set read only (ie. background grey and text black) as opposed to being disabled (ie. background white and text grey). > Individual PropertyMetadata can be set read only, to display any bound components as enabled but non-editable. Additionaly, the individual PropertyMetadata can be set enabled or not. However, individual PropertyMetadata also respect the enclosing formModel's enabled property, which allows a form as a whole to be enabled/disabled at once, and have all bound controls display accordingly. > It would be desirable to have a setReadOnly method on the FormModel, that all PropertyMetadata would respect, thus allowing a form to be set editable or non-editable (but readable) as a whole, and see the change reflected in all bound controls. > -Scott -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |