<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Le 29/07/2022 à 19:03, Hernan Wilkinson
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAJAbP8hmTtODFEOf3Kj-LzbmvRFPmAT21hQJvy1Gszj_RfNugg@mail.gmail.com">
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I mentioned it a few weeks ago: it is to have a completely
different <br>
World menu. It should not be that difficult to do I guess.<br>
</blockquote>
<div><br>
</div>
<div>What do you mean by a different World Menu? Different
options? a different way to create it? or something else?</div>
</blockquote>
<p>To have different menu entries. <br>
</p>
<p>For example, in DrGeo, the World menu will only show me options
to open a new sketch, to load on from disk, to edit a Smalltalk
Sketch, to browse Smalltalk sketch (with my own tools), access the
DrGeo preferences browser, etc.<br>
</p>
<br>
<blockquote type="cite"
cite="mid:CAJAbP8hmTtODFEOf3Kj-LzbmvRFPmAT21hQJvy1Gszj_RfNugg@mail.gmail.com">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Also note that instead of using pragmas,
DynamicMenuBuilder uses a <br>
> selector making it faster and without the need of using a
new <br>
> syntactic element.<br>
<br>
I will say that Pragma is more an underused feature of Cuis
(annotating <br>
method) than a new syntactic element.<br>
<br>
In the experiment I wrote, the major benefit of the Pragma is to
let you <br>
know in two clics where are the definitions of a given menu
hierarchy. <br>
It is then easy to understand how is structured a menu
hierarchy. This <br>
IS really the benefit otherwise it has no added value compare to
a selector.<br>
</blockquote>
<div><br>
</div>
<div>Why couldn't you get the same with the selector? Maybe I'm
missing something...</div>
</blockquote>
<p>With the pragma you will make a search for <worldMenu> to
get all the methods defining the menu entries of the World menu
(including sub menus).</p>
<p>As for now, with the World menu, you go to WorldMenu>openMenu,
then search for method #worldMenuOptions, you only get the top
level menu entries. To learn about the first submenu, you then
browse #openOpenMenu, then the #openMenu method, to discover you
have to search for #worldMenuForOpenGroup method. It will open a
lot of browser windows. But once you know where you want to look
at, I guess it is ok.<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAJAbP8hmTtODFEOf3Kj-LzbmvRFPmAT21hQJvy1Gszj_RfNugg@mail.gmail.com">
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
A few weeks ago, when I looked at how to modify the World menu,
I found <br>
difficult to understand the world menu hierarchy : you have to
follow <br>
the top method (the one used by the menu builder), then within
search <br>
for the method symbol invoking the auxiliary menu (there was no
submenu <br>
but it is not relevant). If DynamicBuilder could be improved in
that <br>
precise point, it could be quite an useful feature.<br>
</blockquote>
<div><br>
</div>
<div>In the last cs that Juan pushed I improved it a little, let
me know if you can follow it now.</div>
<div>I'll make a few changes more to use submenus</div>
</blockquote>
<p>I will look.<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAJAbP8hmTtODFEOf3Kj-LzbmvRFPmAT21hQJvy1Gszj_RfNugg@mail.gmail.com">
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
In the other hand the limitation of the pragma is the methods
are class <br>
side.<br>
<br>
Anyway we are just fine with the existing system, it had prove
its <br>
robustness and usefulness and I close the discussion.<br>
</blockquote>
<div><br>
</div>
<div>The disussion was really good! the problem is not being
together to talk about this things in person, for sure we could
get better results</div>
</blockquote>
<p>May be some time in future we could have community distant hacker
sessions.</p>
<p>Thanks</p>
<p>Hilaire<br>
</p>
<br>
</body>
</html>