This method is called when the user selects items of the View menu.
Updates the interactions and definitions windows based on the contents of the menus.