Class orion.textview.AnnotationRuler
Extends
orion.textview.Ruler.
This objects implements an annotation ruler.
See:
orion.textview.Ruler
orion.textview.Annotation
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/rulers.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.textview.AnnotationRuler(annotationModel, rulerLocation, rulerStyle, defaultAnnotation)
Constructs a new annotation ruler.
|
- Methods borrowed from class orion.textview.Ruler:
- addAnnotationType, getAnnotationModel, getAnnotations, getAnnotationsByType, getAnnotationTypePriority, getLocation, getOverview, getRulerStyle, getView, getWidestAnnotation, isAnnotationTypeVisible, removeAnnotationType, setAnnotationModel, setMultiAnnotation, setMultiAnnotationOverlay, setView
- Events borrowed from class orion.textview.Ruler:
- onClick, onDblClick, onMouseMove, onMouseOut, onMouseOver
Class Detail
orion.textview.AnnotationRuler(annotationModel, rulerLocation, rulerStyle, defaultAnnotation)
Constructs a new annotation ruler.
- Parameters:
- {orion.textview.AnnotationModel} annotationModel
- the annotation model for the ruler.
- {String} rulerLocation Optional, Default: "left"
- the location for the ruler.
- {orion.textview.Style} rulerStyle Optional, Default: undefined
- the style for the ruler.
- {orion.textview.Annotation} defaultAnnotation Optional
- the default annotation.