fActivationListener= new ActivationListener(textViewer.getTextWidget()); Shell shell= window.getShell(); shell.addShellListener(fActivationListener);
	public void install(ITextViewer textViewer) {		super.install(textViewer);				fPartListener= new PartListener();		IWorkbenchPartSite site= fTextEditor.getSite();		IWorkbenchWindow window= site.getWorkbenchWindow();		window.getPartService().addPartListener(fPartListener);	}