Bug 8082 template pref page: export overwrites without warning
export from template pref page overwrites files without warning this is never good - you can lose templates you have saved on your disk somewhere
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalProposal.java
private int[] fPositionOffsets;
	private int[] fPositionLengths;
	private ITextViewer fViewer;
	private IRegion fSelectedRegion; 
		
	/**
	 * Creates a template proposal with a template and its context.
	 * @param template  the template
	 * @param context   the context in which the template was requested.
	 * @param image     the icon of the proposal.
	 */		
	public ExperimentalProposal(String replacementString, int replacementOffset, int replacementLength, Image image,
	    String displayString, int[] positionOffsets, int[] positionLengths, ITextViewer viewer)
	{
		super(replacementString, replacementOffset, replacementLength, image, displayString);		
		fPositionOffsets= positionOffsets;
		fPositionLengths= positionLengths;
		fViewer= viewer;
	}
	/*
	 * @see ICompletionProposalExtension#apply(IDocument, char)
	 */
	public void apply(IDocument document, char trigger, int offset) {
		super.apply(document, trigger, offset);
		int replacementOffset= getReplacementOffset();