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