code: def setRti(self, rti):
          
          check_class(rti, BaseRti)
          #assert rti.isSliceable, "RTI must be sliceable" # TODO: maybe later
  
          self._rti = rti
          self._updateWidgets()
          self._updateRtiInfo()
docs: Updates the current VisItem from the contents of the repo tree item.
  
              Is a slot but the signal is usually connected to the Collector, which then calls
              this function directly.