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                                                     "title": "Active",
69                                                     "xtype": "TreeViewColumn",
70                                                     "|xns": "Gtk",
71                                                     "items": [
72                                                         {
73                                                             "xtype": "CellRendererToggle",
74                                                             "|xns": "Gtk"
75                                                         }
76                                                     ]
77                                                 }
78                                             ]
79                                         }
80                                     ]
81                                 },
82                                 {
83                                     "xtype": "ScrolledWindow",
84                                     "|xns": "Gtk",
85                                     "listeners": {},
86                                     "items": [
87                                         {
88                                             "xtype": "TreeView",
89                                             "|xns": "Gtk",
90                                             "listeners": {},
91                                             "items": [
92                                                 {
93                                                     "id": "method-list-store",
94                                                     "xtype": "ListStore",
95                                                     "|xns": "Gtk"
96                                                 },
97                                                 {
98                                                     "title": "Methods",
99                                                     "xtype": "TreeViewColumn",
100                                                     "|xns": "Gtk",
101                                                     "items": [
102                                                         {
103                                                             "xtype": "CellRendererText",
104                                                             "|xns": "Gtk",
105                                                             "listeners": {}
106                                                         }
107                                                     ]
108                                                 }
109                                             ]
110                                         }
111                                     ]
112                                 },
113                                 {
114                                     "xtype": "ScrolledWindow",
115                                     "|xns": "Gtk",
116                                     "listeners": {},
117                                     "items": [
118                                         {
119                                             "xtype": "TreeView",
120                                             "|xns": "Gtk",
121                                             "listeners": {},
122                                             "items": [
123                                                 {
124                                                     "id": "children-list-store",
125                                                     "xtype": "ListStore",
126                                                     "|xns": "Gtk"
127                                                 },
128                                                 {
129                                                     "title": "Child classes",
130                                                     "xtype": "TreeViewColumn",
131                                                     "|xns": "Gtk",
132                                                     "items": [
133                                                         {
134                                                             "xtype": "CellRendererText",
135                                                             "|xns": "Gtk",
136                                                             "listeners": {}
137                                                         }
138                                                     ]
139                                                 }
140                                             ]
141                                         }
142                                     ]
143                                 }
144                             ]
145                         }
146                     ]
147                 }
148             ]
149         }
150     ],
151     "permname": "",
152     "modOrder": ""
153 }