def initialize_ui(self):
        """
        Initializes the Component ui.

        :return: Method success.
        :rtype: bool
        """

        LOGGER.debug("> Initializing '{0}' Component ui.".format(self.__class__.__name__))
        self.__model = ProjectsProxyModel(self)
        self.__model.setSourceModel(self.__script_editor.model)
        self.__delegate = RichText_QStyledItemDelegate(self, self.__style)

        self.Projects_Explorer_treeView.setParent(None)
        self.Projects_Explorer_treeView = Projects_QTreeView(self, self.__model)
        self.Projects_Explorer_treeView.setItemDelegate(self.__delegate)
        self.Projects_Explorer_treeView.setObjectName("Projects_Explorer_treeView")
        self.Projects_Explorer_treeView.setContextMenuPolicy(Qt.ActionsContextMenu)
        self.Projects_Explorer_dockWidgetContents_gridLayout.addWidget(self.Projects_Explorer_treeView, 0, 0)
        self.__view = self.Projects_Explorer_treeView
        self.__view_add_actions()

        self.__add_actions()

        # Signals / Slots.
        self.__view.expanded.connect(self.__view__expanded)
        self.__view.doubleClicked.connect(self.__view__doubleClicked)
        self.__view.selectionModel().selectionChanged.connect(self.__view_selectionModel__selectionChanged)
        self.__script_editor.Script_Editor_tabWidget.currentChanged.connect(
            self.__script_editor_Script_Editor_tabWidget__currentChanged)
        self.__script_editor.model.project_registered.connect(self.__script_editor_model__project_registered)

        self.initialized_ui = True
        return True