Bug 9108 Preference page for templates - position of edit is awkward (minor)
stable 20020125 (not really a bug - just feedback) On the Templates preference page the "Edit..." butt is poorly placed. - Initially I didn't notice it and kept trying to use what looked to to be the text/edit area at the bottom of the page - only to discover it was read only. - Now that I have found it <g>, I have unfortunately twice picked remove which is the button sandwiched right below it. Is there a way to make hte edit more obvious? Should it be to the right of the bottom txt area? Definitely needs to be away from the remove.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
fTemplates.add(template);
			fTableViewer.refresh();
			fTableViewer.setChecked(template, template.isEnabled());
			fTableViewer.setSelection(new StructuredSelection(template));			
		}
	}
	private void edit() {
		IStructuredSelection selection= (IStructuredSelection) fTableViewer.getSelection();
		Object[] objects= selection.toArray();		
		if ((objects == null) || (objects.length != 1))
			return;
		
		Template template= (Template) selection.getFirstElement();
		edit(template);
	}
	private void edit(Template template) {
		EditTemplateDialog dialog= new EditTemplateDialog(getShell(), template, true);
		if (dialog.open() == dialog.OK) {
			fTableViewer.refresh(template);
			fTableViewer.setChecked(template, template.isEnabled());
			fTableViewer.setSelection(new StructuredSelection(template));			
		}
	}
		
	private void import_() {
		FileDialog dialog= new FileDialog(getShell());
		dialog.setText(TemplateMessages.getString("TemplatePreferencePage.import.title")); 
		dialog.setFilterExtensions(new String[] {TemplateMessages.getString("TemplatePreferencePage.import.extension")}); 
		String path= dialog.open();