How to validate a Preference page? [message #332976] |
Mon, 17 November 2008 12:16  |
Eclipse User |
|
|
|
Hi,
I am trying to validate a Preference page (FieldEditorPreferencePage) that
contains a FileFieldEditor. I have not been able to work out where to
perform the validation after the value has been changed.
I have tried overriding FileFieldEditor.checkState() to no avail. It does
not seem to be called after an update.
I have also tried overriding StringFieldEditor.doCheckState() and again it
does not seem to be called during a field change.
As I final resort I have tried to extend FileFieldEditor and to override
doCheckState() there. Yet another disappointment.
I am out of bright ideas for the moment, so I figured I would shout out for
help. Any ideas?
Many thanks,
Joel
--
Joel Rosi-Schwartz
Etish Limited [http://www.etish.org]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^...^
/ o,o \ The proud parents of Useme & ORMF
|) ::: (| Open Requirements Management Framework
====w=w==== [http://www.eclipse.org/ormf/]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03302 seconds