def paste_action_callback(self, *event):
        """Callback method for paste action

         The method trigger the clipboard paste of the list of scoped variables in the clipboard or in case this list is
         empty and there are other port types selected in the clipboard it will trigger the paste with convert flag.
         The convert flag will cause the insertion of scoped variables with the same names, data types and default values
         the objects of differing port type (in the clipboard) have.
        """
        if react_to_event(self.view, self.tree_view, event) and self.active_entry_widget is None:
            if not global_clipboard.model_copies["scoped_variables"] and \
                    (global_clipboard.model_copies["input_data_ports"] or
                     global_clipboard.model_copies["output_data_ports"]):
                global_clipboard.paste(self.model, limited=['scoped_variables'], convert=True)
            else:
                global_clipboard.paste(self.model, limited=['scoped_variables'])
            return True
Callback method for paste action

         The method trigger the clipboard paste of the list of scoped variables in the clipboard or in case this list is
         empty and there are other port types selected in the clipboard it will trigger the paste with convert flag.
         The convert flag will cause the insertion of scoped variables with the same names, data types and default values
         the objects of differing port type (in the clipboard) have.