diff options
author | Steve Northover <steve> | 2007-03-16 20:21:14 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2007-03-16 20:21:14 +0000 |
commit | 346d32de8a4c22517aef1de182546bdcf6b2b660 (patch) | |
tree | 816ca9c9ddcb021c7fbe1e03915c9b1086838e28 | |
parent | 2f3665904345a55bdc594fc8c3aa91dbbe038989 (diff) | |
download | eclipse.platform.swt-346d32de8a4c22517aef1de182546bdcf6b2b660.tar.gz eclipse.platform.swt-346d32de8a4c22517aef1de182546bdcf6b2b660.tar.xz eclipse.platform.swt-346d32de8a4c22517aef1de182546bdcf6b2b660.zip |
177223 - [DND] DropTargetEffect API
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java index fb53ff8a40..c0c2f7ffad 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEffect.java @@ -84,7 +84,7 @@ public class DropTargetEffect extends DropTargetAdapter { * @param y the y coordinate used to locate the item * @return the item at the given x-y coordinate, or null if the coordinate is not in a selectable item */ - /*public*/ Item getItem(int x, int y) { + public Widget getItem(int x, int y) { if (control instanceof Table) { return getItem((Table) control, x, y); } @@ -94,7 +94,7 @@ public class DropTargetEffect extends DropTargetAdapter { return null; } - Item getItem(Table table, int x, int y) { + Widget getItem(Table table, int x, int y) { Point coordinates = new Point(x, y); coordinates = table.toControl(coordinates); Item item = table.getItem(coordinates); @@ -114,7 +114,7 @@ public class DropTargetEffect extends DropTargetAdapter { return item; } - Item getItem(Tree tree, int x, int y) { + Widget getItem(Tree tree, int x, int y) { Point coordinates = new Point(x, y); coordinates = tree.toControl(coordinates); Item item = tree.getItem(coordinates); |