diff options
author | Veronika Irvine <veronika> | 2006-01-30 19:36:09 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2006-01-30 19:36:09 +0000 |
commit | 2ed16da076fc873ec06e0a316e48d1ca2cc356e2 (patch) | |
tree | 73103f3f74d5f8cadc5995da13b6a8b035e7724e /bundles/org.eclipse.swt/Eclipse SWT Drag and Drop | |
parent | d8bc17112fa5220aef70097f2f6ceb1a6873653e (diff) | |
download | eclipse.platform.swt-2ed16da076fc873ec06e0a316e48d1ca2cc356e2.tar.gz eclipse.platform.swt-2ed16da076fc873ec06e0a316e48d1ca2cc356e2.tar.xz eclipse.platform.swt-2ed16da076fc873ec06e0a316e48d1ca2cc356e2.zip |
draw drag selection feedback
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/TreeDragUnderEffect.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/TreeDragUnderEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/TreeDragUnderEffect.java index 83db51036d..ae48df2486 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/TreeDragUnderEffect.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/TreeDragUnderEffect.java @@ -35,7 +35,7 @@ class TreeDragUnderEffect extends DragUnderEffect { static Callback AcceptDragProc; static { - AcceptDragProc = new Callback(TableDragUnderEffect.class, "AcceptDragProc", 5); //$NON-NLS-1$ + AcceptDragProc = new Callback(TreeDragUnderEffect.class, "AcceptDragProc", 5); //$NON-NLS-1$ int acceptDragProc = AcceptDragProc.getAddress(); if (acceptDragProc == 0) SWT.error(SWT.ERROR_NO_MORE_CALLBACKS); } @@ -53,7 +53,7 @@ TreeDragUnderEffect(Tree tree) { static int AcceptDragProc(int theControl, int itemID, int property, int theRect, int theDrag) { DropTarget target = FindDropTarget(theControl, theDrag); if (target == null || target.effect == null) return 0; - TableDragUnderEffect effect = (TableDragUnderEffect)target.effect; + TreeDragUnderEffect effect = (TreeDragUnderEffect)target.effect; return effect.acceptDragProc(theControl, itemID, property, theRect, theDrag); } |