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                             "pack": "pack_start,false,false",
25                             "xtype": "HBox",
26                             "|xns": "Gtk",
27                             "items": [
28                                 {
29                                     "label": "Reset",
30                                     "xtype": "Button",
31                                     "|xns": "Gtk"
32                                 }
33                             ]
34                         },
35                         {
36                             "xtype": "HBox",
37                             "|xns": "Gtk",
38                             "listeners": {},
39                             "items": [
40                                 {
41                                     "xtype": "ScrolledWindow",
42                                     "|xns": "Gtk",
43                                     "listeners": {},
44                                     "items": [
45                                         {
46                                             "xtype": "TreeView",
47                                             "|xns": "Gtk",
48                                             "listeners": {},
49                                             "items": [
50                                                 {
51                                                     "id": "class-list-store",
52                                                     "xtype": "ListStore",
53                                                     "|xns": "Gtk"
54                                                 },
55                                                 {
56                                                     "title": "Class",
57                                                     "xtype": "TreeViewColumn",
58                                                     "|xns": "Gtk",
59                                                     "items": [
60                                                         {
61                                                             "xtype": "CellRendererText",
62                                                             "|xns": "Gtk",
63                                                             "listeners": {}
64                                                         }
65                                                     ]
66                                                 }
67                                             ]
68                                         }
69                                     ]
70                                 },
71                                 {
72                                     "xtype": "ScrolledWindow",
73                                     "|xns": "Gtk",
74                                     "listeners": {},
75                                     "items": [
76                                         {
77                                             "xtype": "TreeView",
78                                             "|xns": "Gtk",
79                                             "listeners": {},
80                                             "items": [
81                                                 {
82                                                     "id": "method-list-store",
83                                                     "xtype": "ListStore",
84                                                     "|xns": "Gtk"
85                                                 },
86                                                 {
87                                                     "title": "Methods",
88                                                     "xtype": "TreeViewColumn",
89                                                     "|xns": "Gtk",
90                                                     "items": [
91                                                         {
92                                                             "xtype": "CellRendererText",
93                                                             "|xns": "Gtk",
94                                                             "listeners": {}
95                                                         }
96                                                     ]
97                                                 }
98                                             ]
99                                         }
100                                     ]
101                                 },
102                                 {
103                                     "xtype": "ScrolledWindow",
104                                     "|xns": "Gtk",
105                                     "listeners": {},
106                                     "items": [
107                                         {
108                                             "xtype": "TreeView",
109                                             "|xns": "Gtk",
110                                             "listeners": {},
111                                             "items": [
112                                                 {
113                                                     "id": "children-list-store",
114                                                     "xtype": "ListStore",
115                                                     "|xns": "Gtk"
116                                                 },
117                                                 {
118                                                     "title": "Child classes",
119                                                     "xtype": "TreeViewColumn",
120                                                     "|xns": "Gtk",
121                                                     "items": [
122                                                         {
123                                                             "xtype": "CellRendererText",
124                                                             "|xns": "Gtk",
125                                                             "listeners": {}
126                                                         }
127                                                     ]
128                                                 }
129                                             ]
130                                         }
131                                     ]
132                                 }
133                             ]
134                         }
135                     ]
136                 }
137             ]
138         }
139     ],
140     "permname": "",
141     "modOrder": ""
142 }