Assert.isNotNull(textViewer);  fViewer= textViewer;  fListener= new Listener(); fViewer.addTextInputListener(fListener);  fSyncPoint= new Object(); fThread= new BackgroundThread(getClass().getName()); fThread.start();
fPartListener= new PartListener(); IWorkbenchPartSite site= fTextEditor.getSite(); IWorkbenchWindow window= site.getWorkbenchWindow(); window.getPartService().addPartListener(fPartListener);
	public void install(ITextViewer textViewer) {				Assert.isNotNull(textViewer);				fViewer= textViewer;				fListener= new Listener();		fViewer.addTextInputListener(fListener);				fSyncPoint= new Object();		fThread= new BackgroundThread(getClass().getName());		fThread.start();	}