Class JavaEditorTextHover

java.lang.Object
org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
com.iizigo.java.JavaEditorTextHover
All Implemented Interfaces:
IJavaEditorTextHover, ITextHover, ITextHoverExtension, ITextHoverExtension2

public class JavaEditorTextHover extends org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
Processing of text hovers in the Java Editor.

Hovers on StringLiterals that are somehow linked to DesignerProp's are shown when no other Java hovers are present.

Author:
Christopher Mindus
  • Constructor Details

    • JavaEditorTextHover

      public JavaEditorTextHover()
  • Method Details

    • getHoverInfo2

      public Object getHoverInfo2(ITextViewer textViewer, IRegion hoverRegion)
      Gets the Hover Info
      Specified by:
      getHoverInfo2 in interface ITextHoverExtension2
      Overrides:
      getHoverInfo2 in class org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
    • getHoverInfo

      public String getHoverInfo(ITextViewer textViewer, IRegion hoverRegion)
      Old hover info.
    • getHoverControlCreator

      public IInformationControlCreator getHoverControlCreator()
      Specified by:
      getHoverControlCreator in interface ITextHoverExtension
      Overrides:
      getHoverControlCreator in class org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
    • getInformationPresenterControlCreator

      public IInformationControlCreator getInformationPresenterControlCreator()
      Delegate method for JavaInformationProvider.getInformationPresenterControlCreator()
      Overrides:
      getInformationPresenterControlCreator in class org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
      Returns:
      The information control creator or null if none is available.