Class CustomProblemAnnotationHover

  • All Implemented Interfaces:
    org.eclipse.jface.text.ITextHover, org.eclipse.jface.text.ITextHoverExtension, org.eclipse.jface.text.ITextHoverExtension2, org.eclipse.jface.text.source.IAnnotationHover, org.eclipse.xtext.ui.editor.ISourceViewerAware

    public class CustomProblemAnnotationHover
    extends org.eclipse.xtext.ui.editor.hover.ProblemAnnotationHover
    ProblemAnnotationHover extension that supports eclipse debug and task resource markers.
    • Field Summary

      • Fields inherited from class org.eclipse.xtext.ui.editor.hover.AbstractHover

        sourceViewer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isHandled​(org.eclipse.jface.text.source.Annotation annotation)  
      • Methods inherited from class org.eclipse.xtext.ui.editor.hover.ProblemAnnotationHover

        formatInfo, getHoverInfo, getHoverInfoInternal, getHoverRegionInternal
      • Methods inherited from class org.eclipse.xtext.ui.editor.hover.AbstractProblemHover

        getAnnotationModel, getAnnotations, getHoverInfo2, getHoverRegion, isBookmark, isError, isInfo, isLineDiffInfo, isSpelling, isWarning, sortBySeverity
      • Methods inherited from class org.eclipse.xtext.ui.editor.hover.AbstractHover

        getDocument, getHoverControlCreator, getHoverInfo, getLineNumber, setSourceViewer
    • Constructor Detail

      • CustomProblemAnnotationHover

        public CustomProblemAnnotationHover()
    • Method Detail

      • isHandled

        protected boolean isHandled​(org.eclipse.jface.text.source.Annotation annotation)
        Overrides:
        isHandled in class org.eclipse.xtext.ui.editor.hover.AbstractProblemHover