Bug 177438 Accessibility : Preferences Dialog UI has problems in High Contrast Mode on SLED 10
Build ID: 3.2.2 Steps To Reproduce: 1.Set the OS in high contrast Mode 2.Set Font size of Application font to Sans 28 3.Restart platform 4. Bring up Preferences in Eclipse and notice that UI is not displayed completely. More information:
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceDialog.java
}
		setReturnCode(CANCEL);
		close();
	}
	/**
	 * Clear the last selected node. This is so that we not chache the last
	 * selection in case of an error.
	 */
	void clearSelectedNode() {
		setSelectedNodePreference(null);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.window.Window#close()
	 */
	public boolean close() {
		
		
		SafeRunnable runnable = new SafeRunnable(){
			/* (non-Javadoc)
			 * @see org.eclipse.core.runtime.ISafeRunnable#run()
			 */
			public void run() throws Exception {
				List nodes = preferenceManager.getElements(PreferenceManager.PRE_ORDER);
				for (int i = 0; i < nodes.size(); i++) {
					IPreferenceNode node = (IPreferenceNode) nodes.get(i);
					node.disposeResources();
				}