def METHOD_NAME(self, item):
    self.__customNxdataItem = item
    if item is not None:
        data = item.getVirtualGroup()
    else:
        data = None
    self.__dataViewer.setData(data)
    self.__dataTitle.setVisible(item is not None)
    if item is not None:
        text = item.text()
        self.__dataTitle.setText(text)