Bug 30170 [Preferences] editors preferences not stored on OK?
20030121 my eclipse hard-crashed and it seems that the 'number of open editors' preference was lost preference pages should store their values on OK. i guess the 'Editors' page forgot to do it.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceStore.java
return (properties.containsKey(name) || defaultProperties.containsKey(name));
}
/* (non-Javadoc)
 * Method declared on IPreferenceStore.
 */
public void firePropertyChangeEvent(String name, Object oldValue, Object newValue) {
	final Object[] listeners = this.listeners.getListeners();
	
	if (listeners.length > 0 && (oldValue == null || !oldValue.equals(newValue))) {
		final PropertyChangeEvent pe = new PropertyChangeEvent(this, name, oldValue, newValue);
		
				for (int i = 0; i < listeners.length; ++i) {
					IPropertyChangeListener l = (IPropertyChangeListener) listeners[i];
					l.propertyChange(pe);
				}
	}
}
/* (non-Javadoc)
 * Method declared on IPreferenceStore.
 */
public boolean getBoolean(String name) {
	return getBoolean(properties, name);
}
/**
 * Helper function: gets boolean for a given name.
 */
private boolean getBoolean(Properties p, String name) {
	String value = p != null ? p.getProperty(name) : null;
	if (value == null)
		return BOOLEAN_DEFAULT_DEFAULT;