|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A vertical ruler column is an element that can be added to a composite
vertical ruler (CompositeRuler
). A
composite vertical ruler is a vertical ruler with dynamically changing
appearance and behavior depending on its actual arrangement of ruler columns.
A vertical ruler column supports a subset of the contract of a vertical
ruler.
CompositeRuler
Method Summary | |
---|---|
Control |
createControl(CompositeRuler parentRuler,
Composite parentControl)
Creates the column's SWT control. |
Control |
getControl()
Returns the column's SWT control. |
int |
getWidth()
Returns the width of this column's control. |
void |
redraw()
Redraws this column. |
void |
setFont(Font font)
Sets the font of this ruler column. |
void |
setModel(IAnnotationModel model)
Associates an annotation model with this ruler column. |
Method Detail |
public void setModel(IAnnotationModel model)
null
is acceptable and clears the ruler.
model
- the new annotation model, may be null
public void redraw()
public Control createControl(CompositeRuler parentRuler, Composite parentControl)
parentRuler
- the parent ruler of this columnparentControl
- the control of the parent ruler
public Control getControl()
public int getWidth()
public void setFont(Font font)
font
- the new font of the ruler column
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.