sync
[Pman.Admin] / Pman.Tab.AdminContactsManager.js
index e3297a5..61e0202 100644 (file)
@@ -2,63 +2,52 @@
 
 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
 
-
-
-// register the module first
-Pman.on('beforeload', function()
-{
-    Pman.register({
-        modKey : '060-Pman.Tab.AdminContactsManager',
-        module : Pman.Tab.AdminContactsManager,
-        region : 'center',
-        parent : Pman.Tab.Admin,
-        name : "Pman.Tab.AdminContactsManager",
-        disabled : false, 
-        permname: 'Core.Person' 
-    });
-});
-
-Pman.Tab.AdminContactsManager = 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: 'NestedLayoutPanel',
-            xns: Roo,
-            background : true,
-            region : 'center',
-            title : "Contacts Manager",
-            listeners : {
-                activate : function (_self)
-                {
-                
-                }
-            },
-            layout : {
-                xtype: 'BorderLayout',
-                xns: Roo,
-                west : {
-                    xtype: 'LayoutRegion',
-                    xns: Roo,
-                    split : true,
-                    width : 250
-                },
-                center : {
-                    xtype: 'LayoutRegion',
-                    xns: Roo,
-                    tabPosition : 'top'
-                }
-            }
-        });
-        this.layout = this.panel.layout;
-
+Roo.namespace('Pman.Tab');
+
+Pman.Tab.AdminContactsManager = new Roo.XComponent({
+
+ _strings : {
+  '24638ac4ae95a8101b5b6e9d3b034d3a' :"(function() {\n    return _this.title || \"Contacts Manager\";\n})()"
+ },
+
+  part     :  ["Admin", "ContactsManager" ],
+  order    : '060-Pman.Tab.AdminContactsManager',
+  region   : 'center',
+  parent   : 'Pman.Tab.Admin',
+  name     : "Pman.Tab.AdminContactsManager",
+  disabled : false, 
+  permname : 'Core.Person', 
+  _tree : function(_data)
+  {
+   var _this = this;
+   var MODULE = this;
+   return {
+   xtype : 'NestedLayoutPanel',
+   background : true,
+   region : 'center',
+   title : (function() {
+       return _this.title || "Contacts Manager";
+   })(),
+   xns : Roo,
+   '|xns' : 'Roo',
+   layout : {
+    xtype : 'BorderLayout',
+    xns : Roo,
+    '|xns' : 'Roo',
+    center : {
+     xtype : 'LayoutRegion',
+     tabPosition : 'top',
+     xns : Roo,
+     '|xns' : 'Roo'
+    },
+    west : {
+     xtype : 'LayoutRegion',
+     split : true,
+     tabPosition : 'top',
+     width : 250,
+     xns : Roo,
+     '|xns' : 'Roo'
     }
+   }
+  };  }
 });