Package com.iizigo.java
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 Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptiongetHoverInfo(ITextViewer textViewer, IRegion hoverRegion) Old hover info.getHoverInfo2(ITextViewer textViewer, IRegion hoverRegion) Gets the Hover InfoDelegate method forJavaInformationProvider.getInformationPresenterControlCreator()Methods inherited from class org.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
getCodeAssist, getEditor, getEditorInputJavaElement, getHoverRegion, getJavaElementsAt, setEditor
Constructor Details
JavaEditorTextHover
public JavaEditorTextHover()
Method Details
getHoverInfo2
Gets the Hover Info- Specified by:
getHoverInfo2in interfaceITextHoverExtension2- Overrides:
getHoverInfo2in classorg.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
getHoverInfo
Old hover info.getHoverControlCreator
- Specified by:
getHoverControlCreatorin interfaceITextHoverExtension- Overrides:
getHoverControlCreatorin classorg.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
getInformationPresenterControlCreator
Delegate method forJavaInformationProvider.getInformationPresenterControlCreator()- Overrides:
getInformationPresenterControlCreatorin classorg.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover- Returns:
- The information control creator or null if none is available.