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:
org.eclipse.jdt.ui.text.java.hover.IJavaEditorTextHover
,org.eclipse.jface.text.ITextHover
,org.eclipse.jface.text.ITextHoverExtension
,org.eclipse.jface.text.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
Constructors Constructor Description JavaEditorTextHover()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jface.text.IInformationControlCreator
getHoverControlCreator()
java.lang.String
getHoverInfo(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
Old hover info.java.lang.Object
getHoverInfo2(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
Gets the Hover Infoorg.eclipse.jface.text.IInformationControlCreator
getInformationPresenterControlCreator()
Delegate method forJavaInformationProvider.getInformationPresenterControlCreator()
Method Detail
getHoverInfo2
public java.lang.Object getHoverInfo2(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
Gets the Hover Info- Specified by:
getHoverInfo2
in interfaceorg.eclipse.jface.text.ITextHoverExtension2
- Overrides:
getHoverInfo2
in classorg.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
getHoverInfo
public java.lang.String getHoverInfo(org.eclipse.jface.text.ITextViewer textViewer, org.eclipse.jface.text.IRegion hoverRegion)
Old hover info.
getHoverControlCreator
public org.eclipse.jface.text.IInformationControlCreator getHoverControlCreator()
- Specified by:
getHoverControlCreator
in interfaceorg.eclipse.jface.text.ITextHoverExtension
- Overrides:
getHoverControlCreator
in classorg.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
getInformationPresenterControlCreator
public org.eclipse.jface.text.IInformationControlCreator getInformationPresenterControlCreator()
Delegate method forJavaInformationProvider.getInformationPresenterControlCreator()
- Overrides:
getInformationPresenterControlCreator
in classorg.eclipse.jdt.internal.ui.text.java.hover.AbstractJavaEditorTextHover
- Returns:
- The information control creator or null if none is available.