php7 fixes
[Pman.Builder] / Pman.Dialog.BuilderViewCode.bjs
1 {
2     "id": "roo-file-165",
3     "name": "Pman.Dialog.BuilderViewCode",
4     "parent": "",
5     "title": "Builder - View Dialog",
6     "path": "/home/alan/gitlive/Pman.Builder/Pman.Dialog.BuilderViewCode.bjs",
7     "items": [
8         {
9             "listeners": {
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}"
11             },
12             "background": true,
13             "closable": false,
14             "collapsible": false,
15             "height": 400,
16             "modal": true,
17             "resizable": true,
18             "title": "View Generated Code",
19             "width": 400,
20             "xtype": "LayoutDialog",
21             "|xns": "Roo",
22             "items": [
23                 {
24                     "*prop": "center",
25                     "tabPosition": "top",
26                     "titlebar": false,
27                     "xtype": "LayoutRegion",
28                     "|xns": "Roo"
29                 },
30                 {
31                     "listeners": {
32                         "|activate": "function (_self)\n{\n_this.previewContentPanel = _self;\n}"
33                     },
34                     "autoScroll": true,
35                     "background": false,
36                     "fitToFrame": true,
37                     "region": "center",
38                     "title": "Javascript",
39                     "xtype": "ContentPanel",
40                     "|xns": "Roo"
41                 },
42                 {
43                     "listeners": {
44                         "|activate": "function (_self)\n{\n_this.jsonContentPanel = _self;\n}"
45                     },
46                     "autoScroll": true,
47                     "background": false,
48                     "fitToFrame": true,
49                     "region": "center",
50                     "title": "JSON",
51                     "xtype": "ContentPanel",
52                     "|xns": "Roo"
53                 },
54                 {
55                     "listeners": {
56                         "|activate": "function (_self)\n{\n_this.htmlContentPanel = _self;\n}"
57                     },
58                     "autoScroll": true,
59                     "background": false,
60                     "fitToFrame": true,
61                     "region": "center",
62                     "title": "HTML",
63                     "xtype": "ContentPanel",
64                     "|xns": "Roo"
65                 },
66                 {
67                     "text": "OK",
68                     "xtype": "Button",
69                     "|xns": "Roo",
70                     "listeners": {
71                         "|click": "function() {\n    _this.dialog.hide();\n\n}"
72                     },
73                     "*prop": "buttons[]"
74                 }
75             ]
76         }
77     ],
78     "permname": "",
79     "modOrder": "001"
80 }