LPEX
4.2.3

com.ibm.lpex.alef
Class LpexLineChangeHover

java.lang.Object
  extended by LineChangeHover
      extended by com.ibm.lpex.alef.LpexLineChangeHover

public class LpexLineChangeHover
extends LineChangeHover

Quick diff hover for LPEX.


Constructor Summary
LpexLineChangeHover()
           
 
Method Summary
 IInformationControlCreator getHoverControlCreator()
          Returns the hover control creator of this annotation hover.
 Object getHoverInfo(ISourceViewer sourceViewer, ILineRange lineRange, int visibleLines)
          Returns the text to be presented in the hover window for the specified line range.
 IInformationControlCreator getInformationPresenterControlCreator()
           
protected  String getTabReplacement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LpexLineChangeHover

public LpexLineChangeHover()
Method Detail

getHoverInfo

public Object getHoverInfo(ISourceViewer sourceViewer,
                           ILineRange lineRange,
                           int visibleLines)
Returns the text to be presented in the hover window for the specified line range.

Parameters:
sourceViewer - the LpexSourceViewer this hover is registered with
lineRange - the line range for which information is requested
visibleLines - the number of visible screen rows we can extend over
See Also:
LineChangeHover

getTabReplacement

protected String getTabReplacement()

getHoverControlCreator

public IInformationControlCreator getHoverControlCreator()
Returns the hover control creator of this annotation hover. The hover creator returned here creates an LpexLineChangeInformationControl.

See Also:
IAnnotationHoverExtension

getInformationPresenterControlCreator

public IInformationControlCreator getInformationPresenterControlCreator()

LPEX
4.2.3

Copyright © 2014 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.