|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface for IAnnotationHover
for
IInformationControlCreator
,
IAnnotationHover
Method Summary | |
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. |
Method Detail |
public IInformationControlCreator getHoverControlCreator()
public boolean canHandleMouseCursor()
true
if the mouse cursor can be handledpublic Object 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 lines
null
if no such information existspublic ILineRange 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 for
|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.