def _on_selection_changed(self, selection):

        if len(selection) > 0:
            self._table_viewer.input = selection[0]

        return


# Application entry point.
Called when the selection in the tree is changed.
dataset/ETHPy150Open enthought/pyface/examples/explorer.py/MainWindow._on_selection_changed