{
- "id": "roo-file-40",
+ "id": "roo-file-201",
"name": "Pman.Tab.BuilderView",
"parent": "Pman.Tab.BuilderTab",
"title": "Pman.Tab.BuilderView",
- "path": "/home/alan/gitlive/Pman.Builder/Pman.Tab.BuilderView.bjs",
+ "path": "/home/edward/gitlive/Pman.Builder/Pman.Tab.BuilderView.bjs",
"items": [
{
"listeners": {
- "activate": "function (_self)\n{\n _this.panel = _self;\n}"
+ "activate": "function (_self)\n{\n _this.panel = _self;\n Pman.Builder.View.init(_this);\n}"
},
"region": "center",
"title": "View",
- "xtype": "ContentPanel",
- "|toJS": "function() {\n \n}\n",
- "|clearAll": "function(isAuto) {\n// this.renderObj = { isBuilder : true };\n\n \n if (this.panelroot) {\n this.scroll = this.panelroot.el.getScroll();\n this.layout.remove('center', this.panelroot);\n this.panelroot = false;\n }\n if (this.dialogroot) {\n this.dialogroot.remove();\n this.dialogroot = false;\n }\n}\n",
- "|redraw": "function(isAuto)\n {\n \n // top level is not relivant\n\n// var btop = Pman.Tab.BuilderTop2;\n // if (isAuto && btop.redrawBtn && !btop.redrawBtn.auto) {\n // return; /// auto redraw is turned off..\n // }\n \n this.clearAll(isAuto);\n \n var cfg = this.toJS();\n if (!cfg.items[0]) {\n return;\n }\n \n \n this.munge(cfg.items[0]);\n \n // we draw either a dialog or a tab..\n \n if (cfg.items[0].xtype == 'LayoutDialog') {\n \n cfg.items[0].modal = false;\n var xy = this.panel.el.getXY();\n cfg.items[0].x = xy[0];\n cfg.items[0].y = xy[1];\n cfg.items[0].constraintoviewport = false;\n \n this.dialogroot = Roo.get( document.body).createChild();\n \n this.dialog = new Roo[cfg.items[0].xtype](this.dialogroot, cfg.items[0]);\n this.dialog.el.on('click', this.panelClick, this);\n this.dialog.show();\n return;\n \n }\n \n // force center region..\n cfg.items[0].region = 'center';\n cfg.items[0].background = false;\n \n this.panelroot = this.layout.addxtype(cfg.items[0]);\n \n \n //this.highlightElement(Pman.Tab.BuilderTree.currentNode);\n \n if (this.panelroot.el) {\n this.panelroot.el.scrollTo('top', this.scroll.top);\n this.panelroot.el.scrollTo('left', this.scroll.left);\n \n }\n }",
- "|xns": "Roo"
+ "xtype": "NestedLayoutPanel",
+ "|clearAll": "function(isAuto) {\n\n Pman.Builder.View.clearAll(isAuto);\n}\n",
+ "|munge": "function(cfg, keyname) {\n return Pman.Builder.View.munge(cfg,keyname);\n \n \n}\n",
+ "|redraw": "function(isAuto)\n {\n return Pman.Builder.View.redraw(isAuto);\n }",
+ "|toJS": "function(n) {\n return Pman.View.Builder.toJS(n);\n \n}\n",
+ "|xns": "Roo",
+ "items": [
+ {
+ "|xns": "Roo",
+ "xtype": "BorderLayout",
+ "*prop": "layout",
+ "items": [
+ {
+ "*prop": "center",
+ "alwaysShowTabs": false,
+ "tabPosition": "top",
+ "xtype": "LayoutRegion",
+ "|xns": "Roo"
+ },
+ {
+ "region": "center",
+ "xtype": "ContentPanel",
+ "|xns": "Roo"
+ }
+ ]
+ }
+ ]
}
],
"permname": "",