if (textChange instanceof TextFileChange){ TextFileChange tfc= (TextFileChange)textChange; tfc.setSave(! cu.isWorkingCopy()); }
		private static TextChange addTextEditFromRewrite(TextChangeManager manager, ICompilationUnit cu, ASTRewrite rewrite) throws CoreException {			TextBuffer textBuffer= TextBuffer.create(cu.getBuffer().getContents());			TextEdit resultingEdits= new MultiTextEdit();			rewrite.rewriteNode(textBuffer, resultingEdits, null);			TextChange textChange= manager.get(cu);			//TODO fix the descriptions			String message= "Delete elements from " + cu.getElementName();			textChange.addTextEdit(message, resultingEdits);			rewrite.removeModifications();			return textChange;		}