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


com.domorewithsage.tabdialog.TabWindow = Ext.extend(Ext.Window, {


    initComponent : function()
    {
        Ext.apply(this, {
            layout       : 'accordion',
            layoutConfig : {
                animate : true
            },
            items : [
                new com.domorewithsage.tabdialog.tree.FinanceTree(),
                new com.domorewithsage.tabdialog.tree.GeneralConfigurationTree(),
                new com.domorewithsage.tabdialog.tree.ProjectControlTree(),
                new com.domorewithsage.tabdialog.tree.VISolutionsTree(),
                new com.domorewithsage.tabdialog.tree.DistributionTree(),
                new com.domorewithsage.tabdialog.tree.AdvancedDistributionTree(),
                new com.domorewithsage.tabdialog.tree.ManufacturingTree(),
                new com.domorewithsage.tabdialog.tree.ReportingTree(),
                new com.domorewithsage.tabdialog.tree.SystemUtilitiesTree(),
                new com.domorewithsage.tabdialog.tree.SystemManagerTree()
            ]
        });

        Ext.applyIf(this, {
            title  : "Control Window"
        });

        com.domorewithsage.tabdialog.TabWindow.superclass.initComponent.call(this);
    }


});