php7 fixes
[Pman.Builder] / Pman.Tab.BuilderTab.bjs
1 {
2  "name" : "Pman.Tab.BuilderTab",
3  "parent" : "Pman.Tab.Builder",
4  "title" : "Pman.Tab.BuilderTab",
5  "path" : "/home/alan/gitlive/Pman.Builder/Pman.Tab.BuilderTab.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "0aad40f415c9173fcc83acd984c0c83c" : "Designer",
10   "be38a7cdd6828fa4c769a68938f89be0" : "Palete"
11  },
12  "items" : [
13   {
14    "listeners" : {
15     "activate" : "function (_self)\n{\n    if (_this.keyListener) {\n        return;\n    }\n    _this.keyListener = true;\n    \n    Roo.get(document).on(   'keyup',  function(e) {\n        if (!  _this.panel.active ) {\n            return;\n        }\n        try {\n            // check..\n            if (!Pman.Tab.BuilderPanel.isMouseOver && !Pman.Tab.BuilderTree.isMouseOver) {\n                return;\n            }\n        } catch(e) {\n            return;\n        }\n       // console.log(e);\n        //Roo.EventObject.DELETE,\n        if (e.getCharCode() == Roo.EventObject.DELETE) {\n            //  console.log('delete');\n          \n            var res = Pman.Tab.BuilderTree.deleteCurrent();\n            if (res) {\n                 var bp = Pman.Tab.BuilderPanel;\n                 bp.redraw.defer(100,bp, [ true ]);\n                \n            }\n            e.stopEvent();\n        }\n        \n         \n     });\n \n}"
16    },
17    "fitToFrame" : false,
18    "region" : "center",
19    "title" : "Designer",
20    "xtype" : "NestedLayoutPanel",
21    "$ xns" : "Roo",
22    "items" : [
23     {
24      "xtype" : "BorderLayout",
25      "$ xns" : "Roo",
26      "* prop" : "layout",
27      "items" : [
28       {
29        "xtype" : "LayoutRegion",
30        "$ xns" : "Roo",
31        "* prop" : "north",
32        "height" : 26
33       },
34       {
35        "xtype" : "LayoutRegion",
36        "width" : 255,
37        "$ xns" : "Roo",
38        "split" : true,
39        "* prop" : "west"
40       },
41       {
42        "xtype" : "LayoutRegion",
43        "tabPosition" : "top",
44        "$ xns" : "Roo",
45        "* prop" : "center"
46       },
47       {
48        "collapsible" : true,
49        "title" : "Palete",
50        "xtype" : "LayoutRegion",
51        "collapsed" : true,
52        "width" : 200,
53        "$ xns" : "Roo",
54        "split" : true,
55        "* prop" : "east",
56        "titlebar" : true
57       }
58      ]
59     }
60    ]
61   }
62  ]
63 }