SWT LPEX
v3.0.5

com.ibm.lpex.alef
Class LpexAnnotationBarHoverManager

java.lang.Object
  extended byorg.eclipse.jface.text.AbstractInformationControlManager
      extended byorg.eclipse.jface.text.AbstractHoverInformationControlManager
          extended byorg.eclipse.jface.text.source.AnnotationBarHoverManager
              extended bycom.ibm.lpex.alef.LpexAnnotationBarHoverManager

public class LpexAnnotationBarHoverManager
extends AnnotationBarHoverManager

LPEX implementation of 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 an LpexSourceViewer.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.jface.text.source.AnnotationBarHoverManager
AnnotationBarHoverManager.Closer
 
Nested classes inherited from class org.eclipse.jface.text.AbstractInformationControlManager
AbstractInformationControlManager.Anchor, AbstractInformationControlManager.IInformationControlCloser
 
Field Summary
 
Fields inherited from class org.eclipse.jface.text.source.AnnotationBarHoverManager
fAllowMouseExit
 
Fields inherited from class org.eclipse.jface.text.AbstractInformationControlManager
ANCHOR_BOTTOM, ANCHOR_GLOBAL, ANCHOR_LEFT, ANCHOR_RIGHT, ANCHOR_TOP, fDisposed, fInformationControl, fInformationControlCloser, fInformationControlCreator, STORE_LOCATION_X, STORE_LOCATION_Y, STORE_SIZE_HEIGHT, STORE_SIZE_WIDTH
 
Constructor Summary
LpexAnnotationBarHoverManager(IVerticalRulerInfo rulerInfo, ISourceViewer sourceViewer, IAnnotationHover annotationHover, IInformationControlCreator creator)
          Creates an annotation hover manager with the given parameters.
 
Method Summary
protected  void computeInformation()
           
 
Methods inherited from class org.eclipse.jface.text.source.AnnotationBarHoverManager
computeLocation, computeSizeConstraints, getAnnotationHover, getSourceViewer, getVerticalRulerInfo
 
Methods inherited from class org.eclipse.jface.text.AbstractHoverInformationControlManager
dispose, getHoverEvent, getHoverEventLocation, getHoverEventStateMask, presentInformation, setEnabled
 
Methods inherited from class org.eclipse.jface.text.AbstractInformationControlManager
computeInformationControlLocation, computeSizeConstraints, disposeInformationControl, doShowInformation, getInformationControl, getNextFallbackAnchor, getSubjectArea, getSubjectControl, handleInformationControlDisposed, handleSubjectControlDisposed, hideInformationControl, install, isEnabled, restoreInformationControlBounds, setAnchor, setCloser, setCustomInformationControlCreator, setFallbackAnchors, setInformation, setInformation, setMargins, setRestoreInformationControlBounds, setSizeConstraints, showInformation, showInformationControl, storeInformationControlBounds, takesFocusWhenVisible, updateLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LpexAnnotationBarHoverManager

public LpexAnnotationBarHoverManager(IVerticalRulerInfo rulerInfo,
                                     ISourceViewer sourceViewer,
                                     IAnnotationHover annotationHover,
                                     IInformationControlCreator creator)
Creates an annotation hover manager with the given parameters. In addition, the hovers anchor is RIGHT and the margin is 5 points to the right.

Parameters:
rulerInfo - the LpexVerticalRuler this manager connects to
sourceViewer - the LpexSourceViewer this manager connects to
annotationHover - the annotation hover providing the information to be displayed
creator - the information control creator
Method Detail

computeInformation

protected void computeInformation()

SWT LPEX
v3.0.5

(C) Copyright IBM Corporation 1998, 2005.  All Rights Reserved.