SubMenuEmployee

To enable a mechanism for the VMS Motors application user to access the Add Employee tab control, we will extend the functionality of the SubMenuEmployee class to present another MenuItem option. Figure 20-13 shows the code required.

Earlier in Chapter 13, we created the SubMenuEmployee class, and now we will extend the {create-menubar} method to define another MenuBar item to display to the user.

Figure 20-13. Additional code listing for SubMenuEmployee.create-menubar.
 {define-class public SubMenuEmployee{inherits AppSubMenu} ||||||||||||||||||||||||||||||||||||||||||||||||||||||| || Method: create-submenu || Purpose: This defines the appearance of the menu || item ||||||||||||||||||||||||||||||||||||||||||||||||||||||| {method ...

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.