Class orion.compare.rulers.CompareRuler
The compare ruler is used by the compare editor to render trim around the editor.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/compare/compareRulers.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates a new ruler for the compare editor.
|
Method Attributes | Method Name and Description |
---|---|
addAnnotationType(type)
|
|
getAnnotations(startLine, endLine)
|
|
getOverview(editor)
|
|
isAnnotationTypeVisible(type)
|
|
removeAnnotationType(type)
|
|
setAnnotationModel(annotationModel)
|
|
setView(editor)
|
Method Detail
addAnnotationType(type)
- Parameters:
- type
getAnnotationModel()
getAnnotations(startLine, endLine)
- Parameters:
- startLine
- endLine
getLocation()
getOverview(editor)
- Parameters:
- editor
getRulerStyle()
getWidestAnnotation()
isAnnotationTypeVisible(type)
- Parameters:
- type
removeAnnotationType(type)
- Parameters:
- type
setAnnotationModel(annotationModel)
- Parameters:
- annotationModel
setView(editor)
- Parameters:
- editor