def _selected_data(self):
        for items in self.ui.data_list.selectedItems():
            yield self._data[str(items.text())]
Yield all data objects that are selected in the DataList
dataset/ETHPy150Open glue-viz/glue/glue/dialogs/custom_component/qt/widget.py/CustomComponentWidget._selected_data