Returns the value for this plugin from the inputed editor.
        
        :param      editor | <QtGui.QWidget>
        
        :return     <variant>

def editorValue(self, editor):
        """
        Returns the value for this plugin from the inputed editor.
        
        :param      editor | <QtGui.QWidget>
        
        :return     <variant>
        """
        if isinstance(editor, QLineEdit):
            try:
                return eval(nativestring(editor.text()))
            except:
                return 0
        else:
            return super(NumericPlugin, self).editorValue(editor)