Resets the tree to use the inputed color set information.
        
        :param      colorSet | <XColorSet>

def setColorSet( self, colorSet ):
        """
        Resets the tree to use the inputed color set information.
        
        :param      colorSet | <XColorSet>
        """
        self.blockSignals(True)
        self.setUpdatesEnabled(False)
        
        self.clear()
        
        self._colorSet = colorSet
        
        if ( colorSet ):
            labels = colorSet.colorGroups()
            self.setHeaderLabels( [colorSet.name()] + labels )
            self.setColumnCount( 1 + len(labels) )
            
            for colorName in colorSet.colorNames():
                item = XColorTreeWidgetItem(colorName, 
                                            colorSet.colors(colorName))
                                            
                self.addTopLevelItem(item)
            
        self.setUpdatesEnabled(True)
        self.blockSignals(False)