'Import data from string'

def import_from_string(self, text, title=None):

    data = self.model.get_data()
    editor = ImportWizard(self, text, title=title, contents_title=_('Clipboard    contents'), varname=fix_reference_name('data', blacklist=list(data.keys())))
    if editor.exec_():
        (var_name, clip_data) = editor.get_data()
        self.new_value(var_name, clip_data)
