@Override public Object getHoverInfo(EObject first, ITextViewer textViewer, IRegion hoverRegion) { IEObjectHoverProvider hoverProvider = serviceProvider.findService(first, IEObjectHoverProvider.class); if (hoverProvider==null) return null; IInformationControlCreatorProvider creatorProvider = hoverProvider.getHoverInfo(first, textViewer, hoverRegion); if (creatorProvider==null) return null; this.lastCreatorProvider = creatorProvider; return lastCreatorProvider.getInfo(); }
@Override public Object getHoverInfo(EObject first, ITextViewer textViewer, IRegion hoverRegion) { IInformationControlCreatorProvider creatorProvider = hoverProvider .getHoverInfo(first, textViewer, hoverRegion); if (creatorProvider == null) return null; this.lastCreatorProvider = creatorProvider; return lastCreatorProvider.getInfo(); }