def __add_actions(self):
        """
        Sets Component actions.
        """

        LOGGER.debug("> Adding '{0}' Component actions.".format(self.__class__.__name__))

        add_project_action = self.__engine.actions_manager.get_action(
            "Actions|Umbra|Components|factory.script_editor|&File|Add Project ...")
        remove_project_action = self.__engine.actions_manager.register_action(
            "Actions|Umbra|Components|factory.script_editor|&File|Remove Project",
            slot=self.__view_remove_project_action__triggered)
        self.__script_editor.file_menu.insertAction(add_project_action, remove_project_action)
        self.__script_editor.file_menu.removeAction(add_project_action)
        self.__script_editor.file_menu.insertAction(remove_project_action, add_project_action)
Sets Component actions.