def get_text(self, viewer, element):

        return basename(element)
Returns the label text for an element.
dataset/ETHPy150Open enthought/pyface/examples/file_tree_viewer.py/FileTreeLabelProvider.get_text