Hi,

On Wed, Aug 17, 2016 at 10:01 AM, Peter Uhnák <i.uhnak@gmail.com> wrote:

---------- Forwarded message ----------
From: Peter Uhnak <i.uhnak@gmail.com>
Date: Sat, Aug 13, 2016 at 5:29 PM
Subject: hooking into GTInspector tags
To: Pharo-Users List <pharo-users@lists.pharo.org>


Hi,

how can one hook into the GTInspector tags that can be filtered?

Apparently I can assign a presentation to a tag with `<gtInspectorTag: #examples>`,
however this works only if the tag name was already added.

As this was done in GTInspector>>initialize, it makes the whole filtering idea quite useless (unless I explicitly initialize GTInspector, which is not the natural approach).

Can't it just collect all the tags from the current presentations?

Indeed showing the tags from all presentations would be better. Can you open a bug/feature report.
 

Or can I somehow access the GTInspector instance from the `composite` argument?

You can add a second parameter to the method that gives you access to the GTInspector instance (for example gtInspectorAnnouncementsIn:context:).
Still the previous solution would be better for dealing with tags.


Cheers,
Andrei

Thanks,
Peter


_______________________________________________
Moose-dev mailing list
Moose-dev@list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev