public interface IAnnotationHoverExtension
IAnnotationHover for
IInformationControlCreator,
IAnnotationHover| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleMouseCursor()
Returns whether the provided information control can interact with the mouse cursor.
|
IInformationControlCreator |
getHoverControlCreator()
Returns the hover control creator of this annotation hover.
|
Object |
getHoverInfo(ISourceViewer sourceViewer,
ILineRange lineRange,
int visibleNumberOfLines)
Returns the object which should be presented in the a
hover popup window.
|
ILineRange |
getHoverLineRange(ISourceViewer viewer,
int lineNumber)
Returns the range of lines that include the given line number for which
the same hover information is valid.
|
IInformationControlCreator getHoverControlCreator()
boolean canHandleMouseCursor()
true if the mouse cursor can be handledObject getHoverInfo(ISourceViewer sourceViewer, ILineRange lineRange, int visibleNumberOfLines)
sourceViewer - the source viewer this hover is registered withlineRange - the line range for which information is requestedvisibleNumberOfLines - the number of visible linesnull if no such information existsILineRange getHoverLineRange(ISourceViewer viewer, int lineNumber)
viewer - the viewer which the hover is queried forlineNumber - the line number of the line for which a hover is displayed fornull for no rangeGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.