php7 fixes
[Pman.Builder] / Pman.Tab.BuilderView.js
index 97d6e9b..8b11886 100644 (file)
@@ -2,46 +2,74 @@
 
 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
 
+Roo.namespace('Pman.Tab');
 
+Pman.Tab.BuilderView = new Roo.XComponent({
 
-// register the module first
-Pman.on('beforeload', function()
-{
-    Pman.register({
-        modKey : '001-Pman.Tab.BuilderView',
-        module : Pman.Tab.BuilderView,
-        region : 'center',
-        parent : Pman.Tab.BuilderTab,
-        name : "Pman.Tab.BuilderView",
-        disabled : false, 
-        permname: '' 
-    });
-});
-
-Pman.Tab.BuilderView = new Roo.util.Observable({
-
-    panel : false,
-    disabled : false,
-    parentLayout:  false,
-
-    add : function(parentLayout, region)
-    {
-
-        var _this = this;
-        this.parentLayout = parentLayout;
-
-        this.panel = parentLayout.addxtype({
-            xtype: 'ContentPanel',
-            xns: Roo,
-            listeners : {
-                activate : function (_self)
-                {
-                    _this.panel = _self;
-                }
-            },
-            title : "View"
-        });
-        this.layout = this.panel.layout;
+ _strings : {
+  '4351cfebe4b61d8aa5efa1d020710005' :"View"
+ },
 
-    }
+  part     :  ["Builder", "View" ],
+  order    : '001-Pman.Tab.BuilderView',
+  region   : 'center',
+  parent   : 'Pman.Tab.BuilderTab',
+  name     : "Pman.Tab.BuilderView",
+  disabled : false, 
+  permname : '', 
+  _tree : function()
+  {
+   var _this = this;
+   var MODULE = this;
+   return {
+   xtype : 'NestedLayoutPanel',
+   clearAll : function(isAuto) {
+   
+       Pman.Builder.View.clearAll(isAuto);
+   },
+   munge : function(cfg, keyname) {
+        return Pman.Builder.View.munge(cfg,keyname);
+           
+           
+   },
+   redraw : function(isAuto)
+       {
+         return Pman.Builder.View.redraw(isAuto);
+       },
+   region : 'center',
+   title : _this._strings['4351cfebe4b61d8aa5efa1d020710005'] /* View */,
+   toJS : function(n) {
+       return Pman.View.Builder.toJS(n);
+    
+   },
+   listeners : {
+    activate : function (_self)
+     {
+         _this.panel = _self;
+         Pman.Builder.View.init(_this);
+     }
+   },
+   xns : Roo,
+   '|xns' : 'Roo',
+   layout : {
+    xtype : 'BorderLayout',
+    xns : Roo,
+    '|xns' : 'Roo',
+    center : {
+     xtype : 'LayoutRegion',
+     alwaysShowTabs : false,
+     tabPosition : 'top',
+     xns : Roo,
+     '|xns' : 'Roo'
+    },
+    items  : [
+     {
+      xtype : 'ContentPanel',
+      region : 'center',
+      xns : Roo,
+      '|xns' : 'Roo'
+     }
+    ]
+   }
+  };  }
 });