[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: What's the best way to notify an editor of preference changes?
|
I could register interest on the perferences store, but then the editor
would get notified on each property store rather then when the OK button
is pressed on the preferences page. This would probably cause too many
updates, and often the preferences on a page have to changed as a group to
maintain proper semantics. I think what I'll do is override performOk()
and send my own property update event corresponding to the OK button being
pressed. Should this be the default behavior of
FieldEditorPreferencePage.performOk()?