Bug 17603 Name Conflict dialog should be improved
Build F1 See attached picture. The problem is that that CU name including the .java is in quotes and that the user should enter a new name for it. Unfortunately . is not accepted in that name. We should use better wording.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/CopyQueries.java
private static final String EMPTY= " "; 
	public CopyQueries() {
	}
	private static String removeTrailingJava(String name) {
		Assert.isTrue(name.endsWith(".java"));
		return name.substring(0, name.length() - ".java".length());
	}
	public INewNameQuery createNewCompilationUnitNameQuery(ICompilationUnit cu) {
		String key= "Enter a new name for ''{0}''";
		String message= MessageFormat.format(key, new String[]{cu.getElementName()});
		return createStaticQuery(createCompilationUnitNameValidator(cu), message, removeTrailingJava(cu.getElementName()));
	}
	public INewNameQuery createNewResourceNameQuery(IResource res) {
		String key= "Enter a new name for ''{0}''";
		String message= MessageFormat.format(key, new String[]{ res.getName()});
		return createStaticQuery(createResourceNameValidator(res), message, res.getName());
	}
	public INewNameQuery createNewPackageNameQuery(IPackageFragment pack) {
		String key= "Enter a new name for ''{0}''";
		String message= MessageFormat.format(key, new String[]{pack.getElementName()});
		return createStaticQuery(createPackageNameValidator(pack), message, pack.getElementName());
	}
	public INewNameQuery createNullQuery(){
		return createStaticQuery(null);
	}
	public INewNameQuery createStaticQuery(final String newName){