Bug 183036 Need to move HighContrast check out of the PreferenceInitializer
bundles/org.eclipse.ui/src/org/eclipse/ui/internal/UIPreferenceInitializer.java
* element. This is needed in order to force the UI plugin's preferences to be
 * initialized properly when running without
 * org.eclipse.core.runtime.compatibility. For more details, see bug 58975 - New
 * preference mechanism does not properly initialize defaults.
 * 
 * @since 3.0
 */
public class UIPreferenceInitializer extends AbstractPreferenceInitializer {
	 private static final String SYSTEM_DEFAULT_THEME = "org.eclipse.ui.ide.systemDefault";
	 
	public void initializeDefaultPreferences() {
		
		
		
		final boolean[] highContrast = new boolean[1];
		StartupThreading.runWithoutExceptions(new StartupRunnable() {
			public void runWithException() throws Throwable {
				highContrast[0] = Display.getCurrent().getHighContrast();
				
			}});
		
		IScopeContext context = new DefaultScope();
		IEclipsePreferences node = context.getNode(UIPlugin.getDefault()
				.getBundle().getSymbolicName());
		node.put(IWorkbenchPreferenceConstants.OPEN_NEW_PERSPECTIVE,
				IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
		
		node.put(IWorkbenchPreferenceConstants.PROJECT_OPEN_NEW_PERSPECTIVE,
				IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE);
		node.put(IWorkbenchPreferenceConstants.SHIFT_OPEN_NEW_PERSPECTIVE,