diff options
author | Carolyn MacLeod <carolyn> | 2008-05-28 21:37:27 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2008-05-28 21:37:27 +0000 |
commit | 10946719389470f65e13f1be11fcaf6eb8e0708e (patch) | |
tree | b95c19ccc8da4827cfcde2c88aa1423641308a99 /bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt | |
parent | 3a3b000b99cbce518a33fdb9f12963c362140bb5 (diff) | |
download | eclipse.platform.swt-10946719389470f65e13f1be11fcaf6eb8e0708e.tar.gz eclipse.platform.swt-10946719389470f65e13f1be11fcaf6eb8e0708e.tar.xz eclipse.platform.swt-10946719389470f65e13f1be11fcaf6eb8e0708e.zip |
234481 - API consistency changes needed
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Caret.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Caret.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Caret.java index 3fa6bf2aa5..fdd54d751c 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Caret.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Caret.java @@ -37,7 +37,6 @@ public class Caret extends Widget { boolean isVisible; Image image; Font font; - int offset; /** * Constructs a new instance of this class given its parent @@ -198,11 +197,6 @@ public Point getLocation () { return new Point (x, y); } -public int getOffset () { - checkWidget (); - return offset; -} - /** * Returns the receiver's parent, which must be a <code>Canvas</code>. * @@ -467,11 +461,6 @@ public void setLocation (Point location) { setLocation (location.x, location.y); } -public void setOffset (int offset) { - checkWidget (); - this.offset = Math.max (0, offset); -} - /** * Sets the receiver's size to the point specified by the arguments. * |