{ "id": "roo-file-157", "name": "Pman.Tab.BuilderTab", "parent": "Pman.Tab.Builder", "title": "Pman.Tab.BuilderTab", "path": "/home/alan/gitlive/Pman.Builder/Pman.Tab.BuilderTab.bjs", "items": [ { "listeners": { "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}" }, "fitToFrame": false, "region": "center", "title": "Designer", "xtype": "NestedLayoutPanel", "|xns": "Roo", "items": [ { "|xns": "Roo", "xtype": "BorderLayout", "*prop": "layout", "items": [ { "*prop": "north", "height": 26, "xtype": "LayoutRegion", "|xns": "Roo" }, { "*prop": "west", "split": true, "width": 255, "xtype": "LayoutRegion", "|xns": "Roo" }, { "*prop": "center", "tabPosition": "top", "xtype": "LayoutRegion", "|xns": "Roo" }, { "*prop": "east", "collapsed": true, "collapsible": true, "split": true, "title": "Palete", "titlebar": true, "width": 200, "xtype": "LayoutRegion", "|xns": "Roo" } ] } ] } ], "permname": "", "modOrder": "001" }