3 "name": "Pman.Dialog.BuilderViewCode",
5 "title": "Builder - View Dialog",
6 "path": "/home/alan/gitlive/Pman.Builder/Pman.Dialog.BuilderViewCode.bjs",
10 "|show": "function (_self)\n{\n if (_this.isBuilder) {\n return;\n }\n _this.dialog = _self; \n this.getLayout().beginUpdate();\n \n this.resizeTo( Roo.lib.Dom.getViewWidth() - 70, Roo.lib.Dom.getViewHeight() - 70);\n this.getLayout().getRegion('center').resizeTo(Roo.lib.Dom.getViewWidth() - ( 70 + 50 ));\n \n \n this.moveTo(35,35);\n \n this.getLayout().endUpdate();\n \n _this.previewContentPanel.setContent(\n '<PRE>' + Roo.util.Format.htmlEncode(_this.data.jsource) + '</PRE>'\n );\n \n _this.jsonContentPanel.setContent(\n '<PRE>' + Roo.util.Format.htmlEncode(_this.data.json) + '</PRE>'\n );\n \n _this.htmlContentPanel.setContent(\n '<PRE>' + Roo.util.Format.htmlEncode(_this.data.html) + '</PRE>'\n );\n \n this.layout.showPanel(0) \n}"
18 "title": "View Generated Code",
20 "xtype": "LayoutDialog",
27 "xtype": "LayoutRegion",
32 "|activate": "function (_self)\n{\n_this.previewContentPanel = _self;\n}"
38 "title": "Javascript",
39 "xtype": "ContentPanel",
44 "|activate": "function (_self)\n{\n_this.jsonContentPanel = _self;\n}"
51 "xtype": "ContentPanel",
56 "|activate": "function (_self)\n{\n_this.htmlContentPanel = _self;\n}"
63 "xtype": "ContentPanel",
71 "|click": "function() {\n _this.dialog.hide();\n\n}"