3 "name": "Pman.Tab.MTrackMerger",
4 "parent": "Pman.Tab.MTrack",
5 "title": "Pman.Tab.MTrackMerger",
6 "path": "/home/alan/gitlive/Pman.MTrack/Pman.Tab.MTrackMerger.bjs",
10 "activate": "function (_self)\n{\n try {\n var t = _this.tree.tree;\n t.loader.load(t.root);\n } catch(e) {}\n}"
15 "xtype": "NestedLayoutPanel",
20 "xtype": "BorderLayout",
27 "xtype": "LayoutRegion",
32 "xtype": "LayoutRegion",
40 "xtype": "LayoutRegion",
45 "render": "function (_self)\n{\n _this.tree = _self;\n}"
60 "click": "function (_self, e)\n{\n var t = _this.tree.tree;\n t.loader.load(t.root);\n}"
75 "selectionchange": "function (_self, node)\n{\n _this.grid.ds.load({});\n}"
78 "xtype": "DefaultSelectionModel",
83 "beforeload": "function (This, node, callback)\n{\n _this.tree.el.mask(\"Loading\");\n}",
84 "load": "function (This, node, response)\n{\n _this.tree.el.unmask();\n _this.tree.tree.root.expand(false,true);\n}",
85 "loadexception": "function (This, node, response)\n{\n _this.tree.el.unmask();\n}"
88 "requestMethod": "GET",
90 "xtype": "TreeLoader",
91 "|baseParams": "{ _tree : 1 }",
92 "|dataUrl": "baseURL + '/MTrack/Merger'",
97 "text": "All Changes",
107 "|activate": "function() {\n _this.panel = this;\n if (_this.grid) {\n //_this.grid.footer.onClick('first');\n }\n}"
110 "fitContainer": true,
113 "tableName": "core_enum",
114 "title": "core_enum",
115 "xtype": "GridPanel",
120 "|render": "function() \n{\n _this.grid = this; \n //_this.dialog = Pman.Dialog.FILL_IN\n if (_this.panel.active) {\n //this.footer.onClick('first');\n }\n}",
121 "|rowdblclick": "function (_self, rowIndex, e)\n{\n if (!_this.dialog) return;\n _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n _this.grid.footer.onClick('first');\n }); \n}\n"
124 "autoExpandColumn": "etype",
131 "beforeload": "function (_self, options)\n{\n if (!_this.tree.tree.selModel.getSelectedNode()) {\n return false;\n }\n \n options.params._changedFiles = _this.tree.tree.selModel.getSelectedNode().attributes.rev;\n}"
133 "*prop": "dataSource",
135 "|sortInfo": "{ field: 'filename', dir : 'ASC' }",
142 "xtype": "HttpProxy",
143 "|url": "baseURL + '/MTrack/Merger.php'",
150 "totalProperty": "total",
151 "xtype": "JsonReader",
152 "|fields": "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'filename',\n 'type': 'string'\n },\n {\n 'name': 'added',\n 'type': 'int'\n },\n {\n 'name': 'removed',\n 'type': 'int'\n }\n\n]",
159 "singleSelect": false,
160 "xtype": "RowSelectionModel",
170 "|click": "function()\n{\n \n}\n"
172 "cls": "x-btn-text-icon",
173 "text": "Create Commit",
175 "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'",
176 "|xns": "Roo.Toolbar"
181 "*prop": "colModel[]",
182 "dataIndex": "filename",
185 "xtype": "ColumnModel",
186 "|renderer": "function(v) { return String.format('{0}', v); }",
190 "*prop": "colModel[]",
191 "dataIndex": "added",
194 "xtype": "ColumnModel",
195 "|renderer": "function(v) { return String.format('{0}', v); }",
199 "*prop": "colModel[]",
200 "dataIndex": "removed",
203 "xtype": "ColumnModel",
204 "|renderer": "function(v) { return String.format('{0}', v); }",
213 "title": "Review Changes",
214 "xtype": "ContentPanel",