public interface IVerticalRulerInfoExtension
IVerticalRulerInfo
.
Introduces the ability to define a custom hover to be used when hovering over the vertical ruler described by this info instance, and to specify the annotation model used by it.
It also allows client to register as listeners on the represented vertical ruler and sends out notifications similar to selection events such as that a particular annotation presented in the vertical ruler has been selected.
IVerticalRuler
,
IAnnotationModel
Modifier and Type | Method and Description |
---|---|
void |
addVerticalRulerListener(IVerticalRulerListener listener)
Registers a vertical ruler listener to be informed if an annotation gets
selected on the vertical ruler.
|
IAnnotationHover |
getHover()
Returns the hover for this vertical ruler (column).
|
IAnnotationModel |
getModel()
Returns the model currently used by the receiver.
|
void |
removeVerticalRulerListener(IVerticalRulerListener listener)
Removes a previously registered listener.
|
IAnnotationHover getHover()
IAnnotationModel getModel()
null
if no model is
installed.void addVerticalRulerListener(IVerticalRulerListener listener)
listener
- the listener to be informedvoid removeVerticalRulerListener(IVerticalRulerListener listener)
listener
is not registered
with the receiver, calling this method has no effect.listener
- the listener to be removedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.