Ext.namespace('com.domorewithsage.mock');


com.domorewithsage.mock.NavPanel = Ext.extend(Ext.Panel, {

    initComponent : function()
    {

        Ext.apply(this, {
            layout : 'accordion',
            layoutConfig : {
                animate : true
            },
            items  : [
                new com.domorewithsage.mock.CustomerTaskTree({
                    border  : false,
                    iconCls : 'customers'
            }), {
                xtype   : 'panel',
                title   : 'Suppliers',
                border  : false,
                iconCls : 'suppliers'
            }, {
                xtype   : 'panel',
                title   : 'Company',
                border  : false,
                iconCls : 'company'
            }, {
                xtype   : 'panel',
                title   : 'Bank',
                border  : false,
                iconCls : 'bank'
            }, {
                xtype   : 'panel',
                title   : 'Products',
                border  : false,
                iconCls : 'products'
            }, {
                xtype   : 'panel',
                title   : 'Projects',
                border  : false,
                iconCls : 'projects'
            }]
        });

        Ext.applyIf(this, {
            title  : 'Tasks'
        });

        com.domorewithsage.mock.NavPanel.superclass.initComponent.call(this);
    }

});