def setEditorData( self, editor, value ):
        """
        Sets the value for the given editor to the inputed value.
        
        :param      editor | <QWidget>
                    value  | <variant>
        """
        
        # set the data for a multitagedit
        if ( isinstance(editor, XMultiTagEdit) ):
            if ( not isinstance(value, list) ):
                value = [nativestring(value)]
            else:
                value = map(nativestring, value)
            
            editor.setTags(value)
            editor.setCurrentItem(editor.createItem())
            
        # set the data for a combobox
        elif ( isinstance(editor, QComboBox) ):
            i = editor.findText(nativestring(value))
            editor.setCurrentIndex(i)
            editor.lineEdit().selectAll()
        
        # set the data for a line edit
        elif ( isinstance(editor, QLineEdit) ):
            editor.setText(nativestring(value))
            editor.selectAll()
Sets the value for the given editor to the inputed value.
        
        :param      editor | <QWidget>
                    value  | <variant>