Interface IVerticalRulerColumn

    • Method Detail

      • setModel

        void setModel​(IAnnotationModel model)
        Associates an annotation model with this ruler column. A value null is acceptable and clears the ruler.
        Parameters:
        model - the new annotation model, may be null
      • redraw

        void redraw()
        Redraws this column.
      • createControl

        Control createControl​(CompositeRuler parentRuler,
                              Composite parentControl)
        Creates the column's SWT control.
        Parameters:
        parentRuler - the parent ruler of this column
        parentControl - the control of the parent ruler
        Returns:
        the column's SWT control
      • getControl

        Control getControl()
        Returns the column's SWT control.
        Returns:
        the column's SWT control
      • getWidth

        int getWidth()
        Returns the width of this column's control.
        Returns:
        the width of this column's control
      • setFont

        void setFont​(Font font)
        Sets the font of this ruler column.
        Parameters:
        font - the new font of the ruler column