You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the command tree for the menubar is defined, we can use it. In Chapter *@cha_mailapp@*, we defined `MailClientPresenter >> #initializeMenuBar`. We can replace it by:
439
+
Now that the command tree for the menubar is defined, we can use it. In Chapter *@cha_mailapp@*, we defined `MailClientPresenter >> initializeMenuBar`. We can replace it by:
440
440
441
441
```
442
442
MailClientPresenter >> initializeMenuBar
@@ -456,7 +456,7 @@ As you can see in Figure *@WithMenuBar@*, the first menu in the menubar shows a
456
456
457
457
We can achieve the same grouping with commands. Commands can be managed in groups and such groups can be turned into corresponding menu item sections.
458
458
459
-
Let's make the required changes to the method `MailClientPresenter class >> #buildMessageMenuWith:` that we introduced before.
459
+
Let's make the required changes to the method `MailClientPresenter class >> buildMessageMenuWith:` that we introduced before.
460
460
461
461
```
462
462
MailClientPresenter class >> buildMessageMenuWith: presenter
@@ -481,7 +481,7 @@ An important message is `beDisplayedAsGroup`. It indicates that in a menu, the n
481
481
482
482

483
483
484
-
In our case, we do not want a nested menu. We want a separate section in the menu. With the implementation of `MailClientPresenter class >> #buildMessageMenuWith:` above, we see a menu as shown in Figure *@MenuWithGroup@*. As in Chapter *@cha_menus@*, now there are two groups of commands, separated by a line.
484
+
In our case, we do not want a nested menu. We want a separate section in the menu. With the implementation of `MailClientPresenter class >> buildMessageMenuWith:` above, we see a menu as shown in Figure *@MenuWithGroup@*. As in Chapter *@cha_menus@*, now there are two groups of commands, separated by a line.
485
485
486
486

0 commit comments