Bug 29711 Move refactoring doesn't honor read-only flags
Build I20030115 - JUnit setup - create TestCase.java in junit.runner - make it read-only - move TestCase from framework to runner - answer yes to override observe: the file in runner gets replaced althouh it is read-only
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/CopyQueries.java
}
	private static IInputValidator createResourceNameValidator(final IResource res){
		IInputValidator validator= new IInputValidator(){
			public String isValid(String newText) {
				if (newText == null || "".equals(newText) || res.getParent() == null) 
					return EMPTY;
				if (res.getParent().findMember(newText) != null)
					return ReorgMessages.getString("CopyQueries.resourceWithThisNameAlreadyExists"); 
				if (! res.getParent().getFullPath().isValidSegment(newText))
					return ReorgMessages.getString("CopyQueries.invalidNameMessage"); 
				IStatus status= res.getParent().getWorkspace().validateName(newText, res.getType());
				if (status.getSeverity() == IStatus.ERROR)
					return status.getMessage();
					
				if (res.getName().equalsIgnoreCase(newText))
					return ReorgMessages.getString("CopyQueries.resourceExistsWithDifferentCaseMassage"); 
					
				return null;
			}
		};
		return validator;
	}
	private static IInputValidator createCompilationUnitNameValidator(final ICompilationUnit cu) {
		IInputValidator validator= new IInputValidator(){
			public String isValid(String newText) {
				if (newText == null || "".equals(newText)) 
					return EMPTY;
				String newCuName= newText + ".java"; 
				IStatus status= JavaConventions.validateCompilationUnitName(newCuName);	
				if (status.getSeverity() == IStatus.ERROR)