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
if (!event.doit)
			return;
		if (event.stateMask != SWT.CTRL)
			return;
			
		switch (event.character) {
			case ' ':
				fPatternEditor.doOperation(ISourceViewer.CONTENTASSIST_PROPOSALS);
				event.doit= false;
				break;
			
			case (int) 'z' - (int) 'a' + 1:
				fPatternEditor.doOperation(ITextOperationTarget.UNDO);
				event.doit= false;
				break;				
		}
	}
	private void initializeActions() {
		TextViewerAction action= new TextViewerAction(fPatternEditor, fPatternEditor.UNDO);
		action.setText(TemplateMessages.getString("EditTemplateDialog.undo")); 
		fGlobalActions.put(ITextEditorActionConstants.UNDO, action);
		action= new TextViewerAction(fPatternEditor, fPatternEditor.CUT);
		action.setText(TemplateMessages.getString("EditTemplateDialog.cut")); 
		fGlobalActions.put(ITextEditorActionConstants.CUT, action);
		action= new TextViewerAction(fPatternEditor, fPatternEditor.COPY);
		action.setText(TemplateMessages.getString("EditTemplateDialog.copy")); 
		fGlobalActions.put(ITextEditorActionConstants.COPY, action);
		action= new TextViewerAction(fPatternEditor, fPatternEditor.PASTE);
		action.setText(TemplateMessages.getString("EditTemplateDialog.paste")); 
		fGlobalActions.put(ITextEditorActionConstants.PASTE, action);