Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 389336

Summary: [config] Preference data created too eagerly
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 1.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2012-09-11 15:57:21 EDT
Currently, going to Settings > Plugin Settings category will create a preference value for every setting on the page. This is unnecessary. Only settings that are changed from their default values need to be persisted.

Ideally ConfigurationAdmin.getConfiguration() should return a Configuration object which can be used, but for which no puts happen to the Pref store until the Configuration is updated() with some properties. If a Configuration is never updated(), it should not appear in the Preferences.