|
Eclipse Platform Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnnotationHoverExtension
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 |
|---|
IInformationControlCreator getHoverControlCreator()
boolean canHandleMouseCursor()
true if the mouse cursor can be handled
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 exists
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
null for no range
|
Eclipse Platform Release 3.2 |
|||||||||
| 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, 2006. All rights reserved.