Bug 107599 [Preferences] Line delimiter field editor will not switch to defaults
20050818 When you select Restore Defaults on the Workspace preference page the line delimiter is not reset STEPS 1) Open the Workbench Preference Page 2) Set the line delimiter to OS/9 3) Hit OK 4) Reopen 5) Select Restore Defaults 6) Does not change
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/LineDelimiterEditor.java
val = (String) lineSeparators.get(choiceCombo.getText());
		}
		IEclipsePreferences node = getScopeContext().getNode(
				Platform.PI_RUNTIME);
		if (val == null) {
			node.remove(Platform.PREF_LINE_SEPARATOR);
		} else {
			node.put(Platform.PREF_LINE_SEPARATOR, val);
		}
		try {
			node.flush();
		} catch (BackingStoreException e) {
			IDEWorkbenchPlugin.log(e.getMessage(), e);
		}
	}
	 /**
     * Set whether or not the controls in the field editor
     * are enabled.
     * @param enabled The enabled state.
     */
    public void setEnabled(boolean enabled) {
        group.setEnabled(enabled);
        Control [] children = group.getChildren();
        for (int i = 0; i < children.length; i++) {
			children[i].setEnabled(enabled);
			
		}
    }
}