Pman.Tab.CmsProduct.js
[Pman.Cms] / Pman.Tab.Cms.js
1 //<script type="text/javascript">
2
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
4
5
6
7 // register the module first
8 Pman.on('beforeload', function()
9 {
10     Pman.register({
11         modKey : '200-Pman.Tab.Cms',
12         module : Pman.Tab.Cms,
13         region : 'center',
14         parent : Pman,
15         name : "CMS Tab",
16         disabled : false 
17     });
18 });
19
20 Pman.Tab.Cms = new Roo.util.Observable({
21
22     panel : false,
23     disabled : false,
24     parentLayout:  false,
25
26     add : function(parentLayout, region)
27     {
28
29         var _this = this;
30         this.parentLayout = parentLayout;
31
32         this.panel = parentLayout.addxtype({
33             xtype: 'NestedLayoutPanel',
34             xns: Roo,
35             listeners : {
36                 activate : function (_self)
37                 {
38                     _self.layout.getRegion('center').showPanel(0);
39                 }
40             },
41             background : true,
42             fitToFrame : true,
43             region : 'center',
44             title : "Content Manager",
45             layout : {
46                 xtype: 'BorderLayout',
47                 xns: Roo,
48                 center : {
49                     xtype: 'LayoutRegion',
50                     xns: Roo,
51                     titlebar : false,
52                     tabPosition : 'top',
53                     autoScroll : false
54                 }
55             }
56         });
57         this.layout = this.panel.layout;
58
59     }
60 });