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/ExperimentalResultCollector.java
if ((completionName.length == 0) || ((completionName.length == 1) && completionName[0] == ')'))
			return original;
	
		int count= parameterNames.length;
		int[] offsets= new int[count];
		int[] lengths= new int[count];
		StringBuffer buffer= new StringBuffer();	
		buffer.append(name);
		buffer.append('(');
		for (int i= 0; i != count; i++) {
			if (i != 0)
				buffer.append(", ");
				
			offsets[i]= buffer.length();
			buffer.append(parameterNames[i]);
			lengths[i]= buffer.length() - offsets[i];
		}
		buffer.append(')');
		return new JavaCompletionProposal(buffer.toString(), start, end - start, original.getImage(),
			original.getDisplayString());		
	}
	/**
	 * Sets the viewer.
	 * @param viewer The viewer to set
	 */
	public void setViewer(ITextViewer viewer) {
		fViewer= viewer;
	}
}