Community
Participate
Working Groups
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.
Closing as "won't fix" See bug 74822 for an explanation and details.