Bug 20237 TVT2: mnemonic not workin in java template prefs
With build F2. A mnemonic in the new template dialog is not working. Below are the replication steps. 1) Window>Preferences 2) Java>Templates 3) Click on New... 4) Mnemonic for Patterns does not work. All others are fine.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java
Color foreground= createColor(store, ContentAssistPreference.PROPOSALS_FOREGROUND, display);
			assistant.setContextInformationPopupForeground(foreground);
			assistant.setContextSelectorForeground(foreground);
			assistant.setProposalSelectorForeground(foreground);
			
			return assistant;
		}	
		/**
		 * Creates a color from the information stored in the given preference store.
		 * Returns <code>null</code> if there is no such information available.
		 */
		private Color createColor(IPreferenceStore store, String key, Display display) {
		
			RGB rgb= null;		
			
			if (store.contains(key)) {
				
				if (store.isDefault(key))
					rgb= PreferenceConverter.getDefaultColor(store, key);
				else
					rgb= PreferenceConverter.getColor(store, key);
			
				if (rgb != null)
					return new Color(display, rgb);
			}
			
			return null;
		}	
	}
	private static class TextViewerAction extends Action implements IUpdate {