Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Accessing field editors on a FieldEditorPreferencePage
Accessing field editors on a FieldEditorPreferencePage [message #303426] Mon, 15 May 2006 11:13
Eclipse UserFriend
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
Previous Topic:TableViewer and reveal with SWT.VIRTUAL
Next Topic:A common problem
Goto Forum:
  


Current Time: Sat Jul 19 01:23:40 EDT 2025

Powered by FUDForum. Page generated in 0.02589 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top