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
return createRenameWizard(refactoring, title, message, wizardPageHelp, errorPageHelp, imageDesc);
			}	
		};
	}
	
	private static RenameSupport createFieldRename(){
		return new RenameSupport(){
			IRenameRefactoring createRefactoring(Object element) {
				return new RenameFieldRefactoring((IField)element);
			}
			public boolean canAddToMenu(IRenameRefactoring refactoring) throws JavaModelException{
				return ((RenameFieldRefactoring)refactoring).checkPreactivation().isOK();
			}
			RefactoringWizard createWizard(IRenameRefactoring refactoring){
				String title= RefactoringMessages.getString("RefactoringGroup.rename_field_title"); 
				String message= RefactoringMessages.getString("RefactoringGroup.rename_field_message"); 
				String wizardPageHelp= IJavaHelpContextIds.RENAME_FIELD_WIZARD_PAGE; 
				String errorPageHelp= IJavaHelpContextIds.RENAME_FIELD_ERROR_WIZARD_PAGE;
				
				ImageDescriptor imageDesc= JavaPluginImages.DESC_WIZBAN_REFACTOR_CU;
				return createRenameWizard(refactoring, title, message, wizardPageHelp, errorPageHelp, imageDesc);
			}	
		};
	}
	public static IRefactoringRenameSupport createRenameSupport(Object element) {
		if (element instanceof IResource)
			return createResourceRename();
		
		if (!(element instanceof IJavaElement))
			return null;