-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support plugin_customization.ini for e4.ui.workbench.renderer.swt prefs
Before this change, only the InstanceScope was queried explicitly. Therefore, any preferences set in plugin_customization.ini, which end up in the DefaultScope, were never respected. Ideally, we would use org.eclipse.ui.preferences.ScopedPreferenceStore, but that lies in a layer above us, so cannot be used. Instead, we use the org.eclipse.core.runtime.preferences.IPreferencesService when reading preferences. This searches all relevant scopes in the proper order. When writing preferences, we write explicitly into InstanceScope. When performing 'Restore Defaults' in the preference page, we take the DefaultScope into account. Fixes #1794.
- Loading branch information
Showing
2 changed files
with
42 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters