|
Eclipse Platform Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides the information to be displayed in a hover popup window which appears over the presentation area of annotations.
In order to provide backward compatibility for clients of
IAnnotationHover
, extension interfaces are used as a means of
evolution. The following extension interfaces exist:
IAnnotationHoverExtension
since
version 3.0 allowing a text hover to provide a creator for the hover control.
This allows for sophisticated hovers in a way that information computed by
the hover can be displayed in the best possible form.Clients may implement this interface.
IAnnotationHoverExtension
Method Summary | |
String |
getHoverInfo(ISourceViewer sourceViewer,
int lineNumber)
Returns the text which should be presented in the a hover popup window. |
Method Detail |
public String getHoverInfo(ISourceViewer sourceViewer, int lineNumber)
sourceViewer
- the source viewer this hover is registered withlineNumber
- the line number for which information is requested
null
if no such information exists
|
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.