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