Bug 5832 Template Pref page: Edit: Copy/paste context menu
The text field to edit the templates should have a context menu with copy/paste.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/EditTemplateDialog.java
private String fErrorMessage;
		private boolean fHasAdjacentVariables;
		private boolean fEndsWithVariable;
		
		public void reset() {
			fErrorMessage= null;
			fHasAdjacentVariables= false;
			fEndsWithVariable= false;
		}
		public void acceptError(String message) {
			if (fErrorMessage == null)
				fErrorMessage= message;
		}
		public void acceptText(String text) {
			if (text.length() > 0)
				fEndsWithVariable= false;
		}
		
		public void acceptVariable(String variable) {
			if (fEndsWithVariable)
				fHasAdjacentVariables= true;
			
			fEndsWithVariable= true;
		}
		public boolean hasErrors() {
			return fHasAdjacentVariables || (fErrorMessage != null);	
		}