LPEX
4.4.0

com.ibm.lpex.alef
Class LpexAnnotationBarHoverManager

java.lang.Object
  extended by AnnotationBarHoverManager
      extended by 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 composite or vertical ruler of an LpexSourceViewer.


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()
           
protected  Point computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl)
           
 
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 hover's anchor is RIGHT, and the margin is 3 pixels to the right.

Parameters:
rulerInfo - the LpexCompositeRuler/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()

computeSizeConstraints

protected Point computeSizeConstraints(Control subjectControl,
                                       Rectangle subjectArea,
                                       IInformationControl informationControl)

LPEX
4.4.0

Copyright � 2016 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.