Le 24/1/15 18:27, Piotr Klibert a écrit :
Hi,
working towards my app I encountered another problem. It's about drag and drop support for lists in Spec and underlying Morphs.
While multiple selection is well supported in PluggableListMorph, reading #startDrag: and #startDragExtended: led me to believe that there is no support for dragging a bunch of list elements at once.
The drag and drop support sucks. I'm sorry about it. But this is a reality.
It looks like drag is always initialized for the element that was clicked (dragIndex := self rowAtLocation: evt position.) and I see no easy extension point for changing this to support dragging all selected items instead.
Am I missing some methods or classes that would let me do this, or is this indeed not possible right now? How would I go about implementing it?
Best regards, Piotr Klibert