com.ibm.lpex.alef
Class AnnotationColumn
java.lang.Object
AbstractContributedRulerColumn
com.ibm.lpex.alef.AnnotationColumn
public final class AnnotationColumn extends AbstractContributedRulerColumn
The annotation ruler contribution. Encapsulates an LpexAnnotationRulerColumn
as a
contribution to the rulerColumns
extension point. Instead of instantiating the
delegate itself, LpexAbstractDecoratedTextEditor
creates it using its createAnnotationRulerColumn()
method, and sets it via
setDelegate(IVerticalRulerColumn)
.
Field Summary
static String
ID
The contribution id of the annotation ruler.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
ID
public static final String ID
The contribution id of the annotation ruler.
See Also: Constant Field Values
AnnotationColumn
public AnnotationColumn ()
createControl
public Control createControl (CompositeRuler parentRuler,
Composite parentControl)
getControl
public Control getControl ()
getWidth
public int getWidth ()
redraw
public void redraw ()
setFont
public void setFont (Font font)
setModel
public void setModel (IAnnotationModel model)
columnRemoved
public void columnRemoved ()
setDelegate
public void setDelegate (IVerticalRulerColumn column)
Sets the compatibility delegate. Called by LpexAbstractDecoratedTextEditor
.
Parameters: column
- the delegate column implementation (an LpexAnnotationRulerColumn)
addVerticalRulerListener
public void addVerticalRulerListener (IVerticalRulerListener listener)
getHover
public IAnnotationHover getHover ()
getModel
public IAnnotationModel getModel ()
removeVerticalRulerListener
public void removeVerticalRulerListener (IVerticalRulerListener listener)
getLineOfLastMouseButtonActivity
public int getLineOfLastMouseButtonActivity ()
toDocumentLineNumber
public int toDocumentLineNumber (int y_coordinate)
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.