docs: def __initialize_menu_bar(self):
          """
          Initializes Component menu_bar.
          """
  
          self.__file_menu = QMenu("&File", parent=self.__menu_bar)
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|&New",
              shortcut=QKeySequence.New,
              slot=self.__new_file_action__triggered))
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|&Load ...",
              shortcut=QKeySequence.Open,
              slot=self.__load_file_action__triggered))
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|Source ...",
              slot=self.__source_file_action__triggered))
          self.__file_menu.addSeparator()
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|Add Project ...",
              slot=self.__add_project_action__triggered))
          self.__file_menu.addSeparator()
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|&Save",
              shortcut=QKeySequence.Save,
              slot=self.__save_file_action__triggered))
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|Save As ...",
              shortcut=QKeySequence.SaveAs,
              slot=self.__save_file_as_action__triggered))
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|Save All",
              slot=self.__save_all_files_action__triggered))
          self.__file_menu.addSeparator()
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|Revert",
              slot=self.__revert_file_action__triggered))
          self.__file_menu.addSeparator()
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|Close ...",
              shortcut=QKeySequence.Close,
              slot=self.__close_file_action__triggered))
          self.__file_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&File|Close All ...",
              shortcut=Qt.SHIFT + Qt.ControlModifier + Qt.Key_W,
              slot=self.__close_all_files_action__triggered))
          self.__file_menu.addSeparator()
          for action in self.__recent_files_actions:
              self.__file_menu.addAction(action)
          self.__set_recent_files_actions()
          self.__menu_bar.addMenu(self.__file_menu)
  
          self.__edit_menu = QMenu("&Edit", parent=self.__menu_bar)
          self.__edit_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Edit|&Undo",
              shortcut=QKeySequence.Undo,
              slot=self.__undo_action__triggered))
          self.__edit_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Edit|&Redo",
              shortcut=QKeySequence.Redo,
              slot=self.__redo_action__triggered))
          self.__edit_menu.addSeparator()
          self.__edit_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Edit|Cu&t",
              shortcut=QKeySequence.Cut,
              slot=self.__cut_action__triggered))
          self.__edit_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Edit|&Copy",
              shortcut=QKeySequence.Copy,
              slot=self.__copy_action__triggered))
          self.__edit_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Edit|&Paste",
              shortcut=QKeySequence.Paste,
              slot=self.__paste_action__triggered))
          self.__edit_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Edit|Delete",
              slot=self.__delete_action__triggered))
          self.__edit_menu.addSeparator()
          self.__edit_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Edit|Select All",
              shortcut=QKeySequence.SelectAll,
              slot=self.__select_all_action__triggered))
          self.__menu_bar.addMenu(self.__edit_menu)
  
          self.__source_menu = QMenu("&Source", parent=self.__menu_bar)
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Delete Line(s)",
              shortcut=Qt.ControlModifier + Qt.Key_D,
              slot=self.__delete_lines_action__triggered))
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Duplicate Line(s)",
              shortcut=Qt.SHIFT + Qt.ControlModifier + Qt.Key_D,
              slot=self.__duplicate_lines_action__triggered))
          self.__source_menu.addSeparator()
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Move Up",
              shortcut=Qt.SHIFT + Qt.ControlModifier + Qt.ALT + Qt.Key_Up,
              slot=self.__move_up_action__triggered))
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Move Down",
              shortcut=Qt.SHIFT + Qt.ControlModifier + Qt.ALT + Qt.Key_Down,
              slot=self.__move_down_action__triggered))
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Indent Selection",
              shortcut=Qt.Key_Tab,
              slot=self.__indent_selection_action__triggered))
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Unindent Selection",
              shortcut=Qt.Key_Backtab,
              slot=self.__unindent_selection_action__triggered))
          self.__source_menu.addSeparator()
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Convert Indentation To Tabs",
              slot=self.__convert_indentation_to_tabs_action__triggered))
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Convert Indentation To Spaces",
              slot=self.__convert_indentation_to_spaces_action__triggered))
          self.__source_menu.addSeparator()
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Remove Trailing WhiteSpaces",
              slot=self.__remove_trailing_white_spaces_action__triggered))
          self.__source_menu.addSeparator()
          self.__source_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Source|Toggle Comments",
              shortcut=Qt.ControlModifier + Qt.Key_Slash,
              slot=self.__toggle_comments_action__triggered))
          self.__menu_bar.addMenu(self.__source_menu)
  
          self.__navigate_menu = QMenu("&Navigate", parent=self.__menu_bar)
          self.__navigate_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Navigate|Goto Line ...",
              shortcut=Qt.ControlModifier + Qt.Key_L,
              slot=self.__go_to_line_action__triggered))
          self.__navigate_menu.addSeparator()
          self.__menu_bar.addMenu(self.__navigate_menu)
  
          self.__search_menu = QMenu("&Search", parent=self.__menu_bar)
          self.__search_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Search|Search And Replace ...",
              shortcut=Qt.ControlModifier + Qt.Key_F,
              slot=self.__search_and_replace_action__triggered))
          self.__search_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Search|Search In Files ...",
              shortcut=Qt.ALT + Qt.ControlModifier + Qt.Key_F,
              slot=self.__search_in_files_action__triggered))
          self.__search_menu.addSeparator()
          self.__search_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Search|Search Next",
              shortcut=Qt.ControlModifier + Qt.Key_K,
              slot=self.__search_next_action__triggered))
          self.__search_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Search|Search Previous",
              shortcut=Qt.SHIFT + Qt.ControlModifier + Qt.Key_K,
              slot=self.__search_previous_action__triggered))
          self.__menu_bar.addMenu(self.__search_menu)
  
          self.__command_menu = QMenu("&Command", parent=self.__menu_bar)
          self.__command_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Command|&Evaluate Selection",
              shortcut=Qt.ControlModifier + Qt.Key_Return,
              slot=self.__evaluate_selection_action__triggered))
          self.__command_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&Command|Evaluate &Script",
              shortcut=Qt.SHIFT + Qt.CTRL + Qt.Key_Return,
              slot=self.__evaluate_script_action__triggered))
          self.__menu_bar.addMenu(self.__command_menu)
  
          self.__view_menu = QMenu("&View", parent=self.__menu_bar)
          self.__view_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&View|Increase Font Size",
              shortcut=Qt.ControlModifier + Qt.Key_Plus,
              slot=self.__increase_font_size_action__triggered))
          self.__view_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&View|Decrease Font Size",
              shortcut=Qt.ControlModifier + Qt.Key_Minus,
              slot=self.__decrease_font_size_action__triggered))
          self.__view_menu.addSeparator()
          self.__view_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&View|Toggle Word Wrap",
              slot=self.__toggle_word_wrap_action__triggered))
          self.__view_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&View|Toggle White Spaces",
              slot=self.__toggle_white_spaces_action__triggered))
          self.__view_menu.addSeparator()
          self.__view_menu.addAction(self.__engine.actions_manager.register_action(
              "Actions|Umbra|Components|factory.script_editor|&View|Loop Through Editors",
              shortcut=Qt.AltModifier + Qt.SHIFT + Qt.Key_Tab,
              slot=self.__loop_through_editors_action__triggered))
          self.__menu_bar.addMenu(self.__view_menu)