pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

Inspector #send: has vanished

ED
Evan Donahue
Sun, Jul 3, 2022 6:39 PM

Returning to Pharo after some time away and it seems the inspector API has
changed a bit. In particular, I can't seem to find the #send: method that
used to allow a list presenter to intercept and modify selected objects
before they were displayed in the next panel of the inspector:

inspectItems: aBuilder
<inspectorPresentationOrder: 1 title: 'Lazy'>
^ aBuilder newList send: [ :x | 10 ]

When I inspect this, I just get an error, and I can't seem to find anything
resembling #send: anywhere in the presenter's class hierarchy. Does anyone
know where this method has gone (Pharo 10)?

Thanks,
Evan

Returning to Pharo after some time away and it seems the inspector API has changed a bit. In particular, I can't seem to find the #send: method that used to allow a list presenter to intercept and modify selected objects before they were displayed in the next panel of the inspector: inspectItems: aBuilder <inspectorPresentationOrder: 1 title: 'Lazy'> ^ aBuilder newList send: [ :x | 10 ] When I inspect this, I just get an error, and I can't seem to find anything resembling #send: anywhere in the presenter's class hierarchy. Does anyone know where this method has gone (Pharo 10)? Thanks, Evan