How to look for local senders/implementors in a hierarchy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to look for local senders/implementors in a hierarchy

Esteban A. Maringolo
Is there any way (shortcut?) to search for the senders/implementors in a selected class or any of its subclasses?

Sometimes I want to find which methods reference a particular one in my own hierarchy, and if the selector name is common I'll have to dive through a long list of methods I'm not interested in :)

Regards!

Esteban A. Maringolo
Reply | Threaded
Open this post in threaded view
|

Re: How to look for local senders/implementors in a hierarchy

Sean P. DeNigris
Administrator
Esteban A. Maringolo wrote
Is there any way (shortcut?) to search for the senders/implementors in a
selected class or any of its subclasses?
A bit convoluted maybe, but you can "Browse Scoped" on the hierarchy from the Nautilus context menu. This is easy if they are all in the same package. If you want more control, you can create a group from the hierarchy and browse scoped on that. An easy way to create the group if the classes are spread across different packages is to bring up a hierarchy view on the base class, then mull-select and "Add in Group" from the context menu. HTH.
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: How to look for local senders/implementors in a hierarchy

Esteban A. Maringolo
2014-02-17 12:28 GMT-03:00 Sean P. DeNigris <[hidden email]>:
> Esteban A. Maringolo wrote
>> Is there any way (shortcut?) to search for the senders/implementors in a
>> selected class or any of its subclasses?
>
> A bit convoluted maybe, but you can "Browse Scoped" on the hierarchy from
> the Nautilus context menu. This is easy if they are all in the same package.


Convoluted it is. But gets the job done. Thanks!

> If you want more control, you can create a group from the hierarchy and
> browse scoped on that. An easy way to create the group if the classes are
> spread across different packages is to bring up a hierarchy view on the base
> class, then mull-select and "Add in Group" from the context menu. HTH.

I got MNU (MetaClass DNU #prettyName). This is Pharo 2.0.

But nevermind, I'm fine with above proposed workaround.



Esteban A. Maringolo

Reply | Threaded
Open this post in threaded view
|

Re: How to look for local senders/implementors in a hierarchy

Sean P. DeNigris
Administrator
On Feb 17, 2014, at 12:34 PM, "Esteban A. Maringolo [via Smalltalk]" <[hidden email]> wrote:
> Convoluted it is. But gets the job done. Thanks!
np

> I got MNU (MetaClass DNU #prettyName). This is Pharo 2.0.
Ah yes, I was in 3.0. IMHO it is finally safe to do so on a regular basis.
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: How to look for local senders/implementors in a hierarchy

Ben Coman
In reply to this post by Esteban A. Maringolo
Esteban A. Maringolo wrote:

> Is there any way (shortcut?) to search for the senders/implementors in
> a selected class or any of its subclasses?
>
> Sometimes I want to find which methods reference a particular one in
> my own hierarchy, and if the selector name is common I'll have to dive
> through a long list of methods I'm not interested in :)
>
> Regards!
>
> Esteban A. Maringolo
Its not a shortcut but what I do is click the <Packages...> button in
Finder to use just on the ones I want, and then search Sources - which
is now pretty quick.
I often have several Finders open all scoped differently, so I often
change the window title (e.g.  "Roassal Finder")  and also set the
window to "Not Closable".

cheers -ben