When widgets are set to read-only mode whether through an AuthorityPermission or directly in VSM, they are moved to SWT disabled mode.
Such a direct usage of the disabled mode is not suitable for List, Text and Text area widgets.
List and Textarea may experiment usability issue when the content of the widget is larger than what the widget can display. Since disabling the widget makes it unscrollable, there is no way to see the whole content of the widget.
List widget should be scrollable in all situations.
As far as text widgets are concerned instead of using setEnabled, it should use setEditable to allow selection.
When widgets are set to read-only mode whether through an AuthorityPermission or directly in VSM, they are moved to SWT disabled mode.
Such a direct usage of the disabled mode is not suitable for
List,TextandText areawidgets.List and Textarea may experiment usability issue when the content of the widget is larger than what the widget can display. Since disabling the widget makes it unscrollable, there is no way to see the whole content of the widget.
Listwidget should be scrollable in all situations.As far as text widgets are concerned instead of using
setEnabled, it should usesetEditableto allow selection.