X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.AdminWatchNotify.js;h=66c12a3af7f22fbeb2e4b31ecf6baeff472e9376;hp=c9b92b82d80382ba4a3d982c1d6b47eb43e38049;hb=HEAD;hpb=6ee4c89899874a1501cdc1888c73ce7335952b2c diff --git a/Pman.Tab.AdminWatchNotify.js b/Pman.Tab.AdminWatchNotify.js index c9b92b8..66c12a3 100644 --- a/Pman.Tab.AdminWatchNotify.js +++ b/Pman.Tab.AdminWatchNotify.js @@ -2,40 +2,42 @@ // 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 : ["Admin","WatchNotify"], - modKey : '001-Pman.Tab.AdminWatchNotify', - module : Pman.Tab.AdminWatchNotify, - region : '', - parent : false, - name : "unnamed module", - disabled : false, - permname: '' - }); -}); - -Pman.Tab.AdminWatchNotify = 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 - }); - this.layout = this.panel.layout; - +Roo.namespace('Pman.Tab'); + +Pman.Tab.AdminWatchNotify = new Roo.XComponent({ + + _strings : { + 'a274f4d4670213a9045ce258c6c56b80' :"Notifications" + }, + + part : ["Admin", "WatchNotify" ], + order : '860-Pman.Tab.AdminWatchNotify', + region : 'center', + parent : 'Pman.Tab.Admin', + name : "Notifications", + disabled : false, + permname : '', + _tree : function() + { + var _this = this; + var MODULE = this; + return { + background : false, + region : 'center', + title : _this._strings['a274f4d4670213a9045ce258c6c56b80'] /* Notifications */, + xns : Roo, + '|xns' : 'Roo', + xtype : 'NestedLayoutPanel', + layout : { + xns : Roo, + '|xns' : 'Roo', + xtype : 'BorderLayout', + center : { + tabPosition : 'top', + xns : Roo, + '|xns' : 'Roo', + xtype : 'LayoutRegion' } + } + }; } });