def METHOD_NAME(self, settings, node, group=False):
    """
    Loads the ATM switch settings.
    :param settings: the settings (dictionary)
    :param node: Node instance
    :param group: indicates the settings apply to a group
    """
    if not group:
        self.uiNameLineEdit.setText(settings["name"])
    else:
        self.uiNameLineEdit.setEnabled(False)
    self.uiMappingTreeWidget.clear()
    self._mapping = {}
    self._node = node
    for source, destination in settings["mappings"].items():
        item = QtWidgets.QTreeWidgetItem(self.uiMappingTreeWidget)
        item.setText(0, source)
        item.setText(1, destination)
        self.uiMappingTreeWidget.addTopLevelItem(item)
        self._mapping[source] = destination
    self.uiMappingTreeWidget.resizeColumnToContents(0)
    self.uiMappingTreeWidget.resizeColumnToContents(1)