In IDEs, associate menus with their activities.