|
Re: Disable one radio button in a RadioGroupFieldEditor [message #901765 is a reply to message #901185] |
Tue, 14 August 2012 09:42  |
Eclipse User |
|
|
|
Looking at the code of RadioGroupFieldEditor it seems like there is no way to access the radion-buttons themselves. You can do a dirty hack and invoke the getRadioBoxControl(parent) and access the radiobuttons via the getChildren()-method of the composite (group). However be aware that this hack may break when the code of the RadioGroupFieldEditor changes. If you use the hack, consider to open a feature request in bugzilla for adding a setVisibleMethod or open up the fieldeditor a little bit. May be they could could make the fields at least protected, allowing you to create a subclass.
Best Regards
Heiko
|
|
|
Powered by
FUDForum. Page generated in 0.03266 seconds