com.ibm.lpex.alef
Class LpexAnnotationBarHoverManager
java.lang.Object
org.eclipse.jface.text.AbstractInformationControlManager
org.eclipse.jface.text.AbstractHoverInformationControlManager
org.eclipse.jface.text.source.AnnotationBarHoverManager
com.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.
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 |
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 |
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 tosourceViewer
- the LpexSourceViewer this manager connects toannotationHover
- the annotation hover providing the information to be displayedcreator
- the information control creator
computeInformation
protected void computeInformation()
(C) Copyright IBM Corporation 1998, 2005. All Rights Reserved.