if (IDebugUIConstants.ID_DEBUG_PERSPECTIVE.equals(fCurrentPerspective)) fImplementations= new ITextHover[] { new JavaDebugHover(fEditor) }; else fImplementations= new ITextHover[] { new JavaDebugHover(fEditor), new JavaTypeHover(fEditor) };
installTextHovers();
	protected void update() {				IWorkbenchWindow window= fEditor.getSite().getWorkbenchWindow();		IWorkbenchPage page= window.getActivePage();		if (page != null) {						String newPerspective= page.getPerspective().getId();						if (fCurrentPerspective == null || fCurrentPerspective != newPerspective) {				fCurrentPerspective= newPerspective;				if (IDebugUIConstants.ID_DEBUG_PERSPECTIVE.equals(fCurrentPerspective))					fImplementations= new ITextHover[] { 						new JavaDebugHover(fEditor) 					};				else					fImplementations= new ITextHover[] {						new JavaDebugHover(fEditor),						new JavaTypeHover(fEditor)					};			}		}	}