On Sun, Aug 16, 2015 at 7:10 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:
Andrei Chis wrote
> For changing dynamically the tags (annotations) that are in the context
> you
> can use the 'Filter presentations' option from the window menu of the
> inspector window.

This seems interesting, but how does one hook one's tags into this menu? For
example, I expected my `<gtInspectorTag: #myCoolTag>` to appear in the
window menu along with the usual tags, but when it didn't I noticed that
GTInspector>>#initialize seems to hard-code which tags are available.

Yes, GTInspector>>#initialize hardcodes the available tags. Currently we did 
not use this feature much so it can still be improved. Still a general mechanism
for discovering tags could slow down the inspector a bit. Maybe specifying the
tags in class side methods could be an option?



Also, since multiple tags can be associated to the same view, why:
  <gtInspectorTag: #myCoolTag1>
  <gtInspectorTag: #myCoolTag2>
  <gtInspectorTag: #myCoolTag3>
instead of:
  <gtInspectorTags: #(myCoolTag1 myCoolTag2 myCoolTag3)>
?


We didn't really had this use case :)
Until now we only added two tags to a presentation.
Could be easily added.


Cheers,
Andrei

 


-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Presentation-Context-Update-tp4843171p4843327.html
Sent from the Moose mailing list archive at Nabble.com.
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev