Bug 31229 code templates pref page: opening a dialog on typing is unexpected [code manipulation]
20030206 when i start typing (or even press an arrow key) in the template preview a dialog pops up it's unexpected and unusual
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeTemplateBlock.java
private Control fSWTWidget;
	public CodeTemplateBlock() {
		
		fTemplates= CodeTemplates.getInstance();
		
		CodeTemplateAdapter adapter= new CodeTemplateAdapter(fTemplates);
		String[] buttonLabels= new String[] { 
			 PreferencesMessages.getString("CodeTemplateBlock.templates.edit.button"),	
			 null,  
			 PreferencesMessages.getString("CodeTemplateBlock.templates.import.button"), 
			 PreferencesMessages.getString("CodeTemplateBlock.templates.export.button"), 
			 PreferencesMessages.getString("CodeTemplateBlock.templates.exportall.button") 
		};		
		fCodeTemplateTree= new TreeListDialogField(adapter, buttonLabels, new CodeTemplateLabelProvider());
		fCodeTemplateTree.setDialogFieldListener(adapter);
		fCodeTemplateTree.setLabelText(PreferencesMessages.getString("CodeTemplateBlock.templates.label")); 
		fCodeTemplateTree.enableButton(IDX_EXPORT, false);
		fCodeTemplateTree.enableButton(IDX_EDIT, false);
		
		fCodeTemplateTree.addElement(COMMENT_NODE);
		fCodeTemplateTree.addElement(CODE_NODE);
		
		fCreateJavaDocComments= new SelectionButtonDialogField(SWT.CHECK);
		fCreateJavaDocComments.setLabelText(PreferencesMessages.getString("CodeTemplateBlock.createcomment.label")); 
		fCreateJavaDocComments.setSelection(PreferenceConstants.getPreferenceStore().getBoolean(PREF_JAVADOC_STUBS));
		
		fCodeTemplateTree.selectFirstElement();	
	}
	
	protected Control createContents(Composite parent) {