Bug 46753 [misc] Typing should not be blocked by background activity
Build 20031111 1. Open an editor 2. Start a CVS background activity (e.g. Synchronize several projects) 3. Start typing in the editor Observe: The whole UI freezes and what you typed is not shown in the editor until the end of the backgroung activity
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/filebuffers/CompilationUnitDocumentProvider2.java
if (cuInfo.fModel instanceof CompilationUnitAnnotationModel)   {
			CompilationUnitAnnotationModel model= (CompilationUnitAnnotationModel) cuInfo.fModel;
			model.setCompilationUnit(cuInfo.fCopy);
		} 
		
		if (cuInfo.fModel != null)
			cuInfo.fModel.addAnnotationModelListener(fGlobalAnnotationModelListener);
		
		if (requestor instanceof IProblemRequestorExtension) {
			IProblemRequestorExtension extension= (IProblemRequestorExtension) requestor;
			extension.setIsActive(isHandlingTemporaryProblems());
		}
		
		return cuInfo;
	}
	
	/*
	 * @see org.eclipse.ui.editors.text.TextFileDocumentProvider#disposeFileInfo(java.lang.Object, org.eclipse.ui.editors.text.TextFileDocumentProvider.FileInfo)
	 */
	protected void disposeFileInfo(Object element, FileInfo info) {
		if (info instanceof CompilationUnitInfo) {
			CompilationUnitInfo cuInfo= (CompilationUnitInfo) info;
			
			if (JavaPlugin.USE_WORKING_COPY_OWNERS)  {
				
				try  {
					cuInfo.fCopy.discardWorkingCopy();
				} catch (JavaModelException x)  {
					handleCoreException(x, x.getMessage());