diff options
Diffstat (limited to 'org.eclipse.jface.text/src/org/eclipse/jface/text/source/IVerticalRulerExtension.java')
-rw-r--r-- | org.eclipse.jface.text/src/org/eclipse/jface/text/source/IVerticalRulerExtension.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/IVerticalRulerExtension.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/IVerticalRulerExtension.java new file mode 100644 index 00000000000..25e4121a8b0 --- /dev/null +++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/IVerticalRulerExtension.java @@ -0,0 +1,39 @@ +/********************************************************************** +Copyright (c) 2000, 2002 IBM Corp. and others. +All rights reserved. This program and the accompanying materials +are made available under the terms of the Common Public License v1.0 +which accompanies this distribution, and is available at +http://www.eclipse.org/legal/cpl-v10.html + +Contributors: + IBM Corporation - Initial implementation +**********************************************************************/ + +package org.eclipse.jface.text.source; + + +import org.eclipse.swt.graphics.Font; + + +/** + * Extension interface for <code>IVerticalRuler</code>. + * @since 2.0 + */ +public interface IVerticalRulerExtension { + + /** + * Sets the font of this vertical ruler. + * + * @param font the new font of the vertical ruler + */ + void setFont(Font font); + + /** + * Sets the location of the last mouse button activity. This method is used, e.g., by external + * mouse listeners. + * + * @param x the x-coordinate + * @param y the y-coordinate + */ + void setLocationOfLastMouseButtonActivity(int x, int y); +} |