Rebuilds the current item in the scene.

def rebuild( self ):
        """
        Rebuilds the current item in the scene.
        """
        self.markForRebuild(False)
        
        self._textData = []
        
        if ( self.rebuildBlocked() ):
            return
        
        scene = self.scene()
        if ( not scene ):
            return
        
        # rebuild a month look
        if ( scene.currentMode() == scene.Mode.Month ):
            self.rebuildMonth()
        elif ( scene.currentMode() in (scene.Mode.Day, scene.Mode.Week) ):
            self.rebuildDay()