def copySelection(self):
        items = self.get_selected_item_ids(False)
        if items is not None:
            cb = QtGui.QApplication.clipboard()
            text = self.controller.copy_modules_and_connections(items[0],items[1])
            cb.setText(text)
Run command.
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/pipeline_view.py/QPipelineScene.copySelection--crossover with--dataset/ETHPy150Open facelessuser/EasyDiff/easy_diff_basic.py/_EasyDiffCompareBothTextCommand.run