def __initialize_context_ui(self):
        """
        Sets the context Widget ui.
        """

        if foundations.common.is_internet_available():
            text = self.__onlineText
        else:
            text = self.__offlineText
        self.Header_label.setText(text)