code: def SetModel( self, model, adapter=None ):
          
          self.model = model
          if adapter is not None:
              self.adapter = adapter
          self.UpdateDrawing()
docs: Set our model object (root of the tree)