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/PreferenceDialog.java
/* (non-Javadoc)
	 * Method declared on Dialog.
	 */
	protected void cancelPressed() {
		
		Iterator nodes =
			preferenceManager
				.getElements(PreferenceManager.PRE_ORDER)
				.iterator();
		while (nodes.hasNext()) {
			IPreferenceNode node = (IPreferenceNode) nodes.next();
			if (node.getPage() != null) {
				if (!node.getPage().performCancel())
					return;
			}
		}
		setReturnCode(CANCEL);
		close();
	}
	/* (non-Javadoc)
	 * Method declared on Window.
	 */
	public boolean close() {
		setSelectedNode();
		List nodes = preferenceManager.getElements(PreferenceManager.PRE_ORDER);
		for (int i = 0; i < nodes.size(); i++) {
			IPreferenceNode node = (IPreferenceNode) nodes.get(i);
			node.disposeResources();
		}
		return super.close();