Eclipse Platform
2.1

org.eclipse.jface.text.source
Interface IVerticalRulerExtension

All Known Implementing Classes:
VerticalRuler, CompositeRuler

public interface IVerticalRulerExtension

Extension interface for IVerticalRuler. Allows to set the font of the vertical ruler and to set the location of the last mouse button activity.

Since:
2.0

Method Summary
 void setFont(Font font)
          Sets the font of this vertical ruler.
 void setLocationOfLastMouseButtonActivity(int x, int y)
          Sets the location of the last mouse button activity.
 

Method Detail

setFont

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

setLocationOfLastMouseButtonActivity

public void setLocationOfLastMouseButtonActivity(int x,
                                                 int y)
Sets the location of the last mouse button activity. This method is used for example by external mouse listeners.
Parameters:
x - the x-coordinate
y - the y-coordinate

Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.