Hi Jakob,<br>
<br>
> there seems to have been a query implemented already, doesn't it?<br>
<br>
Well, yeah, that's not a secret, I had only wrapped this for the SystemNavigation:<br>
<br>
    <b>allUsersOf:</b><font color="#000000"> </font><font color="#000080">aTrait</font><font color="#000000"><br>
<br>
</font>    <font color="#000000">    </font><font color="#800000">^</font><font color="#000000"> </font><font color="#000080">aTrait</font><font color="#000000"> </font><font color="#000080">users</font><font color="#000000"> </font><font color="#000080">collect:</font><font color="#000000"> </font><font color="#000000">[</font><font color="#000000">:</font><font color="#000080">class</font><font color="#000000"> </font><font color="#808080">|</font><font color="#000000"> </font><font color="#000000">MethodReference</font><font color="#000000"> </font><font color="#000080">class:</font><font color="#000000"> </font><font color="#000080">class</font><font color="#000000"> </font><font color="#000080">selector:</font><font color="#000000"> </font><font color="#000080">#Definition</font><font color="#000000">]</font><br>
<br>
But when you mentioned the word "hierarchy", you gave me a better idea of how we can integrate trait users into our base tooling ... Why not simply integrate "subtraits" (users) and "supertraits" (other traits from the trait composition) into the hierarchy browser? :D<br>
<br>
I gave this a try, summarizing subclasses/trait users and superclasses/composed traits under a small protocol for "ancestors" and "sucsessors" on Behavior, and think that the result works pretty nice, at least for me. Please see the attached change set and the screenshot. Hope you like it. :-)<br>
<br>
Best,<br>
Christoph<br>
<br>
<font color="#808080">---<br>
</font><i><font color="#808080">Sent from </font></i><i><u><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><font color="#808080">Squeak Inbox Talk</font></a></u></i><br>
<br>
On 2021-10-27T20:20:04+02:00, jakres+squeak@gmail.com wrote:<br>
<br>
> Until now I used the hierarchy view one gets when pressing the ?<br>
> button for the class comment a few more times. Arguably this makes it<br>
> more discoverable. But that it has also worked before means that there<br>
> seems to have been a query implemented already, doesn't it?<br>
> <br>
> Am Mi., 27. Okt. 2021 um 19:41 Uhr schrieb<br>
> <christoph.thiede at student.hpi.uni-potsdam.de>:<br>
> ><br>
> > This small changeset adds a query to the system navigation and an item to the context menu of a trait in a system browser for browsing all users of this trait.<br>
> ><br>
> > Please review & merge. :-)<br>
> ><br>
> > ---<br>
> > Sent from Squeak Inbox Talk