- All Known Implementing Classes:
public interface IAnnotationHoverExtension
Extension interface for
- providing its own information control creator
- providing the range of lines for which the hover for a given line is valid
- providing whether the information control can interact with the mouse cursor
Method SummaryModifier and TypeMethodDescription
booleanReturns whether the provided information control can interact with the mouse cursor.Returns the hover control creator of this annotation hover.Returns the object which should be presented in the a hover popup window.Returns the range of lines that include the given line number for which the same hover information is valid.
getHoverControlCreatorIInformationControlCreator getHoverControlCreator()Returns the hover control creator of this annotation hover.
- the hover control creator
canHandleMouseCursorboolean canHandleMouseCursor()Returns whether the provided information control can interact with the mouse cursor. I.e. the hover must implement custom information control management.
trueif the mouse cursor can be handled
getHoverInfoReturns the object which should be presented in the a hover popup window. The information is requested based on the specified line range.
sourceViewer- the source viewer this hover is registered with
lineRange- the line range for which information is requested
visibleNumberOfLines- the number of visible lines
- the requested information or
nullif no such information exists
getHoverLineRangeReturns the range of lines that include the given line number for which the same hover information is valid.
viewer- the viewer which the hover is queried for
lineNumber- the line number of the line for which a hover is displayed for
- the computed line range or
nullfor no range