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 null
public VerticalRulerEvent(Annotation annotation, Event event)
annotation
- the annotation concerned, or null
event
- the SWT event that triggered this vertical ruler event, or null
public Annotation getSelectedAnnotation()
null
public void setSelectedAnnotation(Annotation annotation)
annotation
- the concerned annotation, or null
public Event getEvent()
null
.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.