Hi,

I have
aTreeMorph := PluggableTreeMorph
on: self
 list: #items
selected: #selectedItem
changeSelected: #onItemClick:.

MyClass>>selectedItem
    ^ myCollection collect:[:item |  PluggableListItemWrapper with: item]


When a item is selected, PluggableTreeMorph passes the wrapped item to
#onItemClick:

Shouldn't it be more consistent to have the instance of
 PluggableListItemWrapper passed instead ?

Laurent Laffont
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to