UIPainter.st
changeset 2117 3d456b890124
parent 2114 eca72652fa9e
child 2124 214c0d1d3c5a
equal deleted inserted replaced
2116:90fc11105f36 2117:3d456b890124
  4869 
  4869 
  4870 ! !
  4870 ! !
  4871 
  4871 
  4872 !UIPainter::TreeView methodsFor:'drag & drop'!
  4872 !UIPainter::TreeView methodsFor:'drag & drop'!
  4873 
  4873 
  4874 canDrop:aCollectionOfDropObjects
  4874 canDrop:aDropContext
  4875     "can drop ? -> delegate to canvas"
  4875     "can drop ? -> delegate to canvas"
  4876 
  4876 
  4877     ^ self canvas canDrop:aCollectionOfDropObjects
  4877     ^ self canvas canDrop:aDropContext
  4878 !
  4878 
  4879 
  4879     "Modified: / 13-10-2006 / 16:08:43 / cg"
  4880 canDrop:aCollectionOfDropObjects at:aPoint
  4880 !
       
  4881 
       
  4882 canDrop:aDropContext at:aPoint
  4881     "can drop ? -> delegate to canvas"
  4883     "can drop ? -> delegate to canvas"
  4882 
  4884 
  4883     ^ self canvas canDrop:aCollectionOfDropObjects at:aPoint
  4885     ^ self canvas canDrop:aDropContext at:aPoint
  4884 
  4886 
  4885     "Created: / 13-10-2006 / 12:35:53 / cg"
  4887     "Created: / 13-10-2006 / 12:35:53 / cg"
  4886 !
  4888     "Modified: / 13-10-2006 / 16:08:46 / cg"
  4887 
  4889 !
  4888 drop:aCollectionOfDropObjects
  4890 
       
  4891 canDropObjects:aCollectionOfDropObjects
       
  4892     "can drop ? -> delegate to canvas"
       
  4893 
       
  4894     ^ self canvas canDropObjects:aCollectionOfDropObjects
       
  4895 
       
  4896     "Created: / 13-10-2006 / 16:08:31 / cg"
       
  4897 !
       
  4898 
       
  4899 canDropObjects:aCollectionOfDropObjects at:aPoint
       
  4900     "can drop ? -> delegate to canvas"
       
  4901 
       
  4902     ^ self canvas canDropObjects:aCollectionOfDropObjects at:aPoint
       
  4903 
       
  4904     "Created: / 13-10-2006 / 16:08:35 / cg"
       
  4905 !
       
  4906 
       
  4907 drop:aDropContext
  4889     "drop objects -> delegate to canvas"
  4908     "drop objects -> delegate to canvas"
  4890 
  4909 
  4891     self canvas drop:aCollectionOfDropObjects
  4910     self canvas drop:aDropContext
  4892 
  4911 
  4893     "Created: / 13-10-2006 / 12:35:59 / cg"
  4912     "Created: / 13-10-2006 / 12:35:59 / cg"
  4894 !
  4913     "Modified: / 13-10-2006 / 16:09:04 / cg"
  4895 
  4914 !
  4896 drop:aCollectionOfDropObjects at:aPoint
  4915 
       
  4916 drop:aDropContext at:aPoint
  4897     "drop objects -> delegate to canvas"
  4917     "drop objects -> delegate to canvas"
  4898 
  4918 
  4899     self canvas drop:aCollectionOfDropObjects at:aPoint
  4919     self canvas drop:aDropContext at:aPoint
       
  4920 
       
  4921     "Modified: / 13-10-2006 / 16:09:07 / cg"
       
  4922 !
       
  4923 
       
  4924 dropObjects:aCollectionOfDropObjects
       
  4925     "drop objects -> delegate to canvas"
       
  4926 
       
  4927     self canvas dropObjects:aCollectionOfDropObjects
       
  4928 
       
  4929     "Created: / 13-10-2006 / 16:08:51 / cg"
       
  4930 !
       
  4931 
       
  4932 dropObjects:aCollectionOfDropObjects at:aPoint
       
  4933     "drop objects -> delegate to canvas"
       
  4934 
       
  4935     self canvas dropObjects:aCollectionOfDropObjects at:aPoint
       
  4936 
       
  4937     "Created: / 13-10-2006 / 16:08:56 / cg"
  4900 ! !
  4938 ! !
  4901 
  4939 
  4902 !UIPainter::TreeView methodsFor:'enumerating'!
  4940 !UIPainter::TreeView methodsFor:'enumerating'!
  4903 
  4941 
  4904 allItemsDo:aOneArgBlock
  4942 allItemsDo:aOneArgBlock