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 new RenameResourceRefactoring((IResource)element);
			}
			public boolean canAddToMenu(IRenameRefactoring refactoring) throws JavaModelException{
				return ((RenameResourceRefactoring)refactoring).checkActivation(new NullProgressMonitor()).isOK();
			}
			RefactoringWizard createWizard(IRenameRefactoring refactoring) {
					String title= "Rename Resource";
					String message= "Enter the new name for this resource.";
					
					String wizardPageHelp= IJavaHelpContextIds.RENAME_RESOURCE_WIZARD_PAGE; 
					String errorPageHelp= IJavaHelpContextIds.RENAME_RESOURCE_ERROR_WIZARD_PAGE;
					ImageDescriptor imageDesc= JavaPluginImages.DESC_WIZBAN_REFACTOR_CU;
					return createRenameWizard(refactoring, title, message, wizardPageHelp, errorPageHelp, imageDesc);
			}
		};
	}
	private static RenameSupport createPackageRename(){
		return new RenameSupport(){
			IRenameRefactoring createRefactoring(Object element) {
				return new RenamePackageRefactoring((IPackageFragment)element);
			}
			public boolean canAddToMenu(IRenameRefactoring refactoring) throws JavaModelException{
				return ((RenamePackageRefactoring)refactoring).checkActivation(new NullProgressMonitor()).isOK();
			}
			RefactoringWizard createWizard(IRenameRefactoring refactoring) {
				String title= "Rename Package";
				String message= "Enter the new name for this package. References to all types declared in it will be updated.";
				String wizardPageHelp= IJavaHelpContextIds.RENAME_PACKAGE_WIZARD_PAGE; 
				String errorPageHelp= IJavaHelpContextIds.RENAME_PACKAGE_ERROR_WIZARD_PAGE;
				ImageDescriptor imageDesc= JavaPluginImages.DESC_WIZBAN_REFACTOR_PACKAGE;