Bug 38545

Summary: [Preferences] Property change events from preference page have wrong objects
Product: [Eclipse Project] Platform Reporter: Alan Boxall <boxall>
Component: UIAssignee: Stefan Xenos <sxenos>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: debbie_wilson
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Alan Boxall CLA 2003-06-05 17:05:39 EDT
I created a preference page by extending FieldEditorPreferencePage and then 
created a ColorFieldEditor.

If I change the ColorFieldEditor and press apply the PropertyChangeEvent 
contains SWT RGB objects in both the old and new value fields of the event.

BUT, if I press the "Restore defaults" button and then press "Apply" the 
PropertyChangeEvent event contains String representations of the old and new 
values.

This also happens if I use the BooleanFieldEditor where instead of Boolean 
objects I get Strings with "true" or "false" in the event.

This should consistently pass the correct objects (Boolean or RGB) not strings.
Comment 1 DJ Houghton CLA 2004-11-09 15:30:58 EST
Closing as "won't fix"
See bug 74822 for an explanation and details.