|
Re: Preferences IPropertyChangeListener [message #1770578 is a reply to message #1770435] |
Mon, 14 August 2017 15:48 |
Eclipse User |
|
|
|
You have to filter the change events.
Quote:Is it possible [...] even better when I get notified for a special BooleanFieldEditor used in the preference for example.
Why do you want to do this? I'll posit that you don't want to know about what changed the preference (i.e., the BooleanFieldEditor). In doing so, you risk operating against stale data (i.e., a legitimate change came from elsewhere). If you're seeking to perform validation, check it in the editor or the pref page before writing the preference change out; by the time the event comes, it's too late: the value has been written out.
|
|
|
Powered by
FUDForum. Page generated in 0.03024 seconds