Accessing field editors on a FieldEditorPreferencePage [message #303426] |
Mon, 15 May 2006 11:13 |
Eclipse User |
|
|
|
Hi
I'm writing a plugin and I need to access the FieldEditor objects
belonging to a FieldEditorPreferencePage, but they don't seem to be
accessible in the API?
The reason I'm trying to do this is so that I can 'disable' the field
editors for certain preferences, so they will be 'greyed out' in the
dialog. I intended to do this by checking 'getPreferenceName()' and
calling 'setEnabled(false, ...)' on the field editors.
The approach I have taken is to implement a SWT Listener to listen for
activations of the preference dialog. I intended to try and get the field
editors from the selected page of the dialog. As they didn't seem to be
accessible, I tried to search through the dialog's control to find them,
but no luck.
Is there any way for me to access the field editors in a preference page?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02589 seconds