Package org.eclipse.jface.text.source
Class VerticalRulerEvent
java.lang.Object
org.eclipse.jface.text.source.VerticalRulerEvent
An event sent to
IVerticalRulerListener
instances when annotation
related event occurs on the vertical ruler.- Since:
- 3.0
-
Constructor Summary
ConstructorDescriptionVerticalRulerEvent
(Annotation annotation) Creates a new event.VerticalRulerEvent
(Annotation annotation, Event event) Creates a new event. -
Method Summary
-
Constructor Details
-
VerticalRulerEvent
Creates a new event.- Parameters:
annotation
- the annotation concerned, ornull
-
VerticalRulerEvent
Creates a new event.- Parameters:
annotation
- the annotation concerned, ornull
event
- the SWT event that triggered this vertical ruler event, ornull
- Since:
- 3.8
-
-
Method Details
-
getSelectedAnnotation
- Returns:
- the concerned annotation or
null
-
setSelectedAnnotation
- Parameters:
annotation
- the concerned annotation, ornull
-
getEvent
- Returns:
- the SWT event that triggered this vertical ruler event, or
null
. - Since:
- 3.8
-