

def _add_link_to_targets(self, link):
    ' Add a link to all the selected data '
    for target in self._selected_data():
        target.add_component_link(link)

dataset/ETHPy150Open glue-viz/glue/glue/dialogs/custom_component/qt/widget.py CustomComponentWidget._add_link_to_targets/original