Bug 7023 Refactoring too many builds when auto build is on
Refactoring saves compilation units for the precondition checking and this can trigger an autobuild. This autobuild should be supressed since you need to build again after the refactoring.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/RefactoringSupportFactory.java
public boolean canRename(Object element) throws JavaModelException{
			fRefactoring= createRefactoring(element);
			boolean canRename= canAddToMenu(fRefactoring);
			 if (!canRename)	
			 	fRefactoring= null;
			 return canRename;	
		}
		
		public void rename(Object element) throws JavaModelException{
			Assert.isNotNull(fRefactoring);
			RefactoringWizard wizard= createWizard(fRefactoring);
			if (wizard != null)
				RefactoringAction.activateRefactoringWizard((Refactoring)fRefactoring, wizard, "Rename", true);
			else	
				RefactoringAction.activateRenameRefactoringDialog(fRefactoring, "Rename", getNameEntryMessage(), false, element);
			fRefactoring= null;
		}
		
		abstract IRenameRefactoring createRefactoring(Object element) throws JavaModelException;
		RefactoringWizard createWizard(IRenameRefactoring ref){
			return null;
		}
				
		abstract boolean canAddToMenu(IRenameRefactoring refactoring) throws JavaModelException;
		String getNameEntryMessage(){
			return "";
		}
	}
	
	private static RefactoringWizard createRenameWizard(IRenameRefactoring ref, String title, String message, String wizardPageHelp, String errorPageHelp, ImageDescriptor image){