def setNumComponents( self, numComponents ) :

		assert( numComponents > 0 )

		if numComponents == self.__numComponents :
			return

		self.__numComponents = numComponents
		self.__setupConnections()
		self.__setText()
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/NameLabel.py/NameLabel.setNumComponents/original