DirectoryTreeBrowser.st
changeset 4746 37dc71547964
parent 4713 37f134e02205
child 4756 6178f02d1c38
--- a/DirectoryTreeBrowser.st	Sun Mar 30 15:04:24 2003 +0200
+++ b/DirectoryTreeBrowser.st	Sun Mar 30 15:07:54 2003 +0200
@@ -788,26 +788,13 @@
 
 !DirectoryTreeBrowser methodsFor:'drag & drop'!
 
-doDrop:aContext 
-    |col destination destinationPath receiver|
+dropDestinationPath
+    |destination|
 
     destination := self fileList draggedItem.
-    self dropLeave:aContext.
-    destination ifNil:[^ false].
-
-    destinationPath := destination fileName.
+    destination ifNil:[^ nil].
 
-    aContext dropSource argument == #archivApplication ifTrue:[
-        receiver := aContext dropSource receiver.
-        receiver extractSelectedFilesTo:destinationPath askForExtractOptions:true.
-        ^ true
-    ].
-    col := OrderedCollection new.
-    aContext dropObjects do:[:obj | 
-        col add:(obj theObject)
-    ].
-    self copyOrMoveFiles:col to:destinationPath.
-    ^ true
+    ^ destination fileName.
 !
 
 dropOver:aDropContext 
@@ -1254,5 +1241,5 @@
 !DirectoryTreeBrowser class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/DirectoryTreeBrowser.st,v 1.55 2003-03-24 16:59:37 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/DirectoryTreeBrowser.st,v 1.56 2003-03-30 13:07:54 cg Exp $'
 ! !