Login  Register

Re: Scoped Senders

Posted by Goubier Thierry on Sep 26, 2013; 2:54pm
URL: https://forum.world.st/Scoped-Senders-tp4710563p4710577.html



Le 26/09/2013 16:58, Goubier Thierry a écrit :

> In AltBrowser, double click on the package you want, in the resulting
> package-scoped browser, choose the method and select sendersOf in the
> context menu :)
>
> (It may not be working completely at the moment)
>
> By hand, write the following.
>
> Create a RBEnvironment:
>
> | rbp |
> rbp := RBBrowserEnvironment new forPackages: { }.
>
> Then do the senders search on it:
>
> rbp referencesTo: aSelector in: rbp

Sorry, should be
       
        rbp referencesTo: aSelector

Thierry

>
> Thierry
>
> Le 26/09/2013 16:39, Sean P. DeNigris a écrit :
>> How do I find the senders of a message, but just in a certain set of
>> packages?
>>
>> Thanks.
>>
>>
>>
>> -----
>> Cheers,
>> Sean
>> --
>> View this message in context:
>> http://forum.world.st/Scoped-Senders-tp4710563.html
>> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>>
>>
>>
>

--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95