@Override public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { IAnnotationHover hover = annotationHoverProvider.get(); if (hover instanceof ISourceViewerAware) { ((ISourceViewerAware) hover).setSourceViewer(sourceViewer); } return hover; }
public IAnnotationHover getHover() { int activeLine= getParentRuler().getLineOfLastMouseButtonActivity(); if (fRevisionPainter.hasHover(activeLine)) return fRevisionPainter.getHover(); if (fDiffPainter.hasHover(activeLine)) return fDiffPainter.getHover(); return null; }
@Override public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return new CommonAnnotationHover(false) { protected boolean isIncluded(Annotation annotation) { return isShowInVerticalRuler(annotation); } }; }
@Override public IAnnotationHover getOverviewRulerAnnotationHover(ISourceViewer sourceViewer) { return new CommonAnnotationHover(true) { protected boolean isIncluded(Annotation annotation) { return isShowInOverviewRuler(annotation); } }; }
@Override public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return new HTMLAnnotationHover(false) { @Override protected boolean isIncluded(Annotation annotation) { return isShowInVerticalRuler(annotation); } }; }
@Override public IAnnotationHover getOverviewRulerAnnotationHover(ISourceViewer sourceViewer) { return new HTMLAnnotationHover(true) { @Override protected boolean isIncluded(Annotation annotation) { return isShowInOverviewRuler(annotation); } }; }
@Override public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return new ApexAnnotationHover() { @Override protected boolean isIncluded(Annotation annotation) { return isShowInVerticalRuler(annotation); } }; }
@Override public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return annotationHoover; }
@Override public IAnnotationHover getAnnotationHover(ISourceViewer viewer) { return new EiffelAnnotationHOver(); }
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return new DefaultAnnotationHover(); }
/** * @Override */ public IAnnotationHover getAnnotationHover( ISourceViewer sourceViewer){ return new MyAnnotationHover(); }
/** * @return The annotation hover text provider for this editor */ public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return annotationHover; }
/** * @return the annotation hover text provider for this editor */ public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return annotationHover; }
/** * Ruler annotation */ public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return new TLAAnnotationHover(); }
@Override public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return null; }
@Override public IAnnotationHover getOverviewRulerAnnotationHover(ISourceViewer sourceViewer) { return null; }
public Class<? extends IAnnotationHover> bindIAnnotationHover () { return ProblemAnnotationHover.class; }
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return null; }
public IAnnotationHover getOverviewRulerAnnotationHover(ISourceViewer sourceViewer) { return null; }
public IAnnotationHover getAnnotationHover(ISourceViewer aSourceViewer) { return new VelocityAnnotationHover(); }
public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) { return new AnnotationHover(); }
/** * Set-up the hover manager (for when the user hovers their mouse over * the margin) */ /* Override */ public IAnnotationHover getAnnotationHover( ISourceViewer sourceViewer ) { return new TrafficScriptTextHover( editor ); }