Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » PreferencePage,call RestoreDefaults programmatically ?!
PreferencePage,call RestoreDefaults programmatically ?! [message #324031] Wed, 16 January 2008 14:53
Eclipse UserFriend
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
Previous Topic:Changing default problem view
Next Topic:issue with progress view
Goto Forum:
  


Current Time: Fri Jul 18 00:46:38 EDT 2025

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

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

Back to the top