From: edward Date: Mon, 21 Nov 2016 07:50:03 +0000 (+0800) Subject: Pman.Tab.BuilderView.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Builder;a=commitdiff_plain;h=bd59cabb58ae62ac7f6e7b5c849e4591147b1351 Pman.Tab.BuilderView.bjs Pman.Tab.BuilderView.js --- diff --git a/Pman.Tab.BuilderView.bjs b/Pman.Tab.BuilderView.bjs index 1b8f2e3..404b1ac 100644 --- a/Pman.Tab.BuilderView.bjs +++ b/Pman.Tab.BuilderView.bjs @@ -1,45 +1,47 @@ { - "id": "roo-file-201", - "name": "Pman.Tab.BuilderView", - "parent": "Pman.Tab.BuilderTab", - "title": "Pman.Tab.BuilderView", - "path": "/home/edward/gitlive/Pman.Builder/Pman.Tab.BuilderView.bjs", - "items": [ - { - "listeners": { - "activate": "function (_self)\n{\n _this.panel = _self;\n Pman.Builder.View.init(_this);\n}" - }, - "region": "center", - "title": "View", - "xtype": "NestedLayoutPanel", - "|clearAll": "function(isAuto) {\n\n Pman.Builder.View.clearAll(isAuto);\n}\n", - "|munge": "function(cfg, keyname) {\n return Pman.Builder.View.munge(cfg,keyname);\n \n \n}\n", - "|redraw": "function(isAuto)\n {\n return Pman.Builder.View.redraw(isAuto);\n }", - "|toJS": "function(n) {\n return Pman.View.Builder.toJS(n);\n \n}\n", - "|xns": "Roo", - "items": [ - { - "|xns": "Roo", - "xtype": "BorderLayout", - "*prop": "layout", - "items": [ - { - "*prop": "center", - "alwaysShowTabs": false, - "tabPosition": "top", - "xtype": "LayoutRegion", - "|xns": "Roo" - }, - { - "region": "center", - "xtype": "ContentPanel", - "|xns": "Roo" - } - ] - } - ] - } - ], - "permname": "", - "modOrder": "001" + "name" : "Pman.Tab.BuilderView", + "parent" : "Pman.Tab.BuilderTab", + "title" : "Pman.Tab.BuilderView", + "path" : "/home/edward/gitlive/Pman.Builder/Pman.Tab.BuilderView.bjs", + "permname" : "", + "modOrder" : "001", + "strings" : { + "4351cfebe4b61d8aa5efa1d020710005" : "View" + }, + "items" : [ + { + "listeners" : { + "activate" : "function (_self)\n{\n _this.panel = _self;\n Pman.Builder.View.init(_this);\n}" + }, + "$ redraw" : "function(isAuto)\n {\n return Pman.Builder.View.redraw(isAuto);\n }", + "$ clearAll" : "function(isAuto) {\n\n Pman.Builder.View.clearAll(isAuto);\n}\n", + "$ toJS" : "function(n) {\n return Pman.View.Builder.toJS(n);\n \n}\n", + "region" : "center", + "xtype" : "NestedLayoutPanel", + "title" : "View", + "$ xns" : "Roo", + "$ munge" : "function(cfg, keyname) {\n return Pman.Builder.View.munge(cfg,keyname);\n \n \n}\n", + "items" : [ + { + "xtype" : "BorderLayout", + "$ xns" : "Roo", + "* prop" : "layout", + "items" : [ + { + "alwaysShowTabs" : false, + "xtype" : "LayoutRegion", + "tabPosition" : "top", + "$ xns" : "Roo", + "* prop" : "center" + }, + { + "region" : "center", + "xtype" : "ContentPanel", + "$ xns" : "Roo" + } + ] + } + ] + } + ] } \ No newline at end of file diff --git a/Pman.Tab.BuilderView.js b/Pman.Tab.BuilderView.js index f7e8d4a..8b11886 100644 --- a/Pman.Tab.BuilderView.js +++ b/Pman.Tab.BuilderView.js @@ -2,64 +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({ - 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', - xns: Roo, - listeners : { - activate : function (_self) - { - _this.panel = _self; - Pman.Builder.View.init(_this); - } - }, - region : 'center', - title : "View", - 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); - }, - toJS : function(n) { - return Pman.View.Builder.toJS(n); - - }, - layout : { - xtype: 'BorderLayout', - xns: Roo, - items : [ - { - xtype: 'ContentPanel', - xns: Roo, - region : 'center' - } - ], - center : { - xtype: 'LayoutRegion', - xns: Roo, - alwaysShowTabs : false, - tabPosition : 'top' - } - } - }; - } + + _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' + } + ] + } + }; } });