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
IEclipsePreferences node = scopeContext[0].getNode(Platform.PI_RUNTIME);
		return node.get(Platform.PREF_LINE_SEPARATOR, null);
	}
	/**
	 * Answer the <code>IScopeContext</code> for the receiver, this will be a
	 * project scope if the receiver is editing project preferences, otherwise
	 * instance scope.
	 * 
	 * @return the scope context
	 */
	private IScopeContext getScopeContext() {
		if (project != null) {
			return new ProjectScope(project);
		}
		return new InstanceScope();
	}
	/**
	 * Returns the default setting for the object being shown.
	 * 
	 * @return the default setting for the object being shown
	 */
	protected String[] getChoices() {
		Set keys = Platform.knownPlatformLineSeparators().keySet();
		String[] keyArray = new String[keys.size()];
		keys.toArray(keyArray);
		return keyArray;
	}
	/**
	 * Populates the list of choices combo.
	 */