def update(self):
        """Update the tree view."""
        # This is a hack.
        if self.ui and self.ui.control:
            try:
                ed = self.ui._editors[0]
                ed.update_editor()
                self.ui.control.Refresh()
            except (__HOLE__, IndexError):
                pass
    # Another name for update.
dataset/ETHPy150Open enthought/mayavi/tvtk/pipeline/browser.py/PipelineBrowser.update