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