[FIX] PLMOfManyModelAccessFix-hpt ( Doesn't seem to implement described fix )

Hernan Tylim htylim at yahoo.com.ar
Tue Apr 6 03:13:29 CEST 2004


Sorry. It seems the change was not clearly documented.

The original code in PluggableListMorphOfMany that the fix change is:

itemSelectedAmongMultiple: index
	^model listSelectionAt: index

And I replaced the direct call to the model with:

itemSelectedAmongMultiple: index
	^self listSelectionAt: index


PluggableListMorphOfMany>>listSelectionAt: is what is already being used
on the class to access to the selection. It's implementation is:

listSelectionAt: index
	getSelectionListSelector ifNil:[^false].
	^model perform: getSelectionListSelector with: index

Hope now is clearer. Please tell me if something is not right.

Regards, 
Hernán

> -----Original Message-----
> From: danielv at netvision.net.il [mailto:danielv at netvision.net.il]
> Sent: Monday, April 05, 2004 7:49 PM
> To: squeak-harvest at lists.squeakfoundation.org; htylim at yahoo.com.ar
> Subject: [FIX] PLMOfManyModelAccessFix-hpt ( Doesn't seem to implement
> described fix )
> 
> 
> Maybe I'm missing something, but the code described is not in this
file.



More information about the Squeak-harvest mailing list