Pman.Builder.View.js
[Pman.Builder] / Pman.Tab.BuilderTab.bjs
1 {
2     "id": "roo-file-157",
3     "name": "Pman.Tab.BuilderTab",
4     "parent": "Pman.Tab.Builder",
5     "title": "Pman.Tab.BuilderTab",
6     "path": "/home/alan/gitlive/Pman.Builder/Pman.Tab.BuilderTab.bjs",
7     "items": [
8         {
9             "listeners": {
10                 "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         \n        // check..\n        if (!Pman.Tab.BuilderPanel.isMouseOver && !Pman.Tab.BuilderTree.isMouseOver) {\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}"
11             },
12             "fitToFrame": false,
13             "region": "center",
14             "title": "Designer",
15             "xtype": "NestedLayoutPanel",
16             "|xns": "Roo",
17             "items": [
18                 {
19                     "|xns": "Roo",
20                     "xtype": "BorderLayout",
21                     "*prop": "layout",
22                     "items": [
23                         {
24                             "*prop": "north",
25                             "height": 26,
26                             "xtype": "LayoutRegion",
27                             "|xns": "Roo"
28                         },
29                         {
30                             "*prop": "west",
31                             "split": true,
32                             "width": 255,
33                             "xtype": "LayoutRegion",
34                             "|xns": "Roo"
35                         },
36                         {
37                             "*prop": "center",
38                             "tabPosition": "top",
39                             "xtype": "LayoutRegion",
40                             "|xns": "Roo"
41                         },
42                         {
43                             "*prop": "east",
44                             "collapsed": true,
45                             "collapsible": true,
46                             "split": true,
47                             "title": "Palete",
48                             "titlebar": true,
49                             "width": 200,
50                             "xtype": "LayoutRegion",
51                             "|xns": "Roo"
52                         }
53                     ]
54                 }
55             ]
56         }
57     ],
58     "permname": "",
59     "modOrder": "001"
60 }