ApplicationModel.st
changeset 2262 fc7b2c2f73bd
parent 2261 25a636384201
child 2270 a7c797806d46
equal deleted inserted replaced
2261:25a636384201 2262:fc7b2c2f73bd
  1439     ^ self canDropObjects:aCollectionOfDropObjects in:aComponent
  1439     ^ self canDropObjects:aCollectionOfDropObjects in:aComponent
  1440 
  1440 
  1441     "Created: / 13-10-2006 / 15:52:20 / cg"
  1441     "Created: / 13-10-2006 / 15:52:20 / cg"
  1442 !
  1442 !
  1443 
  1443 
  1444 drop:aCollectionOfDropObjects in:aComponent
  1444 dropObjects:aCollectionOfDropObjects in:aComponent
  1445     "drop manager wants to drop.
  1445     "drop manager wants to drop.
  1446      This is ony sent, if #canDrop: returned true.
  1446      This is ony sent, if #canDrop: returned true.
  1447      Must be redefine in order for drop to work."
  1447      Must be redefine in order for drop to work."
  1448 
  1448 
  1449     self subclassResponsibility
  1449     self subclassResponsibility
  1450 
  1450 
  1451     "Modified: / 13-10-2006 / 11:28:48 / cg"
  1451     "Created: / 13-10-2006 / 18:25:06 / cg"
  1452 !
  1452 !
  1453 
  1453 
  1454 drop:aCollectionOfDropObjects in:aComponent at:aPoint
  1454 dropObjects:aCollectionOfDropObjects in:aComponent at:aPoint
  1455     "drop manager wants to drop.
  1455     "drop manager wants to drop.
  1456      This is ony sent, if #canDrop:in: returned true.
  1456      This is ony sent, if #canDrop:in: returned true.
  1457      Can be redefined in apps which return true to #canDrop."
  1457      Can be redefined in apps which return true to #canDrop."
  1458 
  1458 
  1459     self drop:aCollectionOfDropObjects in:aComponent
  1459     self dropObjects:aCollectionOfDropObjects in:aComponent
  1460 
  1460 
  1461     "Modified: / 13-10-2006 / 11:27:53 / cg"
  1461     "Created: / 13-10-2006 / 18:25:13 / cg"
  1462 ! !
  1462 ! !
  1463 
  1463 
  1464 !ApplicationModel methodsFor:'easy bindings'!
  1464 !ApplicationModel methodsFor:'easy bindings'!
  1465 
  1465 
  1466 registerInterestIn:aValueModel using:aSelectorOrArray
  1466 registerInterestIn:aValueModel using:aSelectorOrArray
  2942 ! !
  2942 ! !
  2943 
  2943 
  2944 !ApplicationModel class methodsFor:'documentation'!
  2944 !ApplicationModel class methodsFor:'documentation'!
  2945 
  2945 
  2946 version
  2946 version
  2947     ^ '$Header: /cvs/stx/stx/libview2/ApplicationModel.st,v 1.229 2006-10-13 16:24:41 cg Exp $'
  2947     ^ '$Header: /cvs/stx/stx/libview2/ApplicationModel.st,v 1.230 2006-10-13 16:27:12 cg Exp $'
  2948 ! !
  2948 ! !
  2949 
  2949 
  2950 ApplicationModel initialize!
  2950 ApplicationModel initialize!