Login  Register

Finding references to pool dictionaries.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Finding references to pool dictionaries.

Jurko Gospodnetic
44 posts
Hi.

  Is there a way to easily find all the references to a given pool
dictionary
using the Dolphin IDE?

  I can get the result I want by evaluating code like:
Class allClasses select: [ :aClass | aClass sharedPoolNames includes:
#CommCtrlConstants ].

  but was wondering if there was some point&click interface I'm overlooking.
This way
takes too much time to find the exact syntax every time I need it. :-) I've
tried searching the
news archive and wiki, but haven't been able to come up with anything.

  Thanks,
    Jurko


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Finding references to pool dictionaries.

Ian Bartholomew-18
327 posts
Jurko,

>   Is there a way to easily find all the references to a given pool
> dictionary
> using the Dolphin IDE?

Have a look at the package at

http://www.idb.me.uk/files/pcdbrowser.zip

It's a PoolDictionary Browser package that, when installed, adds a new
item to the Additional Tools folder and menu.

If you start it, select one of the pools and then choose "References"
off of the "Pool" menu then it will open a dialog giving the name of all
the classes in which the pool is defined.  It also has a "References"
option for a PoolDictionary Item (on of the definition keys) that opens
up a MethodBrowser on all the methods in which that item is used.

--
Ian

Use the Reply-To address to contact me.
Mail sent to the From address is ignored.


Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Finding references to pool dictionaries.

Jurko Gospodnetic
44 posts
Hi Ian.

> >   Is there a way to easily find all the references to a given pool
> > dictionary
> > using the Dolphin IDE?
>
> Have a look at the package at
>
> http://www.idb.me.uk/files/pcdbrowser.zip

  Thanks! I'll give it a try soon.

  Best regards,
    Jurko