public interface IVerticalRulerInfo
IVerticalRulerInfo, extension interfaces are used as a means
of evolution. The following extension interfaces exist:
IVerticalRulerInfoExtension since
version 3.0 allowing custom annotation hovers and specific annotation models.
IVerticalRulerInfoExtension| Modifier and Type | Method and Description |
|---|---|
Control |
getControl()
Returns the ruler's SWT control.
|
int |
getLineOfLastMouseButtonActivity()
Returns the line number of the last mouse button activity.
|
int |
getWidth()
Returns the width of this ruler's control.
|
int |
toDocumentLineNumber(int y_coordinate)
Translates a y-coordinate of the ruler's SWT control into
the according line number of the document of the connected text viewer.
|
Control getControl()
int getLineOfLastMouseButtonActivity()
0.int toDocumentLineNumber(int y_coordinate)
y_coordinate - a y-coordinate of the ruler's SWT control-1 if that
coordinate does not correspond to a valid document lineint getWidth()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.