fix selection problems for default drag handler
authorab
Fri, 28 Mar 2008 14:11:12 +0100
changeset 2411 9cec069b6442
parent 2410 95115083fd32
child 2412 3f11e716f802
fix selection problems for default drag handler
DragAndDropManager.st
--- a/DragAndDropManager.st	Thu Mar 20 13:40:28 2008 +0100
+++ b/DragAndDropManager.st	Fri Mar 28 14:11:12 2008 +0100
@@ -947,6 +947,17 @@
     ]
 ! !
 
+!DragAndDropManager methodsFor:'change & update'!
+
+contentsWillChange
+    "called by the dropTarget-widget if the contents will change during a
+     dragAndDrop operation"
+
+    handler notNil ifTrue:[
+        handler dropTargetWillChange
+    ]
+! !
+
 !DragAndDropManager methodsFor:'dragging-drop source'!
 
 startDragFrom:aView dropSource:aDropSource
@@ -1605,7 +1616,7 @@
 !DragAndDropManager class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/DragAndDropManager.st,v 1.76 2008-03-20 12:40:28 ca Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/DragAndDropManager.st,v 1.77 2008-03-28 13:11:12 ab Exp $'
 ! !
 
 DragAndDropManager initialize!