public class VerticalRulerEvent extends Object
IVerticalRulerListener instances when annotation
related event occurs on the vertical ruler.| Constructor and Description |
|---|
VerticalRulerEvent(Annotation annotation)
Creates a new event.
|
VerticalRulerEvent(Annotation annotation,
Event event)
Creates a new event.
|
| Modifier and Type | Method and Description |
|---|---|
Event |
getEvent() |
Annotation |
getSelectedAnnotation() |
void |
setSelectedAnnotation(Annotation annotation) |
public VerticalRulerEvent(Annotation annotation)
annotation - the annotation concerned, or nullpublic VerticalRulerEvent(Annotation annotation, Event event)
annotation - the annotation concerned, or nullevent - the SWT event that triggered this vertical ruler event, or nullpublic Annotation getSelectedAnnotation()
nullpublic void setSelectedAnnotation(Annotation annotation)
annotation - the concerned annotation, or nullpublic Event getEvent()
null.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.