|
From: Jan H. (JIRA) <no...@sp...> - 2008-03-16 11:01:05
|
[ http://jira.springframework.org/browse/RCP-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Hoskens closed RCP-209.
---------------------------
Assignee: Jan Hoskens (was: Oliver Hutchison)
Resolution: Fixed
Has been added a while ago: FormModel.isReadOnly() and ConfigurableFormModel.setReadOnly()
> Add get/setReadOnly to FormModel & DefaultFormModel, to allow a whole form to be set read only
> ----------------------------------------------------------------------------------------------
>
> Key: RCP-209
> URL: http://jira.springframework.org/browse/RCP-209
> Project: Spring Framework Rich Client Project
> Issue Type: Improvement
> Components: Binding System
> Reporter: Scott Russell
> Assignee: Jan Hoskens
> Priority: Minor
> Fix For: 2.0.0
>
>
> 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://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|