|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.eclipse.jface.text.AbstractInformationControlManager
|
+--org.eclipse.jface.text.AbstractHoverInformationControlManager
|
+--org.eclipse.jface.text.source.AnnotationBarHoverManager
This manager controls the layout, content, and visibility of an information control in reaction to mouse hover events issued by the vertical ruler of a source viewer.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.jface.text.AbstractInformationControlManager |
AbstractInformationControlManager.Anchor, AbstractInformationControlManager.IInformationControlCloser |
| Field Summary |
| Fields inherited from class org.eclipse.jface.text.AbstractInformationControlManager |
ANCHOR_BOTTOM, ANCHOR_GLOBAL, ANCHOR_LEFT, ANCHOR_RIGHT, ANCHOR_TOP |
| Constructor Summary | |
AnnotationBarHoverManager(ISourceViewer sourceViewer,
IVerticalRuler ruler,
IAnnotationHover annotationHover,
IInformationControlCreator creator)
Deprecated. As of 2.1, replaced by AnnotationBarHoverManager(IVerticalRulerInfo, ISourceViewer, IAnnotationHover, IInformationControlCreator) |
|
AnnotationBarHoverManager(IVerticalRulerInfo rulerInfo,
ISourceViewer sourceViewer,
IAnnotationHover annotationHover,
IInformationControlCreator creator)
Creates an annotation hover manager with the given parameters. |
|
| Method Summary | |
protected void |
computeInformation()
Computes the information to be displayed and the area in which the computed information is valid. |
protected IAnnotationHover |
getAnnotationHover()
Returns the annotation hover for this hover manager. |
protected ISourceViewer |
getSourceViewer()
Returns the source viewer for this hover manager. |
protected IVerticalRulerInfo |
getVerticalRulerInfo()
Returns the vertical ruler info for this hover manager |
| Methods inherited from class org.eclipse.jface.text.AbstractHoverInformationControlManager |
dispose, getHoverEventLocation, getHoverEventStateMask, presentInformation, setEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AnnotationBarHoverManager(ISourceViewer sourceViewer,
IVerticalRuler ruler,
IAnnotationHover annotationHover,
IInformationControlCreator creator)
AnnotationBarHoverManager(IVerticalRulerInfo, ISourceViewer, IAnnotationHover, IInformationControlCreator)
sourceViewer - the source viewer this manager connects toruler - the vertical ruler this manager connects toannotationHover - the annotation hover providing the information to be displayedcreator - the information control creator
public AnnotationBarHoverManager(IVerticalRulerInfo rulerInfo,
ISourceViewer sourceViewer,
IAnnotationHover annotationHover,
IInformationControlCreator creator)
sourceViewer - the source viewer this manager connects toannotationHover - the annotation hover providing the information to be displayedcreator - the information control creator| Method Detail |
protected void computeInformation()
AbstractInformationControlManagersetInformation.
computeInformation in class AbstractInformationControlManagerprotected IAnnotationHover getAnnotationHover()
protected ISourceViewer getSourceViewer()
protected IVerticalRulerInfo getVerticalRulerInfo()
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||