Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338480 - Enable IPreferenceChangeListener to be registered with org.eclipse.sphinx.platform.preferences.IEclipsePreference<T>
Summary: Enable IPreferenceChangeListener to be registered with org.eclipse.sphinx.pla...
Status: CLOSED FIXED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: 0.7.0   Edit
Assignee: Stephan Eberle CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 16:57 EST by Stephan Eberle CLA
Modified: 2021-06-16 06:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Eberle CLA 2011-02-28 16:57:46 EST
IEclipsePreference<T> and its decedents are a Sphinx-defined encapsulation of org.eclipse.core.runtime.preferences.IEclipsePreferences API. They support easy creation of application-defined preferences at workspace-level, project-level, or both, and support convenient conversion between string-based preference values and the actual domain objects which they represent.

In order to facilitate integration of IEclipsePreference<T>-based preferences with UI, e.g., preference and property pages, they should enable applications to register IPreferenceChangeListener instances with underlying IEclipsePreferences instances.
Comment 1 Stephan Eberle CLA 2011-02-28 17:04:12 EST
Fixed by adding add/removePreferenceChangeListener() methods to IWorkspacePreference, IProjectPreference, and IProjectWorkspacePreference and implementing them in corresponding abstract classes.
Comment 2 Balazs Grill CLA 2021-06-16 06:10:26 EDT
Closing since this was already resolved