php7 fixes
[Pman.Builder] / Pman.Tab.Builder.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 : '899-Pman.Tab.Builder',
12         module : Pman.Tab.Builder,
13         region : 'center',
14         parent : Pman,
15         name : "Builder",
16         disabled : false, 
17         permname: 'Builder.Builder' 
18     });
19 });
20
21 Pman.Tab.Builder = new Roo.util.Observable({
22
23     panel : false,
24     disabled : false,
25     parentLayout:  false,
26
27     add : function(parentLayout, region)
28     {
29
30         var _this = this;
31         this.parentLayout = parentLayout;
32
33         this.panel = parentLayout.addxtype({
34             xtype: 'NestedLayoutPanel',
35             xns: Roo,
36             listeners : {
37                 activate : function (_self)
38                 {
39                    _self.layout.getRegion('center').showPanel(0)
40                 }
41             },
42             background : true,
43             fitToFrame : true,
44             region : 'center',
45             title : "Customize App",
46             layout : {
47                 xtype: 'BorderLayout',
48                 xns: Roo,
49                 center : {
50                     xtype: 'LayoutRegion',
51                     xns: Roo,
52                     titlebar : false,
53                     tabPosition : 'top'
54                 }
55             }
56         });
57         this.layout = this.panel.layout;
58
59     }
60 });