|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addAnnotationType(Object annotationType)
Adds the given annotation type to this overview ruler. |
void |
addHeaderAnnotationType(Object annotationType)
Adds the given annotation type to the header of this ruler. |
int |
getAnnotationHeight()
Returns the height of the visual presentation of an annotation in this overview ruler. |
Control |
getHeaderControl()
Returns this rulers header control. |
boolean |
hasAnnotation(int y)
Returns whether there is an annotation an the given y coordinate. |
void |
removeAnnotationType(Object annotationType)
Removes the given annotation type from this overview ruler. |
void |
removeHeaderAnnotationType(Object annotationType)
Removes the given annotation type from the header of this ruler. |
void |
setAnnotationTypeColor(Object annotationType,
Color color)
Sets the color for the given annotation type in this overview ruler. |
void |
setAnnotationTypeLayer(Object annotationType,
int layer)
Sets the drawing layer for the given annotation type in this overview ruler. |
Methods inherited from interface org.eclipse.jface.text.source.IVerticalRuler |
createControl, getModel, setModel, update |
Methods inherited from interface org.eclipse.jface.text.source.IVerticalRulerInfo |
getControl, getLineOfLastMouseButtonActivity, getWidth, toDocumentLineNumber |
Method Detail |
public boolean hasAnnotation(int y)
y
-
true
if there is an annotation, false
otherwisepublic int getAnnotationHeight()
public void setAnnotationTypeColor(Object annotationType, Color color)
annotationType
- the annotation typecolor
- the colorpublic void setAnnotationTypeLayer(Object annotationType, int layer)
annotationType
- the annotation typelayer
- the drawing layerpublic void addAnnotationType(Object annotationType)
annotationType
- the annotation typepublic void removeAnnotationType(Object annotationType)
public void addHeaderAnnotationType(Object annotationType)
annotationType
- the annotation type to be trackedpublic void removeHeaderAnnotationType(Object annotationType)
annotationType
- the annotation type to be removedpublic Control getHeaderControl()
|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |