m := TreeModel new.
m roots: #(1 2 3 4 5).
m dragEnabled: true.
m dropEnabled: true.
m transferBlock: [ :p :s |
TransferMorph
withPassenger: s model
selectedItems from: s ].
m multiSelection: true.
m openWithSpec.
I guess the same applies for the other model, aka, redefining the TransferMorph.
I am currently working on a TransferModel to hide the morphic part of it, but it will not be in Pharo 3.0.
Ben
Hi,
I'm looking for a "kind-of-list" spec model (or morph) in Pharo 3 that supports multiple-selection drag-and-drop. I tried with TreeModel, NewListModel and ListModel... they don't support.
Note: NewListModel even doesn't support single-selection drag-and-drop... is this a known issue or should I report it?
Thanks,
Mart�n