def setVariable(self, variable):
        self.variable = variable
        self.updateVariableString()
Set the variable and update the variable string that is shown to the
dataset/ETHPy150Open VisTrails/VisTrails/contrib/cdat/cdat_window.py/QDefinedVariableItem.setVariable