Modified ScenarioView and ComponentView to use the generic MenuItemProvider