Fwd: hooking into GTInspector tags

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

Fwd: hooking into GTInspector tags

Peter Uhnak

---------- Forwarded message ----------
From: Peter Uhnak <[hidden email]>
Date: Sat, Aug 13, 2016 at 5:29 PM
Subject: hooking into GTInspector tags
To: Pharo-Users List <[hidden email]>


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?

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

Thanks,
Peter


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: hooking into GTInspector tags

Andrei Chis
Hi,

On Wed, Aug 17, 2016 at 10:01 AM, Peter Uhnák <[hidden email]> wrote:

---------- Forwarded message ----------
From: Peter Uhnak <[hidden email]>
Date: Sat, Aug 13, 2016 at 5:29 PM
Subject: hooking into GTInspector tags
To: Pharo-Users List <[hidden email]>


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
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev