SubMenuEmployee

For the user to be able to open the Employee List window, we must create a new sub-menu and toolbar item, which can be seen as the Employee List sub-menu and the Rolodex toolbar item in the screen shot in Figure 12-1.

Earlier in Chapter 9, we saw how to use the AppSubMenu ancestor class to create application-specific menu and toolbar items. We will now reuse that pattern in the implementation of the SubMenuEmployee class. We will not spend much time explaining the code required for each method, as this can be found in Chapter 9, but the following sections show the specific code required.

create-menubar

The {create-menubar} method defines the sub-menu items that are available when the user clicks the main Employee menu. Figure ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.