docs: def register_view(self, view):
          """Called when the View was registered"""
          super(MenuBarController, self).register_view(view)
          data_flow_mode = global_runtime_config.get_config_value("DATA_FLOW_MODE", False)
          view["data_flow_mode"].set_active(data_flow_mode)
  
          show_data_flows = global_runtime_config.get_config_value("SHOW_DATA_FLOWS", True)
          view["show_data_flows"].set_active(show_data_flows)
  
          show_data_values = global_runtime_config.get_config_value("SHOW_DATA_FLOW_VALUE_LABELS", True)
          view["show_data_values"].set_active(show_data_values)
  
          show_aborted_preempted = global_runtime_config.get_config_value("SHOW_ABORTED_PREEMPTED", False)
          view["show_aborted_preempted"].set_active(show_aborted_preempted)
  
          view["expert_view"].hide()
          view["grid"].hide()
  
          # use dedicated function to connect the buttons to be able to access the handler id later on
          self.connect_button_to_function('new', 'activate', self.on_new_activate)
          self.connect_button_to_function('open', 'activate', self.on_open_activate)
          self.connect_button_to_function('save', 'activate', self.on_save_activate)
          self.connect_button_to_function('save_as', 'activate', self.on_save_as_activate)
          self.connect_button_to_function('save_as_copy', 'activate', self.on_save_as_copy_activate)
          self.connect_button_to_function('menu_preferences', 'activate', self.on_menu_preferences_activate)
          self.connect_button_to_function('refresh_all', 'activate', self.on_refresh_all_activate)
          self.connect_button_to_function('refresh_libraries', 'activate', self.on_refresh_libraries_activate)
          self.connect_button_to_function('bake_state_machine', 'activate', self.on_bake_state_machine_activate)
          self.connect_button_to_function('quit', 'activate', self.on_quit_activate)
  
          self.connect_button_to_function('cut', 'activate', self.on_cut_selection_activate)
          self.connect_button_to_function('copy', 'activate', self.on_copy_selection_activate)
          self.connect_button_to_function('paste', 'activate', self.on_paste_clipboard_activate)
          self.connect_button_to_function('delete', 'activate', self.on_delete_activate)
          self.connect_button_to_function('is_start_state', 'activate', self.on_toggle_is_start_state_active)
          self.connect_button_to_function('add', 'activate', self.on_add_state_activate)
          self.connect_button_to_function('group', 'activate', self.on_group_states_activate)
          self.connect_button_to_function('ungroup', 'activate', self.on_ungroup_state_activate)
          self.connect_button_to_function('substitute_state', 'activate', self.on_substitute_selected_state_activate)
          self.connect_button_to_function('save_state_as', 'activate', self.on_save_selected_state_as_activate)
          self.connect_button_to_function('undo', 'activate', self.on_undo_activate)
          self.connect_button_to_function('redo', 'activate', self.on_redo_activate)
          self.connect_button_to_function('grid', 'activate', self.on_grid_toggled)
  
          self.connect_button_to_function('data_flow_mode', 'toggled', self.on_data_flow_mode_toggled)
          self.connect_button_to_function('show_data_flows', 'toggled', self.on_show_data_flows_toggled)
          self.connect_button_to_function('show_data_values', 'toggled', self.on_show_data_values_toggled)
          self.connect_button_to_function('show_aborted_preempted', 'toggled', self.on_show_aborted_preempted_toggled)
          self.connect_button_to_function('expert_view', 'activate', self.on_expert_view_activate)
          self.connect_button_to_function('full_screen', 'toggled', self.on_full_screen_mode_toggled)
  
          self.connect_button_to_function('start', 'activate', self.on_start_activate)
          self.connect_button_to_function('start_from_selected', 'activate', self.on_start_from_selected_state_activate)
          self.connect_button_to_function('run_to_selected', 'activate', self.on_run_to_selected_state_activate)
          self.connect_button_to_function('pause', 'activate', self.on_pause_activate)
          self.connect_button_to_function('stop', 'activate', self.on_stop_activate)
          self.connect_button_to_function('step_mode', 'activate', self.on_step_mode_activate)
          self.connect_button_to_function('step_into', 'activate', self.on_step_into_activate)
          self.connect_button_to_function('step_over', 'activate', self.on_step_over_activate)
          self.connect_button_to_function('step_out', 'activate', self.on_step_out_activate)
          self.connect_button_to_function('backward_step', 'activate', self.on_backward_step_activate)
          self.connect_button_to_function('about', 'activate', self.on_about_activate)
          self.full_screen_window.connect('key_press_event', self.on_escape_key_press_event_leave_full_screen)
          self.view['menu_edit'].connect('select', self.check_edit_menu_items_status)
          self.registered_view = True
          self._update_recently_opened_state_machines()
          # do not move next line - here to show warning in GUI debug console
          self.create_logger_warning_if_shortcuts_are_overwritten_by_menu_bar()