Pman.Tab.BuilderTop.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 17 Jan 2014 10:11:47 +0000 (18:11 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 17 Jan 2014 10:11:47 +0000 (18:11 +0800)
Pman.Tab.BuilderTop.js

Pman.Tab.BuilderTop.bjs
Pman.Tab.BuilderTop.js

index 71ae1d5..dbec133 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-96",
+    "id": "roo-file-168",
     "name": "Pman.Tab.BuilderTop",
     "parent": "Pman.Tab.BuilderTab",
     "title": "Pman.Tab.BuilderTop",
index f072219..78dc709 100644 (file)
@@ -2,36 +2,19 @@
 
 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
 
-
-
-// register the module first
-Pman.on('beforeload', function()
-{
-    Pman.register({
-        part :  ["Builder","Top"],
-        modKey : '001-Pman.Tab.BuilderTop',
-        module : Pman.Tab.BuilderTop,
-        region : 'center',
-        parent : Pman.Tab.BuilderTab,
-        name : "Pman.Tab.BuilderTop",
-        disabled : false, 
-        permname: '' 
-    });
-});
-
-Pman.Tab.BuilderTop = new Roo.util.Observable({
-
-    panel : false,
-    disabled : false,
-    parentLayout:  false,
-
-    add : function(parentLayout, region)
+Pman.Tab.BuilderTop = new Roo.XComponent({
+    part     :  ["Builder","Top"],
+    order    : '001-Pman.Tab.BuilderTop',
+    region   : 'center',
+    parent   : 'Pman.Tab.BuilderTab',
+    name     : "Pman.Tab.BuilderTop",
+    disabled : false, 
+    permname : '', 
+    _tree : function()
     {
-
         var _this = this;
-        this.parentLayout = parentLayout;
-
-        this.panel = parentLayout.addxtype({
+        var MODULE = this;
+        return {
             xtype: 'ContentPanel',
             xns: Roo,
             background : true,
@@ -459,8 +442,6 @@ Pman.Tab.BuilderTop = new Roo.util.Observable({
                     }
                 ]
             }
-        });
-        this.layout = this.panel.layout;
-
+        };
     }
 });