DependTree/Window.bjs
[app.Builder.js] / DependTree / Window.bjs
1 {
2     "id": "file-gtk-18",
3     "name": "Window",
4     "parent": "",
5     "title": false,
6     "path": "/home/alan/gitlive/app.Builder.js/DependTree/Window.bjs",
7     "items": [
8         {
9             "listeners": {
10                 "show": "function (self) {\n    print(\"SHOW\");\n    var BuildLists = imports['BuildLists.js'].BuildLists;\n    this.data = new BuildLists();\n    print(JSON.stringify(this.data.allmethods, null,4));\n    \n    var ls = this.get('method-list-store');\n    this.data.allmethods.forEach(function(v) {\n        ls.append( [ v ]);\n    });\n    var ls = this.get('children-list-store');\n    this.data.allchildren.forEach(function(v) {\n        ls.append( [ v ]);\n    });\n    var ls = this.get('class-list-store');\n    for (var c in this.data.methods) {\n        ls.append( [ c ]);\n    };\n    \n    \n    \n}"
11             },
12             "default_height": 500,
13             "default_width": 600,
14             "xtype": "Window",
15             "|init": "function() {\n    XObject.prototype.init.call(this);\n    this.el.show_all();\n}\n",
16             "|xns": "Gtk",
17             "items": [
18                 {
19                     "xtype": "VBox",
20                     "|xns": "Gtk",
21                     "listeners": {},
22                     "items": [
23                         {
24                             "xtype": "HBox",
25                             "|xns": "Gtk",
26                             "pack": "add",
27                             "listeners": {},
28                             "items": [
29                                 {
30                                     "label": "Reset",
31                                     "xtype": "Button",
32                                     "|xns": "Gtk"
33                                 }
34                             ]
35                         },
36                         {
37                             "xtype": "HBox",
38                             "|xns": "Gtk",
39                             "listeners": {},
40                             "items": [
41                                 {
42                                     "xtype": "ScrolledWindow",
43                                     "|xns": "Gtk",
44                                     "listeners": {},
45                                     "items": [
46                                         {
47                                             "xtype": "TreeView",
48                                             "|xns": "Gtk",
49                                             "listeners": {},
50                                             "items": [
51                                                 {
52                                                     "id": "class-list-store",
53                                                     "xtype": "ListStore",
54                                                     "|xns": "Gtk"
55                                                 },
56                                                 {
57                                                     "title": "Class",
58                                                     "xtype": "TreeViewColumn",
59                                                     "|xns": "Gtk",
60                                                     "items": [
61                                                         {
62                                                             "xtype": "CellRendererText",
63                                                             "|xns": "Gtk",
64                                                             "listeners": {}
65                                                         }
66                                                     ]
67                                                 }
68                                             ]
69                                         }
70                                     ]
71                                 },
72                                 {
73                                     "xtype": "ScrolledWindow",
74                                     "|xns": "Gtk",
75                                     "listeners": {},
76                                     "items": [
77                                         {
78                                             "xtype": "TreeView",
79                                             "|xns": "Gtk",
80                                             "listeners": {},
81                                             "items": [
82                                                 {
83                                                     "id": "method-list-store",
84                                                     "xtype": "ListStore",
85                                                     "|xns": "Gtk"
86                                                 },
87                                                 {
88                                                     "title": "Methods",
89                                                     "xtype": "TreeViewColumn",
90                                                     "|xns": "Gtk",
91                                                     "items": [
92                                                         {
93                                                             "xtype": "CellRendererText",
94                                                             "|xns": "Gtk",
95                                                             "listeners": {}
96                                                         }
97                                                     ]
98                                                 }
99                                             ]
100                                         }
101                                     ]
102                                 },
103                                 {
104                                     "xtype": "ScrolledWindow",
105                                     "|xns": "Gtk",
106                                     "listeners": {},
107                                     "items": [
108                                         {
109                                             "xtype": "TreeView",
110                                             "|xns": "Gtk",
111                                             "listeners": {},
112                                             "items": [
113                                                 {
114                                                     "id": "children-list-store",
115                                                     "xtype": "ListStore",
116                                                     "|xns": "Gtk"
117                                                 },
118                                                 {
119                                                     "title": "Child classes",
120                                                     "xtype": "TreeViewColumn",
121                                                     "|xns": "Gtk",
122                                                     "items": [
123                                                         {
124                                                             "xtype": "CellRendererText",
125                                                             "|xns": "Gtk",
126                                                             "listeners": {}
127                                                         }
128                                                     ]
129                                                 }
130                                             ]
131                                         }
132                                     ]
133                                 }
134                             ]
135                         }
136                     ]
137                 }
138             ]
139         }
140     ],
141     "permname": "",
142     "modOrder": ""
143 }