def get_icon ( self, is_expanded ):
        if self.adaptee.is_file:
            return '<item>'

        if is_expanded:
            return '<open>'

        return '<open>'
Returns the icon for a specified object.
dataset/ETHPy150Open enthought/traitsui/examples/demo/Advanced/Adapted_tree_editor_demo.py/FileAdapter.get_icon