    /*

    Siesta 5.3.0
    Copyright(c) 2009-2019 Bryntum AB
    https://bryntum.com/contact
    https://bryntum.com/products/siesta/license

    */
    Ext.define('Siesta.Project.Browser.UI.FilterableTreeView', {
        extend          : 'Ext.tree.View',
        alias           : 'widget.filterabletreeview',

        mixins          : [
            'Sch.mixin.FilterableTreeView'
        ],

        constructor     : function () {
            this.callParent(arguments)

            this.initTreeFiltering()
        },

        bindStore : function (store, initial, propName) {
            if (store instanceof Ext.data.TreeStore) {
                this.bindFilterableTreeStore(store)

                this.callParent([ store.nodeStore || store, initial, propName ])
            } else
                this.callParent(arguments)
        }
    })