public interface IAnnotationHover
In order to provide backward compatibility for clients of
IAnnotationHover, extension interfaces are used as a means of
evolution. The following extension interfaces exist:
IAnnotationHoverExtensionsince 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.
IAnnotationHoverExtension2since version 3.2 allowing a text hover to specify whether it handles mouse-wheel events itself.
Clients may implement this interface.
String getHoverInfo(ISourceViewer sourceViewer, int lineNumber)
sourceViewer- the source viewer this hover is registered with
lineNumber- the line number for which information is requested
nullif no such information exists
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.