PreferencePage,call RestoreDefaults programmatically ?! [message #324031] |
Wed, 16 January 2008 14:53 |
Eclipse User |
|
|
|
Originally posted by: mailforgilbert.gmx.de
Hi,
I have a Plugin with PreferencePage
that contains FieldEditors
All fields are initialized with defaults.
But when i call setToDefaults(...)
it hasn't the same effect as using the
RestoreDefault Button.
I see the defaults when i close the page
and open it again.
How to refresh it without having to close
it, means i need the same behaviour as
if i would have used the RestoreDefaults
button ?
I want to reset a text field after a validation
of the user input returns false.
Until now, i'm only able to close the PreferencePage
via ... getActivePage() ... .close();
Any help would be appreciated!!
Regards, Gilbert
|
|
|
Powered by
FUDForum. Page generated in 0.25908 seconds