Bug 5915 Renaming a resource brings up Java rename refactoring
1) rename xxx.html in the packages view ->the rename refactoring wizard comes up ->the preview page shows a simple rename change For non-Java resources we should not show the refactoring wizard but only a dialog
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java
switch (((IJavaElement)element).getElementType()){
			
			case IJavaElement.PACKAGE_FRAGMENT:
					return createPackageRename();
					
			case IJavaElement.COMPILATION_UNIT: 
				return createCompilationUnitRename();
				
			case IJavaElement.PACKAGE_FRAGMENT_ROOT:
				 return createSourceFolderRename();
				
			case IJavaElement.JAVA_PROJECT:	 
				return createJavaProjectRename();
				 
			case IJavaElement.TYPE:
				return createTypeRename();
			
			case IJavaElement.METHOD:
				return createMethodRename();
				
			case IJavaElement.FIELD:
				return createFieldRename();
				
			default: 	
				return null;	
		}	
	}
}