mdbe 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (688) hide show
  1. checksums.yaml +15 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +53 -0
  4. data/app.rb +182 -0
  5. data/bin/mdbe +5 -0
  6. data/config.ru +2 -0
  7. data/environment.rb +8 -0
  8. data/lib/mdbe.rb +39 -0
  9. data/lib/mdbe/action_controller_debug_patch.rb +12 -0
  10. data/lib/mdbe/code_evaluation.rb +46 -0
  11. data/lib/mdbe/database_views.rb +24 -0
  12. data/lib/mdbe/database_views/abstract_dictionary.rb +69 -0
  13. data/lib/mdbe/database_views/abstract_exception.rb +25 -0
  14. data/lib/mdbe/database_views/array.rb +28 -0
  15. data/lib/mdbe/database_views/boolean.rb +12 -0
  16. data/lib/mdbe/database_views/class.rb +46 -0
  17. data/lib/mdbe/database_views/exception.rb +3 -0
  18. data/lib/mdbe/database_views/execblock.rb +5 -0
  19. data/lib/mdbe/database_views/fixnum.rb +5 -0
  20. data/lib/mdbe/database_views/float.rb +5 -0
  21. data/lib/mdbe/database_views/globals.rb +2 -0
  22. data/lib/mdbe/database_views/gsnmethod.rb +29 -0
  23. data/lib/mdbe/database_views/hash.rb +5 -0
  24. data/lib/mdbe/database_views/maglev_record.rb +42 -0
  25. data/lib/mdbe/database_views/module.rb +103 -0
  26. data/lib/mdbe/database_views/nilclass.rb +5 -0
  27. data/lib/mdbe/database_views/object.rb +80 -0
  28. data/lib/mdbe/database_views/proc.rb +3 -0
  29. data/lib/mdbe/database_views/repository.rb +3 -0
  30. data/lib/mdbe/database_views/ruby_workspace.rb +5 -0
  31. data/lib/mdbe/database_views/smalltalk_classes.rb +34 -0
  32. data/lib/mdbe/database_views/smalltalk_classes.st +60 -0
  33. data/lib/mdbe/database_views/string.rb +31 -0
  34. data/lib/mdbe/database_views/symbol.rb +32 -0
  35. data/lib/mdbe/database_views/system.rb +61 -0
  36. data/lib/mdbe/database_views/thread.rb +101 -0
  37. data/lib/mdbe/debug_server.rb +22 -0
  38. data/lib/mdbe/halt.rb +42 -0
  39. data/lib/mdbe/ruby_workspace.rb +29 -0
  40. data/lib/mdbe/version.rb +3 -0
  41. data/lib/tasks/maglev-database-explorer_tasks.rake +4 -0
  42. data/public/LICENSE +35 -0
  43. data/public/amber/CHANGELOG +65 -0
  44. data/public/amber/LICENSE +22 -0
  45. data/public/amber/Makefile +53 -0
  46. data/public/amber/README.md +30 -0
  47. data/public/amber/bin/amber +3 -0
  48. data/public/amber/bin/amberc +352 -0
  49. data/public/amber/bin/nodecompile.js +33 -0
  50. data/public/amber/bin/server +3 -0
  51. data/public/amber/bin/server.bat +3 -0
  52. data/public/amber/css/amber-normalize.css +468 -0
  53. data/public/amber/css/amber-normalize.less +501 -0
  54. data/public/amber/css/amber.css +539 -0
  55. data/public/amber/css/documentation.css +84 -0
  56. data/public/amber/css/profstef.css +75 -0
  57. data/public/amber/css/style.css +313 -0
  58. data/public/amber/documentation.html +37 -0
  59. data/public/amber/examples/Makefile +23 -0
  60. data/public/amber/examples/README +4 -0
  61. data/public/amber/examples/android/helloamber/AndroidManifest.xml +19 -0
  62. data/public/amber/examples/android/helloamber/HelloAmber.st +13 -0
  63. data/public/amber/examples/android/helloamber/Makefile +56 -0
  64. data/public/amber/examples/android/helloamber/README.md +80 -0
  65. data/public/amber/examples/android/helloamber/ant.properties +17 -0
  66. data/public/amber/examples/android/helloamber/assets/index.html +15 -0
  67. data/public/amber/examples/android/helloamber/assets/jquery-1.7.2.min.js +4 -0
  68. data/public/amber/examples/android/helloamber/build.xml +83 -0
  69. data/public/amber/examples/android/helloamber/local.properties +10 -0
  70. data/public/amber/examples/android/helloamber/proguard-project.txt +20 -0
  71. data/public/amber/examples/android/helloamber/project.properties +14 -0
  72. data/public/amber/examples/android/helloamber/res/layout/main.xml +6 -0
  73. data/public/amber/examples/android/helloamber/res/values/strings.xml +4 -0
  74. data/public/amber/examples/android/helloamber/src/org/amberlang/android/helloamber/HelloAmber.java +59 -0
  75. data/public/amber/examples/myproject/index.html +16 -0
  76. data/public/amber/examples/nodejs/README +9 -0
  77. data/public/amber/examples/nodejs/benchfib/Benchfib.st +124 -0
  78. data/public/amber/examples/nodejs/benchfib/Makefile +8 -0
  79. data/public/amber/examples/nodejs/benchfib/benchfib +1 -0
  80. data/public/amber/examples/nodejs/hello/Hello.st +9 -0
  81. data/public/amber/examples/nodejs/hello/Makefile +8 -0
  82. data/public/amber/examples/nodejs/hello/README +13 -0
  83. data/public/amber/examples/nodejs/hello/hello +1 -0
  84. data/public/amber/examples/nodejs/meta/Makefile +8 -0
  85. data/public/amber/examples/nodejs/meta/MyScript.st +27 -0
  86. data/public/amber/examples/nodejs/meta/meta +1 -0
  87. data/public/amber/examples/nodejs/pystone/Makefile +8 -0
  88. data/public/amber/examples/nodejs/pystone/Pystone.st +306 -0
  89. data/public/amber/examples/nodejs/pystone/pystone +1 -0
  90. data/public/amber/examples/nodejs/trivialserver/Makefile +8 -0
  91. data/public/amber/examples/nodejs/trivialserver/TrivialServer.st +51 -0
  92. data/public/amber/examples/nodejs/trivialserver/trivial +1 -0
  93. data/public/amber/examples/presentation/esug2011/images/asterix.png +0 -0
  94. data/public/amber/examples/presentation/esug2011/images/background_box.png +0 -0
  95. data/public/amber/examples/presentation/esug2011/images/background_header.png +0 -0
  96. data/public/amber/examples/presentation/esug2011/images/balloon.jpg +0 -0
  97. data/public/amber/examples/presentation/esug2011/images/balloon_header.png +0 -0
  98. data/public/amber/examples/presentation/esug2011/images/devices.jpg +0 -0
  99. data/public/amber/examples/presentation/esug2011/images/enyo.png +0 -0
  100. data/public/amber/examples/presentation/esug2011/images/ide_star_wars.png +0 -0
  101. data/public/amber/examples/presentation/esug2011/images/nodejs.png +0 -0
  102. data/public/amber/examples/presentation/esug2011/images/terminal.png +0 -0
  103. data/public/amber/examples/presentation/esug2011/images/webos.png +0 -0
  104. data/public/amber/examples/presentation/fosdem2012/images/amber.png +0 -0
  105. data/public/amber/examples/presentation/fosdem2012/images/ambrhino.jpg +0 -0
  106. data/public/amber/examples/presentation/fosdem2012/images/nodejs.png +0 -0
  107. data/public/amber/examples/presentation/fosdem2012/images/pharo.png +0 -0
  108. data/public/amber/examples/presentation/fosdem2012/images/php.gif +0 -0
  109. data/public/amber/examples/presentation/fosdem2012/images/rails.png +0 -0
  110. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-next.png +0 -0
  111. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/arrow-prev.png +0 -0
  112. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/closedhand.cur +0 -0
  113. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/openhand.cur +0 -0
  114. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-back.png +0 -0
  115. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow-top-forward.png +0 -0
  116. data/public/amber/examples/presentation/fosdem2012/lib/booklet/images/shadow.png +0 -0
  117. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.css +100 -0
  118. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.js +1232 -0
  119. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.booklet.1.2.0.min.js +13 -0
  120. data/public/amber/examples/presentation/fosdem2012/lib/booklet/jquery.easing.1.3.js +38 -0
  121. data/public/amber/examples/presentation/index.html +17 -0
  122. data/public/amber/examples/presentation/js/Presentation.deploy.js +1922 -0
  123. data/public/amber/examples/presentation/js/Presentation.js +2712 -0
  124. data/public/amber/examples/presentation/st/Presentation.st +1996 -0
  125. data/public/amber/examples/trysmalltalk/index.html +18 -0
  126. data/public/amber/examples/trysmalltalk/js/TrySmalltalk.deploy.js +837 -0
  127. data/public/amber/examples/trysmalltalk/js/TrySmalltalk.js +1206 -0
  128. data/public/amber/examples/trysmalltalk/st/TrySmalltalk.st +964 -0
  129. data/public/amber/examples/twitterwall/css/twitterwall.css +19 -0
  130. data/public/amber/examples/twitterwall/index.html +35 -0
  131. data/public/amber/examples/twitterwall/js/TwitterWall.deploy.js +116 -0
  132. data/public/amber/examples/twitterwall/js/TwitterWall.js +146 -0
  133. data/public/amber/examples/twitterwall/st/TwitterWall.st +91 -0
  134. data/public/amber/examples/webos/README +11 -0
  135. data/public/amber/examples/webos/eris/DuckQwaq.wav +0 -0
  136. data/public/amber/examples/webos/eris/EnyoAmber.st +36 -0
  137. data/public/amber/examples/webos/eris/Eris.css +0 -0
  138. data/public/amber/examples/webos/eris/Eris.st +86 -0
  139. data/public/amber/examples/webos/eris/Makefile +37 -0
  140. data/public/amber/examples/webos/eris/README +3 -0
  141. data/public/amber/examples/webos/eris/appinfo.json +10 -0
  142. data/public/amber/examples/webos/eris/index.html +12 -0
  143. data/public/amber/examples/webos/helloamber/EnyoAmber.st +36 -0
  144. data/public/amber/examples/webos/helloamber/HelloAmber.st +86 -0
  145. data/public/amber/examples/webos/helloamber/Makefile +38 -0
  146. data/public/amber/examples/webos/helloamber/README +5 -0
  147. data/public/amber/examples/webos/helloamber/appinfo.json +10 -0
  148. data/public/amber/examples/webos/helloamber/index.html +12 -0
  149. data/public/amber/favicon.ico +0 -0
  150. data/public/amber/images/amber.png +0 -0
  151. data/public/amber/images/amber.svg +706 -0
  152. data/public/amber/images/amber_small.png +0 -0
  153. data/public/amber/images/off.amber.png +0 -0
  154. data/public/amber/images/off.png +0 -0
  155. data/public/amber/images/offHover.amber.png +0 -0
  156. data/public/amber/images/offHover.png +0 -0
  157. data/public/amber/images/presentation.png +0 -0
  158. data/public/amber/images/profstef.png +0 -0
  159. data/public/amber/images/sprite.amber.png +0 -0
  160. data/public/amber/images/sprite.png +0 -0
  161. data/public/amber/images/tinylogo.amber.png +0 -0
  162. data/public/amber/images/tinylogo.png +0 -0
  163. data/public/amber/images/twitterwall.png +0 -0
  164. data/public/amber/index.html +55 -0
  165. data/public/amber/js/Additional-Examples.deploy.js +15 -0
  166. data/public/amber/js/Additional-Examples.js +21 -0
  167. data/public/amber/js/Benchfib.deploy.js +132 -0
  168. data/public/amber/js/Benchfib.js +167 -0
  169. data/public/amber/js/Canvas.deploy.js +2446 -0
  170. data/public/amber/js/Canvas.js +3547 -0
  171. data/public/amber/js/Compiler-Tests.deploy.js +97 -0
  172. data/public/amber/js/Compiler-Tests.js +137 -0
  173. data/public/amber/js/Compiler.deploy.js +1877 -0
  174. data/public/amber/js/Compiler.js +2622 -0
  175. data/public/amber/js/Documentation.deploy.js +961 -0
  176. data/public/amber/js/Documentation.js +1376 -0
  177. data/public/amber/js/Examples.deploy.js +53 -0
  178. data/public/amber/js/Examples.js +73 -0
  179. data/public/amber/js/IDE.deploy.js +3557 -0
  180. data/public/amber/js/IDE.js +5002 -0
  181. data/public/amber/js/Kernel-Announcements.deploy.js +107 -0
  182. data/public/amber/js/Kernel-Announcements.js +152 -0
  183. data/public/amber/js/Kernel-Classes.deploy.js +774 -0
  184. data/public/amber/js/Kernel-Classes.js +1095 -0
  185. data/public/amber/js/Kernel-Collections.deploy.js +3121 -0
  186. data/public/amber/js/Kernel-Collections.js +4427 -0
  187. data/public/amber/js/Kernel-Exceptions.deploy.js +244 -0
  188. data/public/amber/js/Kernel-Exceptions.js +349 -0
  189. data/public/amber/js/Kernel-Methods.deploy.js +573 -0
  190. data/public/amber/js/Kernel-Methods.js +807 -0
  191. data/public/amber/js/Kernel-Objects.deploy.js +2877 -0
  192. data/public/amber/js/Kernel-Objects.js +4107 -0
  193. data/public/amber/js/Kernel-Tests.deploy.js +1513 -0
  194. data/public/amber/js/Kernel-Tests.js +2053 -0
  195. data/public/amber/js/Kernel-Transcript.deploy.js +142 -0
  196. data/public/amber/js/Kernel-Transcript.js +202 -0
  197. data/public/amber/js/Maglev-Core.deploy.js +2996 -0
  198. data/public/amber/js/Maglev-Core.js +4246 -0
  199. data/public/amber/js/Maglev-Database-Explorer.deploy.js +4476 -0
  200. data/public/amber/js/Maglev-Database-Explorer.js +6232 -0
  201. data/public/amber/js/Maglev-Vendor.deploy.js +350 -0
  202. data/public/amber/js/Maglev-Vendor.js +465 -0
  203. data/public/amber/js/README.md +5 -0
  204. data/public/amber/js/SUnit.deploy.js +351 -0
  205. data/public/amber/js/SUnit.js +501 -0
  206. data/public/amber/js/amber.js +273 -0
  207. data/public/amber/js/boot.js +602 -0
  208. data/public/amber/js/compat.js +22 -0
  209. data/public/amber/js/init.js +9 -0
  210. data/public/amber/js/lib/CodeMirror/LICENSE +19 -0
  211. data/public/amber/js/lib/CodeMirror/active-line.js +39 -0
  212. data/public/amber/js/lib/CodeMirror/amber.css +21 -0
  213. data/public/amber/js/lib/CodeMirror/codemirror.css +67 -0
  214. data/public/amber/js/lib/CodeMirror/codemirror.js +2144 -0
  215. data/public/amber/js/lib/CodeMirror/smalltalk.js +134 -0
  216. data/public/amber/js/lib/jQuery/jquery-1.4.4.min.js +167 -0
  217. data/public/amber/js/lib/jQuery/jquery-1.6.4.min.js +4 -0
  218. data/public/amber/js/lib/jQuery/jquery-ui-1.8.16.custom.min.js +791 -0
  219. data/public/amber/js/lib/jQuery/jquery.textarea.js +267 -0
  220. data/public/amber/js/lib/peg-0.6.2.min.js +2 -0
  221. data/public/amber/js/lib/showdown.js +419 -0
  222. data/public/amber/js/parser.js +4222 -0
  223. data/public/amber/js/parser.pegjs +223 -0
  224. data/public/amber/learn.html +40 -0
  225. data/public/amber/repl/Makefile +8 -0
  226. data/public/amber/repl/REPL.js +124 -0
  227. data/public/amber/repl/REPL.st +56 -0
  228. data/public/amber/repl/amber.js +18085 -0
  229. data/public/amber/server/FileServer.st +576 -0
  230. data/public/amber/server/Makefile +8 -0
  231. data/public/amber/server/server.js +13049 -0
  232. data/public/amber/st/Benchfib.js +297 -0
  233. data/public/amber/st/Benchfib.st +124 -0
  234. data/public/amber/st/Canvas.st +968 -0
  235. data/public/amber/st/Compiler-Tests.st +471 -0
  236. data/public/amber/st/Compiler.st +1445 -0
  237. data/public/amber/st/Documentation.st +758 -0
  238. data/public/amber/st/Examples.js +100 -0
  239. data/public/amber/st/Examples.st +38 -0
  240. data/public/amber/st/IDE.st +2404 -0
  241. data/public/amber/st/Kernel-Announcements.st +61 -0
  242. data/public/amber/st/Kernel-Classes.st +462 -0
  243. data/public/amber/st/Kernel-Collections.st +1611 -0
  244. data/public/amber/st/Kernel-Exceptions.st +124 -0
  245. data/public/amber/st/Kernel-Methods.st +291 -0
  246. data/public/amber/st/Kernel-Objects.st +1587 -0
  247. data/public/amber/st/Kernel-Tests.st +953 -0
  248. data/public/amber/st/Kernel-Transcript.st +70 -0
  249. data/public/amber/st/Maglev-Core.st +1694 -0
  250. data/public/amber/st/Maglev-Database-Explorer.st +3148 -0
  251. data/public/amber/st/Maglev-Vendor.st +151 -0
  252. data/public/amber/st/Makefile +104 -0
  253. data/public/amber/st/README.md +4 -0
  254. data/public/amber/st/SUnit.st +172 -0
  255. data/public/css/bootstrap-combined.no-icons.min.css +731 -0
  256. data/public/css/bootstrap.css +6811 -0
  257. data/public/css/images/animated-overlay.gif +0 -0
  258. data/public/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  259. data/public/css/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  260. data/public/css/images/ui-bg_flat_10_000000_40x100.png +0 -0
  261. data/public/css/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  262. data/public/css/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  263. data/public/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  264. data/public/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  265. data/public/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  266. data/public/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  267. data/public/css/images/ui-icons_222222_256x240.png +0 -0
  268. data/public/css/images/ui-icons_228ef1_256x240.png +0 -0
  269. data/public/css/images/ui-icons_ef8c08_256x240.png +0 -0
  270. data/public/css/images/ui-icons_ffd27a_256x240.png +0 -0
  271. data/public/css/images/ui-icons_ffffff_256x240.png +0 -0
  272. data/public/css/jquery-ui.min.css +5 -0
  273. data/public/css/smalltalk_code.css +42 -0
  274. data/public/css/style.css +210 -0
  275. data/public/images/bg_tile.png +0 -0
  276. data/public/images/maglev-logo.gif +0 -0
  277. data/public/images/mchammer.gif +0 -0
  278. data/public/images/rails_tiny.png +0 -0
  279. data/public/images/ruby.png +0 -0
  280. data/public/images/ruby_smalltalk_bridge.png +0 -0
  281. data/public/images/smalltalk.png +0 -0
  282. data/public/img/glyphicons-halflings.png +0 -0
  283. data/public/index.html +118 -0
  284. data/public/libs/bootstrap.min.js +7 -0
  285. data/public/libs/codemirror/CONTRIBUTING.md +72 -0
  286. data/public/libs/codemirror/LICENSE +23 -0
  287. data/public/libs/codemirror/README.md +11 -0
  288. data/public/libs/codemirror/addon/dialog/dialog.css +32 -0
  289. data/public/libs/codemirror/addon/dialog/dialog.js +80 -0
  290. data/public/libs/codemirror/addon/display/placeholder.js +54 -0
  291. data/public/libs/codemirror/addon/edit/closebrackets.js +54 -0
  292. data/public/libs/codemirror/addon/edit/closetag.js +86 -0
  293. data/public/libs/codemirror/addon/edit/continuecomment.js +44 -0
  294. data/public/libs/codemirror/addon/edit/continuelist.js +25 -0
  295. data/public/libs/codemirror/addon/edit/matchbrackets.js +82 -0
  296. data/public/libs/codemirror/addon/fold/brace-fold.js +31 -0
  297. data/public/libs/codemirror/addon/fold/foldcode.js +32 -0
  298. data/public/libs/codemirror/addon/fold/indent-fold.js +11 -0
  299. data/public/libs/codemirror/addon/fold/xml-fold.js +64 -0
  300. data/public/libs/codemirror/addon/hint/html-hint.js +582 -0
  301. data/public/libs/codemirror/addon/hint/javascript-hint.js +142 -0
  302. data/public/libs/codemirror/addon/hint/pig-hint.js +117 -0
  303. data/public/libs/codemirror/addon/hint/python-hint.js +93 -0
  304. data/public/libs/codemirror/addon/hint/show-hint.css +38 -0
  305. data/public/libs/codemirror/addon/hint/show-hint.js +180 -0
  306. data/public/libs/codemirror/addon/hint/xml-hint.js +118 -0
  307. data/public/libs/codemirror/addon/lint/javascript-lint.js +127 -0
  308. data/public/libs/codemirror/addon/lint/json-lint.js +14 -0
  309. data/public/libs/codemirror/addon/lint/lint.css +96 -0
  310. data/public/libs/codemirror/addon/lint/lint.js +197 -0
  311. data/public/libs/codemirror/addon/mode/loadmode.js +51 -0
  312. data/public/libs/codemirror/addon/mode/multiplex.js +95 -0
  313. data/public/libs/codemirror/addon/mode/overlay.js +59 -0
  314. data/public/libs/codemirror/addon/runmode/colorize.js +29 -0
  315. data/public/libs/codemirror/addon/runmode/runmode-standalone.js +130 -0
  316. data/public/libs/codemirror/addon/runmode/runmode.js +52 -0
  317. data/public/libs/codemirror/addon/runmode/runmode.node.js +89 -0
  318. data/public/libs/codemirror/addon/search/match-highlighter.js +60 -0
  319. data/public/libs/codemirror/addon/search/search.js +131 -0
  320. data/public/libs/codemirror/addon/search/searchcursor.js +133 -0
  321. data/public/libs/codemirror/addon/selection/active-line.js +39 -0
  322. data/public/libs/codemirror/addon/selection/mark-selection.js +34 -0
  323. data/public/libs/codemirror/bin/compress +91 -0
  324. data/public/libs/codemirror/bin/lint +11 -0
  325. data/public/libs/codemirror/demo/activeline.html +70 -0
  326. data/public/libs/codemirror/demo/bidi.html +61 -0
  327. data/public/libs/codemirror/demo/btree.html +87 -0
  328. data/public/libs/codemirror/demo/buffers.html +98 -0
  329. data/public/libs/codemirror/demo/changemode.html +50 -0
  330. data/public/libs/codemirror/demo/closebrackets.html +63 -0
  331. data/public/libs/codemirror/demo/closetag.html +37 -0
  332. data/public/libs/codemirror/demo/complete.html +70 -0
  333. data/public/libs/codemirror/demo/emacs.html +60 -0
  334. data/public/libs/codemirror/demo/folding.html +69 -0
  335. data/public/libs/codemirror/demo/fullscreen.html +147 -0
  336. data/public/libs/codemirror/demo/html5complete.html +92 -0
  337. data/public/libs/codemirror/demo/indentwrap.html +49 -0
  338. data/public/libs/codemirror/demo/lint.html +90 -0
  339. data/public/libs/codemirror/demo/loadmode.html +40 -0
  340. data/public/libs/codemirror/demo/marker.html +59 -0
  341. data/public/libs/codemirror/demo/markselection.html +36 -0
  342. data/public/libs/codemirror/demo/matchhighlighter.html +38 -0
  343. data/public/libs/codemirror/demo/multiplex.html +60 -0
  344. data/public/libs/codemirror/demo/mustache.html +59 -0
  345. data/public/libs/codemirror/demo/placeholder.html +36 -0
  346. data/public/libs/codemirror/demo/preview.html +76 -0
  347. data/public/libs/codemirror/demo/resize.html +49 -0
  348. data/public/libs/codemirror/demo/runmode.html +50 -0
  349. data/public/libs/codemirror/demo/search.html +85 -0
  350. data/public/libs/codemirror/demo/spanaffectswrapping_shim.html +73 -0
  351. data/public/libs/codemirror/demo/theme.html +89 -0
  352. data/public/libs/codemirror/demo/variableheight.html +52 -0
  353. data/public/libs/codemirror/demo/vim.html +65 -0
  354. data/public/libs/codemirror/demo/visibletabs.html +53 -0
  355. data/public/libs/codemirror/demo/widget.html +74 -0
  356. data/public/libs/codemirror/demo/xmlcomplete.html +81 -0
  357. data/public/libs/codemirror/index.html +487 -0
  358. data/public/libs/codemirror/keymap/emacs.js +30 -0
  359. data/public/libs/codemirror/keymap/vim.js +3044 -0
  360. data/public/libs/codemirror/lib/codemirror.css +253 -0
  361. data/public/libs/codemirror/lib/codemirror.js +5585 -0
  362. data/public/libs/codemirror/mode/apl/apl.js +160 -0
  363. data/public/libs/codemirror/mode/apl/index.html +61 -0
  364. data/public/libs/codemirror/mode/asterisk/asterisk.js +183 -0
  365. data/public/libs/codemirror/mode/asterisk/index.html +142 -0
  366. data/public/libs/codemirror/mode/clike/clike.js +302 -0
  367. data/public/libs/codemirror/mode/clike/index.html +103 -0
  368. data/public/libs/codemirror/mode/clike/scala.html +767 -0
  369. data/public/libs/codemirror/mode/clojure/clojure.js +222 -0
  370. data/public/libs/codemirror/mode/clojure/index.html +76 -0
  371. data/public/libs/codemirror/mode/coffeescript/LICENSE +22 -0
  372. data/public/libs/codemirror/mode/coffeescript/coffeescript.js +346 -0
  373. data/public/libs/codemirror/mode/coffeescript/index.html +728 -0
  374. data/public/libs/codemirror/mode/commonlisp/commonlisp.js +101 -0
  375. data/public/libs/codemirror/mode/commonlisp/index.html +165 -0
  376. data/public/libs/codemirror/mode/css/css.js +567 -0
  377. data/public/libs/codemirror/mode/css/index.html +58 -0
  378. data/public/libs/codemirror/mode/css/scss.html +145 -0
  379. data/public/libs/codemirror/mode/css/scss_test.js +80 -0
  380. data/public/libs/codemirror/mode/css/test.js +113 -0
  381. data/public/libs/codemirror/mode/d/d.js +205 -0
  382. data/public/libs/codemirror/mode/d/index.html +262 -0
  383. data/public/libs/codemirror/mode/diff/diff.js +32 -0
  384. data/public/libs/codemirror/mode/diff/index.html +105 -0
  385. data/public/libs/codemirror/mode/ecl/ecl.js +192 -0
  386. data/public/libs/codemirror/mode/ecl/index.html +39 -0
  387. data/public/libs/codemirror/mode/erlang/erlang.js +463 -0
  388. data/public/libs/codemirror/mode/erlang/index.html +64 -0
  389. data/public/libs/codemirror/mode/gas/gas.js +326 -0
  390. data/public/libs/codemirror/mode/gas/index.html +57 -0
  391. data/public/libs/codemirror/mode/gfm/gfm.js +96 -0
  392. data/public/libs/codemirror/mode/gfm/index.html +74 -0
  393. data/public/libs/codemirror/mode/gfm/test.js +112 -0
  394. data/public/libs/codemirror/mode/go/go.js +165 -0
  395. data/public/libs/codemirror/mode/go/index.html +74 -0
  396. data/public/libs/codemirror/mode/groovy/groovy.js +210 -0
  397. data/public/libs/codemirror/mode/groovy/index.html +73 -0
  398. data/public/libs/codemirror/mode/haskell/haskell.js +242 -0
  399. data/public/libs/codemirror/mode/haskell/index.html +62 -0
  400. data/public/libs/codemirror/mode/haxe/haxe.js +429 -0
  401. data/public/libs/codemirror/mode/haxe/index.html +90 -0
  402. data/public/libs/codemirror/mode/htmlembedded/htmlembedded.js +73 -0
  403. data/public/libs/codemirror/mode/htmlembedded/index.html +49 -0
  404. data/public/libs/codemirror/mode/htmlmixed/htmlmixed.js +104 -0
  405. data/public/libs/codemirror/mode/htmlmixed/index.html +73 -0
  406. data/public/libs/codemirror/mode/http/http.js +98 -0
  407. data/public/libs/codemirror/mode/http/index.html +32 -0
  408. data/public/libs/codemirror/mode/javascript/index.html +92 -0
  409. data/public/libs/codemirror/mode/javascript/javascript.js +467 -0
  410. data/public/libs/codemirror/mode/javascript/typescript.html +48 -0
  411. data/public/libs/codemirror/mode/jinja2/index.html +38 -0
  412. data/public/libs/codemirror/mode/jinja2/jinja2.js +42 -0
  413. data/public/libs/codemirror/mode/less/index.html +741 -0
  414. data/public/libs/codemirror/mode/less/less.js +266 -0
  415. data/public/libs/codemirror/mode/livescript/LICENSE +23 -0
  416. data/public/libs/codemirror/mode/livescript/index.html +446 -0
  417. data/public/libs/codemirror/mode/livescript/livescript.js +267 -0
  418. data/public/libs/codemirror/mode/livescript/livescript.ls +266 -0
  419. data/public/libs/codemirror/mode/lua/index.html +74 -0
  420. data/public/libs/codemirror/mode/lua/lua.js +140 -0
  421. data/public/libs/codemirror/mode/markdown/index.html +344 -0
  422. data/public/libs/codemirror/mode/markdown/markdown.js +526 -0
  423. data/public/libs/codemirror/mode/markdown/test.js +636 -0
  424. data/public/libs/codemirror/mode/meta.js +75 -0
  425. data/public/libs/codemirror/mode/mirc/index.html +149 -0
  426. data/public/libs/codemirror/mode/mirc/mirc.js +177 -0
  427. data/public/libs/codemirror/mode/ntriples/index.html +33 -0
  428. data/public/libs/codemirror/mode/ntriples/ntriples.js +170 -0
  429. data/public/libs/codemirror/mode/ocaml/index.html +131 -0
  430. data/public/libs/codemirror/mode/ocaml/ocaml.js +113 -0
  431. data/public/libs/codemirror/mode/pascal/LICENSE +7 -0
  432. data/public/libs/codemirror/mode/pascal/index.html +48 -0
  433. data/public/libs/codemirror/mode/pascal/pascal.js +94 -0
  434. data/public/libs/codemirror/mode/perl/LICENSE +19 -0
  435. data/public/libs/codemirror/mode/perl/index.html +62 -0
  436. data/public/libs/codemirror/mode/perl/perl.js +816 -0
  437. data/public/libs/codemirror/mode/php/index.html +51 -0
  438. data/public/libs/codemirror/mode/php/php.js +129 -0
  439. data/public/libs/codemirror/mode/pig/index.html +42 -0
  440. data/public/libs/codemirror/mode/pig/pig.js +171 -0
  441. data/public/libs/codemirror/mode/properties/index.html +41 -0
  442. data/public/libs/codemirror/mode/properties/properties.js +63 -0
  443. data/public/libs/codemirror/mode/python/LICENSE.txt +21 -0
  444. data/public/libs/codemirror/mode/python/index.html +135 -0
  445. data/public/libs/codemirror/mode/python/python.js +340 -0
  446. data/public/libs/codemirror/mode/q/index.html +131 -0
  447. data/public/libs/codemirror/mode/q/q.js +124 -0
  448. data/public/libs/codemirror/mode/r/LICENSE +24 -0
  449. data/public/libs/codemirror/mode/r/index.html +74 -0
  450. data/public/libs/codemirror/mode/r/r.js +141 -0
  451. data/public/libs/codemirror/mode/rpm/changes/changes.js +19 -0
  452. data/public/libs/codemirror/mode/rpm/changes/index.html +53 -0
  453. data/public/libs/codemirror/mode/rpm/spec/index.html +99 -0
  454. data/public/libs/codemirror/mode/rpm/spec/spec.css +5 -0
  455. data/public/libs/codemirror/mode/rpm/spec/spec.js +66 -0
  456. data/public/libs/codemirror/mode/rst/LICENSE.txt +21 -0
  457. data/public/libs/codemirror/mode/rst/index.html +524 -0
  458. data/public/libs/codemirror/mode/rst/rst.js +550 -0
  459. data/public/libs/codemirror/mode/ruby/LICENSE +24 -0
  460. data/public/libs/codemirror/mode/ruby/index.html +173 -0
  461. data/public/libs/codemirror/mode/ruby/ruby.js +197 -0
  462. data/public/libs/codemirror/mode/rust/index.html +48 -0
  463. data/public/libs/codemirror/mode/rust/rust.js +432 -0
  464. data/public/libs/codemirror/mode/sass/index.html +54 -0
  465. data/public/libs/codemirror/mode/sass/sass.js +349 -0
  466. data/public/libs/codemirror/mode/scheme/index.html +65 -0
  467. data/public/libs/codemirror/mode/scheme/scheme.js +230 -0
  468. data/public/libs/codemirror/mode/shell/index.html +51 -0
  469. data/public/libs/codemirror/mode/shell/shell.js +118 -0
  470. data/public/libs/codemirror/mode/sieve/LICENSE +19 -0
  471. data/public/libs/codemirror/mode/sieve/index.html +81 -0
  472. data/public/libs/codemirror/mode/sieve/sieve.js +183 -0
  473. data/public/libs/codemirror/mode/smalltalk/index.html +57 -0
  474. data/public/libs/codemirror/mode/smalltalk/smalltalk.js +141 -0
  475. data/public/libs/codemirror/mode/smarty/index.html +83 -0
  476. data/public/libs/codemirror/mode/smarty/smarty.js +148 -0
  477. data/public/libs/codemirror/mode/sparql/index.html +42 -0
  478. data/public/libs/codemirror/mode/sparql/sparql.js +143 -0
  479. data/public/libs/codemirror/mode/sql/index.html +68 -0
  480. data/public/libs/codemirror/mode/sql/sql.js +268 -0
  481. data/public/libs/codemirror/mode/stex/index.html +98 -0
  482. data/public/libs/codemirror/mode/stex/stex.js +246 -0
  483. data/public/libs/codemirror/mode/stex/test.js +117 -0
  484. data/public/libs/codemirror/mode/tcl/index.html +129 -0
  485. data/public/libs/codemirror/mode/tcl/tcl.js +131 -0
  486. data/public/libs/codemirror/mode/tiddlywiki/index.html +142 -0
  487. data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
  488. data/public/libs/codemirror/mode/tiddlywiki/tiddlywiki.js +353 -0
  489. data/public/libs/codemirror/mode/tiki/index.html +81 -0
  490. data/public/libs/codemirror/mode/tiki/tiki.css +26 -0
  491. data/public/libs/codemirror/mode/tiki/tiki.js +308 -0
  492. data/public/libs/codemirror/mode/turtle/index.html +39 -0
  493. data/public/libs/codemirror/mode/turtle/turtle.js +145 -0
  494. data/public/libs/codemirror/mode/vb/LICENSE.txt +21 -0
  495. data/public/libs/codemirror/mode/vb/index.html +88 -0
  496. data/public/libs/codemirror/mode/vb/vb.js +259 -0
  497. data/public/libs/codemirror/mode/vbscript/index.html +42 -0
  498. data/public/libs/codemirror/mode/vbscript/vbscript.js +26 -0
  499. data/public/libs/codemirror/mode/velocity/index.html +103 -0
  500. data/public/libs/codemirror/mode/velocity/velocity.js +144 -0
  501. data/public/libs/codemirror/mode/verilog/index.html +121 -0
  502. data/public/libs/codemirror/mode/verilog/verilog.js +182 -0
  503. data/public/libs/codemirror/mode/xml/index.html +45 -0
  504. data/public/libs/codemirror/mode/xml/xml.js +328 -0
  505. data/public/libs/codemirror/mode/xquery/LICENSE +20 -0
  506. data/public/libs/codemirror/mode/xquery/index.html +221 -0
  507. data/public/libs/codemirror/mode/xquery/test.js +64 -0
  508. data/public/libs/codemirror/mode/xquery/xquery.js +450 -0
  509. data/public/libs/codemirror/mode/yaml/index.html +68 -0
  510. data/public/libs/codemirror/mode/yaml/yaml.js +95 -0
  511. data/public/libs/codemirror/mode/z80/index.html +39 -0
  512. data/public/libs/codemirror/mode/z80/z80.js +85 -0
  513. data/public/libs/codemirror/package.json +21 -0
  514. data/public/libs/codemirror/test/doc_test.js +329 -0
  515. data/public/libs/codemirror/test/driver.js +138 -0
  516. data/public/libs/codemirror/test/index.html +182 -0
  517. data/public/libs/codemirror/test/lint/acorn.js +1593 -0
  518. data/public/libs/codemirror/test/lint/lint.js +112 -0
  519. data/public/libs/codemirror/test/lint/parse-js.js +1372 -0
  520. data/public/libs/codemirror/test/lint/walk.js +216 -0
  521. data/public/libs/codemirror/test/mode_test.css +10 -0
  522. data/public/libs/codemirror/test/mode_test.js +192 -0
  523. data/public/libs/codemirror/test/phantom_driver.js +31 -0
  524. data/public/libs/codemirror/test/run.js +33 -0
  525. data/public/libs/codemirror/test/test.js +1400 -0
  526. data/public/libs/codemirror/test/vim_test.js +1688 -0
  527. data/public/libs/codemirror/theme/ambiance-mobile.css +5 -0
  528. data/public/libs/codemirror/theme/ambiance.css +75 -0
  529. data/public/libs/codemirror/theme/blackboard.css +25 -0
  530. data/public/libs/codemirror/theme/cobalt.css +18 -0
  531. data/public/libs/codemirror/theme/eclipse.css +25 -0
  532. data/public/libs/codemirror/theme/elegant.css +10 -0
  533. data/public/libs/codemirror/theme/erlang-dark.css +21 -0
  534. data/public/libs/codemirror/theme/lesser-dark.css +44 -0
  535. data/public/libs/codemirror/theme/midnight.css +52 -0
  536. data/public/libs/codemirror/theme/monokai.css +28 -0
  537. data/public/libs/codemirror/theme/neat.css +9 -0
  538. data/public/libs/codemirror/theme/night.css +21 -0
  539. data/public/libs/codemirror/theme/rubyblue.css +21 -0
  540. data/public/libs/codemirror/theme/solarized.css +207 -0
  541. data/public/libs/codemirror/theme/twilight.css +26 -0
  542. data/public/libs/codemirror/theme/vibrant-ink.css +27 -0
  543. data/public/libs/codemirror/theme/xq-dark.css +46 -0
  544. data/public/libs/codemirror/theme/xq-light.css +43 -0
  545. data/public/libs/font-awesome/css/font-awesome-ie7.css +983 -0
  546. data/public/libs/font-awesome/css/font-awesome-ie7.min.css +24 -0
  547. data/public/libs/font-awesome/css/font-awesome.css +1268 -0
  548. data/public/libs/font-awesome/css/font-awesome.min.css +24 -0
  549. data/public/libs/font-awesome/font/FontAwesome.otf +0 -0
  550. data/public/libs/font-awesome/font/fontawesome-webfont.eot +0 -0
  551. data/public/libs/font-awesome/font/fontawesome-webfont.svg +339 -0
  552. data/public/libs/font-awesome/font/fontawesome-webfont.ttf +0 -0
  553. data/public/libs/font-awesome/font/fontawesome-webfont.woff +0 -0
  554. data/public/libs/font-awesome/less/bootstrap.less +78 -0
  555. data/public/libs/font-awesome/less/core.less +132 -0
  556. data/public/libs/font-awesome/less/extras.less +79 -0
  557. data/public/libs/font-awesome/less/font-awesome-ie7.less +413 -0
  558. data/public/libs/font-awesome/less/font-awesome.less +32 -0
  559. data/public/libs/font-awesome/less/icons.less +330 -0
  560. data/public/libs/font-awesome/less/mixins.less +34 -0
  561. data/public/libs/font-awesome/less/path.less +15 -0
  562. data/public/libs/font-awesome/less/variables.less +9 -0
  563. data/public/libs/jquery-1.10.0.min.js +6 -0
  564. data/public/libs/jquery-ui.min.js +12 -0
  565. data/public/libs/jquery.jsPlumb-1.4.0-all.js +9571 -0
  566. data/public/libs/jquery.livequery.js +226 -0
  567. data/public/libs/jsPlumbInitializer.js +72 -0
  568. data/public/libs/jstree/README.txt +10 -0
  569. data/public/libs/jstree/_demo/_dump.sql +20 -0
  570. data/public/libs/jstree/_demo/_inc/__mysql_errors.log +0 -0
  571. data/public/libs/jstree/_demo/_inc/class._database.php +146 -0
  572. data/public/libs/jstree/_demo/_inc/class._database_i.php +152 -0
  573. data/public/libs/jstree/_demo/_inc/class.tree.php +602 -0
  574. data/public/libs/jstree/_demo/_install.txt +6 -0
  575. data/public/libs/jstree/_demo/config.php +14 -0
  576. data/public/libs/jstree/_demo/file.png +0 -0
  577. data/public/libs/jstree/_demo/folder.png +0 -0
  578. data/public/libs/jstree/_demo/index.html +461 -0
  579. data/public/libs/jstree/_demo/root.png +0 -0
  580. data/public/libs/jstree/_demo/server.php +69 -0
  581. data/public/libs/jstree/_docs/!style.css +48 -0
  582. data/public/libs/jstree/_docs/_drive.png +0 -0
  583. data/public/libs/jstree/_docs/_html_data.html +2 -0
  584. data/public/libs/jstree/_docs/_json_data.json +4 -0
  585. data/public/libs/jstree/_docs/_search_data.json +6 -0
  586. data/public/libs/jstree/_docs/_search_result.json +1 -0
  587. data/public/libs/jstree/_docs/_xml_flat.xml +12 -0
  588. data/public/libs/jstree/_docs/_xml_nest.xml +18 -0
  589. data/public/libs/jstree/_docs/checkbox.html +171 -0
  590. data/public/libs/jstree/_docs/contextmenu.html +121 -0
  591. data/public/libs/jstree/_docs/cookies.html +97 -0
  592. data/public/libs/jstree/_docs/core.html +689 -0
  593. data/public/libs/jstree/_docs/crrm.html +316 -0
  594. data/public/libs/jstree/_docs/dnd.html +199 -0
  595. data/public/libs/jstree/_docs/hotkeys.html +82 -0
  596. data/public/libs/jstree/_docs/html_data.html +175 -0
  597. data/public/libs/jstree/_docs/index.html +86 -0
  598. data/public/libs/jstree/_docs/json_data.html +249 -0
  599. data/public/libs/jstree/_docs/languages.html +152 -0
  600. data/public/libs/jstree/_docs/logo.png +0 -0
  601. data/public/libs/jstree/_docs/search.html +153 -0
  602. data/public/libs/jstree/_docs/sort.html +85 -0
  603. data/public/libs/jstree/_docs/syntax/!script.js +2232 -0
  604. data/public/libs/jstree/_docs/syntax/!style.css +511 -0
  605. data/public/libs/jstree/_docs/syntax/clipboard.swf +0 -0
  606. data/public/libs/jstree/_docs/syntax/help.png +0 -0
  607. data/public/libs/jstree/_docs/syntax/magnifier.png +0 -0
  608. data/public/libs/jstree/_docs/syntax/page_white_code.png +0 -0
  609. data/public/libs/jstree/_docs/syntax/page_white_copy.png +0 -0
  610. data/public/libs/jstree/_docs/syntax/printer.png +0 -0
  611. data/public/libs/jstree/_docs/syntax/wrapping.png +0 -0
  612. data/public/libs/jstree/_docs/themeroller.html +107 -0
  613. data/public/libs/jstree/_docs/themes.html +127 -0
  614. data/public/libs/jstree/_docs/types.html +178 -0
  615. data/public/libs/jstree/_docs/ui.html +197 -0
  616. data/public/libs/jstree/_docs/unique.html +85 -0
  617. data/public/libs/jstree/_docs/xml_data.html +218 -0
  618. data/public/libs/jstree/_lib/jquery.cookie.js +96 -0
  619. data/public/libs/jstree/_lib/jquery.hotkeys.js +99 -0
  620. data/public/libs/jstree/_lib/jquery.js +5 -0
  621. data/public/libs/jstree/jquery.jstree.js +4564 -0
  622. data/public/libs/jstree/themes/apple/bg.jpg +0 -0
  623. data/public/libs/jstree/themes/apple/d.png +0 -0
  624. data/public/libs/jstree/themes/apple/dot_for_ie.gif +0 -0
  625. data/public/libs/jstree/themes/apple/style.css +61 -0
  626. data/public/libs/jstree/themes/apple/throbber.gif +0 -0
  627. data/public/libs/jstree/themes/classic/d.gif +0 -0
  628. data/public/libs/jstree/themes/classic/d.png +0 -0
  629. data/public/libs/jstree/themes/classic/dot_for_ie.gif +0 -0
  630. data/public/libs/jstree/themes/classic/style.css +77 -0
  631. data/public/libs/jstree/themes/classic/throbber.gif +0 -0
  632. data/public/libs/jstree/themes/default-rtl/d.gif +0 -0
  633. data/public/libs/jstree/themes/default-rtl/d.png +0 -0
  634. data/public/libs/jstree/themes/default-rtl/dots.gif +0 -0
  635. data/public/libs/jstree/themes/default-rtl/style.css +84 -0
  636. data/public/libs/jstree/themes/default-rtl/throbber.gif +0 -0
  637. data/public/libs/jstree/themes/default/d.gif +0 -0
  638. data/public/libs/jstree/themes/default/d.png +0 -0
  639. data/public/libs/jstree/themes/default/style.css +74 -0
  640. data/public/libs/jstree/themes/default/throbber.gif +0 -0
  641. data/public/themes/geo-bootstrap/README.md +25 -0
  642. data/public/themes/geo-bootstrap/img/flames.gif +0 -0
  643. data/public/themes/geo-bootstrap/img/glyphicons-halflings-white.png +0 -0
  644. data/public/themes/geo-bootstrap/img/glyphicons-halflings.png +0 -0
  645. data/public/themes/geo-bootstrap/img/microfab.gif +0 -0
  646. data/public/themes/geo-bootstrap/img/progress.gif +0 -0
  647. data/public/themes/geo-bootstrap/img/rainbow.gif +0 -0
  648. data/public/themes/geo-bootstrap/img/stars.gif +0 -0
  649. data/public/themes/geo-bootstrap/img/test/7upspot.gif +0 -0
  650. data/public/themes/geo-bootstrap/img/test/americanflag.gif +0 -0
  651. data/public/themes/geo-bootstrap/img/test/community.gif +0 -0
  652. data/public/themes/geo-bootstrap/img/test/computer-01.gif +0 -0
  653. data/public/themes/geo-bootstrap/img/test/computer.gif +0 -0
  654. data/public/themes/geo-bootstrap/img/test/construction.gif +0 -0
  655. data/public/themes/geo-bootstrap/img/test/counter.gif +0 -0
  656. data/public/themes/geo-bootstrap/img/test/counter2.gif +0 -0
  657. data/public/themes/geo-bootstrap/img/test/divider.gif +0 -0
  658. data/public/themes/geo-bootstrap/img/test/divider1.gif +0 -0
  659. data/public/themes/geo-bootstrap/img/test/divider2.gif +0 -0
  660. data/public/themes/geo-bootstrap/img/test/divider3.gif +0 -0
  661. data/public/themes/geo-bootstrap/img/test/divider4.gif +0 -0
  662. data/public/themes/geo-bootstrap/img/test/drudgesiren.gif +0 -0
  663. data/public/themes/geo-bootstrap/img/test/emailme.gif +0 -0
  664. data/public/themes/geo-bootstrap/img/test/funky.gif +0 -0
  665. data/public/themes/geo-bootstrap/img/test/geocities.jpg +0 -0
  666. data/public/themes/geo-bootstrap/img/test/hacker.gif +0 -0
  667. data/public/themes/geo-bootstrap/img/test/heart.gif +0 -0
  668. data/public/themes/geo-bootstrap/img/test/hot.gif +0 -0
  669. data/public/themes/geo-bootstrap/img/test/ie_logo.gif +0 -0
  670. data/public/themes/geo-bootstrap/img/test/mailkitten.gif +0 -0
  671. data/public/themes/geo-bootstrap/img/test/mchammer.gif +0 -0
  672. data/public/themes/geo-bootstrap/img/test/new.gif +0 -0
  673. data/public/themes/geo-bootstrap/img/test/new2.gif +0 -0
  674. data/public/themes/geo-bootstrap/img/test/noframes.gif +0 -0
  675. data/public/themes/geo-bootstrap/img/test/notepad.gif +0 -0
  676. data/public/themes/geo-bootstrap/img/test/ns_logo.gif +0 -0
  677. data/public/themes/geo-bootstrap/img/test/sign-in.gif +0 -0
  678. data/public/themes/geo-bootstrap/img/test/spinningearth.gif +0 -0
  679. data/public/themes/geo-bootstrap/img/test/underconstruction.gif +0 -0
  680. data/public/themes/geo-bootstrap/img/test/wabwalk.gif +0 -0
  681. data/public/themes/geo-bootstrap/img/test/webtrips.gif +0 -0
  682. data/public/themes/geo-bootstrap/img/test/yahooweek.gif +0 -0
  683. data/public/themes/geo-bootstrap/package.json +21 -0
  684. data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.css +1109 -0
  685. data/public/themes/geo-bootstrap/swatch/bootstrap-responsive.min.css +9 -0
  686. data/public/themes/geo-bootstrap/swatch/bootstrap.css +6462 -0
  687. data/public/themes/geo-bootstrap/swatch/bootstrap.min.css +9 -0
  688. metadata +791 -0
@@ -0,0 +1,4476 @@
1
+ smalltalk.addPackage('Maglev-Database-Explorer', {});
2
+ smalltalk.addClass('MaglevDraggableObject', smalltalk.Widget, ['content'], 'Maglev-Database-Explorer');
3
+ smalltalk.addMethod(
4
+ unescape('_content'),
5
+ smalltalk.method({
6
+ selector: unescape('content'),
7
+ fn: function (){
8
+ var self=this;
9
+ return self['@content'];
10
+ return self;}
11
+ }),
12
+ smalltalk.MaglevDraggableObject);
13
+
14
+ smalltalk.addMethod(
15
+ unescape('_content_'),
16
+ smalltalk.method({
17
+ selector: unescape('content%3A'),
18
+ fn: function (anObject){
19
+ var self=this;
20
+ (self['@content']=anObject);
21
+ return self;}
22
+ }),
23
+ smalltalk.MaglevDraggableObject);
24
+
25
+ smalltalk.addMethod(
26
+ unescape('_renderOn_'),
27
+ smalltalk.method({
28
+ selector: unescape('renderOn%3A'),
29
+ fn: function (html){
30
+ var self=this;
31
+ smalltalk.send(smalltalk.send(html, "_div", []), "_class_with_", [unescape("draggable-new-object-container"), (function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("ui-widget-content%20ui-draggable%20draggable-new-object")]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_class_", [unescape("object-drag-dummy")]);smalltalk.send($rec, "_style_", [unescape("display%3A%20none%3B")]);smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_move", [])]);return smalltalk.send($rec, "_with_", [self['@content']]);})(smalltalk.send(html, "_div", []));return (function($rec){smalltalk.send($rec, "_class_", [unescape("object-iv-name")]);return smalltalk.send($rec, "_with_", [self['@content']]);})(smalltalk.send(html, "_div", []));})]);})(smalltalk.send(html, "_div", []));})]);
32
+ return self;}
33
+ }),
34
+ smalltalk.MaglevDraggableObject);
35
+
36
+
37
+ smalltalk.addMethod(
38
+ unescape('_with_'),
39
+ smalltalk.method({
40
+ selector: unescape('with%3A'),
41
+ fn: function (anObject){
42
+ var self=this;
43
+ return (function($rec){smalltalk.send($rec, "_content_", [anObject]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_basicNew", []));
44
+ return self;}
45
+ }),
46
+ smalltalk.MaglevDraggableObject.klass);
47
+
48
+
49
+ smalltalk.addClass('MaglevGsNMethodEditor', smalltalk.Widget, ['object', 'editorContainer', 'errorBox', 'rubyIcon', 'stIcon', 'envIdContainer', 'sourceLocationContainer', 'editor', 'editorHeight', 'editorWidth', 'classObject'], 'Maglev-Database-Explorer');
50
+ smalltalk.addMethod(
51
+ unescape('_classObject'),
52
+ smalltalk.method({
53
+ selector: unescape('classObject'),
54
+ fn: function (){
55
+ var self=this;
56
+ return smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObjectWithoutUpdate_", [smalltalk.send(smalltalk.send(self, "_methodObject", []), "_at_", [(5)])]);
57
+ return self;}
58
+ }),
59
+ smalltalk.MaglevGsNMethodEditor);
60
+
61
+ smalltalk.addMethod(
62
+ unescape('_classObject_'),
63
+ smalltalk.method({
64
+ selector: unescape('classObject%3A'),
65
+ fn: function (anObject){
66
+ var self=this;
67
+ (self['@classObject']=anObject);
68
+ return self;}
69
+ }),
70
+ smalltalk.MaglevGsNMethodEditor);
71
+
72
+ smalltalk.addMethod(
73
+ unescape('_commandSave'),
74
+ smalltalk.method({
75
+ selector: unescape('commandSave'),
76
+ fn: function (){
77
+ var self=this;
78
+ var selectedCategory=nil;
79
+ smalltalk.send(self['@errorBox'], "_hide", []);
80
+ smalltalk.send(smalltalk.send(self['@errorBox'], "_asJQuery", []), "_empty", []);
81
+ ((($receiver = smalltalk.send(smalltalk.send(self, "_envId", []), "__eq", [(1)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self, "_classObject", []), "_compileRubySourceCode_withCallback_", [smalltalk.send(smalltalk.send(self['@editor'], "_getValue", []), "_replace_with_", [unescape("%u26A1"), ""]), (function(success, obj){return ((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_signalSuccess", []);})() : (function(){return smalltalk.send(self, "_signalFailure_", [obj]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_signalSuccess", []);}), (function(){return smalltalk.send(self, "_signalFailure_", [obj]);})]));})]);})() : (function(){return smalltalk.send(smalltalk.send(self, "_classObject", []), "_compileSmalltalkSourceCode_withCallback_", [smalltalk.send(smalltalk.send(self['@editor'], "_getValue", []), "_replace_with_", [unescape("%u26A1"), ""]), (function(success, obj){return ((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_signalSuccess", []);})() : (function(){return smalltalk.send(self, "_signalFailure_", [obj]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_signalSuccess", []);}), (function(){return smalltalk.send(self, "_signalFailure_", [obj]);})]));})]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(self, "_classObject", []), "_compileRubySourceCode_withCallback_", [smalltalk.send(smalltalk.send(self['@editor'], "_getValue", []), "_replace_with_", [unescape("%u26A1"), ""]), (function(success, obj){return ((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_signalSuccess", []);})() : (function(){return smalltalk.send(self, "_signalFailure_", [obj]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_signalSuccess", []);}), (function(){return smalltalk.send(self, "_signalFailure_", [obj]);})]));})]);}), (function(){return smalltalk.send(smalltalk.send(self, "_classObject", []), "_compileSmalltalkSourceCode_withCallback_", [smalltalk.send(smalltalk.send(self['@editor'], "_getValue", []), "_replace_with_", [unescape("%u26A1"), ""]), (function(success, obj){return ((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_signalSuccess", []);})() : (function(){return smalltalk.send(self, "_signalFailure_", [obj]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_signalSuccess", []);}), (function(){return smalltalk.send(self, "_signalFailure_", [obj]);})]));})]);})]));
82
+ return self;}
83
+ }),
84
+ smalltalk.MaglevGsNMethodEditor);
85
+
86
+ smalltalk.addMethod(
87
+ unescape('_envId'),
88
+ smalltalk.method({
89
+ selector: unescape('envId'),
90
+ fn: function (){
91
+ var self=this;
92
+ return smalltalk.send(smalltalk.send(self, "_methodObject", []), "_at_", [(2)]);
93
+ return self;}
94
+ }),
95
+ smalltalk.MaglevGsNMethodEditor);
96
+
97
+ smalltalk.addMethod(
98
+ unescape('_filename'),
99
+ smalltalk.method({
100
+ selector: unescape('filename'),
101
+ fn: function (){
102
+ var self=this;
103
+ return smalltalk.send(smalltalk.send(smalltalk.send(self, "_methodObject", []), "_at_", [(4)]), "_at_", [(1)]);
104
+ return self;}
105
+ }),
106
+ smalltalk.MaglevGsNMethodEditor);
107
+
108
+ smalltalk.addMethod(
109
+ unescape('_initializeEditor'),
110
+ smalltalk.method({
111
+ selector: unescape('initializeEditor'),
112
+ fn: function (){
113
+ var self=this;
114
+ var params=nil;
115
+ var extraKeys=nil;
116
+ (extraKeys=(function($rec){smalltalk.send($rec, "_basicAt_put_", [unescape("Ctrl-S"), (function(){return smalltalk.send(self, "_commandSave", []);})]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Object || Object), "_new", [])));
117
+ (params=(function($rec){smalltalk.send($rec, "_basicAt_put_", ["mode", unescape("text/x-ruby")]);smalltalk.send($rec, "_basicAt_put_", ["styleActiveLine", true]);smalltalk.send($rec, "_basicAt_put_", ["lineNumbers", true]);smalltalk.send($rec, "_basicAt_put_", ["matchBrackets", true]);smalltalk.send($rec, "_basicAt_put_", ["extraKeys", extraKeys]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Object || Object), "_new", [])));
118
+ (self['@editor']=smalltalk.send((smalltalk.CodeMirror || CodeMirror), "_value_value_", [smalltalk.send(smalltalk.send(self['@editorContainer'], "_asJQuery", []), "_at_", [(0)]), params]));
119
+ smalltalk.send(self['@editor'], "_setValue_", [""]);
120
+ smalltalk.send(self, "_mouseFix", []);
121
+ smalltalk.send(self, "_makeEditorResizable", []);
122
+ return self;}
123
+ }),
124
+ smalltalk.MaglevGsNMethodEditor);
125
+
126
+ smalltalk.addMethod(
127
+ unescape('_lineInFile'),
128
+ smalltalk.method({
129
+ selector: unescape('lineInFile'),
130
+ fn: function (){
131
+ var self=this;
132
+ return smalltalk.send(smalltalk.send(smalltalk.send(self, "_methodObject", []), "_at_", [(4)]), "_at_", [(2)]);
133
+ return self;}
134
+ }),
135
+ smalltalk.MaglevGsNMethodEditor);
136
+
137
+ smalltalk.addMethod(
138
+ unescape('_makeEditorResizable'),
139
+ smalltalk.method({
140
+ selector: unescape('makeEditorResizable'),
141
+ fn: function (){
142
+ var self=this;
143
+ self['@editorContainer']._asJQuery().find('.CodeMirror').resizable({
144
+ resize: function() {
145
+ self['@editor'].setSize($(this).width(), $(this).height());
146
+ }
147
+ }); ;
148
+ return self;}
149
+ }),
150
+ smalltalk.MaglevGsNMethodEditor);
151
+
152
+ smalltalk.addMethod(
153
+ unescape('_methodObject'),
154
+ smalltalk.method({
155
+ selector: unescape('methodObject'),
156
+ fn: function (){
157
+ var self=this;
158
+ return self['@object'];
159
+ return self;}
160
+ }),
161
+ smalltalk.MaglevGsNMethodEditor);
162
+
163
+ smalltalk.addMethod(
164
+ unescape('_mouseFix'),
165
+ smalltalk.method({
166
+ selector: unescape('mouseFix'),
167
+ fn: function (){
168
+ var self=this;
169
+ var editor = self['@editorContainer'];
170
+ editor._asJQuery().mousedown(function (event) {
171
+ event.preventDefault();
172
+ return false;
173
+ }); ;
174
+ return self;}
175
+ }),
176
+ smalltalk.MaglevGsNMethodEditor);
177
+
178
+ smalltalk.addMethod(
179
+ unescape('_object'),
180
+ smalltalk.method({
181
+ selector: unescape('object'),
182
+ fn: function (){
183
+ var self=this;
184
+ return self['@object'];
185
+ return self;}
186
+ }),
187
+ smalltalk.MaglevGsNMethodEditor);
188
+
189
+ smalltalk.addMethod(
190
+ unescape('_object_'),
191
+ smalltalk.method({
192
+ selector: unescape('object%3A'),
193
+ fn: function (anObject){
194
+ var self=this;
195
+ (self['@object']=anObject);
196
+ return self;}
197
+ }),
198
+ smalltalk.MaglevGsNMethodEditor);
199
+
200
+ smalltalk.addMethod(
201
+ unescape('_renderEditorOn_'),
202
+ smalltalk.method({
203
+ selector: unescape('renderEditorOn%3A'),
204
+ fn: function (html){
205
+ var self=this;
206
+ (self['@editorContainer']=smalltalk.send(smalltalk.send(html, "_span", []), "_class_", [unescape("pull-left%20code-area")]));
207
+ smalltalk.send(smalltalk.send(html, "_div", []), "_style_", [unescape("clear%3A%20both%3B")]);
208
+ (self['@errorBox']=(function($rec){smalltalk.send($rec, "_class_", [unescape("alert%20alert-error")]);smalltalk.send($rec, "_style_", [unescape("margin-bottom%3A%200px%3B")]);return smalltalk.send($rec, "_hide", []);})(smalltalk.send(html, "_div", [])));
209
+ smalltalk.send(self, "_initializeEditor", []);
210
+ return self;}
211
+ }),
212
+ smalltalk.MaglevGsNMethodEditor);
213
+
214
+ smalltalk.addMethod(
215
+ unescape('_renderMethodObject'),
216
+ smalltalk.method({
217
+ selector: unescape('renderMethodObject'),
218
+ fn: function (){
219
+ var self=this;
220
+ var envId=nil;
221
+ smalltalk.send(self['@editor'], "_setValue_", [smalltalk.send(self, "_sourceString", [])]);
222
+ smalltalk.send(self['@editorContainer'], "_show", []);
223
+ (envId=smalltalk.send(self, "_envId", []));
224
+ smalltalk.send(smalltalk.send(self['@envIdContainer'], "_asJQuery", []), "_empty", []);
225
+ smalltalk.send(self['@envIdContainer'], "_with_", [envId]);
226
+ smalltalk.send(self['@sourceLocationContainer'], "_empty", []);
227
+ ((($receiver = smalltalk.send(envId, "__eq", [(1)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self['@sourceLocationContainer'], "_with_", [smalltalk.send(self, "_filename", [])]);smalltalk.send(self['@stIcon'], "_hide", []);smalltalk.send(self['@rubyIcon'], "_show", []);return smalltalk.send(self['@editor'], "_setOption_data_", ["mode", unescape("text/x-ruby")]);})() : (function(){return smalltalk.send(self['@sourceLocationContainer'], "_with_", [unescape("n/a")]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){smalltalk.send(self['@sourceLocationContainer'], "_with_", [smalltalk.send(self, "_filename", [])]);smalltalk.send(self['@stIcon'], "_hide", []);smalltalk.send(self['@rubyIcon'], "_show", []);return smalltalk.send(self['@editor'], "_setOption_data_", ["mode", unescape("text/x-ruby")]);}), (function(){return smalltalk.send(self['@sourceLocationContainer'], "_with_", [unescape("n/a")]);})]));
228
+ ((($receiver = smalltalk.send(envId, "__eq", [(0)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self['@stIcon'], "_show", []);smalltalk.send(self['@rubyIcon'], "_hide", []);return smalltalk.send(self['@editor'], "_setOption_data_", ["mode", unescape("text/x-stsrc")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(self['@stIcon'], "_show", []);smalltalk.send(self['@rubyIcon'], "_hide", []);return smalltalk.send(self['@editor'], "_setOption_data_", ["mode", unescape("text/x-stsrc")]);})]));
229
+ ((($receiver = ((($receiver = envId).klass === smalltalk.Number) ? $receiver >(1) : smalltalk.send($receiver, "__gt", [(1)]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self['@stIcon'], "_hide", []);return smalltalk.send(self['@rubyIcon'], "_hide", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(self['@stIcon'], "_hide", []);return smalltalk.send(self['@rubyIcon'], "_hide", []);})]));
230
+ return self;}
231
+ }),
232
+ smalltalk.MaglevGsNMethodEditor);
233
+
234
+ smalltalk.addMethod(
235
+ unescape('_renderOn_'),
236
+ smalltalk.method({
237
+ selector: unescape('renderOn%3A'),
238
+ fn: function (html){
239
+ var self=this;
240
+ smalltalk.send(self, "_renderEditorOn_", [html]);
241
+ smalltalk.send(self, "_renderStatusBarOn_", [html]);
242
+ smalltalk.send(self, "_renderMethodObject", []);
243
+ return self;}
244
+ }),
245
+ smalltalk.MaglevGsNMethodEditor);
246
+
247
+ smalltalk.addMethod(
248
+ unescape('_renderStatusBarOn_'),
249
+ smalltalk.method({
250
+ selector: unescape('renderStatusBarOn%3A'),
251
+ fn: function (html){
252
+ var self=this;
253
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("table-bordered")]);smalltalk.send($rec, "_style_", [unescape("margin-top%3A%205px%3B%20width%3A%20100%25%3B")]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_tbody", []), "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_tr", []), "_with_", [(function(){(function($rec){smalltalk.send($rec, "_with_", [(function(){(self['@rubyIcon']=(function($rec){smalltalk.send($rec, "_hide", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_ruby", [])));(self['@stIcon']=(function($rec){smalltalk.send($rec, "_hide", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_smalltalk", [])));smalltalk.send(html, "_with_", [self['@rubyIcon']]);smalltalk.send(html, "_with_", [self['@stIcon']]);return (self['@envIdContainer']=smalltalk.send(smalltalk.send(html, "_span", []), "_with_", ["Environment ID"]));})]);return smalltalk.send($rec, "_style_", [unescape("width%3A%201px%3B")]);})(smalltalk.send(html, "_td", []));return smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [(function(){return (self['@sourceLocationContainer']=smalltalk.send(smalltalk.send(html, "_span", []), "_with_", ["Source location"]));})]);})]);})]);})]);})(smalltalk.send(html, "_table", []));
254
+ return self;}
255
+ }),
256
+ smalltalk.MaglevGsNMethodEditor);
257
+
258
+ smalltalk.addMethod(
259
+ unescape('_signalFailure_'),
260
+ smalltalk.method({
261
+ selector: unescape('signalFailure%3A'),
262
+ fn: function (aDescription){
263
+ var self=this;
264
+ var html=nil;
265
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@errorBox'], "_asJQuery", [])]));
266
+ smalltalk.send(html, "_with_", [smalltalk.send(aDescription, "_inlineViewComponent", [])]);
267
+ smalltalk.send(self['@errorBox'], "_show", []);
268
+ smalltalk.send(smalltalk.send(self['@editorContainer'], "_asJQuery", []), "_css_with_", [unescape("background-color"), unescape("%23ff0039")]);
269
+ smalltalk.send(smalltalk.send(self['@editorContainer'], "_asJQuery", []), "_animate_timeout_", [(function($rec){smalltalk.send($rec, "_basicAt_put_", ["backgroundColor", unescape("%23ffffff")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Object || Object), "_new", [])), (250)]);
270
+ return self;}
271
+ }),
272
+ smalltalk.MaglevGsNMethodEditor);
273
+
274
+ smalltalk.addMethod(
275
+ unescape('_signalSuccess'),
276
+ smalltalk.method({
277
+ selector: unescape('signalSuccess'),
278
+ fn: function (){
279
+ var self=this;
280
+ smalltalk.send(smalltalk.send(self['@editorContainer'], "_asJQuery", []), "_css_with_", [unescape("background-color"), unescape("%233fb618")]);
281
+ smalltalk.send(smalltalk.send(self['@editorContainer'], "_asJQuery", []), "_animate_timeout_", [(function($rec){smalltalk.send($rec, "_basicAt_put_", ["backgroundColor", unescape("%23ffffff")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Object || Object), "_new", [])), (250)]);
282
+ return self;}
283
+ }),
284
+ smalltalk.MaglevGsNMethodEditor);
285
+
286
+ smalltalk.addMethod(
287
+ unescape('_sourceOffset'),
288
+ smalltalk.method({
289
+ selector: unescape('sourceOffset'),
290
+ fn: function (){
291
+ var self=this;
292
+ return (-1);
293
+ return self;}
294
+ }),
295
+ smalltalk.MaglevGsNMethodEditor);
296
+
297
+ smalltalk.addMethod(
298
+ unescape('_sourceString'),
299
+ smalltalk.method({
300
+ selector: unescape('sourceString'),
301
+ fn: function (){
302
+ var self=this;
303
+ return smalltalk.send(smalltalk.send(self, "_methodObject", []), "_at_", [(1)]);
304
+ return self;}
305
+ }),
306
+ smalltalk.MaglevGsNMethodEditor);
307
+
308
+
309
+ smalltalk.addMethod(
310
+ unescape('_for_'),
311
+ smalltalk.method({
312
+ selector: unescape('for%3A'),
313
+ fn: function (anObject){
314
+ var self=this;
315
+ return (function($rec){smalltalk.send($rec, "_object_", [anObject]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_basicNew", []));
316
+ return self;}
317
+ }),
318
+ smalltalk.MaglevGsNMethodEditor.klass);
319
+
320
+
321
+ smalltalk.addClass('MaglevGsNMethodDebugEditor', smalltalk.MaglevGsNMethodEditor, ['argValueBox', 'argSelect'], 'Maglev-Database-Explorer');
322
+ smalltalk.addMethod(
323
+ unescape('_argAndTempNames'),
324
+ smalltalk.method({
325
+ selector: unescape('argAndTempNames'),
326
+ fn: function (){
327
+ var self=this;
328
+ return smalltalk.send(self['@object'], "_at_", [(9)]);
329
+ return self;}
330
+ }),
331
+ smalltalk.MaglevGsNMethodDebugEditor);
332
+
333
+ smalltalk.addMethod(
334
+ unescape('_argOrTempValue_'),
335
+ smalltalk.method({
336
+ selector: unescape('argOrTempValue%3A'),
337
+ fn: function (anInteger){
338
+ var self=this;
339
+ return smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(smalltalk.send(self['@object'], "_at_", [(11)]), "_at_", [anInteger])]);
340
+ return self;}
341
+ }),
342
+ smalltalk.MaglevGsNMethodDebugEditor);
343
+
344
+ smalltalk.addMethod(
345
+ unescape('_methodObject'),
346
+ smalltalk.method({
347
+ selector: unescape('methodObject'),
348
+ fn: function (){
349
+ var self=this;
350
+ return smalltalk.send(self['@object'], "_at_", [(1)]);
351
+ return self;}
352
+ }),
353
+ smalltalk.MaglevGsNMethodDebugEditor);
354
+
355
+ smalltalk.addMethod(
356
+ unescape('_ownerSelf'),
357
+ smalltalk.method({
358
+ selector: unescape('ownerSelf'),
359
+ fn: function (){
360
+ var self=this;
361
+ return smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(self['@object'], "_at_", [(8)])]);
362
+ return self;}
363
+ }),
364
+ smalltalk.MaglevGsNMethodDebugEditor);
365
+
366
+ smalltalk.addMethod(
367
+ unescape('_receiver'),
368
+ smalltalk.method({
369
+ selector: unescape('receiver'),
370
+ fn: function (){
371
+ var self=this;
372
+ return smalltalk.send((smalltalk.MaglevObject || MaglevObject), "_newObject_", [smalltalk.send(self['@object'], "_at_", [(10)])]);
373
+ return self;}
374
+ }),
375
+ smalltalk.MaglevGsNMethodDebugEditor);
376
+
377
+ smalltalk.addMethod(
378
+ unescape('_renderArg'),
379
+ smalltalk.method({
380
+ selector: unescape('renderArg'),
381
+ fn: function (){
382
+ var self=this;
383
+ var argIndex=nil;
384
+ var argValue=nil;
385
+ (argIndex=((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(self['@argSelect'], "_asJQuery", []), "_at_", [(0)]), "_selectedIndex", [])).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])));
386
+ ((($receiver = smalltalk.send(argIndex, "__eq", [(-1)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (argValue=smalltalk.send(self, "_ownerSelf", []));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (argValue=smalltalk.send(self, "_ownerSelf", []));})]));
387
+ ((($receiver = smalltalk.send(argIndex, "__eq", [(0)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (argValue=smalltalk.send(self, "_receiver", []));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (argValue=smalltalk.send(self, "_receiver", []));})]));
388
+ ((($receiver = ((($receiver = argIndex).klass === smalltalk.Number) ? $receiver >(0) : smalltalk.send($receiver, "__gt", [(0)]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (argValue=smalltalk.send(self, "_argOrTempValue_", [argIndex]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (argValue=smalltalk.send(self, "_argOrTempValue_", [argIndex]));})]));
389
+ smalltalk.send(smalltalk.send(self['@argValueBox'], "_asJQuery", []), "_empty", []);
390
+ smalltalk.send(self['@argValueBox'], "_with_", [smalltalk.send(argValue, "_inlineViewComponent", [])]);
391
+ return self;}
392
+ }),
393
+ smalltalk.MaglevGsNMethodDebugEditor);
394
+
395
+ smalltalk.addMethod(
396
+ unescape('_renderArgsOn_'),
397
+ smalltalk.method({
398
+ selector: unescape('renderArgsOn%3A'),
399
+ fn: function (html){
400
+ var self=this;
401
+ (function($rec){smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_tbody", []), "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_tr", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [(function(){(self['@argSelect']=(function($rec){smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_option", []), "_with_", [unescape("%28self%29")]);})]);smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_option", []), "_with_", [unescape("%28receiver%29")]);})]);smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(self, "_argAndTempNames", []), "_do_", [(function(arg){return smalltalk.send(smalltalk.send(html, "_option", []), "_with_", [arg]);})]);})]);smalltalk.send($rec, "_style_", [unescape("margin-bottom%3A%200px%3B")]);return smalltalk.send($rec, "_onChange_", [(function(){return smalltalk.send(self, "_renderArg", []);})]);})(smalltalk.send(html, "_select", [])));return (self['@argValueBox']=smalltalk.send(html, "_div", []));})]);return (function($rec){smalltalk.send($rec, "_with_", [(function(){return (self['@argValueBox']=smalltalk.send(html, "_div", []));})]);return smalltalk.send($rec, "_style_", [unescape("padding-left%3A%205px%3B")]);})(smalltalk.send(html, "_td", []));})]);})]);})]);return smalltalk.send($rec, "_style_", [unescape("margin-top%3A%205px%3B")]);})(smalltalk.send(html, "_table", []));
402
+ smalltalk.send(self, "_renderArg", []);
403
+ return self;}
404
+ }),
405
+ smalltalk.MaglevGsNMethodDebugEditor);
406
+
407
+ smalltalk.addMethod(
408
+ unescape('_renderMethodObject'),
409
+ smalltalk.method({
410
+ selector: unescape('renderMethodObject'),
411
+ fn: function (){
412
+ var self=this;
413
+ var rangeFrom=nil;
414
+ var rangeTo=nil;
415
+ smalltalk.send(self, "_renderMethodObject", [], smalltalk.MaglevGsNMethodEditor);
416
+ self['@editor'].setSelection(
417
+ {line: self._sourceOffsetY(), ch: self._sourceOffsetX()},
418
+ {line: self._sourceOffsetY(), ch: self._sourceOffsetX()}); ;
419
+ smalltalk.send(self['@editor'], "_replaceSelection_", [unescape("%u26A1")]);
420
+ return self;}
421
+ }),
422
+ smalltalk.MaglevGsNMethodDebugEditor);
423
+
424
+ smalltalk.addMethod(
425
+ unescape('_renderOn_'),
426
+ smalltalk.method({
427
+ selector: unescape('renderOn%3A'),
428
+ fn: function (html){
429
+ var self=this;
430
+ smalltalk.send(self, "_renderEditorOn_", [html]);
431
+ smalltalk.send(self, "_renderArgsOn_", [html]);
432
+ smalltalk.send(self, "_renderStatusBarOn_", [html]);
433
+ smalltalk.send(self, "_renderMethodObject", []);
434
+ return self;}
435
+ }),
436
+ smalltalk.MaglevGsNMethodDebugEditor);
437
+
438
+ smalltalk.addMethod(
439
+ unescape('_sourceOffset'),
440
+ smalltalk.method({
441
+ selector: unescape('sourceOffset'),
442
+ fn: function (){
443
+ var self=this;
444
+ return smalltalk.send(self['@object'], "_at_", [(12)]);
445
+ return self;}
446
+ }),
447
+ smalltalk.MaglevGsNMethodDebugEditor);
448
+
449
+ smalltalk.addMethod(
450
+ unescape('_sourceOffsetX'),
451
+ smalltalk.method({
452
+ selector: unescape('sourceOffsetX'),
453
+ fn: function (){
454
+ var self=this;
455
+ return smalltalk.send(smalltalk.send(self['@object'], "_at_", [(13)]), "_at_", [(1)]);
456
+ return self;}
457
+ }),
458
+ smalltalk.MaglevGsNMethodDebugEditor);
459
+
460
+ smalltalk.addMethod(
461
+ unescape('_sourceOffsetY'),
462
+ smalltalk.method({
463
+ selector: unescape('sourceOffsetY'),
464
+ fn: function (){
465
+ var self=this;
466
+ return smalltalk.send(smalltalk.send(self['@object'], "_at_", [(13)]), "_at_", [(2)]);
467
+ return self;}
468
+ }),
469
+ smalltalk.MaglevGsNMethodDebugEditor);
470
+
471
+
472
+
473
+ smalltalk.addClass('MaglevHaltedThreadListener', smalltalk.Object, ['container', 'interval', 'timer', 'renderedOops', 'html', 'navbar'], 'Maglev-Database-Explorer');
474
+ smalltalk.addMethod(
475
+ unescape('_initialize'),
476
+ smalltalk.method({
477
+ selector: unescape('initialize'),
478
+ fn: function (){
479
+ var self=this;
480
+ (self['@container']=smalltalk.send(unescape("%23halted-threads-navigation"), "_asJQuery", []));
481
+ (self['@navbar']=smalltalk.send(unescape("%23halted-threads-navbar"), "_asJQuery", []));
482
+ smalltalk.send(self['@navbar'], "_hide", []);
483
+ (self['@html']=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [self['@container']]));
484
+ (self['@renderedOops']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
485
+ return self;}
486
+ }),
487
+ smalltalk.MaglevHaltedThreadListener);
488
+
489
+ smalltalk.addMethod(
490
+ unescape('_interval'),
491
+ smalltalk.method({
492
+ selector: unescape('interval'),
493
+ fn: function (){
494
+ var self=this;
495
+ (($receiver = self['@interval']) == nil || $receiver == undefined) ? (function(){return (self['@interval']=(2500));})() : $receiver;
496
+ return self['@interval'];
497
+ return self;}
498
+ }),
499
+ smalltalk.MaglevHaltedThreadListener);
500
+
501
+ smalltalk.addMethod(
502
+ unescape('_interval_'),
503
+ smalltalk.method({
504
+ selector: unescape('interval%3A'),
505
+ fn: function (aNumber){
506
+ var self=this;
507
+ (self['@interval']=aNumber);
508
+ clearInterval(self['@timer']); ;
509
+ smalltalk.send(self, "_startPolling", []);
510
+ return self;}
511
+ }),
512
+ smalltalk.MaglevHaltedThreadListener);
513
+
514
+ smalltalk.addMethod(
515
+ unescape('_refresh'),
516
+ smalltalk.method({
517
+ selector: unescape('refresh'),
518
+ fn: function (){
519
+ var self=this;
520
+ var params=nil;
521
+ (params=(function($rec){smalltalk.send($rec, "_at_put_", ["allElements", true]);smalltalk.send($rec, "_at_put_", ["noBehavior", true]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", [])));
522
+ smalltalk.send(smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_evalObject", []), "_evaluateWithoutUpdate_language_with_withCallback_", ["MaglevDatabaseExplorer.halted_threads", "ruby", params, (function(success, obj){var currentOops=nil;
523
+ return ((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){(currentOops=smalltalk.send((smalltalk.Set || Set), "_new", []));smalltalk.send(obj, "_do_", [(function(el){((($receiver = smalltalk.send(self['@renderedOops'], "_includesKey_", [smalltalk.send(el, "_oop", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_renderObject_with_", [smalltalk.send(el, "_oop", []), smalltalk.send(el, "_inlineViewComponent", [])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_renderObject_with_", [smalltalk.send(el, "_oop", []), smalltalk.send(el, "_inlineViewComponent", [])]);})]));return smalltalk.send(currentOops, "_add_", [smalltalk.send(el, "_oop", [])]);})]);smalltalk.send(self['@renderedOops'], "_keysAndValuesDo_", [(function(oop, comp){return ((($receiver = smalltalk.send(currentOops, "_includes_", [oop])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_removeObject_with_", [oop, comp]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_removeObject_with_", [oop, comp]);})]));})]);return ((($receiver = smalltalk.send(smalltalk.send(self['@renderedOops'], "_size", []), "__eq", [(0)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@navbar'], "_hide", []);})() : (function(){return smalltalk.send(self['@navbar'], "_show", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@navbar'], "_hide", []);}), (function(){return smalltalk.send(self['@navbar'], "_show", []);})]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){(currentOops=smalltalk.send((smalltalk.Set || Set), "_new", []));smalltalk.send(obj, "_do_", [(function(el){((($receiver = smalltalk.send(self['@renderedOops'], "_includesKey_", [smalltalk.send(el, "_oop", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_renderObject_with_", [smalltalk.send(el, "_oop", []), smalltalk.send(el, "_inlineViewComponent", [])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_renderObject_with_", [smalltalk.send(el, "_oop", []), smalltalk.send(el, "_inlineViewComponent", [])]);})]));return smalltalk.send(currentOops, "_add_", [smalltalk.send(el, "_oop", [])]);})]);smalltalk.send(self['@renderedOops'], "_keysAndValuesDo_", [(function(oop, comp){return ((($receiver = smalltalk.send(currentOops, "_includes_", [oop])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self, "_removeObject_with_", [oop, comp]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(self, "_removeObject_with_", [oop, comp]);})]));})]);return ((($receiver = smalltalk.send(smalltalk.send(self['@renderedOops'], "_size", []), "__eq", [(0)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@navbar'], "_hide", []);})() : (function(){return smalltalk.send(self['@navbar'], "_show", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@navbar'], "_hide", []);}), (function(){return smalltalk.send(self['@navbar'], "_show", []);})]));})]));})]);
524
+ return self;}
525
+ }),
526
+ smalltalk.MaglevHaltedThreadListener);
527
+
528
+ smalltalk.addMethod(
529
+ unescape('_removeObject_with_'),
530
+ smalltalk.method({
531
+ selector: unescape('removeObject%3Awith%3A'),
532
+ fn: function (oop, component){
533
+ var self=this;
534
+ smalltalk.send(smalltalk.send(component, "_asJQuery", []), "_remove", []);
535
+ smalltalk.send(self['@renderedOops'], "_removeKey_", [oop]);
536
+ return self;}
537
+ }),
538
+ smalltalk.MaglevHaltedThreadListener);
539
+
540
+ smalltalk.addMethod(
541
+ unescape('_renderObject_with_'),
542
+ smalltalk.method({
543
+ selector: unescape('renderObject%3Awith%3A'),
544
+ fn: function (oop, component){
545
+ var self=this;
546
+ var inlineContainer=nil;
547
+ (inlineContainer=(function($rec){smalltalk.send($rec, "_style_", [unescape("padding%3A%204px%202px%202px%204px%3B")]);return smalltalk.send($rec, "_with_", [component]);})(smalltalk.send(self['@html'], "_span", [])));
548
+ smalltalk.send(self['@renderedOops'], "_at_put_", [oop, inlineContainer]);
549
+ return self;}
550
+ }),
551
+ smalltalk.MaglevHaltedThreadListener);
552
+
553
+ smalltalk.addMethod(
554
+ unescape('_start'),
555
+ smalltalk.method({
556
+ selector: unescape('start'),
557
+ fn: function (){
558
+ var self=this;
559
+ (self['@timer']=smalltalk.send(self, "_startPolling", []));
560
+ return self;}
561
+ }),
562
+ smalltalk.MaglevHaltedThreadListener);
563
+
564
+ smalltalk.addMethod(
565
+ unescape('_startPolling'),
566
+ smalltalk.method({
567
+ selector: unescape('startPolling'),
568
+ fn: function (){
569
+ var self=this;
570
+ return setInterval(function() {self._refresh();}, self._interval()); ;
571
+ return self;}
572
+ }),
573
+ smalltalk.MaglevHaltedThreadListener);
574
+
575
+
576
+ smalltalk.MaglevHaltedThreadListener.klass.iVarNames = ['instance'];
577
+ smalltalk.addMethod(
578
+ unescape('_instance'),
579
+ smalltalk.method({
580
+ selector: unescape('instance'),
581
+ fn: function (){
582
+ var self=this;
583
+ (($receiver = self['@instance']) == nil || $receiver == undefined) ? (function(){return (self['@instance']=smalltalk.send(self, "_new", []));})() : $receiver;
584
+ return self['@instance'];
585
+ return self;}
586
+ }),
587
+ smalltalk.MaglevHaltedThreadListener.klass);
588
+
589
+ smalltalk.addMethod(
590
+ unescape('_start'),
591
+ smalltalk.method({
592
+ selector: unescape('start'),
593
+ fn: function (){
594
+ var self=this;
595
+ smalltalk.send(smalltalk.send(self, "_instance", []), "_start", []);
596
+ return self;}
597
+ }),
598
+ smalltalk.MaglevHaltedThreadListener.klass);
599
+
600
+
601
+ smalltalk.addClass('MaglevIcon', smalltalk.Widget, ['b', 'icon', 'spin', 'caption'], 'Maglev-Database-Explorer');
602
+ smalltalk.addMethod(
603
+ unescape('_caption'),
604
+ smalltalk.method({
605
+ selector: unescape('caption'),
606
+ fn: function (){
607
+ var self=this;
608
+ return self['@caption'];
609
+ return self;}
610
+ }),
611
+ smalltalk.MaglevIcon);
612
+
613
+ smalltalk.addMethod(
614
+ unescape('_caption_'),
615
+ smalltalk.method({
616
+ selector: unescape('caption%3A'),
617
+ fn: function (aString){
618
+ var self=this;
619
+ (self['@caption']=aString);
620
+ return self;}
621
+ }),
622
+ smalltalk.MaglevIcon);
623
+
624
+ smalltalk.addMethod(
625
+ unescape('_hide'),
626
+ smalltalk.method({
627
+ selector: unescape('hide'),
628
+ fn: function (){
629
+ var self=this;
630
+ smalltalk.send(self['@b'], "_hide", []);
631
+ return self;}
632
+ }),
633
+ smalltalk.MaglevIcon);
634
+
635
+ smalltalk.addMethod(
636
+ unescape('_icon'),
637
+ smalltalk.method({
638
+ selector: unescape('icon'),
639
+ fn: function (){
640
+ var self=this;
641
+ (($receiver = self['@icon']) == nil || $receiver == undefined) ? (function(){return (self['@icon']="star");})() : $receiver;
642
+ return self['@icon'];
643
+ return self;}
644
+ }),
645
+ smalltalk.MaglevIcon);
646
+
647
+ smalltalk.addMethod(
648
+ unescape('_icon_'),
649
+ smalltalk.method({
650
+ selector: unescape('icon%3A'),
651
+ fn: function (aString){
652
+ var self=this;
653
+ (self['@icon']=aString);
654
+ return self;}
655
+ }),
656
+ smalltalk.MaglevIcon);
657
+
658
+ smalltalk.addMethod(
659
+ unescape('_onClick_'),
660
+ smalltalk.method({
661
+ selector: unescape('onClick%3A'),
662
+ fn: function (aBlock){
663
+ var self=this;
664
+ smalltalk.send(self['@b'], "_onClick_", [aBlock]);
665
+ return self;}
666
+ }),
667
+ smalltalk.MaglevIcon);
668
+
669
+ smalltalk.addMethod(
670
+ unescape('_renderOn_'),
671
+ smalltalk.method({
672
+ selector: unescape('renderOn%3A'),
673
+ fn: function (html){
674
+ var self=this;
675
+ var cssClass=nil;
676
+ (cssClass=smalltalk.send(unescape("icon-"), "__comma", [smalltalk.send(self, "_icon", [])]));
677
+ ((($receiver = smalltalk.send(self, "_spin", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (cssClass=smalltalk.send(cssClass, "__comma", [unescape("%20icon-spin")]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (cssClass=smalltalk.send(cssClass, "__comma", [unescape("%20icon-spin")]));})]));
678
+ (($receiver = self['@caption']) == nil || $receiver == undefined) ? (function(){return (self['@b']=(function($rec){smalltalk.send($rec, "_class_", [cssClass]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_b", [])));})() : (function(){(self['@b']=(function($rec){smalltalk.send($rec, "_class_", [cssClass]);smalltalk.send($rec, "_data_with_", ["toggle", "tooltip"]);smalltalk.send($rec, "_data_with_", ["placement", "top"]);smalltalk.send($rec, "_data_with_", [unescape("original-title"), self['@caption']]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(html, "_b", [])));return smalltalk.send(smalltalk.send(self['@b'], "_asJQuery", []), "_tooltip", []);})();
679
+ return self;}
680
+ }),
681
+ smalltalk.MaglevIcon);
682
+
683
+ smalltalk.addMethod(
684
+ unescape('_show'),
685
+ smalltalk.method({
686
+ selector: unescape('show'),
687
+ fn: function (){
688
+ var self=this;
689
+ smalltalk.send(self['@b'], "_show", []);
690
+ return self;}
691
+ }),
692
+ smalltalk.MaglevIcon);
693
+
694
+ smalltalk.addMethod(
695
+ unescape('_spin'),
696
+ smalltalk.method({
697
+ selector: unescape('spin'),
698
+ fn: function (){
699
+ var self=this;
700
+ (($receiver = self['@spin']) == nil || $receiver == undefined) ? (function(){return (self['@spin']=false);})() : $receiver;
701
+ return self['@spin'];
702
+ return self;}
703
+ }),
704
+ smalltalk.MaglevIcon);
705
+
706
+ smalltalk.addMethod(
707
+ unescape('_spin_'),
708
+ smalltalk.method({
709
+ selector: unescape('spin%3A'),
710
+ fn: function (aBoolean){
711
+ var self=this;
712
+ (self['@spin']=aBoolean);
713
+ return self;}
714
+ }),
715
+ smalltalk.MaglevIcon);
716
+
717
+
718
+ smalltalk.addMethod(
719
+ unescape('_codeFork'),
720
+ smalltalk.method({
721
+ selector: unescape('codeFork'),
722
+ fn: function (){
723
+ var self=this;
724
+ return (function($rec){smalltalk.send($rec, "_icon_", [unescape("code-fork")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
725
+ return self;}
726
+ }),
727
+ smalltalk.MaglevIcon.klass);
728
+
729
+ smalltalk.addMethod(
730
+ unescape('_flag'),
731
+ smalltalk.method({
732
+ selector: unescape('flag'),
733
+ fn: function (){
734
+ var self=this;
735
+ return (function($rec){smalltalk.send($rec, "_icon_", ["flag"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
736
+ return self;}
737
+ }),
738
+ smalltalk.MaglevIcon.klass);
739
+
740
+ smalltalk.addMethod(
741
+ unescape('_globe'),
742
+ smalltalk.method({
743
+ selector: unescape('globe'),
744
+ fn: function (){
745
+ var self=this;
746
+ return (function($rec){smalltalk.send($rec, "_icon_", ["globe"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
747
+ return self;}
748
+ }),
749
+ smalltalk.MaglevIcon.klass);
750
+
751
+ smalltalk.addMethod(
752
+ unescape('_hdd'),
753
+ smalltalk.method({
754
+ selector: unescape('hdd'),
755
+ fn: function (){
756
+ var self=this;
757
+ return (function($rec){smalltalk.send($rec, "_icon_", ["hdd"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
758
+ return self;}
759
+ }),
760
+ smalltalk.MaglevIcon.klass);
761
+
762
+ smalltalk.addMethod(
763
+ unescape('_listAlt'),
764
+ smalltalk.method({
765
+ selector: unescape('listAlt'),
766
+ fn: function (){
767
+ var self=this;
768
+ return (function($rec){smalltalk.send($rec, "_icon_", [unescape("list-alt")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
769
+ return self;}
770
+ }),
771
+ smalltalk.MaglevIcon.klass);
772
+
773
+ smalltalk.addMethod(
774
+ unescape('_move'),
775
+ smalltalk.method({
776
+ selector: unescape('move'),
777
+ fn: function (){
778
+ var self=this;
779
+ return (function($rec){smalltalk.send($rec, "_icon_", ["move"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
780
+ return self;}
781
+ }),
782
+ smalltalk.MaglevIcon.klass);
783
+
784
+ smalltalk.addMethod(
785
+ unescape('_pause'),
786
+ smalltalk.method({
787
+ selector: unescape('pause'),
788
+ fn: function (){
789
+ var self=this;
790
+ return (function($rec){smalltalk.send($rec, "_icon_", ["pause"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
791
+ return self;}
792
+ }),
793
+ smalltalk.MaglevIcon.klass);
794
+
795
+ smalltalk.addMethod(
796
+ unescape('_pencil'),
797
+ smalltalk.method({
798
+ selector: unescape('pencil'),
799
+ fn: function (){
800
+ var self=this;
801
+ return (function($rec){smalltalk.send($rec, "_icon_", ["pencil"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
802
+ return self;}
803
+ }),
804
+ smalltalk.MaglevIcon.klass);
805
+
806
+ smalltalk.addMethod(
807
+ unescape('_play'),
808
+ smalltalk.method({
809
+ selector: unescape('play'),
810
+ fn: function (){
811
+ var self=this;
812
+ return (function($rec){smalltalk.send($rec, "_icon_", ["play"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
813
+ return self;}
814
+ }),
815
+ smalltalk.MaglevIcon.klass);
816
+
817
+ smalltalk.addMethod(
818
+ unescape('_playCircle'),
819
+ smalltalk.method({
820
+ selector: unescape('playCircle'),
821
+ fn: function (){
822
+ var self=this;
823
+ return (function($rec){smalltalk.send($rec, "_icon_", [unescape("play-circle")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
824
+ return self;}
825
+ }),
826
+ smalltalk.MaglevIcon.klass);
827
+
828
+ smalltalk.addMethod(
829
+ unescape('_remove'),
830
+ smalltalk.method({
831
+ selector: unescape('remove'),
832
+ fn: function (){
833
+ var self=this;
834
+ return (function($rec){smalltalk.send($rec, "_icon_", ["remove"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
835
+ return self;}
836
+ }),
837
+ smalltalk.MaglevIcon.klass);
838
+
839
+ smalltalk.addMethod(
840
+ unescape('_resizeSmall'),
841
+ smalltalk.method({
842
+ selector: unescape('resizeSmall'),
843
+ fn: function (){
844
+ var self=this;
845
+ return (function($rec){smalltalk.send($rec, "_icon_", [unescape("resize-small")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
846
+ return self;}
847
+ }),
848
+ smalltalk.MaglevIcon.klass);
849
+
850
+ smalltalk.addMethod(
851
+ unescape('_search'),
852
+ smalltalk.method({
853
+ selector: unescape('search'),
854
+ fn: function (){
855
+ var self=this;
856
+ return (function($rec){smalltalk.send($rec, "_icon_", ["search"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
857
+ return self;}
858
+ }),
859
+ smalltalk.MaglevIcon.klass);
860
+
861
+ smalltalk.addMethod(
862
+ unescape('_star'),
863
+ smalltalk.method({
864
+ selector: unescape('star'),
865
+ fn: function (){
866
+ var self=this;
867
+ return (function($rec){smalltalk.send($rec, "_icon_", ["star"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
868
+ return self;}
869
+ }),
870
+ smalltalk.MaglevIcon.klass);
871
+
872
+ smalltalk.addMethod(
873
+ unescape('_stop'),
874
+ smalltalk.method({
875
+ selector: unescape('stop'),
876
+ fn: function (){
877
+ var self=this;
878
+ return (function($rec){smalltalk.send($rec, "_icon_", ["stop"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
879
+ return self;}
880
+ }),
881
+ smalltalk.MaglevIcon.klass);
882
+
883
+ smalltalk.addMethod(
884
+ unescape('_terminal'),
885
+ smalltalk.method({
886
+ selector: unescape('terminal'),
887
+ fn: function (){
888
+ var self=this;
889
+ return (function($rec){smalltalk.send($rec, "_icon_", ["terminal"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
890
+ return self;}
891
+ }),
892
+ smalltalk.MaglevIcon.klass);
893
+
894
+ smalltalk.addMethod(
895
+ unescape('_trash'),
896
+ smalltalk.method({
897
+ selector: unescape('trash'),
898
+ fn: function (){
899
+ var self=this;
900
+ return (function($rec){smalltalk.send($rec, "_icon_", ["trash"]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
901
+ return self;}
902
+ }),
903
+ smalltalk.MaglevIcon.klass);
904
+
905
+ smalltalk.addMethod(
906
+ unescape('_wait'),
907
+ smalltalk.method({
908
+ selector: unescape('wait'),
909
+ fn: function (){
910
+ var self=this;
911
+ return (function($rec){smalltalk.send($rec, "_icon_", ["refresh"]);smalltalk.send($rec, "_spin_", [true]);smalltalk.send($rec, "_caption_", ["Loading..."]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
912
+ return self;}
913
+ }),
914
+ smalltalk.MaglevIcon.klass);
915
+
916
+
917
+ smalltalk.addClass('MaglevIconImage', smalltalk.Widget, ['src', 'cssClass', 'image', 'hidden'], 'Maglev-Database-Explorer');
918
+ smalltalk.addMethod(
919
+ unescape('_cssClass_'),
920
+ smalltalk.method({
921
+ selector: unescape('cssClass%3A'),
922
+ fn: function (aString){
923
+ var self=this;
924
+ (self['@cssClass']=aString);
925
+ return self;}
926
+ }),
927
+ smalltalk.MaglevIconImage);
928
+
929
+ smalltalk.addMethod(
930
+ unescape('_hidden'),
931
+ smalltalk.method({
932
+ selector: unescape('hidden'),
933
+ fn: function (){
934
+ var self=this;
935
+ (($receiver = self['@hidden']) == nil || $receiver == undefined) ? (function(){return (self['@hidden']=false);})() : $receiver;
936
+ return self['@hidden'];
937
+ return self;}
938
+ }),
939
+ smalltalk.MaglevIconImage);
940
+
941
+ smalltalk.addMethod(
942
+ unescape('_hide'),
943
+ smalltalk.method({
944
+ selector: unescape('hide'),
945
+ fn: function (){
946
+ var self=this;
947
+ (self['@hidden']=true);
948
+ (($receiver = self['@image']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@image'], "_hide", []);})() : nil;
949
+ return self;}
950
+ }),
951
+ smalltalk.MaglevIconImage);
952
+
953
+ smalltalk.addMethod(
954
+ unescape('_renderOn_'),
955
+ smalltalk.method({
956
+ selector: unescape('renderOn%3A'),
957
+ fn: function (html){
958
+ var self=this;
959
+ (self['@image']=(function($rec){smalltalk.send($rec, "_src_", [self['@src']]);return smalltalk.send($rec, "_class_", [self['@cssClass']]);})(smalltalk.send(html, "_img", [])));
960
+ ((($receiver = smalltalk.send(self, "_hidden", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@image'], "_hide", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self['@image'], "_hide", []);})]));
961
+ return self;}
962
+ }),
963
+ smalltalk.MaglevIconImage);
964
+
965
+ smalltalk.addMethod(
966
+ unescape('_show'),
967
+ smalltalk.method({
968
+ selector: unescape('show'),
969
+ fn: function (){
970
+ var self=this;
971
+ (self['@hidden']=false);
972
+ (($receiver = self['@image']) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self['@image'], "_show", []);})() : nil;
973
+ return self;}
974
+ }),
975
+ smalltalk.MaglevIconImage);
976
+
977
+ smalltalk.addMethod(
978
+ unescape('_src_'),
979
+ smalltalk.method({
980
+ selector: unescape('src%3A'),
981
+ fn: function (aString){
982
+ var self=this;
983
+ (self['@src']=aString);
984
+ return self;}
985
+ }),
986
+ smalltalk.MaglevIconImage);
987
+
988
+
989
+ smalltalk.addMethod(
990
+ unescape('_rails'),
991
+ smalltalk.method({
992
+ selector: unescape('rails'),
993
+ fn: function (){
994
+ var self=this;
995
+ return (function($rec){smalltalk.send($rec, "_src_", [unescape("images/rails_tiny.png")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
996
+ return self;}
997
+ }),
998
+ smalltalk.MaglevIconImage.klass);
999
+
1000
+ smalltalk.addMethod(
1001
+ unescape('_ruby'),
1002
+ smalltalk.method({
1003
+ selector: unescape('ruby'),
1004
+ fn: function (){
1005
+ var self=this;
1006
+ return (function($rec){smalltalk.send($rec, "_src_", [unescape("images/ruby.png")]);smalltalk.send($rec, "_cssClass_", [unescape("icon-language")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
1007
+ return self;}
1008
+ }),
1009
+ smalltalk.MaglevIconImage.klass);
1010
+
1011
+ smalltalk.addMethod(
1012
+ unescape('_rubySmalltalkBridge'),
1013
+ smalltalk.method({
1014
+ selector: unescape('rubySmalltalkBridge'),
1015
+ fn: function (){
1016
+ var self=this;
1017
+ return (function($rec){smalltalk.send($rec, "_src_", [unescape("images/ruby_smalltalk_bridge.png")]);smalltalk.send($rec, "_cssClass_", [unescape("icon-language")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
1018
+ return self;}
1019
+ }),
1020
+ smalltalk.MaglevIconImage.klass);
1021
+
1022
+ smalltalk.addMethod(
1023
+ unescape('_smalltalk'),
1024
+ smalltalk.method({
1025
+ selector: unescape('smalltalk'),
1026
+ fn: function (){
1027
+ var self=this;
1028
+ return (function($rec){smalltalk.send($rec, "_src_", [unescape("images/smalltalk.png")]);smalltalk.send($rec, "_cssClass_", [unescape("icon-language")]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
1029
+ return self;}
1030
+ }),
1031
+ smalltalk.MaglevIconImage.klass);
1032
+
1033
+
1034
+ smalltalk.addClass('MaglevListBox', smalltalk.Widget, ['list', 'changedCallback', 'htmlIv', 'divContainer', 'height', 'searchbox', 'searchInput', 'olContainer', 'olHeightBeforeSearch'], 'Maglev-Database-Explorer');
1035
+ smalltalk.addMethod(
1036
+ unescape('_bindEvents'),
1037
+ smalltalk.method({
1038
+ selector: unescape('bindEvents'),
1039
+ fn: function (){
1040
+ var self=this;
1041
+ self['@list']._asJQuery().selectable({
1042
+ stop: function() {self._selectionChanged();},
1043
+ tolerance: 'fit'}); ;
1044
+ return self;}
1045
+ }),
1046
+ smalltalk.MaglevListBox);
1047
+
1048
+ smalltalk.addMethod(
1049
+ unescape('_changedCallback_'),
1050
+ smalltalk.method({
1051
+ selector: unescape('changedCallback%3A'),
1052
+ fn: function (aBlock){
1053
+ var self=this;
1054
+ (self['@changedCallback']=aBlock);
1055
+ return self;}
1056
+ }),
1057
+ smalltalk.MaglevListBox);
1058
+
1059
+ smalltalk.addMethod(
1060
+ unescape('_clear'),
1061
+ smalltalk.method({
1062
+ selector: unescape('clear'),
1063
+ fn: function (){
1064
+ var self=this;
1065
+ smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_empty", []);
1066
+ return self;}
1067
+ }),
1068
+ smalltalk.MaglevListBox);
1069
+
1070
+ smalltalk.addMethod(
1071
+ unescape('_commandFind'),
1072
+ smalltalk.method({
1073
+ selector: unescape('commandFind'),
1074
+ fn: function (){
1075
+ var self=this;
1076
+ (self['@olHeightBeforeSearch']=smalltalk.send(self, "_height", []));
1077
+ smalltalk.send(self['@searchbox'], "_show", []);
1078
+ smalltalk.send(self, "_height_", [smalltalk.send(self, "_height", [])]);
1079
+ smalltalk.send(smalltalk.send(self['@searchInput'], "_asJQuery", []), "_focus", []);
1080
+ return self;}
1081
+ }),
1082
+ smalltalk.MaglevListBox);
1083
+
1084
+ smalltalk.addMethod(
1085
+ unescape('_filterResults'),
1086
+ smalltalk.method({
1087
+ selector: unescape('filterResults'),
1088
+ fn: function (){
1089
+ var self=this;
1090
+ var text=nil;
1091
+ (text=smalltalk.send(smalltalk.send(self['@searchInput'], "_asJQuery", []), "_val", []));
1092
+ smalltalk.send(smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", ["li"]), "_each_", [(function(idx, htmlEl){var el=nil;
1093
+ el = $(htmlEl); ;return ((($receiver = smalltalk.send(smalltalk.send(el, "_text", []), "_includesSubString_", [text])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(el, "_show", []);})() : (function(){return smalltalk.send(el, "_hide", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(el, "_show", []);}), (function(){return smalltalk.send(el, "_hide", []);})]));})]);
1094
+ smalltalk.send(self, "_hideSearchBox", []);
1095
+ return self;}
1096
+ }),
1097
+ smalltalk.MaglevListBox);
1098
+
1099
+ smalltalk.addMethod(
1100
+ unescape('_focus'),
1101
+ smalltalk.method({
1102
+ selector: unescape('focus'),
1103
+ fn: function (){
1104
+ var self=this;
1105
+ smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_focus", []);
1106
+ return self;}
1107
+ }),
1108
+ smalltalk.MaglevListBox);
1109
+
1110
+ smalltalk.addMethod(
1111
+ unescape('_height'),
1112
+ smalltalk.method({
1113
+ selector: unescape('height'),
1114
+ fn: function (){
1115
+ var self=this;
1116
+ return smalltalk.send(smalltalk.send(self['@olContainer'], "_asJQuery", []), "_height", []);
1117
+ return self;}
1118
+ }),
1119
+ smalltalk.MaglevListBox);
1120
+
1121
+ smalltalk.addMethod(
1122
+ unescape('_height_'),
1123
+ smalltalk.method({
1124
+ selector: unescape('height%3A'),
1125
+ fn: function (anInteger){
1126
+ var self=this;
1127
+ var searchboxHeight=nil;
1128
+ ((($receiver = smalltalk.send(smalltalk.send(self['@searchbox'], "_asJQuery", []), "_is_", [":visible"])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (searchboxHeight=((($receiver = smalltalk.send(smalltalk.send(self['@searchbox'], "_asJQuery", []), "_height", [])).klass === smalltalk.Number) ? $receiver +(2) : smalltalk.send($receiver, "__plus", [(2)])));})() : (function(){return (searchboxHeight=(0));})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (searchboxHeight=((($receiver = smalltalk.send(smalltalk.send(self['@searchbox'], "_asJQuery", []), "_height", [])).klass === smalltalk.Number) ? $receiver +(2) : smalltalk.send($receiver, "__plus", [(2)])));}), (function(){return (searchboxHeight=(0));})]));
1129
+ (self['@height']=anInteger);
1130
+ smalltalk.send(smalltalk.send(self['@olContainer'], "_asJQuery", []), "_css_data_", ["height", smalltalk.send(smalltalk.send(((($receiver = anInteger).klass === smalltalk.Number) ? $receiver -searchboxHeight : smalltalk.send($receiver, "__minus", [searchboxHeight])), "_asString", []), "__comma", ["px"])]);
1131
+ return self;}
1132
+ }),
1133
+ smalltalk.MaglevListBox);
1134
+
1135
+ smalltalk.addMethod(
1136
+ unescape('_hide'),
1137
+ smalltalk.method({
1138
+ selector: unescape('hide'),
1139
+ fn: function (){
1140
+ var self=this;
1141
+ smalltalk.send(self['@list'], "_hide", []);
1142
+ return self;}
1143
+ }),
1144
+ smalltalk.MaglevListBox);
1145
+
1146
+ smalltalk.addMethod(
1147
+ unescape('_hideSearchBox'),
1148
+ smalltalk.method({
1149
+ selector: unescape('hideSearchBox'),
1150
+ fn: function (){
1151
+ var self=this;
1152
+ smalltalk.send(self['@searchbox'], "_hide", []);
1153
+ smalltalk.send(self, "_height_", [self['@olHeightBeforeSearch']]);
1154
+ smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_focus", []);
1155
+ return self;}
1156
+ }),
1157
+ smalltalk.MaglevListBox);
1158
+
1159
+ smalltalk.addMethod(
1160
+ unescape('_makeResizable'),
1161
+ smalltalk.method({
1162
+ selector: unescape('makeResizable'),
1163
+ fn: function (){
1164
+ var self=this;
1165
+ self['@olContainer']._asJQuery().resizable({handles: 's'}); ;
1166
+ return self;}
1167
+ }),
1168
+ smalltalk.MaglevListBox);
1169
+
1170
+ smalltalk.addMethod(
1171
+ unescape('_moveSelectionDown'),
1172
+ smalltalk.method({
1173
+ selector: unescape('moveSelectionDown'),
1174
+ fn: function (){
1175
+ var self=this;
1176
+ var newIndex=nil;
1177
+ (newIndex=((($receiver = ((($receiver = smalltalk.send(self, "_selectedDataVisibleIndex", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]))).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])));
1178
+ ((($receiver = smalltalk.send(newIndex, "__eq", [smalltalk.send(self, "_sizeVisible", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (newIndex=(0));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (newIndex=(0));})]));
1179
+ smalltalk.send(self, "_unselectAll", []);
1180
+ smalltalk.send(smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", [smalltalk.send(smalltalk.send(unescape("li%3Avisible%3Aeq%28"), "__comma", [smalltalk.send(newIndex, "_asString", [])]), "__comma", [unescape("%29")])]), "_addClass_", [unescape("ui-selected")]);
1181
+ smalltalk.send(self, "_selectionChanged", []);
1182
+ return self;}
1183
+ }),
1184
+ smalltalk.MaglevListBox);
1185
+
1186
+ smalltalk.addMethod(
1187
+ unescape('_moveSelectionUp'),
1188
+ smalltalk.method({
1189
+ selector: unescape('moveSelectionUp'),
1190
+ fn: function (){
1191
+ var self=this;
1192
+ var newIndex=nil;
1193
+ (newIndex=((($receiver = ((($receiver = smalltalk.send(self, "_selectedDataVisibleIndex", [])).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)]))).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])));
1194
+ ((($receiver = ((($receiver = newIndex).klass === smalltalk.Number) ? $receiver <(0) : smalltalk.send($receiver, "__lt", [(0)]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (newIndex=((($receiver = smalltalk.send(self, "_sizeVisible", [])).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (newIndex=((($receiver = smalltalk.send(self, "_sizeVisible", [])).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])));})]));
1195
+ smalltalk.send(self, "_unselectAll", []);
1196
+ smalltalk.send(smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", [smalltalk.send(smalltalk.send(unescape("li%3Avisible%3Aeq%28"), "__comma", [smalltalk.send(newIndex, "_asString", [])]), "__comma", [unescape("%29")])]), "_addClass_", [unescape("ui-selected")]);
1197
+ smalltalk.send(self, "_selectionChanged", []);
1198
+ return self;}
1199
+ }),
1200
+ smalltalk.MaglevListBox);
1201
+
1202
+ smalltalk.addMethod(
1203
+ unescape('_renderOn_'),
1204
+ smalltalk.method({
1205
+ selector: unescape('renderOn%3A'),
1206
+ fn: function (html){
1207
+ var self=this;
1208
+ (self['@divContainer']=smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){smalltalk.send(self, "_renderSearchBoxOn_", [html]);(self['@olContainer']=(function($rec){smalltalk.send($rec, "_style_", [unescape("overflow%3A%20hidden%3B%20border%3A%201px%20solid%20%23aaaaaa")]);return smalltalk.send($rec, "_with_", [(function(){return (self['@list']=(function($rec){smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B%20height%3A%20100%25%3B%20overflow%3A%20auto%3B%20border%3A%20none%3B%20outline%3A%20none%3B")]);smalltalk.send($rec, "_at_put_", ["tabindex", "1"]);smalltalk.send($rec, "_onKeyDown_", [(function(e){smalltalk.send(e, "_preventDefault", []);((($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [(40)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_moveSelectionDown", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_moveSelectionDown", []);})]));((($receiver = smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [(38)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_moveSelectionUp", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_moveSelectionUp", []);})]));return ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(e, "_keyCode", []), "__eq", [(70)]), "_and_", [(function(){return smalltalk.send(e, "_ctrlKey", []);})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_commandFind", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_commandFind", []);})]));})]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_focus", []);})]);})(smalltalk.send(html, "_ol", [])));})]);})(smalltalk.send(html, "_div", [])));smalltalk.send(self, "_makeResizable", []);return (self['@htmlIv']=html);})]));
1209
+ smalltalk.send(self, "_bindEvents", []);
1210
+ return self;}
1211
+ }),
1212
+ smalltalk.MaglevListBox);
1213
+
1214
+ smalltalk.addMethod(
1215
+ unescape('_renderSearchBoxOn_'),
1216
+ smalltalk.method({
1217
+ selector: unescape('renderSearchBoxOn%3A'),
1218
+ fn: function (html){
1219
+ var self=this;
1220
+ (self['@searchbox']=(function($rec){smalltalk.send($rec, "_class_", [unescape("input-prepend")]);smalltalk.send($rec, "_style_", [unescape("margin-bottom%3A%202px%3B%20box-sizing%3A%20border-box%3B%20-webkit-box-sizing%3A%20border-box%3B%20padding-right%3A%2052px%3B%20width%3A%20100%25%3B")]);smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_class_", [unescape("add-on")]);return smalltalk.send($rec, "_with_", ["find"]);})(smalltalk.send(html, "_span", []));return (self['@searchInput']=(function($rec){smalltalk.send($rec, "_type_", ["text"]);smalltalk.send($rec, "_class_", ["span2"]);smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B")]);smalltalk.send($rec, "_onChange_", [(function(){return smalltalk.send(self, "_filterResults", []);})]);return smalltalk.send($rec, "_onFocusOut_", [(function(){return smalltalk.send(self, "_hideSearchBox", []);})]);})(smalltalk.send(html, "_input", [])));})]);return smalltalk.send($rec, "_hide", []);})(smalltalk.send(html, "_div", [])));
1221
+ return self;}
1222
+ }),
1223
+ smalltalk.MaglevListBox);
1224
+
1225
+ smalltalk.addMethod(
1226
+ unescape('_selectedData'),
1227
+ smalltalk.method({
1228
+ selector: unescape('selectedData'),
1229
+ fn: function (){
1230
+ var self=this;
1231
+ return smalltalk.send(smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", [unescape(".ui-selected")]), "_data_", ["data"]);
1232
+ return self;}
1233
+ }),
1234
+ smalltalk.MaglevListBox);
1235
+
1236
+ smalltalk.addMethod(
1237
+ unescape('_selectedDataIndex'),
1238
+ smalltalk.method({
1239
+ selector: unescape('selectedDataIndex'),
1240
+ fn: function (){
1241
+ var self=this;
1242
+ return ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", [unescape(".ui-selected")]), "_index", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]));
1243
+ return self;}
1244
+ }),
1245
+ smalltalk.MaglevListBox);
1246
+
1247
+ smalltalk.addMethod(
1248
+ unescape('_selectedDataVisibleIndex'),
1249
+ smalltalk.method({
1250
+ selector: unescape('selectedDataVisibleIndex'),
1251
+ fn: function (){
1252
+ var self=this;
1253
+ return ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", ["li:visible"]), "_index_", [smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", [unescape("li.ui-selected")])])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]));
1254
+ return self;}
1255
+ }),
1256
+ smalltalk.MaglevListBox);
1257
+
1258
+ smalltalk.addMethod(
1259
+ unescape('_selectionChanged'),
1260
+ smalltalk.method({
1261
+ selector: unescape('selectionChanged'),
1262
+ fn: function (){
1263
+ var self=this;
1264
+ smalltalk.send(self, "_focus", []);
1265
+ smalltalk.send(self['@changedCallback'], "_value_value_", [smalltalk.send(self, "_selectedData", []), smalltalk.send(self, "_selectedDataIndex", [])]);
1266
+ return self;}
1267
+ }),
1268
+ smalltalk.MaglevListBox);
1269
+
1270
+ smalltalk.addMethod(
1271
+ unescape('_show'),
1272
+ smalltalk.method({
1273
+ selector: unescape('show'),
1274
+ fn: function (){
1275
+ var self=this;
1276
+ smalltalk.send(self['@list'], "_show", []);
1277
+ return self;}
1278
+ }),
1279
+ smalltalk.MaglevListBox);
1280
+
1281
+ smalltalk.addMethod(
1282
+ unescape('_size'),
1283
+ smalltalk.method({
1284
+ selector: unescape('size'),
1285
+ fn: function (){
1286
+ var self=this;
1287
+ return smalltalk.send(smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", ["li"]), "_length", []);
1288
+ return self;}
1289
+ }),
1290
+ smalltalk.MaglevListBox);
1291
+
1292
+ smalltalk.addMethod(
1293
+ unescape('_sizeVisible'),
1294
+ smalltalk.method({
1295
+ selector: unescape('sizeVisible'),
1296
+ fn: function (){
1297
+ var self=this;
1298
+ return smalltalk.send(smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", ["li:visible"]), "_length", []);
1299
+ return self;}
1300
+ }),
1301
+ smalltalk.MaglevListBox);
1302
+
1303
+ smalltalk.addMethod(
1304
+ unescape('_style_'),
1305
+ smalltalk.method({
1306
+ selector: unescape('style%3A'),
1307
+ fn: function (aString){
1308
+ var self=this;
1309
+ smalltalk.send(self['@divContainer'], "_style_", [aString]);
1310
+ return self;}
1311
+ }),
1312
+ smalltalk.MaglevListBox);
1313
+
1314
+ smalltalk.addMethod(
1315
+ unescape('_unselectAll'),
1316
+ smalltalk.method({
1317
+ selector: unescape('unselectAll'),
1318
+ fn: function (){
1319
+ var self=this;
1320
+ smalltalk.send(smalltalk.send(smalltalk.send(self['@list'], "_asJQuery", []), "_find_", ["li"]), "_removeClass_", [unescape("ui-selected")]);
1321
+ return self;}
1322
+ }),
1323
+ smalltalk.MaglevListBox);
1324
+
1325
+ smalltalk.addMethod(
1326
+ unescape('_with_'),
1327
+ smalltalk.method({
1328
+ selector: unescape('with%3A'),
1329
+ fn: function (content){
1330
+ var self=this;
1331
+ smalltalk.send(self, "_with_data_darker_", [content, "", false]);
1332
+ return self;}
1333
+ }),
1334
+ smalltalk.MaglevListBox);
1335
+
1336
+ smalltalk.addMethod(
1337
+ unescape('_with_darker_'),
1338
+ smalltalk.method({
1339
+ selector: unescape('with%3Adarker%3A'),
1340
+ fn: function (content, aBoolean){
1341
+ var self=this;
1342
+ smalltalk.send(self, "_with_data_darker_", [content, "", aBoolean]);
1343
+ return self;}
1344
+ }),
1345
+ smalltalk.MaglevListBox);
1346
+
1347
+ smalltalk.addMethod(
1348
+ unescape('_with_data_'),
1349
+ smalltalk.method({
1350
+ selector: unescape('with%3Adata%3A'),
1351
+ fn: function (content, dataString){
1352
+ var self=this;
1353
+ smalltalk.send(self['@list'], "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("ui-widget-content")]);smalltalk.send($rec, "_data_with_", ["data", dataString]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(content, "_value_", [self['@htmlIv']]);})]);})(smalltalk.send(self['@htmlIv'], "_li", []));})]);
1354
+ return self;}
1355
+ }),
1356
+ smalltalk.MaglevListBox);
1357
+
1358
+ smalltalk.addMethod(
1359
+ unescape('_with_data_darker_'),
1360
+ smalltalk.method({
1361
+ selector: unescape('with%3Adata%3Adarker%3A'),
1362
+ fn: function (content, dataString, aBoolean){
1363
+ var self=this;
1364
+ smalltalk.send(self['@list'], "_with_", [(function(){var li=nil;
1365
+ (li=(function($rec){smalltalk.send($rec, "_class_", [unescape("ui-widget-content")]);smalltalk.send($rec, "_data_with_", ["data", dataString]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(content, "_value_", [self['@htmlIv']]);})]);})(smalltalk.send(self['@htmlIv'], "_li", [])));return ((($receiver = aBoolean).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(li, "_asJQuery", []), "_addClass_", [unescape("list-darker")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(smalltalk.send(li, "_asJQuery", []), "_addClass_", [unescape("list-darker")]);})]));})]);
1366
+ return self;}
1367
+ }),
1368
+ smalltalk.MaglevListBox);
1369
+
1370
+
1371
+
1372
+ smalltalk.addClass('MaglevObjectDropdown', smalltalk.Widget, ['container', 'resultContainer', 'editor', 'editorElement', 'rubyButton', 'smalltalkButton', 'object'], 'Maglev-Database-Explorer');
1373
+ smalltalk.addMethod(
1374
+ unescape('_appendToInlineObject_for_'),
1375
+ smalltalk.method({
1376
+ selector: unescape('appendToInlineObject%3Afor%3A'),
1377
+ fn: function (anObject, dropdownContainer){
1378
+ var self=this;
1379
+ (self['@object']=smalltalk.send(anObject, "_object", []));
1380
+ smalltalk.send(smalltalk.send(self['@container'], "_asJQuery", []), "_appendTo_", [smalltalk.send(dropdownContainer, "_asJQuery", [])]);
1381
+ return self;}
1382
+ }),
1383
+ smalltalk.MaglevObjectDropdown);
1384
+
1385
+ smalltalk.addMethod(
1386
+ unescape('_code'),
1387
+ smalltalk.method({
1388
+ selector: unescape('code'),
1389
+ fn: function (){
1390
+ var self=this;
1391
+ return smalltalk.send(self['@editor'], "_getValue", []);
1392
+ return self;}
1393
+ }),
1394
+ smalltalk.MaglevObjectDropdown);
1395
+
1396
+ smalltalk.addMethod(
1397
+ unescape('_evalDoIt'),
1398
+ smalltalk.method({
1399
+ selector: unescape('evalDoIt'),
1400
+ fn: function (){
1401
+ var self=this;
1402
+
1403
+ return self;}
1404
+ }),
1405
+ smalltalk.MaglevObjectDropdown);
1406
+
1407
+ smalltalk.addMethod(
1408
+ unescape('_evalInspectIt'),
1409
+ smalltalk.method({
1410
+ selector: unescape('evalInspectIt'),
1411
+ fn: function (){
1412
+ var self=this;
1413
+
1414
+ return self;}
1415
+ }),
1416
+ smalltalk.MaglevObjectDropdown);
1417
+
1418
+ smalltalk.addMethod(
1419
+ unescape('_evalPrintIt'),
1420
+ smalltalk.method({
1421
+ selector: unescape('evalPrintIt'),
1422
+ fn: function (){
1423
+ var self=this;
1424
+ smalltalk.send(self, "_executeWithCallback_", [(function(success, resultObj){return ((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@resultContainer'], "_with_", [smalltalk.send(resultObj, "_inlineViewComponent", [])]);})() : (function(){return smalltalk.send(self['@resultContainer'], "_with_", [smalltalk.send(resultObj, "_inlineViewComponent", [])]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@resultContainer'], "_with_", [smalltalk.send(resultObj, "_inlineViewComponent", [])]);}), (function(){return smalltalk.send(self['@resultContainer'], "_with_", [smalltalk.send(resultObj, "_inlineViewComponent", [])]);})]));})]);
1425
+ return self;}
1426
+ }),
1427
+ smalltalk.MaglevObjectDropdown);
1428
+
1429
+ smalltalk.addMethod(
1430
+ unescape('_executeWithCallback_'),
1431
+ smalltalk.method({
1432
+ selector: unescape('executeWithCallback%3A'),
1433
+ fn: function (aBlock){
1434
+ var self=this;
1435
+ (function($rec){smalltalk.send($rec, "_addClass_", [unescape("alert-info")]);smalltalk.send($rec, "_removeClass_", [unescape("alert-success")]);return smalltalk.send($rec, "_removeClass_", [unescape("alert-error")]);})(self['@resultContainer']);
1436
+ smalltalk.send(smalltalk.send(self['@resultContainer'], "_asJQuery", []), "_empty", []);
1437
+ (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);smalltalk.send($rec, "_with_", [" loading..."]);return smalltalk.send($rec, "_show", []);})(self['@resultContainer']);
1438
+ smalltalk.send(self['@object'], "_evaluate_language_withCallback_", [smalltalk.send(self, "_code", []), smalltalk.send(self, "_language", []), (function(success, resultObj){smalltalk.send(smalltalk.send(self['@resultContainer'], "_asJQuery", []), "_empty", []);smalltalk.send(self['@resultContainer'], "_removeClass_", [unescape("alert-info")]);((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@resultContainer'], "_addClass_", [unescape("alert-success")]);})() : (function(){return smalltalk.send(self['@resultContainer'], "_addClass_", [unescape("alert-error")]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@resultContainer'], "_addClass_", [unescape("alert-success")]);}), (function(){return smalltalk.send(self['@resultContainer'], "_addClass_", [unescape("alert-error")]);})]));return smalltalk.send(aBlock, "_value_value_", [success, resultObj]);})]);
1439
+ return self;}
1440
+ }),
1441
+ smalltalk.MaglevObjectDropdown);
1442
+
1443
+ smalltalk.addMethod(
1444
+ unescape('_initializeEditor'),
1445
+ smalltalk.method({
1446
+ selector: unescape('initializeEditor'),
1447
+ fn: function (){
1448
+ var self=this;
1449
+ var params=nil;
1450
+ var extraKeys=nil;
1451
+ (extraKeys=(function($rec){smalltalk.send($rec, "_basicAt_put_", [unescape("Ctrl-D"), (function(){return smalltalk.send(self, "_evalPrintIt", []);})]);smalltalk.send($rec, "_basicAt_put_", [unescape("Ctrl-P"), (function(){return smalltalk.send(self, "_evalPrintIt", []);})]);smalltalk.send($rec, "_basicAt_put_", [unescape("Ctrl-S"), (function(){return smalltalk.send(self, "_evalPrintIt", []);})]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Object || Object), "_new", [])));
1452
+ (params=(function($rec){smalltalk.send($rec, "_basicAt_put_", ["mode", unescape("text/x-ruby")]);smalltalk.send($rec, "_basicAt_put_", ["styleActiveLine", true]);smalltalk.send($rec, "_basicAt_put_", ["lineNumbers", true]);smalltalk.send($rec, "_basicAt_put_", ["matchBrackets", true]);smalltalk.send($rec, "_basicAt_put_", ["extraKeys", extraKeys]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Object || Object), "_new", [])));
1453
+ (self['@editor']=smalltalk.send((smalltalk.CodeMirror || CodeMirror), "_value_value_", [smalltalk.send(smalltalk.send(self['@editorElement'], "_asJQuery", []), "_at_", [(0)]), params]));
1454
+ smalltalk.send(self['@editor'], "_setValue_", [""]);
1455
+ return self;}
1456
+ }),
1457
+ smalltalk.MaglevObjectDropdown);
1458
+
1459
+ smalltalk.addMethod(
1460
+ unescape('_isRuby'),
1461
+ smalltalk.method({
1462
+ selector: unescape('isRuby'),
1463
+ fn: function (){
1464
+ var self=this;
1465
+ return smalltalk.send(smalltalk.send(self['@rubyButton'], "_asJQuery", []), "_hasClass_", ["active"]);
1466
+ return self;}
1467
+ }),
1468
+ smalltalk.MaglevObjectDropdown);
1469
+
1470
+ smalltalk.addMethod(
1471
+ unescape('_isSmalltalk'),
1472
+ smalltalk.method({
1473
+ selector: unescape('isSmalltalk'),
1474
+ fn: function (){
1475
+ var self=this;
1476
+ return smalltalk.send(smalltalk.send(self['@smalltalkButton'], "_asJQuery", []), "_hasClass_", ["active"]);
1477
+ return self;}
1478
+ }),
1479
+ smalltalk.MaglevObjectDropdown);
1480
+
1481
+ smalltalk.addMethod(
1482
+ unescape('_language'),
1483
+ smalltalk.method({
1484
+ selector: unescape('language'),
1485
+ fn: function (){
1486
+ var self=this;
1487
+ try{((($receiver = smalltalk.send(self, "_isRuby", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_language', fn: function(){return "ruby"}})})();})() : (function(){return (function(){throw({name: 'stReturn', selector: '_language', fn: function(){return "smalltalk"}})})();})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (function(){throw({name: 'stReturn', selector: '_language', fn: function(){return "ruby"}})})();}), (function(){return (function(){throw({name: 'stReturn', selector: '_language', fn: function(){return "smalltalk"}})})();})]));
1488
+ return self;
1489
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_language'){return e.fn()} throw(e)}}
1490
+ }),
1491
+ smalltalk.MaglevObjectDropdown);
1492
+
1493
+ smalltalk.addMethod(
1494
+ unescape('_languageChanged'),
1495
+ smalltalk.method({
1496
+ selector: unescape('languageChanged'),
1497
+ fn: function (){
1498
+ var self=this;
1499
+ ((($receiver = smalltalk.send(self, "_isRuby", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(self['@editor'], "_setOption_data_", ["mode", unescape("text/x-ruby")]);})() : (function(){return smalltalk.send(self['@editor'], "_setOption_data_", ["mode", unescape("text/x-stsrc")]);})()) : smalltalk.send($receiver, "_ifFalse_ifTrue_", [(function(){return smalltalk.send(self['@editor'], "_setOption_data_", ["mode", unescape("text/x-ruby")]);}), (function(){return smalltalk.send(self['@editor'], "_setOption_data_", ["mode", unescape("text/x-stsrc")]);})]));
1500
+ return self;}
1501
+ }),
1502
+ smalltalk.MaglevObjectDropdown);
1503
+
1504
+ smalltalk.addMethod(
1505
+ unescape('_mouseFix'),
1506
+ smalltalk.method({
1507
+ selector: unescape('mouseFix'),
1508
+ fn: function (){
1509
+ var self=this;
1510
+ var menu = self['@container'];
1511
+ var editor = self['@editorElement'];
1512
+ menu._asJQuery().mousedown(function (event) {
1513
+ event.preventDefault();
1514
+ return false;
1515
+ });
1516
+ editor._asJQuery().mousedown(function (event) {
1517
+ event.preventDefault();
1518
+ return false;
1519
+ }); ;
1520
+ return self;}
1521
+ }),
1522
+ smalltalk.MaglevObjectDropdown);
1523
+
1524
+ smalltalk.addMethod(
1525
+ unescape('_renderButtonsOn_'),
1526
+ smalltalk.method({
1527
+ selector: unescape('renderButtonsOn%3A'),
1528
+ fn: function (html){
1529
+ var self=this;
1530
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("btn%20btn-primary")]);smalltalk.send($rec, "_type_", ["button"]);smalltalk.send($rec, "_style_", [unescape("margin-right%3A%2010px%3B")]);smalltalk.send($rec, "_with_", ["Print it"]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_evalPrintIt", []);})]);})(smalltalk.send(html, "_button", []));
1531
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("btn-group")]);smalltalk.send($rec, "_style_", [unescape("float%3A%20right%3B")]);smalltalk.send($rec, "_data_with_", ["toggle", unescape("buttons-radio")]);return smalltalk.send($rec, "_with_", [(function(){(self['@rubyButton']=(function($rec){smalltalk.send($rec, "_class_", ["btn active"]);smalltalk.send($rec, "_data_with_", ["toggle", unescape("buttons-checkbox")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_languageChanged", []);})]);smalltalk.send($rec, "_type_", ["button"]);return smalltalk.send($rec, "_with_", ["Ruby"]);})(smalltalk.send(html, "_button", [])));return (self['@smalltalkButton']=(function($rec){smalltalk.send($rec, "_class_", ["btn"]);smalltalk.send($rec, "_data_with_", ["toggle", unescape("buttons-checkbox")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_languageChanged", []);})]);smalltalk.send($rec, "_type_", ["button"]);return smalltalk.send($rec, "_with_", ["Smalltalk"]);})(smalltalk.send(html, "_button", [])));})]);})(smalltalk.send(html, "_div", []));
1532
+ return self;}
1533
+ }),
1534
+ smalltalk.MaglevObjectDropdown);
1535
+
1536
+ smalltalk.addMethod(
1537
+ unescape('_renderFormOn_'),
1538
+ smalltalk.method({
1539
+ selector: unescape('renderFormOn%3A'),
1540
+ fn: function (html){
1541
+ var self=this;
1542
+ (function($rec){smalltalk.send($rec, "_style_", [unescape("margin%3A%200px%3B")]);return smalltalk.send($rec, "_with_", [(function(){(self['@editorElement']=smalltalk.send(smalltalk.send(html, "_div", []), "_class_", [unescape("pull-left%20code-area")]));smalltalk.send(smalltalk.send(html, "_div", []), "_style_", [unescape("clear%3A%20both%3B")]);(self['@resultContainer']=(function($rec){smalltalk.send($rec, "_class_", ["alert"]);return smalltalk.send($rec, "_hide", []);})(smalltalk.send(html, "_div", [])));return (function($rec){smalltalk.send($rec, "_class_", [unescape("button-area")]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderButtonsOn_", [html]);})]);})(smalltalk.send(html, "_div", []));})]);})(smalltalk.send(html, "_form", []));
1543
+ return self;}
1544
+ }),
1545
+ smalltalk.MaglevObjectDropdown);
1546
+
1547
+ smalltalk.addMethod(
1548
+ unescape('_renderOn_'),
1549
+ smalltalk.method({
1550
+ selector: unescape('renderOn%3A'),
1551
+ fn: function (html){
1552
+ var self=this;
1553
+ (self['@container']=(function($rec){smalltalk.send($rec, "_class_", [unescape("dropdown-menu")]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["textbox"]);smalltalk.send($rec, "_style_", ["padding: 10px"]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderFormOn_", [html]);})]);})(smalltalk.send(html, "_fieldset", []));})]);})(smalltalk.send(html, "_div", [])));
1554
+ smalltalk.send(self, "_initializeEditor", []);
1555
+ smalltalk.send(self, "_mouseFix", []);
1556
+ return self;}
1557
+ }),
1558
+ smalltalk.MaglevObjectDropdown);
1559
+
1560
+
1561
+ smalltalk.MaglevObjectDropdown.klass.iVarNames = ['instance'];
1562
+ smalltalk.addMethod(
1563
+ unescape('_instance'),
1564
+ smalltalk.method({
1565
+ selector: unescape('instance'),
1566
+ fn: function (){
1567
+ var self=this;
1568
+ (($receiver = self['@instance']) == nil || $receiver == undefined) ? (function(){(self['@instance']=smalltalk.send(self, "_new", []));return smalltalk.send(self['@instance'], "_appendToJQuery_", [smalltalk.send(unescape("%23temporary-rendering-area"), "_asJQuery", [])]);})() : $receiver;
1569
+ return self['@instance'];
1570
+ return self;}
1571
+ }),
1572
+ smalltalk.MaglevObjectDropdown.klass);
1573
+
1574
+
1575
+ smalltalk.addClass('MaglevObjectInline', smalltalk.Widget, ['object', 'hasDropDown', 'isDraggable', 'depth', 'isShort', 'dragContent', 'dragDummy', 'dragObject', 'fullInspection'], 'Maglev-Database-Explorer');
1576
+ smalltalk.addMethod(
1577
+ unescape('_bindDraggable'),
1578
+ smalltalk.method({
1579
+ selector: unescape('bindDraggable'),
1580
+ fn: function (){
1581
+ var self=this;
1582
+ var options=nil;
1583
+ var cursorPos=nil;
1584
+ (cursorPos=(function($rec){smalltalk.send($rec, "_basicAt_put_", ["left", (0)]);smalltalk.send($rec, "_basicAt_put_", ["top", (0)]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Object || Object), "_new", [])));
1585
+ (options=(function($rec){smalltalk.send($rec, "_basicAt_put_", ["create", (function(event, ui){return nil;})]);smalltalk.send($rec, "_basicAt_put_", ["cursorPos", cursorPos]);smalltalk.send($rec, "_basicAt_put_", ["start", (function(event, ui){return smalltalk.send(self, "_dragStart_a_", [event, ui]);})]);smalltalk.send($rec, "_basicAt_put_", ["stop", (function(event, ui){return smalltalk.send(self, "_dragStop_a_", [event, ui]);})]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send((smalltalk.Object || Object), "_new", [])));
1586
+ smalltalk.send(smalltalk.send(self['@dragObject'], "_asJQuery", []), "_draggable_", [options]);
1587
+ return self;}
1588
+ }),
1589
+ smalltalk.MaglevObjectInline);
1590
+
1591
+ smalltalk.addMethod(
1592
+ unescape('_depth'),
1593
+ smalltalk.method({
1594
+ selector: unescape('depth'),
1595
+ fn: function (){
1596
+ var self=this;
1597
+ (($receiver = self['@depth']) == nil || $receiver == undefined) ? (function(){return (self['@depth']=(1));})() : $receiver;
1598
+ return self['@depth'];
1599
+ return self;}
1600
+ }),
1601
+ smalltalk.MaglevObjectInline);
1602
+
1603
+ smalltalk.addMethod(
1604
+ unescape('_depth_'),
1605
+ smalltalk.method({
1606
+ selector: unescape('depth%3A'),
1607
+ fn: function (anInteger){
1608
+ var self=this;
1609
+ (self['@depth']=anInteger);
1610
+ return self;}
1611
+ }),
1612
+ smalltalk.MaglevObjectInline);
1613
+
1614
+ smalltalk.addMethod(
1615
+ unescape('_dragStart_a_'),
1616
+ smalltalk.method({
1617
+ selector: unescape('dragStart%3Aa%3A'),
1618
+ fn: function (event, ui){
1619
+ var self=this;
1620
+ smalltalk.send(self['@dragContent'], "_hide", []);
1621
+ smalltalk.send(self['@dragDummy'], "_show", []);
1622
+ return self;}
1623
+ }),
1624
+ smalltalk.MaglevObjectInline);
1625
+
1626
+ smalltalk.addMethod(
1627
+ unescape('_dragStop_a_'),
1628
+ smalltalk.method({
1629
+ selector: unescape('dragStop%3Aa%3A'),
1630
+ fn: function (event, ui){
1631
+ var self=this;
1632
+ var position=nil;
1633
+ var window=nil;
1634
+ (position=smalltalk.send(smalltalk.send(self['@dragObject'], "_asJQuery", []), "_offset", []));
1635
+ (window=smalltalk.send(smalltalk.send((smalltalk.Maglev || Maglev), "_instance", []), "_showReloadObjectWindow_", [smalltalk.send(self['@object'], "_oop", [])]));
1636
+ smalltalk.send(window, "_left_", [((($receiver = smalltalk.send(position, "_left", [])).klass === smalltalk.Number) ? $receiver -((($receiver = smalltalk.send(self['@dragObject'], "_width", [])).klass === smalltalk.Number) ? $receiver /(2) : smalltalk.send($receiver, "__slash", [(2)])) : smalltalk.send($receiver, "__minus", [((($receiver = smalltalk.send(self['@dragObject'], "_width", [])).klass === smalltalk.Number) ? $receiver /(2) : smalltalk.send($receiver, "__slash", [(2)]))]))]);
1637
+ smalltalk.send(window, "_top_", [((($receiver = smalltalk.send(position, "_top", [])).klass === smalltalk.Number) ? $receiver -((($receiver = smalltalk.send(self['@dragObject'], "_height", [])).klass === smalltalk.Number) ? $receiver /(2) : smalltalk.send($receiver, "__slash", [(2)])) : smalltalk.send($receiver, "__minus", [((($receiver = smalltalk.send(self['@dragObject'], "_height", [])).klass === smalltalk.Number) ? $receiver /(2) : smalltalk.send($receiver, "__slash", [(2)]))]))]);
1638
+ smalltalk.send(self['@dragObject'], "_left_", [(0)]);
1639
+ smalltalk.send(self['@dragObject'], "_top_", [(0)]);
1640
+ smalltalk.send(self['@dragDummy'], "_hide", []);
1641
+ smalltalk.send(self['@dragContent'], "_show", []);
1642
+ return self;}
1643
+ }),
1644
+ smalltalk.MaglevObjectInline);
1645
+
1646
+ smalltalk.addMethod(
1647
+ unescape('_fullInspection'),
1648
+ smalltalk.method({
1649
+ selector: unescape('fullInspection'),
1650
+ fn: function (){
1651
+ var self=this;
1652
+ (($receiver = self['@fullInspection']) == nil || $receiver == undefined) ? (function(){return (self['@fullInspection']=false);})() : $receiver;
1653
+ return self['@fullInspection'];
1654
+ return self;}
1655
+ }),
1656
+ smalltalk.MaglevObjectInline);
1657
+
1658
+ smalltalk.addMethod(
1659
+ unescape('_fullInspection_'),
1660
+ smalltalk.method({
1661
+ selector: unescape('fullInspection%3A'),
1662
+ fn: function (aBoolean){
1663
+ var self=this;
1664
+ (self['@fullInspection']=aBoolean);
1665
+ return self;}
1666
+ }),
1667
+ smalltalk.MaglevObjectInline);
1668
+
1669
+ smalltalk.addMethod(
1670
+ unescape('_hasDropDown'),
1671
+ smalltalk.method({
1672
+ selector: unescape('hasDropDown'),
1673
+ fn: function (){
1674
+ var self=this;
1675
+ (($receiver = self['@hasDropDown']) == nil || $receiver == undefined) ? (function(){return (self['@hasDropDown']=smalltalk.send(self, "_hasDropDownDefault", []));})() : $receiver;
1676
+ return self['@hasDropDown'];
1677
+ return self;}
1678
+ }),
1679
+ smalltalk.MaglevObjectInline);
1680
+
1681
+ smalltalk.addMethod(
1682
+ unescape('_hasDropDown_'),
1683
+ smalltalk.method({
1684
+ selector: unescape('hasDropDown%3A'),
1685
+ fn: function (aBoolean){
1686
+ var self=this;
1687
+ (self['@hasDropDown']=aBoolean);
1688
+ return self;}
1689
+ }),
1690
+ smalltalk.MaglevObjectInline);
1691
+
1692
+ smalltalk.addMethod(
1693
+ unescape('_hasDropDownDefault'),
1694
+ smalltalk.method({
1695
+ selector: unescape('hasDropDownDefault'),
1696
+ fn: function (){
1697
+ var self=this;
1698
+ return true;
1699
+ return self;}
1700
+ }),
1701
+ smalltalk.MaglevObjectInline);
1702
+
1703
+ smalltalk.addMethod(
1704
+ unescape('_isDraggable'),
1705
+ smalltalk.method({
1706
+ selector: unescape('isDraggable'),
1707
+ fn: function (){
1708
+ var self=this;
1709
+ (($receiver = self['@isDraggable']) == nil || $receiver == undefined) ? (function(){return (self['@isDraggable']=smalltalk.send(self, "_isDraggableDefault", []));})() : $receiver;
1710
+ return self['@isDraggable'];
1711
+ return self;}
1712
+ }),
1713
+ smalltalk.MaglevObjectInline);
1714
+
1715
+ smalltalk.addMethod(
1716
+ unescape('_isDraggable_'),
1717
+ smalltalk.method({
1718
+ selector: unescape('isDraggable%3A'),
1719
+ fn: function (aBoolean){
1720
+ var self=this;
1721
+ (self['@isDraggable']=aBoolean);
1722
+ return self;}
1723
+ }),
1724
+ smalltalk.MaglevObjectInline);
1725
+
1726
+ smalltalk.addMethod(
1727
+ unescape('_isDraggableDefault'),
1728
+ smalltalk.method({
1729
+ selector: unescape('isDraggableDefault'),
1730
+ fn: function (){
1731
+ var self=this;
1732
+ return true;
1733
+ return self;}
1734
+ }),
1735
+ smalltalk.MaglevObjectInline);
1736
+
1737
+ smalltalk.addMethod(
1738
+ unescape('_isShort'),
1739
+ smalltalk.method({
1740
+ selector: unescape('isShort'),
1741
+ fn: function (){
1742
+ var self=this;
1743
+ (($receiver = self['@isShort']) == nil || $receiver == undefined) ? (function(){return (self['@isShort']=false);})() : $receiver;
1744
+ return self['@isShort'];
1745
+ return self;}
1746
+ }),
1747
+ smalltalk.MaglevObjectInline);
1748
+
1749
+ smalltalk.addMethod(
1750
+ unescape('_isShort_'),
1751
+ smalltalk.method({
1752
+ selector: unescape('isShort%3A'),
1753
+ fn: function (aBoolean){
1754
+ var self=this;
1755
+ (self['@isShort']=aBoolean);
1756
+ return self;}
1757
+ }),
1758
+ smalltalk.MaglevObjectInline);
1759
+
1760
+ smalltalk.addMethod(
1761
+ unescape('_maxDepth'),
1762
+ smalltalk.method({
1763
+ selector: unescape('maxDepth'),
1764
+ fn: function (){
1765
+ var self=this;
1766
+ return (1);
1767
+ return self;}
1768
+ }),
1769
+ smalltalk.MaglevObjectInline);
1770
+
1771
+ smalltalk.addMethod(
1772
+ unescape('_maxInspection'),
1773
+ smalltalk.method({
1774
+ selector: unescape('maxInspection'),
1775
+ fn: function (){
1776
+ var self=this;
1777
+ try{((($receiver = smalltalk.send(self, "_fullInspection", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_maxInspection', fn: function(){return (1000)}})})();})() : (function(){return (function(){throw({name: 'stReturn', selector: '_maxInspection', fn: function(){return (15)}})})();})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (function(){throw({name: 'stReturn', selector: '_maxInspection', fn: function(){return (1000)}})})();}), (function(){return (function(){throw({name: 'stReturn', selector: '_maxInspection', fn: function(){return (15)}})})();})]));
1778
+ return self;
1779
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_maxInspection'){return e.fn()} throw(e)}}
1780
+ }),
1781
+ smalltalk.MaglevObjectInline);
1782
+
1783
+ smalltalk.addMethod(
1784
+ unescape('_object'),
1785
+ smalltalk.method({
1786
+ selector: unescape('object'),
1787
+ fn: function (){
1788
+ var self=this;
1789
+ return self['@object'];
1790
+ return self;}
1791
+ }),
1792
+ smalltalk.MaglevObjectInline);
1793
+
1794
+ smalltalk.addMethod(
1795
+ unescape('_object_'),
1796
+ smalltalk.method({
1797
+ selector: unescape('object%3A'),
1798
+ fn: function (anObject){
1799
+ var self=this;
1800
+ (self['@object']=anObject);
1801
+ return self;}
1802
+ }),
1803
+ smalltalk.MaglevObjectInline);
1804
+
1805
+ smalltalk.addMethod(
1806
+ unescape('_renderDraggableObjectOn_'),
1807
+ smalltalk.method({
1808
+ selector: unescape('renderDraggableObjectOn%3A'),
1809
+ fn: function (html){
1810
+ var self=this;
1811
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("draggable-new-object-container")]);return smalltalk.send($rec, "_with_", [(function(){return (self['@dragObject']=(function($rec){smalltalk.send($rec, "_class_", [unescape("ui-widget-content%20ui-draggable%20draggable-new-object")]);return smalltalk.send($rec, "_with_", [(function(){(self['@dragDummy']=(function($rec){smalltalk.send($rec, "_class_", [unescape("object-drag-dummy")]);smalltalk.send($rec, "_style_", [unescape("display%3A%20none%3B")]);smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_move", [])]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderObjectContainerOn_", [html]);})]);})(smalltalk.send(html, "_div", [])));return (self['@dragContent']=(function($rec){smalltalk.send($rec, "_class_", [unescape("object-iv-name")]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderObjectContainerOn_", [html]);})]);})(smalltalk.send(html, "_div", [])));})]);})(smalltalk.send(html, "_div", [])));})]);})(smalltalk.send(html, "_div", []));
1812
+ smalltalk.send(self, "_bindDraggable", []);
1813
+ return self;}
1814
+ }),
1815
+ smalltalk.MaglevObjectInline);
1816
+
1817
+ smalltalk.addMethod(
1818
+ unescape('_renderLoadedObjectOn_'),
1819
+ smalltalk.method({
1820
+ selector: unescape('renderLoadedObjectOn%3A'),
1821
+ fn: function (html){
1822
+ var self=this;
1823
+ var text=nil;
1824
+ var shorted=nil;
1825
+ (shorted=false);
1826
+ (text=smalltalk.send(smalltalk.send(self['@object'], "_inspection", []), "_copyFrom_to_", [(1), smalltalk.send(self, "_maxInspection", [])]));
1827
+ ((($receiver = ((($receiver = smalltalk.send(text, "_size", [])).klass === smalltalk.Number) ? $receiver <smalltalk.send(smalltalk.send(self['@object'], "_inspection", []), "_size", []) : smalltalk.send($receiver, "__lt", [smalltalk.send(smalltalk.send(self['@object'], "_inspection", []), "_size", [])]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){(text=smalltalk.send(text, "__comma", ["..."]));(shorted=true);return ((($receiver = smalltalk.send(smalltalk.send(text, "_at_", [(2)]), "__eq", [unescape("%3C")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (text=smalltalk.send(text, "__comma", [unescape("%3E")]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (text=smalltalk.send(text, "__comma", [unescape("%3E")]));})]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){(text=smalltalk.send(text, "__comma", ["..."]));(shorted=true);return ((($receiver = smalltalk.send(smalltalk.send(text, "_at_", [(2)]), "__eq", [unescape("%3C")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (text=smalltalk.send(text, "__comma", [unescape("%3E")]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (text=smalltalk.send(text, "__comma", [unescape("%3E")]));})]));})]));
1828
+ smalltalk.send(html, "_with_", [(function(){var tooltip=nil;
1829
+ (tooltip=(function($rec){smalltalk.send($rec, "_data_with_", ["toggle", "tooltip"]);smalltalk.send($rec, "_data_with_", ["placement", "top"]);smalltalk.send($rec, "_data_with_", [unescape("original-title"), smalltalk.send(self['@object'], "_inspection", [])]);return smalltalk.send($rec, "_with_", [text]);})(smalltalk.send(html, "_span", [])));return ((($receiver = shorted).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(tooltip, "_asJQuery", []), "_tooltip", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(smalltalk.send(tooltip, "_asJQuery", []), "_tooltip", []);})]));})]);
1830
+ return self;}
1831
+ }),
1832
+ smalltalk.MaglevObjectInline);
1833
+
1834
+ smalltalk.addMethod(
1835
+ unescape('_renderObjectActionsOn_'),
1836
+ smalltalk.method({
1837
+ selector: unescape('renderObjectActionsOn%3A'),
1838
+ fn: function (html){
1839
+ var self=this;
1840
+
1841
+ return self;}
1842
+ }),
1843
+ smalltalk.MaglevObjectInline);
1844
+
1845
+ smalltalk.addMethod(
1846
+ unescape('_renderObjectContainerOn_'),
1847
+ smalltalk.method({
1848
+ selector: unescape('renderObjectContainerOn%3A'),
1849
+ fn: function (html){
1850
+ var self=this;
1851
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("object-inline-view-view")]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(self, "_renderObjectActionsOn_", [html]);return (function($rec){smalltalk.send($rec, "_class_", [unescape("object-inline-typed-view")]);return smalltalk.send($rec, "_with_", [(function(){return ((($receiver = smalltalk.send(self, "_hasDropDown", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_renderObjectWithDropDownOn_", [html]);})() : (function(){return smalltalk.send(self, "_renderObjectOn_", [html]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_renderObjectWithDropDownOn_", [html]);}), (function(){return smalltalk.send(self, "_renderObjectOn_", [html]);})]));})]);})(smalltalk.send(html, "_span", []));})]);})(smalltalk.send(html, "_span", []));
1852
+ return self;}
1853
+ }),
1854
+ smalltalk.MaglevObjectInline);
1855
+
1856
+ smalltalk.addMethod(
1857
+ unescape('_renderObjectOn_'),
1858
+ smalltalk.method({
1859
+ selector: unescape('renderObjectOn%3A'),
1860
+ fn: function (html){
1861
+ var self=this;
1862
+ ((($receiver = smalltalk.send(self['@object'], "_isLoaded", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_renderLoadedObjectOn_", [html]);})() : (function(){return smalltalk.send(self, "_renderUnloadedObjectOn_", [html]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_renderLoadedObjectOn_", [html]);}), (function(){return smalltalk.send(self, "_renderUnloadedObjectOn_", [html]);})]));
1863
+ return self;}
1864
+ }),
1865
+ smalltalk.MaglevObjectInline);
1866
+
1867
+ smalltalk.addMethod(
1868
+ unescape('_renderObjectWithDropDownOn_'),
1869
+ smalltalk.method({
1870
+ selector: unescape('renderObjectWithDropDownOn%3A'),
1871
+ fn: function (html){
1872
+ var self=this;
1873
+ var dropdownContainer=nil;
1874
+ (dropdownContainer=(function($rec){smalltalk.send($rec, "_class_", ["dropdown"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("dropdown-toggle%20btn%20object-dropdown-toggle")]);smalltalk.send($rec, "_data_with_", ["toggle", "dropdown"]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_showDropdownFor_", [dropdownContainer]);})]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(self, "_renderObjectOn_", [html]);return smalltalk.send(smalltalk.send(html, "_b", []), "_class_", ["caret"]);})]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_span", [])));
1875
+ return self;}
1876
+ }),
1877
+ smalltalk.MaglevObjectInline);
1878
+
1879
+ smalltalk.addMethod(
1880
+ unescape('_renderOn_'),
1881
+ smalltalk.method({
1882
+ selector: unescape('renderOn%3A'),
1883
+ fn: function (html){
1884
+ var self=this;
1885
+ ((($receiver = smalltalk.send(self, "_isDraggable", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_renderDraggableObjectOn_", [html]);})() : (function(){return smalltalk.send(self, "_renderObjectContainerOn_", [html]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_renderDraggableObjectOn_", [html]);}), (function(){return smalltalk.send(self, "_renderObjectContainerOn_", [html]);})]));
1886
+ return self;}
1887
+ }),
1888
+ smalltalk.MaglevObjectInline);
1889
+
1890
+ smalltalk.addMethod(
1891
+ unescape('_renderText_withDropDownOn_'),
1892
+ smalltalk.method({
1893
+ selector: unescape('renderText%3AwithDropDownOn%3A'),
1894
+ fn: function (text, html){
1895
+ var self=this;
1896
+ var dropdownContainer=nil;
1897
+ ((($receiver = smalltalk.send(self, "_hasDropDown", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (dropdownContainer=(function($rec){smalltalk.send($rec, "_class_", ["dropdown"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("dropdown-toggle%20btn%20object-dropdown-toggle")]);smalltalk.send($rec, "_data_with_", ["toggle", "dropdown"]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_showDropdownFor_", [dropdownContainer]);})]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(html, "_with_", [text]);return smalltalk.send(smalltalk.send(html, "_b", []), "_class_", ["caret"]);})]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_span", [])));})() : (function(){return smalltalk.send(html, "_with_", [text]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (dropdownContainer=(function($rec){smalltalk.send($rec, "_class_", ["dropdown"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("dropdown-toggle%20btn%20object-dropdown-toggle")]);smalltalk.send($rec, "_data_with_", ["toggle", "dropdown"]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_showDropdownFor_", [dropdownContainer]);})]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(html, "_with_", [text]);return smalltalk.send(smalltalk.send(html, "_b", []), "_class_", ["caret"]);})]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_span", [])));}), (function(){return smalltalk.send(html, "_with_", [text]);})]));
1898
+ return self;}
1899
+ }),
1900
+ smalltalk.MaglevObjectInline);
1901
+
1902
+ smalltalk.addMethod(
1903
+ unescape('_renderUnloadedObjectOn_'),
1904
+ smalltalk.method({
1905
+ selector: unescape('renderUnloadedObjectOn%3A'),
1906
+ fn: function (html){
1907
+ var self=this;
1908
+ var text=nil;
1909
+ var shorted=nil;
1910
+ (shorted=false);
1911
+ (text=smalltalk.send(smalltalk.send(self['@object'], "_inspection", []), "_copyFrom_to_", [(1), smalltalk.send(self, "_maxInspection", [])]));
1912
+ ((($receiver = ((($receiver = smalltalk.send(text, "_size", [])).klass === smalltalk.Number) ? $receiver <smalltalk.send(smalltalk.send(self['@object'], "_inspection", []), "_size", []) : smalltalk.send($receiver, "__lt", [smalltalk.send(smalltalk.send(self['@object'], "_inspection", []), "_size", [])]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){(text=smalltalk.send(text, "__comma", ["..."]));(shorted=true);return ((($receiver = smalltalk.send(smalltalk.send(text, "_at_", [(2)]), "__eq", [unescape("%3C")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (text=smalltalk.send(text, "__comma", [unescape("%3E")]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (text=smalltalk.send(text, "__comma", [unescape("%3E")]));})]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){(text=smalltalk.send(text, "__comma", ["..."]));(shorted=true);return ((($receiver = smalltalk.send(smalltalk.send(text, "_at_", [(2)]), "__eq", [unescape("%3C")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (text=smalltalk.send(text, "__comma", [unescape("%3E")]));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (text=smalltalk.send(text, "__comma", [unescape("%3E")]));})]));})]));
1913
+ smalltalk.send(html, "_with_", [(function(){var tooltip=nil;
1914
+ (tooltip=(function($rec){smalltalk.send($rec, "_data_with_", ["toggle", "tooltip"]);smalltalk.send($rec, "_data_with_", ["placement", "top"]);smalltalk.send($rec, "_data_with_", [unescape("original-title"), smalltalk.send(self['@object'], "_inspection", [])]);return smalltalk.send($rec, "_with_", [text]);})(smalltalk.send(html, "_span", [])));return ((($receiver = shorted).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(tooltip, "_asJQuery", []), "_tooltip", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(smalltalk.send(tooltip, "_asJQuery", []), "_tooltip", []);})]));})]);
1915
+ return self;}
1916
+ }),
1917
+ smalltalk.MaglevObjectInline);
1918
+
1919
+ smalltalk.addMethod(
1920
+ unescape('_showDropdownFor_'),
1921
+ smalltalk.method({
1922
+ selector: unescape('showDropdownFor%3A'),
1923
+ fn: function (dropdownContainer){
1924
+ var self=this;
1925
+ smalltalk.send(smalltalk.send((smalltalk.MaglevObjectDropdown || MaglevObjectDropdown), "_instance", []), "_appendToInlineObject_for_", [self, dropdownContainer]);
1926
+ return self;}
1927
+ }),
1928
+ smalltalk.MaglevObjectInline);
1929
+
1930
+
1931
+ smalltalk.addMethod(
1932
+ unescape('_newWithDepth_'),
1933
+ smalltalk.method({
1934
+ selector: unescape('newWithDepth%3A'),
1935
+ fn: function (anInteger){
1936
+ var self=this;
1937
+ return (function($rec){smalltalk.send($rec, "_depth_", [anInteger]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_basicNew", []));
1938
+ return self;}
1939
+ }),
1940
+ smalltalk.MaglevObjectInline.klass);
1941
+
1942
+
1943
+ smalltalk.addClass('MaglevArrayInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
1944
+ smalltalk.addMethod(
1945
+ unescape('_maxDepth'),
1946
+ smalltalk.method({
1947
+ selector: unescape('maxDepth'),
1948
+ fn: function (){
1949
+ var self=this;
1950
+ return (2);
1951
+ return self;}
1952
+ }),
1953
+ smalltalk.MaglevArrayInline);
1954
+
1955
+ smalltalk.addMethod(
1956
+ unescape('_maxElements'),
1957
+ smalltalk.method({
1958
+ selector: unescape('maxElements'),
1959
+ fn: function (){
1960
+ var self=this;
1961
+ return (3);
1962
+ return self;}
1963
+ }),
1964
+ smalltalk.MaglevArrayInline);
1965
+
1966
+ smalltalk.addMethod(
1967
+ unescape('_renderLoadedObjectOn_'),
1968
+ smalltalk.method({
1969
+ selector: unescape('renderLoadedObjectOn%3A'),
1970
+ fn: function (html){
1971
+ var self=this;
1972
+ var showElements=nil;
1973
+ var maxElements=nil;
1974
+ (maxElements=smalltalk.send(self, "_maxElements", []));
1975
+ (showElements=smalltalk.send(maxElements, "_min_", [smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])]));
1976
+ smalltalk.send(self, "_renderText_withDropDownOn_", [unescape("%5B"), html]);
1977
+ smalltalk.send(html, "_with_", [" "]);
1978
+ ((($receiver = smalltalk.send(self, "_isShort", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [" ... "]);})() : (function(){smalltalk.send(smalltalk.send((1), "_to_", [showElements]), "_do_", [(function(idx){smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_object", []), "_at_", [idx]), "_inlineViewComponentWithDepth_", [((($receiver = smalltalk.send(self, "_depth", [])).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)]))])]);return ((($receiver = smalltalk.send(((($receiver = idx).klass === smalltalk.Number) ? $receiver <showElements : smalltalk.send($receiver, "__lt", [showElements])), "_or_", [(function(){return ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >maxElements : smalltalk.send($receiver, "__gt", [maxElements]));})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [unescape("%20%2C%20")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [unescape("%20%2C%20")]);})]));})]);return ((($receiver = ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >maxElements : smalltalk.send($receiver, "__gt", [maxElements]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [" ... "]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [" ... "]);})]));})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(html, "_with_", [" ... "]);}), (function(){smalltalk.send(smalltalk.send((1), "_to_", [showElements]), "_do_", [(function(idx){smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(self, "_object", []), "_at_", [idx]), "_inlineViewComponentWithDepth_", [((($receiver = smalltalk.send(self, "_depth", [])).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)]))])]);return ((($receiver = smalltalk.send(((($receiver = idx).klass === smalltalk.Number) ? $receiver <showElements : smalltalk.send($receiver, "__lt", [showElements])), "_or_", [(function(){return ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >maxElements : smalltalk.send($receiver, "__gt", [maxElements]));})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [unescape("%20%2C%20")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [unescape("%20%2C%20")]);})]));})]);return ((($receiver = ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >maxElements : smalltalk.send($receiver, "__gt", [maxElements]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [" ... "]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [" ... "]);})]));})]));
1979
+ smalltalk.send(html, "_with_", [" "]);
1980
+ smalltalk.send(self, "_renderText_withDropDownOn_", [unescape("%5D"), html]);
1981
+ return self;}
1982
+ }),
1983
+ smalltalk.MaglevArrayInline);
1984
+
1985
+ smalltalk.addMethod(
1986
+ unescape('_renderObjectWithDropDownOn_'),
1987
+ smalltalk.method({
1988
+ selector: unescape('renderObjectWithDropDownOn%3A'),
1989
+ fn: function (html){
1990
+ var self=this;
1991
+ smalltalk.send(self, "_renderObjectOn_", [html]);
1992
+ return self;}
1993
+ }),
1994
+ smalltalk.MaglevArrayInline);
1995
+
1996
+ smalltalk.addMethod(
1997
+ unescape('_renderUnloadedObjectOn_'),
1998
+ smalltalk.method({
1999
+ selector: unescape('renderUnloadedObjectOn%3A'),
2000
+ fn: function (html){
2001
+ var self=this;
2002
+ smalltalk.send(self, "_renderText_withDropDownOn_", [unescape("%5B"), html]);
2003
+ smalltalk.send(html, "_with_", ["..."]);
2004
+ smalltalk.send(self, "_renderText_withDropDownOn_", [unescape("%5D"), html]);
2005
+ return self;}
2006
+ }),
2007
+ smalltalk.MaglevArrayInline);
2008
+
2009
+
2010
+
2011
+ smalltalk.addClass('MaglevBooleanInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2012
+ smalltalk.addMethod(
2013
+ unescape('_hasDropDownDefault'),
2014
+ smalltalk.method({
2015
+ selector: unescape('hasDropDownDefault'),
2016
+ fn: function (){
2017
+ var self=this;
2018
+ return false;
2019
+ return self;}
2020
+ }),
2021
+ smalltalk.MaglevBooleanInline);
2022
+
2023
+ smalltalk.addMethod(
2024
+ unescape('_isDraggableDefault'),
2025
+ smalltalk.method({
2026
+ selector: unescape('isDraggableDefault'),
2027
+ fn: function (){
2028
+ var self=this;
2029
+ return false;
2030
+ return self;}
2031
+ }),
2032
+ smalltalk.MaglevBooleanInline);
2033
+
2034
+
2035
+
2036
+ smalltalk.addClass('MaglevExceptionInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2037
+ smalltalk.addMethod(
2038
+ unescape('_renderObjectActionsOn_'),
2039
+ smalltalk.method({
2040
+ selector: unescape('renderObjectActionsOn%3A'),
2041
+ fn: function (html){
2042
+ var self=this;
2043
+ ((($receiver = smalltalk.send(self['@object'], "_isTrappable", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_terminal", []), "_caption_", ["Not trappable"])]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_terminal", []), "_caption_", ["Not trappable"])]);})]));
2044
+ ((($receiver = smalltalk.send(self['@object'], "_isResumable", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_playCircle", []), "_caption_", ["Resumable"])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_playCircle", []), "_caption_", ["Resumable"])]);})]));
2045
+ ((($receiver = smalltalk.send(self['@object'], "_isDBEHalt", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_flag", []), "_caption_", ["Database Explorer Halt"])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_flag", []), "_caption_", ["Database Explorer Halt"])]);})]));
2046
+ return self;}
2047
+ }),
2048
+ smalltalk.MaglevExceptionInline);
2049
+
2050
+
2051
+
2052
+ smalltalk.addClass('MaglevFixnumInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2053
+ smalltalk.addMethod(
2054
+ unescape('_hasDropDownDefault'),
2055
+ smalltalk.method({
2056
+ selector: unescape('hasDropDownDefault'),
2057
+ fn: function (){
2058
+ var self=this;
2059
+ return false;
2060
+ return self;}
2061
+ }),
2062
+ smalltalk.MaglevFixnumInline);
2063
+
2064
+ smalltalk.addMethod(
2065
+ unescape('_isDraggableDefault'),
2066
+ smalltalk.method({
2067
+ selector: unescape('isDraggableDefault'),
2068
+ fn: function (){
2069
+ var self=this;
2070
+ return false;
2071
+ return self;}
2072
+ }),
2073
+ smalltalk.MaglevFixnumInline);
2074
+
2075
+ smalltalk.addMethod(
2076
+ unescape('_renderObjectActionsOn_'),
2077
+ smalltalk.method({
2078
+ selector: unescape('renderObjectActionsOn%3A'),
2079
+ fn: function (html){
2080
+ var self=this;
2081
+
2082
+ return self;}
2083
+ }),
2084
+ smalltalk.MaglevFixnumInline);
2085
+
2086
+
2087
+
2088
+ smalltalk.addClass('MaglevFloatInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2089
+ smalltalk.addMethod(
2090
+ unescape('_hasDropDownDefault'),
2091
+ smalltalk.method({
2092
+ selector: unescape('hasDropDownDefault'),
2093
+ fn: function (){
2094
+ var self=this;
2095
+ return false;
2096
+ return self;}
2097
+ }),
2098
+ smalltalk.MaglevFloatInline);
2099
+
2100
+ smalltalk.addMethod(
2101
+ unescape('_isDraggableDefault'),
2102
+ smalltalk.method({
2103
+ selector: unescape('isDraggableDefault'),
2104
+ fn: function (){
2105
+ var self=this;
2106
+ return false;
2107
+ return self;}
2108
+ }),
2109
+ smalltalk.MaglevFloatInline);
2110
+
2111
+ smalltalk.addMethod(
2112
+ unescape('_renderObjectActionsOn_'),
2113
+ smalltalk.method({
2114
+ selector: unescape('renderObjectActionsOn%3A'),
2115
+ fn: function (html){
2116
+ var self=this;
2117
+
2118
+ return self;}
2119
+ }),
2120
+ smalltalk.MaglevFloatInline);
2121
+
2122
+
2123
+
2124
+ smalltalk.addClass('MaglevHashInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2125
+ smalltalk.addMethod(
2126
+ unescape('_maxDepth'),
2127
+ smalltalk.method({
2128
+ selector: unescape('maxDepth'),
2129
+ fn: function (){
2130
+ var self=this;
2131
+ return (2);
2132
+ return self;}
2133
+ }),
2134
+ smalltalk.MaglevHashInline);
2135
+
2136
+ smalltalk.addMethod(
2137
+ unescape('_maxElements'),
2138
+ smalltalk.method({
2139
+ selector: unescape('maxElements'),
2140
+ fn: function (){
2141
+ var self=this;
2142
+ return (3);
2143
+ return self;}
2144
+ }),
2145
+ smalltalk.MaglevHashInline);
2146
+
2147
+ smalltalk.addMethod(
2148
+ unescape('_renderLoadedObjectOn_'),
2149
+ smalltalk.method({
2150
+ selector: unescape('renderLoadedObjectOn%3A'),
2151
+ fn: function (html){
2152
+ var self=this;
2153
+ var showElements=nil;
2154
+ var maxElements=nil;
2155
+ (maxElements=smalltalk.send(self, "_maxElements", []));
2156
+ (showElements=smalltalk.send(maxElements, "_min_", [smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])]));
2157
+ smalltalk.send(self, "_renderText_withDropDownOn_", [unescape("%7B"), html]);
2158
+ smalltalk.send(html, "_with_", [" "]);
2159
+ ((($receiver = smalltalk.send(self, "_isShort", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [" ... "]);})() : (function(){smalltalk.send(smalltalk.send((1), "_to_", [showElements]), "_do_", [(function(idx){var key=nil;
2160
+ var value=nil;
2161
+ (key=smalltalk.send(smalltalk.send(smalltalk.send(self, "_object", []), "_at_", [idx]), "_key", []));(value=smalltalk.send(smalltalk.send(smalltalk.send(self, "_object", []), "_at_", [idx]), "_value", []));(function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(key, "_inlineViewComponentWithDepth_", [((($receiver = smalltalk.send(self, "_depth", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]))])]);smalltalk.send($rec, "_with_", [unescape("%3D%3E")]);return smalltalk.send($rec, "_with_", [smalltalk.send(value, "_inlineViewComponentWithDepth_", [((($receiver = smalltalk.send(self, "_depth", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]))])]);})(html);return ((($receiver = smalltalk.send(((($receiver = idx).klass === smalltalk.Number) ? $receiver <showElements : smalltalk.send($receiver, "__lt", [showElements])), "_or_", [(function(){return ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >maxElements : smalltalk.send($receiver, "__gt", [maxElements]));})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [unescape("%20%2C%20")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [unescape("%20%2C%20")]);})]));})]);return ((($receiver = ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >maxElements : smalltalk.send($receiver, "__gt", [maxElements]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [" ... "]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [" ... "]);})]));})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(html, "_with_", [" ... "]);}), (function(){smalltalk.send(smalltalk.send((1), "_to_", [showElements]), "_do_", [(function(idx){var key=nil;
2162
+ var value=nil;
2163
+ (key=smalltalk.send(smalltalk.send(smalltalk.send(self, "_object", []), "_at_", [idx]), "_key", []));(value=smalltalk.send(smalltalk.send(smalltalk.send(self, "_object", []), "_at_", [idx]), "_value", []));(function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(key, "_inlineViewComponentWithDepth_", [((($receiver = smalltalk.send(self, "_depth", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]))])]);smalltalk.send($rec, "_with_", [unescape("%3D%3E")]);return smalltalk.send($rec, "_with_", [smalltalk.send(value, "_inlineViewComponentWithDepth_", [((($receiver = smalltalk.send(self, "_depth", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]))])]);})(html);return ((($receiver = smalltalk.send(((($receiver = idx).klass === smalltalk.Number) ? $receiver <showElements : smalltalk.send($receiver, "__lt", [showElements])), "_or_", [(function(){return ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >maxElements : smalltalk.send($receiver, "__gt", [maxElements]));})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [unescape("%20%2C%20")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [unescape("%20%2C%20")]);})]));})]);return ((($receiver = ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_elementsSize", [])).klass === smalltalk.Number) ? $receiver >maxElements : smalltalk.send($receiver, "__gt", [maxElements]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [" ... "]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [" ... "]);})]));})]));
2164
+ smalltalk.send(html, "_with_", [" "]);
2165
+ smalltalk.send(self, "_renderText_withDropDownOn_", [unescape("%7D"), html]);
2166
+ return self;}
2167
+ }),
2168
+ smalltalk.MaglevHashInline);
2169
+
2170
+ smalltalk.addMethod(
2171
+ unescape('_renderObjectWithDropDownOn_'),
2172
+ smalltalk.method({
2173
+ selector: unescape('renderObjectWithDropDownOn%3A'),
2174
+ fn: function (html){
2175
+ var self=this;
2176
+ smalltalk.send(self, "_renderObjectOn_", [html]);
2177
+ return self;}
2178
+ }),
2179
+ smalltalk.MaglevHashInline);
2180
+
2181
+ smalltalk.addMethod(
2182
+ unescape('_renderUnloadedObjectOn_'),
2183
+ smalltalk.method({
2184
+ selector: unescape('renderUnloadedObjectOn%3A'),
2185
+ fn: function (html){
2186
+ var self=this;
2187
+ smalltalk.send(self, "_renderText_withDropDownOn_", [unescape("%7B"), html]);
2188
+ smalltalk.send(html, "_with_", ["..."]);
2189
+ smalltalk.send(self, "_renderText_withDropDownOn_", [unescape("%7D"), html]);
2190
+ return self;}
2191
+ }),
2192
+ smalltalk.MaglevHashInline);
2193
+
2194
+
2195
+
2196
+ smalltalk.addClass('MaglevMaglevRecordBaseInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2197
+ smalltalk.addMethod(
2198
+ unescape('_renderObjectActionsOn_'),
2199
+ smalltalk.method({
2200
+ selector: unescape('renderObjectActionsOn%3A'),
2201
+ fn: function (html){
2202
+ var self=this;
2203
+ smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_hdd", []), "_caption_", ["MaglevRecord::Base"])]);
2204
+ return self;}
2205
+ }),
2206
+ smalltalk.MaglevMaglevRecordBaseInline);
2207
+
2208
+
2209
+
2210
+ smalltalk.addClass('MaglevModuleInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2211
+ smalltalk.addMethod(
2212
+ unescape('_maxDepth'),
2213
+ smalltalk.method({
2214
+ selector: unescape('maxDepth'),
2215
+ fn: function (){
2216
+ var self=this;
2217
+ return (1);
2218
+ return self;}
2219
+ }),
2220
+ smalltalk.MaglevModuleInline);
2221
+
2222
+
2223
+
2224
+ smalltalk.addClass('MaglevClassInline', smalltalk.MaglevModuleInline, [], 'Maglev-Database-Explorer');
2225
+ smalltalk.addMethod(
2226
+ unescape('_maxDepth'),
2227
+ smalltalk.method({
2228
+ selector: unescape('maxDepth'),
2229
+ fn: function (){
2230
+ var self=this;
2231
+ return (1);
2232
+ return self;}
2233
+ }),
2234
+ smalltalk.MaglevClassInline);
2235
+
2236
+ smalltalk.addMethod(
2237
+ unescape('_renderObjectActionsOn_'),
2238
+ smalltalk.method({
2239
+ selector: unescape('renderObjectActionsOn%3A'),
2240
+ fn: function (html){
2241
+ var self=this;
2242
+ smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_listAlt", []), "_caption_", ["List class instances"])]);
2243
+ return self;}
2244
+ }),
2245
+ smalltalk.MaglevClassInline);
2246
+
2247
+
2248
+
2249
+ smalltalk.addClass('MaglevNilClassInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2250
+ smalltalk.addMethod(
2251
+ unescape('_hasDropDownDefault'),
2252
+ smalltalk.method({
2253
+ selector: unescape('hasDropDownDefault'),
2254
+ fn: function (){
2255
+ var self=this;
2256
+ return false;
2257
+ return self;}
2258
+ }),
2259
+ smalltalk.MaglevNilClassInline);
2260
+
2261
+ smalltalk.addMethod(
2262
+ unescape('_isDraggableDefault'),
2263
+ smalltalk.method({
2264
+ selector: unescape('isDraggableDefault'),
2265
+ fn: function (){
2266
+ var self=this;
2267
+ return false;
2268
+ return self;}
2269
+ }),
2270
+ smalltalk.MaglevNilClassInline);
2271
+
2272
+
2273
+
2274
+ smalltalk.addClass('MaglevRubyWorkspaceInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2275
+ smalltalk.addMethod(
2276
+ unescape('_renderObjectActionsOn_'),
2277
+ smalltalk.method({
2278
+ selector: unescape('renderObjectActionsOn%3A'),
2279
+ fn: function (html){
2280
+ var self=this;
2281
+ smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_terminal", []), "_caption_", ["Workspace"])]);
2282
+ return self;}
2283
+ }),
2284
+ smalltalk.MaglevRubyWorkspaceInline);
2285
+
2286
+
2287
+
2288
+ smalltalk.addClass('MaglevStringInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2289
+ smalltalk.addMethod(
2290
+ unescape('_hasDropDownDefault'),
2291
+ smalltalk.method({
2292
+ selector: unescape('hasDropDownDefault'),
2293
+ fn: function (){
2294
+ var self=this;
2295
+ return false;
2296
+ return self;}
2297
+ }),
2298
+ smalltalk.MaglevStringInline);
2299
+
2300
+ smalltalk.addMethod(
2301
+ unescape('_isDraggableDefault'),
2302
+ smalltalk.method({
2303
+ selector: unescape('isDraggableDefault'),
2304
+ fn: function (){
2305
+ var self=this;
2306
+ return false;
2307
+ return self;}
2308
+ }),
2309
+ smalltalk.MaglevStringInline);
2310
+
2311
+
2312
+
2313
+ smalltalk.addClass('MaglevSymbolInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2314
+ smalltalk.addMethod(
2315
+ unescape('_hasDropDownDefault'),
2316
+ smalltalk.method({
2317
+ selector: unescape('hasDropDownDefault'),
2318
+ fn: function (){
2319
+ var self=this;
2320
+ return false;
2321
+ return self;}
2322
+ }),
2323
+ smalltalk.MaglevSymbolInline);
2324
+
2325
+ smalltalk.addMethod(
2326
+ unescape('_isDraggableDefault'),
2327
+ smalltalk.method({
2328
+ selector: unescape('isDraggableDefault'),
2329
+ fn: function (){
2330
+ var self=this;
2331
+ return false;
2332
+ return self;}
2333
+ }),
2334
+ smalltalk.MaglevSymbolInline);
2335
+
2336
+
2337
+
2338
+ smalltalk.addClass('MaglevThreadInline', smalltalk.MaglevObjectInline, [], 'Maglev-Database-Explorer');
2339
+ smalltalk.addMethod(
2340
+ unescape('_maxInspection'),
2341
+ smalltalk.method({
2342
+ selector: unescape('maxInspection'),
2343
+ fn: function (){
2344
+ var self=this;
2345
+ return (25);
2346
+ return self;}
2347
+ }),
2348
+ smalltalk.MaglevThreadInline);
2349
+
2350
+ smalltalk.addMethod(
2351
+ unescape('_renderObjectActionsOn_'),
2352
+ smalltalk.method({
2353
+ selector: unescape('renderObjectActionsOn%3A'),
2354
+ fn: function (html){
2355
+ var self=this;
2356
+ ((($receiver = smalltalk.send(self['@object'], "_isRailsThread", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_rails", [])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_rails", [])]);})]));
2357
+ ((($receiver = smalltalk.send(smalltalk.send(self['@object'], "_status", []), "__eq", ["sleep"])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_pause", []), "_caption_", ["Thread status: sleeping"])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_pause", []), "_caption_", ["Thread status: sleeping"])]);})]));
2358
+ ((($receiver = smalltalk.send(smalltalk.send(self['@object'], "_status", []), "__eq", ["false"])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_stop", []), "_caption_", [unescape("Thread%20status%3A%20stopped%20%28false%29")])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_stop", []), "_caption_", [unescape("Thread%20status%3A%20stopped%20%28false%29")])]);})]));
2359
+ ((($receiver = smalltalk.send(smalltalk.send(self['@object'], "_status", []), "__eq", ["run"])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_play", []), "_caption_", ["Thread status: running"])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_play", []), "_caption_", ["Thread status: running"])]);})]));
2360
+ ((($receiver = smalltalk.send(smalltalk.send(self['@object'], "_status", []), "__eq", ["aborting"])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_trash", []), "_caption_", ["Thread status: aborting"])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send(smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_trash", []), "_caption_", ["Thread status: aborting"])]);})]));
2361
+ return self;}
2362
+ }),
2363
+ smalltalk.MaglevThreadInline);
2364
+
2365
+
2366
+
2367
+ smalltalk.addClass('MaglevObjectInstancesView', smalltalk.Widget, ['object', 'rangeFrom', 'rangeTo', 'instancesWaitBox', 'contentBox'], 'Maglev-Database-Explorer');
2368
+ smalltalk.addMethod(
2369
+ unescape('_currentInstVarNames'),
2370
+ smalltalk.method({
2371
+ selector: unescape('currentInstVarNames'),
2372
+ fn: function (){
2373
+ var self=this;
2374
+ var ivNames=nil;
2375
+ (ivNames=smalltalk.send((smalltalk.Set || Set), "_new", []));
2376
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_rangeFrom", []), "_to_", [smalltalk.send(self, "_rangeTo", [])]), "_do_", [(function(idx){var obj=nil;
2377
+ (obj=smalltalk.send(self, "_objectAt_", [idx]));return smalltalk.send(obj, "_instVarsDo_", [(function(key, value){return smalltalk.send(ivNames, "_add_", [smalltalk.send(key, "_string", [])]);})]);})]);
2378
+ return ivNames;
2379
+ return self;}
2380
+ }),
2381
+ smalltalk.MaglevObjectInstancesView);
2382
+
2383
+ smalltalk.addMethod(
2384
+ unescape('_currentPage'),
2385
+ smalltalk.method({
2386
+ selector: unescape('currentPage'),
2387
+ fn: function (){
2388
+ var self=this;
2389
+ return smalltalk.send(((($receiver = smalltalk.send(self, "_rangeFrom", [])).klass === smalltalk.Number) ? $receiver /(10) : smalltalk.send($receiver, "__slash", [(10)])), "_ceiled", []);
2390
+ return self;}
2391
+ }),
2392
+ smalltalk.MaglevObjectInstancesView);
2393
+
2394
+ smalltalk.addMethod(
2395
+ unescape('_object'),
2396
+ smalltalk.method({
2397
+ selector: unescape('object'),
2398
+ fn: function (){
2399
+ var self=this;
2400
+ return self['@object'];
2401
+ return self;}
2402
+ }),
2403
+ smalltalk.MaglevObjectInstancesView);
2404
+
2405
+ smalltalk.addMethod(
2406
+ unescape('_object_'),
2407
+ smalltalk.method({
2408
+ selector: unescape('object%3A'),
2409
+ fn: function (anObject){
2410
+ var self=this;
2411
+ (self['@object']=anObject);
2412
+ return self;}
2413
+ }),
2414
+ smalltalk.MaglevObjectInstancesView);
2415
+
2416
+ smalltalk.addMethod(
2417
+ unescape('_objectAt_'),
2418
+ smalltalk.method({
2419
+ selector: unescape('objectAt%3A'),
2420
+ fn: function (anIndex){
2421
+ var self=this;
2422
+ return smalltalk.send(smalltalk.send(self['@object'], "_instances", []), "_at_", [anIndex]);
2423
+ return self;}
2424
+ }),
2425
+ smalltalk.MaglevObjectInstancesView);
2426
+
2427
+ smalltalk.addMethod(
2428
+ unescape('_pages'),
2429
+ smalltalk.method({
2430
+ selector: unescape('pages'),
2431
+ fn: function (){
2432
+ var self=this;
2433
+ return smalltalk.send(((($receiver = smalltalk.send(self['@object'], "_instancesSize", [])).klass === smalltalk.Number) ? $receiver /(10) : smalltalk.send($receiver, "__slash", [(10)])), "_ceiled", []);
2434
+ return self;}
2435
+ }),
2436
+ smalltalk.MaglevObjectInstancesView);
2437
+
2438
+ smalltalk.addMethod(
2439
+ unescape('_rangeFrom'),
2440
+ smalltalk.method({
2441
+ selector: unescape('rangeFrom'),
2442
+ fn: function (){
2443
+ var self=this;
2444
+ (($receiver = self['@rangeFrom']) == nil || $receiver == undefined) ? (function(){return (self['@rangeFrom']=(1));})() : $receiver;
2445
+ return self['@rangeFrom'];
2446
+ return self;}
2447
+ }),
2448
+ smalltalk.MaglevObjectInstancesView);
2449
+
2450
+ smalltalk.addMethod(
2451
+ unescape('_rangeFrom_'),
2452
+ smalltalk.method({
2453
+ selector: unescape('rangeFrom%3A'),
2454
+ fn: function (anInteger){
2455
+ var self=this;
2456
+ (self['@rangeFrom']=anInteger);
2457
+ return self;}
2458
+ }),
2459
+ smalltalk.MaglevObjectInstancesView);
2460
+
2461
+ smalltalk.addMethod(
2462
+ unescape('_rangeTo'),
2463
+ smalltalk.method({
2464
+ selector: unescape('rangeTo'),
2465
+ fn: function (){
2466
+ var self=this;
2467
+ (($receiver = self['@rangeTo']) == nil || $receiver == undefined) ? (function(){return (self['@rangeTo']=(10));})() : $receiver;
2468
+ (($receiver = smalltalk.send(self['@object'], "_instancesSize", [])) != nil && $receiver != undefined) ? (function(){return (self['@rangeTo']=smalltalk.send(self['@rangeTo'], "_min_", [smalltalk.send(self['@object'], "_instancesSize", [])]));})() : nil;
2469
+ return self['@rangeTo'];
2470
+ return self;}
2471
+ }),
2472
+ smalltalk.MaglevObjectInstancesView);
2473
+
2474
+ smalltalk.addMethod(
2475
+ unescape('_rangeTo_'),
2476
+ smalltalk.method({
2477
+ selector: unescape('rangeTo%3A'),
2478
+ fn: function (anInteger){
2479
+ var self=this;
2480
+ (self['@rangeTo']=anInteger);
2481
+ (($receiver = smalltalk.send(self['@object'], "_instancesSize", [])) != nil && $receiver != undefined) ? (function(){return (self['@rangeTo']=smalltalk.send(self['@rangeTo'], "_min_", [smalltalk.send(self['@object'], "_instancesSize", [])]));})() : nil;
2482
+ return self;}
2483
+ }),
2484
+ smalltalk.MaglevObjectInstancesView);
2485
+
2486
+ smalltalk.addMethod(
2487
+ unescape('_renderInstVarTable'),
2488
+ smalltalk.method({
2489
+ selector: unescape('renderInstVarTable'),
2490
+ fn: function (){
2491
+ var self=this;
2492
+ var html=nil;
2493
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@contentBox'], "_asJQuery", [])]));
2494
+ smalltalk.send(smalltalk.send(self['@contentBox'], "_asJQuery", []), "_empty", []);
2495
+ smalltalk.send(self['@instancesWaitBox'], "_show", []);
2496
+ smalltalk.send(self['@object'], "_loadInstancesFrom_to_withCallback_", [smalltalk.send(self, "_rangeFrom", []), smalltalk.send(self, "_rangeTo", []), (function(obj){var ivNames=nil;
2497
+ smalltalk.send(self['@instancesWaitBox'], "_hide", []);(self['@object']=obj);(ivNames=smalltalk.send(self, "_currentInstVarNames", []));(function($rec){smalltalk.send($rec, "_class_", [unescape("table%20table-bordered")]);smalltalk.send($rec, "_style_", [unescape("margin-bottom%3A%200px%3B")]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_thead", []), "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_tr", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_th", []), "_with_", ["oop"]);smalltalk.send(smalltalk.send(html, "_th", []), "_with_", ["Object"]);return smalltalk.send(ivNames, "_do_", [(function(ivName){return smalltalk.send(smalltalk.send(html, "_th", []), "_with_", [ivName]);})]);})]);})]);return smalltalk.send(smalltalk.send(html, "_tbody", []), "_with_", [(function(){return smalltalk.send(smalltalk.send(self['@object'], "_instances", []), "_do_", [(function(obj){return smalltalk.send(smalltalk.send(html, "_tr", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [smalltalk.send(obj, "_oop", [])]);smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [smalltalk.send(obj, "_inlineViewComponent", [])]);return smalltalk.send(ivNames, "_do_", [(function(ivName){return smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [smalltalk.send(smalltalk.send(obj, "_instVarAt_ifAbsent_", [ivName, smalltalk.send((smalltalk.MaglevInvalidObject || MaglevInvalidObject), "_instance", [])]), "_inlineViewComponent", [])]);})]);})]);})]);})]);})]);})(smalltalk.send(html, "_table", []));smalltalk.send(self, "_renderPaginationOn_", [html]);return smalltalk.send(self['@instancesWaitBox'], "_hide", []);})]);
2498
+ return self;}
2499
+ }),
2500
+ smalltalk.MaglevObjectInstancesView);
2501
+
2502
+ smalltalk.addMethod(
2503
+ unescape('_renderOn_'),
2504
+ smalltalk.method({
2505
+ selector: unescape('renderOn%3A'),
2506
+ fn: function (html){
2507
+ var self=this;
2508
+ (self['@instancesWaitBox']=smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);return smalltalk.send($rec, "_with_", [" loading..."]);})(html);})]));
2509
+ (self['@contentBox']=smalltalk.send(html, "_div", []));
2510
+ smalltalk.send(self, "_renderInstVarTable", []);
2511
+ return self;}
2512
+ }),
2513
+ smalltalk.MaglevObjectInstancesView);
2514
+
2515
+ smalltalk.addMethod(
2516
+ unescape('_renderPaginationOn_'),
2517
+ smalltalk.method({
2518
+ selector: unescape('renderPaginationOn%3A'),
2519
+ fn: function (html){
2520
+ var self=this;
2521
+ var firstPage=nil;
2522
+ var lastPage=nil;
2523
+ var currentPage=nil;
2524
+ (currentPage=smalltalk.send(self, "_currentPage", []));
2525
+ (firstPage=smalltalk.send(((($receiver = currentPage).klass === smalltalk.Number) ? $receiver -(5) : smalltalk.send($receiver, "__minus", [(5)])), "_max_", [(1)]));
2526
+ (lastPage=smalltalk.send(((($receiver = firstPage).klass === smalltalk.Number) ? $receiver +(10) : smalltalk.send($receiver, "__plus", [(10)])), "_min_", [smalltalk.send(self, "_pages", [])]));
2527
+ (function($rec){smalltalk.send($rec, "_style_", [unescape("text-align%3A%20center%3B")]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["pagination"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_style_", [unescape("margin-top%3A%2010px%3B")]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(firstPage, "_to_", [lastPage]), "_do_", [(function(index){var liClass=nil;
2528
+ ((($receiver = smalltalk.send(currentPage, "__eq", [index])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (liClass="disabled");})() : (function(){return (liClass="active");})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (liClass="disabled");}), (function(){return (liClass="active");})]));return (function($rec){smalltalk.send($rec, "_class_", [liClass]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_onClick_", [(function(){smalltalk.send(self, "_rangeFrom_", [((($receiver = ((($receiver = ((($receiver = index).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)]))).klass === smalltalk.Number) ? $receiver *(10) : smalltalk.send($receiver, "__star", [(10)]))).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]))]);smalltalk.send(self, "_rangeTo_", [((($receiver = index).klass === smalltalk.Number) ? $receiver *(10) : smalltalk.send($receiver, "__star", [(10)]))]);return smalltalk.send(self, "_renderInstVarTable", []);})]);return smalltalk.send($rec, "_with_", [smalltalk.send(index, "_asString", [])]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_li", []));})]);})]);})(smalltalk.send(html, "_ul", []));})]);})(smalltalk.send(html, "_span", []));})]);})(smalltalk.send(html, "_div", []));
2529
+ return self;}
2530
+ }),
2531
+ smalltalk.MaglevObjectInstancesView);
2532
+
2533
+
2534
+
2535
+ smalltalk.addClass('MaglevTable', smalltalk.Widget, ['object', 'collectionName', 'rangeFrom', 'rangeTo', 'isAssociationDictionary', 'tableBody', 'currentPage', 'pageListItems', 'pagination'], 'Maglev-Database-Explorer');
2536
+ smalltalk.addMethod(
2537
+ unescape('_collection'),
2538
+ smalltalk.method({
2539
+ selector: unescape('collection'),
2540
+ fn: function (){
2541
+ var self=this;
2542
+ return smalltalk.send(self['@object'], "_perform_", [self['@collectionName']]);
2543
+ return self;}
2544
+ }),
2545
+ smalltalk.MaglevTable);
2546
+
2547
+ smalltalk.addMethod(
2548
+ unescape('_collectionName'),
2549
+ smalltalk.method({
2550
+ selector: unescape('collectionName'),
2551
+ fn: function (){
2552
+ var self=this;
2553
+ return self['@collectionName'];
2554
+ return self;}
2555
+ }),
2556
+ smalltalk.MaglevTable);
2557
+
2558
+ smalltalk.addMethod(
2559
+ unescape('_collectionName_'),
2560
+ smalltalk.method({
2561
+ selector: unescape('collectionName%3A'),
2562
+ fn: function (aString){
2563
+ var self=this;
2564
+ (self['@collectionName']=aString);
2565
+ return self;}
2566
+ }),
2567
+ smalltalk.MaglevTable);
2568
+
2569
+ smalltalk.addMethod(
2570
+ unescape('_collectionSize'),
2571
+ smalltalk.method({
2572
+ selector: unescape('collectionSize'),
2573
+ fn: function (){
2574
+ var self=this;
2575
+ return smalltalk.send(self['@object'], "_perform_", [smalltalk.send(self['@collectionName'], "__comma", ["Size"])]);
2576
+ return self;}
2577
+ }),
2578
+ smalltalk.MaglevTable);
2579
+
2580
+ smalltalk.addMethod(
2581
+ unescape('_currentPage'),
2582
+ smalltalk.method({
2583
+ selector: unescape('currentPage'),
2584
+ fn: function (){
2585
+ var self=this;
2586
+ (($receiver = self['@currentPage']) == nil || $receiver == undefined) ? (function(){return (self['@currentPage']=(1));})() : $receiver;
2587
+ return self['@currentPage'];
2588
+ return self;}
2589
+ }),
2590
+ smalltalk.MaglevTable);
2591
+
2592
+ smalltalk.addMethod(
2593
+ unescape('_isAssociationDictionary'),
2594
+ smalltalk.method({
2595
+ selector: unescape('isAssociationDictionary'),
2596
+ fn: function (){
2597
+ var self=this;
2598
+ (($receiver = self['@isAssociationDictionary']) == nil || $receiver == undefined) ? (function(){return (self['@isAssociationDictionary']=false);})() : $receiver;
2599
+ return self['@isAssociationDictionary'];
2600
+ return self;}
2601
+ }),
2602
+ smalltalk.MaglevTable);
2603
+
2604
+ smalltalk.addMethod(
2605
+ unescape('_isAssociationDictionary_'),
2606
+ smalltalk.method({
2607
+ selector: unescape('isAssociationDictionary%3A'),
2608
+ fn: function (aBoolean){
2609
+ var self=this;
2610
+ (self['@isAssociationDictionary']=aBoolean);
2611
+ return self;}
2612
+ }),
2613
+ smalltalk.MaglevTable);
2614
+
2615
+ smalltalk.addMethod(
2616
+ unescape('_object'),
2617
+ smalltalk.method({
2618
+ selector: unescape('object'),
2619
+ fn: function (){
2620
+ var self=this;
2621
+ return self['@object'];
2622
+ return self;}
2623
+ }),
2624
+ smalltalk.MaglevTable);
2625
+
2626
+ smalltalk.addMethod(
2627
+ unescape('_object_'),
2628
+ smalltalk.method({
2629
+ selector: unescape('object%3A'),
2630
+ fn: function (anObject){
2631
+ var self=this;
2632
+ (self['@object']=anObject);
2633
+ return self;}
2634
+ }),
2635
+ smalltalk.MaglevTable);
2636
+
2637
+ smalltalk.addMethod(
2638
+ unescape('_pageSize'),
2639
+ smalltalk.method({
2640
+ selector: unescape('pageSize'),
2641
+ fn: function (){
2642
+ var self=this;
2643
+ return (10);
2644
+ return self;}
2645
+ }),
2646
+ smalltalk.MaglevTable);
2647
+
2648
+ smalltalk.addMethod(
2649
+ unescape('_pages'),
2650
+ smalltalk.method({
2651
+ selector: unescape('pages'),
2652
+ fn: function (){
2653
+ var self=this;
2654
+ return smalltalk.send(((($receiver = smalltalk.send(self, "_collectionSize", [])).klass === smalltalk.Number) ? $receiver /smalltalk.send(self, "_pageSize", []) : smalltalk.send($receiver, "__slash", [smalltalk.send(self, "_pageSize", [])])), "_ceiled", []);
2655
+ return self;}
2656
+ }),
2657
+ smalltalk.MaglevTable);
2658
+
2659
+ smalltalk.addMethod(
2660
+ unescape('_rangeFrom'),
2661
+ smalltalk.method({
2662
+ selector: unescape('rangeFrom'),
2663
+ fn: function (){
2664
+ var self=this;
2665
+ (($receiver = self['@rangeFrom']) == nil || $receiver == undefined) ? (function(){return (self['@rangeFrom']=(1));})() : $receiver;
2666
+ return self['@rangeFrom'];
2667
+ return self;}
2668
+ }),
2669
+ smalltalk.MaglevTable);
2670
+
2671
+ smalltalk.addMethod(
2672
+ unescape('_rangeFrom_'),
2673
+ smalltalk.method({
2674
+ selector: unescape('rangeFrom%3A'),
2675
+ fn: function (anInteger){
2676
+ var self=this;
2677
+ (self['@rangeFrom']=anInteger);
2678
+ return self;}
2679
+ }),
2680
+ smalltalk.MaglevTable);
2681
+
2682
+ smalltalk.addMethod(
2683
+ unescape('_rangeTo'),
2684
+ smalltalk.method({
2685
+ selector: unescape('rangeTo'),
2686
+ fn: function (){
2687
+ var self=this;
2688
+ return smalltalk.send(((($receiver = ((($receiver = smalltalk.send(self, "_rangeFrom", [])).klass === smalltalk.Number) ? $receiver +smalltalk.send(self, "_pageSize", []) : smalltalk.send($receiver, "__plus", [smalltalk.send(self, "_pageSize", [])]))).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)])), "_min_", [smalltalk.send(self, "_collectionSize", [])]);
2689
+ return self;}
2690
+ }),
2691
+ smalltalk.MaglevTable);
2692
+
2693
+ smalltalk.addMethod(
2694
+ unescape('_renderAssociation_to_on_'),
2695
+ smalltalk.method({
2696
+ selector: unescape('renderAssociation%3Ato%3Aon%3A'),
2697
+ fn: function (key, value, html){
2698
+ var self=this;
2699
+ smalltalk.send(smalltalk.send(html, "_tr", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [smalltalk.send(key, "_inlineViewComponent", [])]);return smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [smalltalk.send(value, "_inlineViewComponent", [])]);})]);
2700
+ return self;}
2701
+ }),
2702
+ smalltalk.MaglevTable);
2703
+
2704
+ smalltalk.addMethod(
2705
+ unescape('_renderAssociationDictionaryBodyOn_'),
2706
+ smalltalk.method({
2707
+ selector: unescape('renderAssociationDictionaryBodyOn%3A'),
2708
+ fn: function (html){
2709
+ var self=this;
2710
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_rangeFrom", []), "_to_", [smalltalk.send(self, "_rangeTo", [])]), "_do_", [(function(idx){var obj=nil;
2711
+ (obj=smalltalk.send(smalltalk.send(self, "_collection", []), "_at_", [idx]));return smalltalk.send(smalltalk.send(html, "_tr", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [smalltalk.send(smalltalk.send(obj, "_key", []), "_inlineViewComponent", [])]);return smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [smalltalk.send(smalltalk.send(obj, "_value", []), "_inlineViewComponent", [])]);})]);})]);
2712
+ return self;}
2713
+ }),
2714
+ smalltalk.MaglevTable);
2715
+
2716
+ smalltalk.addMethod(
2717
+ unescape('_renderDictionaryBodyOn_'),
2718
+ smalltalk.method({
2719
+ selector: unescape('renderDictionaryBodyOn%3A'),
2720
+ fn: function (html){
2721
+ var self=this;
2722
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_rangeFrom", []), "_to_", [smalltalk.send(self, "_rangeTo", [])]), "_do_", [(function(idx){var obj=nil;
2723
+ (obj=smalltalk.send(smalltalk.send(self, "_collection", []), "_at_", [idx]));return smalltalk.send(smalltalk.send(html, "_tr", []), "_with_", [(function(){smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [smalltalk.send(idx, "_inlineViewComponent", [])]);return smalltalk.send(smalltalk.send(html, "_td", []), "_with_", [smalltalk.send(obj, "_inlineViewComponent", [])]);})]);})]);
2724
+ return self;}
2725
+ }),
2726
+ smalltalk.MaglevTable);
2727
+
2728
+ smalltalk.addMethod(
2729
+ unescape('_renderOn_'),
2730
+ smalltalk.method({
2731
+ selector: unescape('renderOn%3A'),
2732
+ fn: function (html){
2733
+ var self=this;
2734
+ var pagClass=nil;
2735
+ ((($receiver = smalltalk.send(smalltalk.send(self, "_pages", []), "__eq", [(1)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (pagClass=unescape("display%3A%20none%3B"));})() : (function(){return (pagClass="");})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (pagClass=unescape("display%3A%20none%3B"));}), (function(){return (pagClass="");})]));
2736
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("table%20table-bordered")]);smalltalk.send($rec, "_style_", [unescape("margin-bottom%3A%200px%3B")]);return smalltalk.send($rec, "_with_", [(function(){return (self['@tableBody']=smalltalk.send(html, "_tbody", []));})]);})(smalltalk.send(html, "_table", []));
2737
+ (function($rec){smalltalk.send($rec, "_style_", [unescape("text-align%3A%20center%3B")]);return smalltalk.send($rec, "_with_", [(function(){return (self['@pagination']=(function($rec){smalltalk.send($rec, "_class_", ["pagination"]);return smalltalk.send($rec, "_style_", [pagClass]);})(smalltalk.send(html, "_span", [])));})]);})(smalltalk.send(html, "_div", []));
2738
+ smalltalk.send(self, "_renderPagination", []);
2739
+ smalltalk.send(self, "_renderPage_", [(1)]);
2740
+ return self;}
2741
+ }),
2742
+ smalltalk.MaglevTable);
2743
+
2744
+ smalltalk.addMethod(
2745
+ unescape('_renderPage_'),
2746
+ smalltalk.method({
2747
+ selector: unescape('renderPage%3A'),
2748
+ fn: function (anInteger){
2749
+ var self=this;
2750
+ var html=nil;
2751
+ (self['@currentPage']=anInteger);
2752
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@tableBody'], "_asJQuery", [])]));
2753
+ (self['@rangeFrom']=((($receiver = ((($receiver = ((($receiver = anInteger).klass === smalltalk.Number) ? $receiver -(1) : smalltalk.send($receiver, "__minus", [(1)]))).klass === smalltalk.Number) ? $receiver *smalltalk.send(self, "_pageSize", []) : smalltalk.send($receiver, "__star", [smalltalk.send(self, "_pageSize", [])]))).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)])));
2754
+ smalltalk.send(smalltalk.send(self['@tableBody'], "_asJQuery", []), "_empty", []);
2755
+ (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);return smalltalk.send($rec, "_with_", [" loading..."]);})(html);
2756
+ smalltalk.send(self, "_renderPagination", []);
2757
+ smalltalk.send(self['@object'], "_ensureIsLoaded_from_to_withCallback_", [self['@collectionName'], self['@rangeFrom'], smalltalk.send(self, "_rangeTo", []), (function(){smalltalk.send(smalltalk.send(self['@tableBody'], "_asJQuery", []), "_empty", []);return smalltalk.send(self, "_renderTableBodyOn_", [smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@tableBody'], "_asJQuery", [])])]);})]);
2758
+ return self;}
2759
+ }),
2760
+ smalltalk.MaglevTable);
2761
+
2762
+ smalltalk.addMethod(
2763
+ unescape('_renderPagination'),
2764
+ smalltalk.method({
2765
+ selector: unescape('renderPagination'),
2766
+ fn: function (){
2767
+ var self=this;
2768
+ var firstPage=nil;
2769
+ var lastPage=nil;
2770
+ var html=nil;
2771
+ (self['@pageListItems']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
2772
+ (firstPage=smalltalk.send(((($receiver = smalltalk.send(self, "_currentPage", [])).klass === smalltalk.Number) ? $receiver -(5) : smalltalk.send($receiver, "__minus", [(5)])), "_max_", [(1)]));
2773
+ (lastPage=smalltalk.send(((($receiver = firstPage).klass === smalltalk.Number) ? $receiver +(10) : smalltalk.send($receiver, "__plus", [(10)])), "_min_", [smalltalk.send(self, "_pages", [])]));
2774
+ smalltalk.send(smalltalk.send(self['@pagination'], "_asJQuery", []), "_empty", []);
2775
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@pagination'], "_asJQuery", [])]));
2776
+ smalltalk.send(self['@pagination'], "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_style_", [unescape("margin-top%3A%2010px%3B")]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(firstPage, "_to_", [lastPage]), "_do_", [(function(index){var liClass=nil;
2777
+ ((($receiver = smalltalk.send(self['@currentPage'], "__eq", [index])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (liClass="disabled");})() : (function(){return (liClass="active");})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (liClass="disabled");}), (function(){return (liClass="active");})]));return (function($rec){smalltalk.send($rec, "_class_", [liClass]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_renderPage_", [index]);})]);return smalltalk.send($rec, "_with_", [smalltalk.send(index, "_asString", [])]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_li", []));})]);})]);})(smalltalk.send(html, "_ul", []));})]);
2778
+ return self;}
2779
+ }),
2780
+ smalltalk.MaglevTable);
2781
+
2782
+ smalltalk.addMethod(
2783
+ unescape('_renderTableBodyOn_'),
2784
+ smalltalk.method({
2785
+ selector: unescape('renderTableBodyOn%3A'),
2786
+ fn: function (html){
2787
+ var self=this;
2788
+ try{((($receiver = smalltalk.send(self, "_isAssociationDictionary", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self, "_renderAssociationDictionaryBodyOn_", [html]);return (function(){throw({name: 'stReturn', selector: '_renderTableBodyOn_', fn: function(){return self}})})();})() : (function(){smalltalk.send(self, "_renderDictionaryBodyOn_", [html]);return (function(){throw({name: 'stReturn', selector: '_renderTableBodyOn_', fn: function(){return self}})})();})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){smalltalk.send(self, "_renderAssociationDictionaryBodyOn_", [html]);return (function(){throw({name: 'stReturn', selector: '_renderTableBodyOn_', fn: function(){return self}})})();}), (function(){smalltalk.send(self, "_renderDictionaryBodyOn_", [html]);return (function(){throw({name: 'stReturn', selector: '_renderTableBodyOn_', fn: function(){return self}})})();})]));
2789
+ return self;
2790
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_renderTableBodyOn_'){return e.fn()} throw(e)}}
2791
+ }),
2792
+ smalltalk.MaglevTable);
2793
+
2794
+
2795
+ smalltalk.addMethod(
2796
+ unescape('_newAssociationDictFor_with_'),
2797
+ smalltalk.method({
2798
+ selector: unescape('newAssociationDictFor%3Awith%3A'),
2799
+ fn: function (anObject, aString){
2800
+ var self=this;
2801
+ return (function($rec){smalltalk.send($rec, "_object_", [anObject]);smalltalk.send($rec, "_collectionName_", [aString]);smalltalk.send($rec, "_isAssociationDictionary_", [true]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_basicNew", []));
2802
+ return self;}
2803
+ }),
2804
+ smalltalk.MaglevTable.klass);
2805
+
2806
+ smalltalk.addMethod(
2807
+ unescape('_newFor_with_'),
2808
+ smalltalk.method({
2809
+ selector: unescape('newFor%3Awith%3A'),
2810
+ fn: function (anObject, aString){
2811
+ var self=this;
2812
+ return (function($rec){smalltalk.send($rec, "_object_", [anObject]);smalltalk.send($rec, "_collectionName_", [aString]);smalltalk.send($rec, "_initialize", []);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_basicNew", []));
2813
+ return self;}
2814
+ }),
2815
+ smalltalk.MaglevTable.klass);
2816
+
2817
+
2818
+ smalltalk.addClass('MaglevWindow', smalltalk.Widget, ['container', 'navigationItem'], 'Maglev-Database-Explorer');
2819
+ smalltalk.addMethod(
2820
+ unescape('_appendToWorkspace'),
2821
+ smalltalk.method({
2822
+ selector: unescape('appendToWorkspace'),
2823
+ fn: function (){
2824
+ var self=this;
2825
+ smalltalk.send(self, "_renderOn_", [smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(unescape("%23workspace"), "_asJQuery", [])])]);
2826
+ return self;}
2827
+ }),
2828
+ smalltalk.MaglevWindow);
2829
+
2830
+ smalltalk.addMethod(
2831
+ unescape('_clear'),
2832
+ smalltalk.method({
2833
+ selector: unescape('clear'),
2834
+ fn: function (){
2835
+ var self=this;
2836
+ smalltalk.send(smalltalk.send(self['@container'], "_asJQuery", []), "_empty", []);
2837
+ return self;}
2838
+ }),
2839
+ smalltalk.MaglevWindow);
2840
+
2841
+ smalltalk.addMethod(
2842
+ unescape('_closeWindow'),
2843
+ smalltalk.method({
2844
+ selector: unescape('closeWindow'),
2845
+ fn: function (){
2846
+ var self=this;
2847
+ smalltalk.send((smalltalk.MaglevJsPlumb || MaglevJsPlumb), "_deleteEndpointsFor_", [smalltalk.send(self['@container'], "_asJQuery", [])]);
2848
+ smalltalk.send(smalltalk.send(self['@container'], "_asJQuery", []), "_remove", []);
2849
+ return self;}
2850
+ }),
2851
+ smalltalk.MaglevWindow);
2852
+
2853
+ smalltalk.addMethod(
2854
+ unescape('_connectTo_as_with_'),
2855
+ smalltalk.method({
2856
+ selector: unescape('connectTo%3Aas%3Awith%3A'),
2857
+ fn: function (aWindow, type, caption){
2858
+ var self=this;
2859
+ smalltalk.send((smalltalk.MaglevJsPlumb || MaglevJsPlumb), "_connectWindow_to_as_with_", [self, aWindow, type, caption]);
2860
+ return self;}
2861
+ }),
2862
+ smalltalk.MaglevWindow);
2863
+
2864
+ smalltalk.addMethod(
2865
+ unescape('_connectTo_with_'),
2866
+ smalltalk.method({
2867
+ selector: unescape('connectTo%3Awith%3A'),
2868
+ fn: function (aWindow, parameters){
2869
+ var self=this;
2870
+ smalltalk.send((smalltalk.MaglevJsPlumb || MaglevJsPlumb), "_connectWindow_to_with_", [self, aWindow, parameters]);
2871
+ return self;}
2872
+ }),
2873
+ smalltalk.MaglevWindow);
2874
+
2875
+ smalltalk.addMethod(
2876
+ unescape('_container'),
2877
+ smalltalk.method({
2878
+ selector: unescape('container'),
2879
+ fn: function (){
2880
+ var self=this;
2881
+ return self['@container'];
2882
+ return self;}
2883
+ }),
2884
+ smalltalk.MaglevWindow);
2885
+
2886
+ smalltalk.addMethod(
2887
+ unescape('_isWaitingWindow'),
2888
+ smalltalk.method({
2889
+ selector: unescape('isWaitingWindow'),
2890
+ fn: function (){
2891
+ var self=this;
2892
+ return false;
2893
+ return self;}
2894
+ }),
2895
+ smalltalk.MaglevWindow);
2896
+
2897
+ smalltalk.addMethod(
2898
+ unescape('_left_'),
2899
+ smalltalk.method({
2900
+ selector: unescape('left%3A'),
2901
+ fn: function (aValue){
2902
+ var self=this;
2903
+ smalltalk.send(self['@container'], "_left_", [aValue]);
2904
+ return self;}
2905
+ }),
2906
+ smalltalk.MaglevWindow);
2907
+
2908
+ smalltalk.addMethod(
2909
+ unescape('_moveToFront'),
2910
+ smalltalk.method({
2911
+ selector: unescape('moveToFront'),
2912
+ fn: function (){
2913
+ var self=this;
2914
+ smalltalk.send(smalltalk.send(self['@container'], "_asJQuery", []), "_css_data_", [unescape("z-index"), ((($receiver = smalltalk.send(smalltalk.send(self, "_class", []), "_highestZIndex", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]))]);
2915
+ return self;}
2916
+ }),
2917
+ smalltalk.MaglevWindow);
2918
+
2919
+ smalltalk.addMethod(
2920
+ unescape('_navigationItem'),
2921
+ smalltalk.method({
2922
+ selector: unescape('navigationItem'),
2923
+ fn: function (){
2924
+ var self=this;
2925
+ return self['@navigationItem'];
2926
+ return self;}
2927
+ }),
2928
+ smalltalk.MaglevWindow);
2929
+
2930
+ smalltalk.addMethod(
2931
+ unescape('_navigationItem_'),
2932
+ smalltalk.method({
2933
+ selector: unescape('navigationItem%3A'),
2934
+ fn: function (anObject){
2935
+ var self=this;
2936
+ (self['@navigationItem']=anObject);
2937
+ return self;}
2938
+ }),
2939
+ smalltalk.MaglevWindow);
2940
+
2941
+ smalltalk.addMethod(
2942
+ unescape('_prepareWindow'),
2943
+ smalltalk.method({
2944
+ selector: unescape('prepareWindow'),
2945
+ fn: function (){
2946
+ var self=this;
2947
+ smalltalk.send((smalltalk.MaglevJsPlumb || MaglevJsPlumb), "_prepareObject_", [smalltalk.send(self['@container'], "_asJQuery", [])]);
2948
+ (function($rec){smalltalk.send($rec, "_onMouseEnter_", [(function(){return smalltalk.send(self['@container'], "_removeClass_", [unescape("window-mouse-out")]);})]);return smalltalk.send($rec, "_onMouseLeave_", [(function(){return smalltalk.send(self['@container'], "_addClass_", [unescape("window-mouse-out")]);})]);})(self['@container']);
2949
+ return self;}
2950
+ }),
2951
+ smalltalk.MaglevWindow);
2952
+
2953
+ smalltalk.addMethod(
2954
+ unescape('_renderCloseButtonOn_'),
2955
+ smalltalk.method({
2956
+ selector: unescape('renderCloseButtonOn%3A'),
2957
+ fn: function (html){
2958
+ var self=this;
2959
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("display-inline-block")]);smalltalk.send($rec, "_style_", [unescape("float%3A%20right%3B%20margin-top%3A%203px%3B%20margin-left%3A%203px%3B")]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("%23")]);smalltalk.send($rec, "_class_", [unescape("window-close-button")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_closeWindow", []);})]);return smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_remove", [])]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_span", []));
2960
+ return self;}
2961
+ }),
2962
+ smalltalk.MaglevWindow);
2963
+
2964
+ smalltalk.addMethod(
2965
+ unescape('_renderHeightPlaceholderOn_'),
2966
+ smalltalk.method({
2967
+ selector: unescape('renderHeightPlaceholderOn%3A'),
2968
+ fn: function (html){
2969
+ var self=this;
2970
+ (function($rec){smalltalk.send($rec, "_style_", [unescape("visibility%3A%20hidden%3B")]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["btn"]);return smalltalk.send($rec, "_with_", ["a"]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_span", []));
2971
+ return self;}
2972
+ }),
2973
+ smalltalk.MaglevWindow);
2974
+
2975
+ smalltalk.addMethod(
2976
+ unescape('_renderHorziontalLineOn_'),
2977
+ smalltalk.method({
2978
+ selector: unescape('renderHorziontalLineOn%3A'),
2979
+ fn: function (html){
2980
+ var self=this;
2981
+ smalltalk.send(smalltalk.send(html, "_hr", []), "_style_", [unescape("margin%3A%2010px%3B")]);
2982
+ return self;}
2983
+ }),
2984
+ smalltalk.MaglevWindow);
2985
+
2986
+ smalltalk.addMethod(
2987
+ unescape('_renderNavigationOn_'),
2988
+ smalltalk.method({
2989
+ selector: unescape('renderNavigationOn%3A'),
2990
+ fn: function (html){
2991
+ var self=this;
2992
+ smalltalk.send(html, "_with_", ["New window"]);
2993
+ return self;}
2994
+ }),
2995
+ smalltalk.MaglevWindow);
2996
+
2997
+ smalltalk.addMethod(
2998
+ unescape('_renderOn_'),
2999
+ smalltalk.method({
3000
+ selector: unescape('renderOn%3A'),
3001
+ fn: function (html){
3002
+ var self=this;
3003
+ (($receiver = self['@container']) == nil || $receiver == undefined) ? (function(){(self['@container']=smalltalk.send(html, "_div", []));return smalltalk.send(self, "_prepareWindow", []);})() : $receiver;
3004
+ (function($rec){smalltalk.send($rec, "_class_", ["component window"]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["nowrap"]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(self, "_renderWindowTitleOn_", [html]);return smalltalk.send(self, "_renderWindowContentOn_", [html]);})]);})(smalltalk.send(html, "_div", []));})]);})(self['@container']);
3005
+ smalltalk.send(self['@container'], "_onMouseDown_", [(function(){return smalltalk.send(self, "_moveToFront", []);})]);
3006
+ smalltalk.send(self, "_moveToFront", []);
3007
+ return self;}
3008
+ }),
3009
+ smalltalk.MaglevWindow);
3010
+
3011
+ smalltalk.addMethod(
3012
+ unescape('_renderReplace'),
3013
+ smalltalk.method({
3014
+ selector: unescape('renderReplace'),
3015
+ fn: function (){
3016
+ var self=this;
3017
+ smalltalk.send(self, "_renderOn_", [smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@container'], "_asJQuery", [])])]);
3018
+ return self;}
3019
+ }),
3020
+ smalltalk.MaglevWindow);
3021
+
3022
+ smalltalk.addMethod(
3023
+ unescape('_renderWindowContentOn_'),
3024
+ smalltalk.method({
3025
+ selector: unescape('renderWindowContentOn%3A'),
3026
+ fn: function (html){
3027
+ var self=this;
3028
+
3029
+ return self;}
3030
+ }),
3031
+ smalltalk.MaglevWindow);
3032
+
3033
+ smalltalk.addMethod(
3034
+ unescape('_renderWindowTitleContentOn_'),
3035
+ smalltalk.method({
3036
+ selector: unescape('renderWindowTitleContentOn%3A'),
3037
+ fn: function (html){
3038
+ var self=this;
3039
+ smalltalk.send(html, "_with_", ["A new window"]);
3040
+ smalltalk.send(self, "_renderHeightPlaceholderOn_", [html]);
3041
+ smalltalk.send(self, "_renderCloseButtonOn_", [html]);
3042
+ return self;}
3043
+ }),
3044
+ smalltalk.MaglevWindow);
3045
+
3046
+ smalltalk.addMethod(
3047
+ unescape('_renderWindowTitleOn_'),
3048
+ smalltalk.method({
3049
+ selector: unescape('renderWindowTitleOn%3A'),
3050
+ fn: function (html){
3051
+ var self=this;
3052
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("window-title")]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("window-title-content")]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(self, "_renderWindowTitleContentOn_", [html]);})]);})(smalltalk.send(html, "_span", []));})]);})(smalltalk.send(html, "_div", []));
3053
+ return self;}
3054
+ }),
3055
+ smalltalk.MaglevWindow);
3056
+
3057
+ smalltalk.addMethod(
3058
+ unescape('_replace_'),
3059
+ smalltalk.method({
3060
+ selector: unescape('replace%3A'),
3061
+ fn: function (aWindow){
3062
+ var self=this;
3063
+ smalltalk.send(aWindow, "_clear", []);
3064
+ (self['@container']=smalltalk.send(aWindow, "_container", []));
3065
+ return self;}
3066
+ }),
3067
+ smalltalk.MaglevWindow);
3068
+
3069
+ smalltalk.addMethod(
3070
+ unescape('_top_'),
3071
+ smalltalk.method({
3072
+ selector: unescape('top%3A'),
3073
+ fn: function (aValue){
3074
+ var self=this;
3075
+ smalltalk.send(self['@container'], "_top_", [aValue]);
3076
+ return self;}
3077
+ }),
3078
+ smalltalk.MaglevWindow);
3079
+
3080
+
3081
+ smalltalk.addMethod(
3082
+ unescape('_highestZIndex'),
3083
+ smalltalk.method({
3084
+ selector: unescape('highestZIndex'),
3085
+ fn: function (){
3086
+ var self=this;
3087
+ var indexHighest = 0;
3088
+ $('.window').each(function(){
3089
+ var indexCurrent = parseInt($(this).css("z-index"), 10);
3090
+ if(indexCurrent > indexHighest) {
3091
+ indexHighest = indexCurrent;
3092
+ }
3093
+ });
3094
+ return indexHighest; ;
3095
+ return self;}
3096
+ }),
3097
+ smalltalk.MaglevWindow.klass);
3098
+
3099
+ smalltalk.addMethod(
3100
+ unescape('_newReplace_'),
3101
+ smalltalk.method({
3102
+ selector: unescape('newReplace%3A'),
3103
+ fn: function (aWindow){
3104
+ var self=this;
3105
+ return (function($rec){smalltalk.send($rec, "_replace_", [aWindow]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
3106
+ return self;}
3107
+ }),
3108
+ smalltalk.MaglevWindow.klass);
3109
+
3110
+
3111
+ smalltalk.addClass('MaglevObjectWindow', smalltalk.MaglevWindow, ['container', 'object', 'classObject', 'tabs', 'captions', 'tabsContainer', 'currentTab'], 'Maglev-Database-Explorer');
3112
+ smalltalk.addMethod(
3113
+ unescape('_captions'),
3114
+ smalltalk.method({
3115
+ selector: unescape('captions'),
3116
+ fn: function (){
3117
+ var self=this;
3118
+ (($receiver = self['@captions']) == nil || $receiver == undefined) ? (function(){return (self['@captions']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));})() : $receiver;
3119
+ return self['@captions'];
3120
+ return self;}
3121
+ }),
3122
+ smalltalk.MaglevObjectWindow);
3123
+
3124
+ smalltalk.addMethod(
3125
+ unescape('_checkAddConnectionTo_'),
3126
+ smalltalk.method({
3127
+ selector: unescape('checkAddConnectionTo%3A'),
3128
+ fn: function (aWindow){
3129
+ var self=this;
3130
+ smalltalk.send(self['@object'], "_instVarsDo_", [(function(ivName, ivValue){return ((($receiver = smalltalk.send(ivValue, "__eq_eq", [smalltalk.send(aWindow, "_object", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("iv"), smalltalk.send(ivName, "_inspection", [])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("iv"), smalltalk.send(ivName, "_inspection", [])]);})]));})]);
3131
+ ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(self['@object'], "_classObject", []), "__eq_eq", [smalltalk.send(aWindow, "_object", [])]), "_and_", [(function(){return smalltalk.send(smalltalk.send(self['@object'], "_virtualClassObject", []), "_~~", [smalltalk.send(aWindow, "_object", [])]);})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("class"), nil]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("class"), nil]);})]));
3132
+ ((($receiver = smalltalk.send(smalltalk.send(self['@object'], "_virtualClassObject", []), "__eq_eq", [smalltalk.send(aWindow, "_object", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("virtualClass"), nil]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("virtualClass"), nil]);})]));
3133
+ return self;}
3134
+ }),
3135
+ smalltalk.MaglevObjectWindow);
3136
+
3137
+ smalltalk.addMethod(
3138
+ unescape('_closeWindow'),
3139
+ smalltalk.method({
3140
+ selector: unescape('closeWindow'),
3141
+ fn: function (){
3142
+ var self=this;
3143
+ smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_unregisterWindow_", [self]);
3144
+ smalltalk.send(self, "_closeWindow", [], smalltalk.MaglevWindow);
3145
+ return self;}
3146
+ }),
3147
+ smalltalk.MaglevObjectWindow);
3148
+
3149
+ smalltalk.addMethod(
3150
+ unescape('_container'),
3151
+ smalltalk.method({
3152
+ selector: unescape('container'),
3153
+ fn: function (){
3154
+ var self=this;
3155
+ return self['@container'];
3156
+ return self;}
3157
+ }),
3158
+ smalltalk.MaglevObjectWindow);
3159
+
3160
+ smalltalk.addMethod(
3161
+ unescape('_contentTabs'),
3162
+ smalltalk.method({
3163
+ selector: unescape('contentTabs'),
3164
+ fn: function (){
3165
+ var self=this;
3166
+ var result=nil;
3167
+ (result=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));
3168
+ ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_hasInstVars", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(result, "_at_put_", ["Instance Variables", smalltalk.symbolFor("renderInstanceVariablesOn:")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(result, "_at_put_", ["Instance Variables", smalltalk.symbolFor("renderInstanceVariablesOn:")]);})]));
3169
+ smalltalk.send(smalltalk.send(self['@object'], "_customTabs", []), "_do_", [(function(customTab){var selector=nil;
3170
+ (selector=smalltalk.send(smalltalk.send("renderCustom", "__comma", [smalltalk.send(customTab, "_at_", [(2)])]), "__comma", ["On:"]));smalltalk.send(smalltalk.send(self, "_class", []), "_compile_", [smalltalk.send(smalltalk.send(selector, "__comma", ["html "]), "__comma", [smalltalk.send(customTab, "_at_", [(3)])])]);return smalltalk.send(result, "_at_put_", [smalltalk.send(customTab, "_at_", [(1)]), smalltalk.send(selector, "_asSymbol", [])]);})]);
3171
+ return result;
3172
+ return self;}
3173
+ }),
3174
+ smalltalk.MaglevObjectWindow);
3175
+
3176
+ smalltalk.addMethod(
3177
+ unescape('_defaultTab'),
3178
+ smalltalk.method({
3179
+ selector: unescape('defaultTab'),
3180
+ fn: function (){
3181
+ var self=this;
3182
+ return nil;
3183
+ return self;}
3184
+ }),
3185
+ smalltalk.MaglevObjectWindow);
3186
+
3187
+ smalltalk.addMethod(
3188
+ unescape('_makeCurrentTabResizable'),
3189
+ smalltalk.method({
3190
+ selector: unescape('makeCurrentTabResizable'),
3191
+ fn: function (){
3192
+ var self=this;
3193
+ smalltalk.send(self['@currentTab'], "_style_", [unescape("overflow%3A%20hidden%3B")]);
3194
+ smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self['@currentTab'], "_asJQuery", []), "_children", []), "_first", []), "_attr_with_", ["style", unescape("width%3A%20100%25%3B%20height%3A%20100%25%3B%20overflow%3A%20auto%3B")]);
3195
+ smalltalk.send(smalltalk.send(self['@currentTab'], "_asJQuery", []), "_resizable", []);
3196
+ return self;}
3197
+ }),
3198
+ smalltalk.MaglevObjectWindow);
3199
+
3200
+ smalltalk.addMethod(
3201
+ unescape('_object'),
3202
+ smalltalk.method({
3203
+ selector: unescape('object'),
3204
+ fn: function (){
3205
+ var self=this;
3206
+ return self['@object'];
3207
+ return self;}
3208
+ }),
3209
+ smalltalk.MaglevObjectWindow);
3210
+
3211
+ smalltalk.addMethod(
3212
+ unescape('_object_'),
3213
+ smalltalk.method({
3214
+ selector: unescape('object%3A'),
3215
+ fn: function (anObject){
3216
+ var self=this;
3217
+ (self['@object']=anObject);
3218
+ (self['@classObject']=smalltalk.send(anObject, "_classObject", []));
3219
+ return self;}
3220
+ }),
3221
+ smalltalk.MaglevObjectWindow);
3222
+
3223
+ smalltalk.addMethod(
3224
+ unescape('_prepareWindow'),
3225
+ smalltalk.method({
3226
+ selector: unescape('prepareWindow'),
3227
+ fn: function (){
3228
+ var self=this;
3229
+ smalltalk.send(smalltalk.send(smalltalk.send(self, "_prepareWindow", [], smalltalk.MaglevWindow), "_MaglevObjectSpace", []), "_registerWindow_", [self]);
3230
+ return self;}
3231
+ }),
3232
+ smalltalk.MaglevObjectWindow);
3233
+
3234
+ smalltalk.addMethod(
3235
+ unescape('_renderInstanceVariablesOn_'),
3236
+ smalltalk.method({
3237
+ selector: unescape('renderInstanceVariablesOn%3A'),
3238
+ fn: function (html){
3239
+ var self=this;
3240
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevTable || MaglevTable), "_newAssociationDictFor_with_", [smalltalk.send(self, "_object", []), smalltalk.symbolFor("instVars")])]);
3241
+ return self;}
3242
+ }),
3243
+ smalltalk.MaglevObjectWindow);
3244
+
3245
+ smalltalk.addMethod(
3246
+ unescape('_renderNavigationOn_'),
3247
+ smalltalk.method({
3248
+ selector: unescape('renderNavigationOn%3A'),
3249
+ fn: function (html){
3250
+ var self=this;
3251
+ smalltalk.send(html, "_with_", [smalltalk.send(self['@object'], "_inlineViewComponentNavItem", [])]);
3252
+ return self;}
3253
+ }),
3254
+ smalltalk.MaglevObjectWindow);
3255
+
3256
+ smalltalk.addMethod(
3257
+ unescape('_renderVirtualClassAndClassOn_'),
3258
+ smalltalk.method({
3259
+ selector: unescape('renderVirtualClassAndClassOn%3A'),
3260
+ fn: function (html){
3261
+ var self=this;
3262
+ ((($receiver = smalltalk.send(self['@classObject'], "__eq", [smalltalk.send(self['@object'], "_virtualClassObject", [])])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return (function($rec){smalltalk.send($rec, "_with_", [" : "]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self['@object'], "_virtualClassObject", []), "_inlineViewComponent", [])]);})(html);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [" : "]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self['@object'], "_virtualClassObject", []), "_inlineViewComponent", [])]);})(html);})]));
3263
+ (function($rec){smalltalk.send($rec, "_with_", [" :: "]);return smalltalk.send($rec, "_with_", [smalltalk.send(self['@classObject'], "_inlineViewComponent", [])]);})(html);
3264
+ return self;}
3265
+ }),
3266
+ smalltalk.MaglevObjectWindow);
3267
+
3268
+ smalltalk.addMethod(
3269
+ unescape('_renderWindowContentOn_'),
3270
+ smalltalk.method({
3271
+ selector: unescape('renderWindowContentOn%3A'),
3272
+ fn: function (html){
3273
+ var self=this;
3274
+ var allTabs=nil;
3275
+ var firstCaption=nil;
3276
+ var defaultTab=nil;
3277
+ (allTabs=smalltalk.send(self, "_contentTabs", []));
3278
+ ((($receiver = ((($receiver = smalltalk.send(allTabs, "_size", [])).klass === smalltalk.Number) ? $receiver >(0) : smalltalk.send($receiver, "__gt", [(0)]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("nav%20nav-tabs")]);smalltalk.send($rec, "_style_", [unescape("display%3A%20inline-block%3B%20margin-bottom%3A%200px%3B%20margin-top%3A%205px%3B%20width%3A%20100%25%3B")]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_style_", [unescape("float%3A%20right%3B")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_makeCurrentTabResizable", []);})]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("%23")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_makeCurrentTabResizable", []);})]);return smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_resizeSmall", [])]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_li", []));return smalltalk.send(smalltalk.send(self, "_contentTabs", []), "_keysAndValuesDo_", [(function(caption, generator){var capEl=nil;
3279
+ (($receiver = firstCaption) == nil || $receiver == undefined) ? (function(){return (firstCaption=caption);})() : $receiver;(capEl=smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("%23")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_showTab_", [caption]);})]);return smalltalk.send($rec, "_with_", [caption]);})(smalltalk.send(html, "_a", []));})]));return smalltalk.send(smalltalk.send(self, "_captions", []), "_at_put_", [caption, capEl]);})]);})]);})(smalltalk.send(html, "_ul", []));})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("nav%20nav-tabs")]);smalltalk.send($rec, "_style_", [unescape("display%3A%20inline-block%3B%20margin-bottom%3A%200px%3B%20margin-top%3A%205px%3B%20width%3A%20100%25%3B")]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_style_", [unescape("float%3A%20right%3B")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_makeCurrentTabResizable", []);})]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("%23")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_makeCurrentTabResizable", []);})]);return smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_resizeSmall", [])]);})(smalltalk.send(html, "_a", []));})]);})(smalltalk.send(html, "_li", []));return smalltalk.send(smalltalk.send(self, "_contentTabs", []), "_keysAndValuesDo_", [(function(caption, generator){var capEl=nil;
3280
+ (($receiver = firstCaption) == nil || $receiver == undefined) ? (function(){return (firstCaption=caption);})() : $receiver;(capEl=smalltalk.send(smalltalk.send(html, "_li", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_href_", [unescape("%23")]);smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_showTab_", [caption]);})]);return smalltalk.send($rec, "_with_", [caption]);})(smalltalk.send(html, "_a", []));})]));return smalltalk.send(smalltalk.send(self, "_captions", []), "_at_put_", [caption, capEl]);})]);})]);})(smalltalk.send(html, "_ul", []));})]));
3281
+ (self['@tabsContainer']=smalltalk.send(html, "_div", []));
3282
+ (defaultTab=smalltalk.send(self, "_defaultTab", []));
3283
+ (($receiver = defaultTab) == nil || $receiver == undefined) ? (function(){return (($receiver = firstCaption) != nil && $receiver != undefined) ? (function(){return smalltalk.send(self, "_showTab_", [firstCaption]);})() : nil;})() : (function(){return smalltalk.send(self, "_showTab_", [defaultTab]);})();
3284
+ return self;}
3285
+ }),
3286
+ smalltalk.MaglevObjectWindow);
3287
+
3288
+ smalltalk.addMethod(
3289
+ unescape('_renderWindowTitleContentOn_'),
3290
+ smalltalk.method({
3291
+ selector: unescape('renderWindowTitleContentOn%3A'),
3292
+ fn: function (html){
3293
+ var self=this;
3294
+ smalltalk.send(html, "_with_", [smalltalk.send(self['@object'], "_inlineViewComponentShort", [])]);
3295
+ smalltalk.send(html, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_style_", [unescape("margin-left%3A%205px%3B")]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(unescape("%3C0x"), "__comma", [smalltalk.send(smalltalk.send(self['@object'], "_oop", []), "_asHexString", [])]), "__comma", [unescape("%3E")])]);})(smalltalk.send(html, "_span", []));})]);
3296
+ smalltalk.send(self, "_renderHeightPlaceholderOn_", [html]);
3297
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("right-inline-block")]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(self, "_renderVirtualClassAndClassOn_", [html]);return smalltalk.send(self, "_renderCloseButtonOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
3298
+ return self;}
3299
+ }),
3300
+ smalltalk.MaglevObjectWindow);
3301
+
3302
+ smalltalk.addMethod(
3303
+ unescape('_replace_'),
3304
+ smalltalk.method({
3305
+ selector: unescape('replace%3A'),
3306
+ fn: function (aWindow){
3307
+ var self=this;
3308
+ smalltalk.send(self, "_replace_", [aWindow], smalltalk.MaglevWindow);
3309
+ ((($receiver = smalltalk.send(aWindow, "_isWaitingWindow", [])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_unregisterWindow_", [aWindow]);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_unregisterWindow_", [aWindow]);})]));
3310
+ smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_registerWindow_", [self]);
3311
+ return self;}
3312
+ }),
3313
+ smalltalk.MaglevObjectWindow);
3314
+
3315
+ smalltalk.addMethod(
3316
+ unescape('_showTab_'),
3317
+ smalltalk.method({
3318
+ selector: unescape('showTab%3A'),
3319
+ fn: function (caption){
3320
+ var self=this;
3321
+ var allTabs=nil;
3322
+ (allTabs=smalltalk.send(self, "_contentTabs", []));
3323
+ ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(self, "_tabs", []), "_includesKey_", [caption]), "_not", []), "_and_", [(function(){return smalltalk.send(allTabs, "_includesKey_", [caption]);})])).klass === smalltalk.Boolean) ? ($receiver ? (function(){var tab=nil;
3324
+ var html=nil;
3325
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@tabsContainer'], "_asJQuery", [])]));(tab=smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){return smalltalk.send(self, "_perform_withArguments_", [smalltalk.send(allTabs, "_at_", [caption]), [html]]);})]);})]));return smalltalk.send(smalltalk.send(self, "_tabs", []), "_at_put_", [caption, tab]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){var tab=nil;
3326
+ var html=nil;
3327
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@tabsContainer'], "_asJQuery", [])]));(tab=smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){return smalltalk.send(self, "_perform_withArguments_", [smalltalk.send(allTabs, "_at_", [caption]), [html]]);})]);})]));return smalltalk.send(smalltalk.send(self, "_tabs", []), "_at_put_", [caption, tab]);})]));
3328
+ smalltalk.send(smalltalk.send(self, "_tabs", []), "_keysAndValuesDo_", [(function(tabCaption, tab){var capEl=nil;
3329
+ (capEl=smalltalk.send(smalltalk.send(self, "_captions", []), "_at_", [tabCaption]));return ((($receiver = smalltalk.send(caption, "__eq", [tabCaption])).klass === smalltalk.Boolean) ? ($receiver ? (function(){(self['@currentTab']=tab);smalltalk.send(tab, "_show", []);return smalltalk.send(capEl, "_addClass_", ["active"]);})() : (function(){smalltalk.send(tab, "_hide", []);return smalltalk.send(capEl, "_removeClass_", ["active"]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){(self['@currentTab']=tab);smalltalk.send(tab, "_show", []);return smalltalk.send(capEl, "_addClass_", ["active"]);}), (function(){smalltalk.send(tab, "_hide", []);return smalltalk.send(capEl, "_removeClass_", ["active"]);})]));})]);
3330
+ return false;
3331
+ return self;}
3332
+ }),
3333
+ smalltalk.MaglevObjectWindow);
3334
+
3335
+ smalltalk.addMethod(
3336
+ unescape('_tabs'),
3337
+ smalltalk.method({
3338
+ selector: unescape('tabs'),
3339
+ fn: function (){
3340
+ var self=this;
3341
+ (($receiver = self['@tabs']) == nil || $receiver == undefined) ? (function(){return (self['@tabs']=smalltalk.send((smalltalk.Dictionary || Dictionary), "_new", []));})() : $receiver;
3342
+ return self['@tabs'];
3343
+ return self;}
3344
+ }),
3345
+ smalltalk.MaglevObjectWindow);
3346
+
3347
+
3348
+ smalltalk.addMethod(
3349
+ unescape('_newReplace_with_'),
3350
+ smalltalk.method({
3351
+ selector: unescape('newReplace%3Awith%3A'),
3352
+ fn: function (aWindow, anObject){
3353
+ var self=this;
3354
+ return (function($rec){smalltalk.send($rec, "_object_", [anObject]);smalltalk.send($rec, "_replace_", [aWindow]);return smalltalk.send($rec, "_yourself", []);})(smalltalk.send(self, "_new", []));
3355
+ return self;}
3356
+ }),
3357
+ smalltalk.MaglevObjectWindow.klass);
3358
+
3359
+
3360
+ smalltalk.addClass('MaglevArrayWindow', smalltalk.MaglevObjectWindow, [], 'Maglev-Database-Explorer');
3361
+ smalltalk.addMethod(
3362
+ unescape('_checkAddConnectionTo_'),
3363
+ smalltalk.method({
3364
+ selector: unescape('checkAddConnectionTo%3A'),
3365
+ fn: function (aWindow){
3366
+ var self=this;
3367
+ smalltalk.send(self, "_checkAddConnectionTo_", [aWindow], smalltalk.MaglevObjectWindow);
3368
+ smalltalk.send(smalltalk.send(self['@object'], "_elements", []), "_keysAndValuesDo_", [(function(idx, value){return ((($receiver = smalltalk.send(value, "__eq_eq", [smalltalk.send(aWindow, "_object", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("arrayElement"), idx]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("arrayElement"), idx]);})]));})]);
3369
+ return self;}
3370
+ }),
3371
+ smalltalk.MaglevArrayWindow);
3372
+
3373
+ smalltalk.addMethod(
3374
+ unescape('_contentTabs'),
3375
+ smalltalk.method({
3376
+ selector: unescape('contentTabs'),
3377
+ fn: function (){
3378
+ var self=this;
3379
+ var result=nil;
3380
+ (result=smalltalk.send(self, "_contentTabs", [], smalltalk.MaglevObjectWindow));
3381
+ ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_hasElements", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(result, "_at_put_", ["Elements", smalltalk.symbolFor("renderArrayElementsOn:")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(result, "_at_put_", ["Elements", smalltalk.symbolFor("renderArrayElementsOn:")]);})]));
3382
+ return result;
3383
+ return self;}
3384
+ }),
3385
+ smalltalk.MaglevArrayWindow);
3386
+
3387
+ smalltalk.addMethod(
3388
+ unescape('_defaultTab'),
3389
+ smalltalk.method({
3390
+ selector: unescape('defaultTab'),
3391
+ fn: function (){
3392
+ var self=this;
3393
+ return "Elements";
3394
+ return self;}
3395
+ }),
3396
+ smalltalk.MaglevArrayWindow);
3397
+
3398
+ smalltalk.addMethod(
3399
+ unescape('_renderArrayElementsOn_'),
3400
+ smalltalk.method({
3401
+ selector: unescape('renderArrayElementsOn%3A'),
3402
+ fn: function (html){
3403
+ var self=this;
3404
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevTable || MaglevTable), "_newFor_with_", [smalltalk.send(self, "_object", []), smalltalk.symbolFor("elements")])]);
3405
+ return self;}
3406
+ }),
3407
+ smalltalk.MaglevArrayWindow);
3408
+
3409
+
3410
+
3411
+ smalltalk.addClass('MaglevExceptionWindow', smalltalk.MaglevObjectWindow, [], 'Maglev-Database-Explorer');
3412
+
3413
+
3414
+ smalltalk.addClass('MaglevFixnumWindow', smalltalk.MaglevObjectWindow, [], 'Maglev-Database-Explorer');
3415
+
3416
+
3417
+ smalltalk.addClass('MaglevFloatWindow', smalltalk.MaglevObjectWindow, [], 'Maglev-Database-Explorer');
3418
+
3419
+
3420
+ smalltalk.addClass('MaglevHashWindow', smalltalk.MaglevObjectWindow, [], 'Maglev-Database-Explorer');
3421
+ smalltalk.addMethod(
3422
+ unescape('_checkAddConnectionTo_'),
3423
+ smalltalk.method({
3424
+ selector: unescape('checkAddConnectionTo%3A'),
3425
+ fn: function (aWindow){
3426
+ var self=this;
3427
+ smalltalk.send(self, "_checkAddConnectionTo_", [aWindow], smalltalk.MaglevObjectWindow);
3428
+ smalltalk.send(self['@object'], "_keysAndValuesDo_", [(function(key, value){((($receiver = smalltalk.send(key, "__eq_eq", [smalltalk.send(aWindow, "_object", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("hashKey"), smalltalk.send(unescape("self%5B...%5D%20%3D%20"), "__comma", [smalltalk.send(value, "_shortInspection", [])])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("hashKey"), smalltalk.send(unescape("self%5B...%5D%20%3D%20"), "__comma", [smalltalk.send(value, "_shortInspection", [])])]);})]));return ((($receiver = smalltalk.send(value, "__eq_eq", [smalltalk.send(aWindow, "_object", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("hashValue"), smalltalk.send(smalltalk.send(unescape("self%5B"), "__comma", [smalltalk.send(key, "_shortInspection", [])]), "__comma", [unescape("%5D%20%3D%20...")])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("hashValue"), smalltalk.send(smalltalk.send(unescape("self%5B"), "__comma", [smalltalk.send(key, "_shortInspection", [])]), "__comma", [unescape("%5D%20%3D%20...")])]);})]));})]);
3429
+ return self;}
3430
+ }),
3431
+ smalltalk.MaglevHashWindow);
3432
+
3433
+ smalltalk.addMethod(
3434
+ unescape('_contentTabs'),
3435
+ smalltalk.method({
3436
+ selector: unescape('contentTabs'),
3437
+ fn: function (){
3438
+ var self=this;
3439
+ var result=nil;
3440
+ (result=smalltalk.send(self, "_contentTabs", [], smalltalk.MaglevObjectWindow));
3441
+ ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_hasElements", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(result, "_at_put_", ["Associations", smalltalk.symbolFor("renderHashElementsOn:")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(result, "_at_put_", ["Associations", smalltalk.symbolFor("renderHashElementsOn:")]);})]));
3442
+ return result;
3443
+ return self;}
3444
+ }),
3445
+ smalltalk.MaglevHashWindow);
3446
+
3447
+ smalltalk.addMethod(
3448
+ unescape('_defaultTab'),
3449
+ smalltalk.method({
3450
+ selector: unescape('defaultTab'),
3451
+ fn: function (){
3452
+ var self=this;
3453
+ return "Associations";
3454
+ return self;}
3455
+ }),
3456
+ smalltalk.MaglevHashWindow);
3457
+
3458
+ smalltalk.addMethod(
3459
+ unescape('_renderHashElementsOn_'),
3460
+ smalltalk.method({
3461
+ selector: unescape('renderHashElementsOn%3A'),
3462
+ fn: function (html){
3463
+ var self=this;
3464
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevTable || MaglevTable), "_newAssociationDictFor_with_", [smalltalk.send(self, "_object", []), smalltalk.symbolFor("elements")])]);
3465
+ return self;}
3466
+ }),
3467
+ smalltalk.MaglevHashWindow);
3468
+
3469
+
3470
+
3471
+ smalltalk.addClass('MaglevMaglevRecordBaseWindow', smalltalk.MaglevObjectWindow, [], 'Maglev-Database-Explorer');
3472
+ smalltalk.addMethod(
3473
+ unescape('_contentTabs'),
3474
+ smalltalk.method({
3475
+ selector: unescape('contentTabs'),
3476
+ fn: function (){
3477
+ var self=this;
3478
+ var result=nil;
3479
+ (result=smalltalk.send(self, "_contentTabs", [], smalltalk.MaglevObjectWindow));
3480
+ smalltalk.send(result, "_at_put_", ["Attributes", smalltalk.symbolFor("renderAttributesOn:")]);
3481
+ return result;
3482
+ return self;}
3483
+ }),
3484
+ smalltalk.MaglevMaglevRecordBaseWindow);
3485
+
3486
+ smalltalk.addMethod(
3487
+ unescape('_renderAttributesOn_'),
3488
+ smalltalk.method({
3489
+ selector: unescape('renderAttributesOn%3A'),
3490
+ fn: function (html){
3491
+ var self=this;
3492
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevTable || MaglevTable), "_newAssociationDictFor_with_", [smalltalk.send(self, "_object", []), smalltalk.symbolFor("attributes")])]);
3493
+ return self;}
3494
+ }),
3495
+ smalltalk.MaglevMaglevRecordBaseWindow);
3496
+
3497
+
3498
+
3499
+ smalltalk.addClass('MaglevModuleWindow', smalltalk.MaglevObjectWindow, ['categoryNamesSelect', 'selectorsSelect', 'selectors', 'rubySelectors', 'methodContainer', 'waitingScreen', 'hierarchyContainer'], 'Maglev-Database-Explorer');
3500
+ smalltalk.addMethod(
3501
+ unescape('_contentTabs'),
3502
+ smalltalk.method({
3503
+ selector: unescape('contentTabs'),
3504
+ fn: function (){
3505
+ var self=this;
3506
+ var result=nil;
3507
+ (result=smalltalk.send(self, "_contentTabs", [], smalltalk.MaglevObjectWindow));
3508
+ ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_hasConstants", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(result, "_at_put_", ["Constants", smalltalk.symbolFor("renderConstantsOn:")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(result, "_at_put_", ["Constants", smalltalk.symbolFor("renderConstantsOn:")]);})]));
3509
+ ((($receiver = smalltalk.send(smalltalk.send(self, "_object", []), "_hasIncludedModules", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(result, "_at_put_", ["Included Modules", smalltalk.symbolFor("renderIncludedModulesOn:")]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(result, "_at_put_", ["Included Modules", smalltalk.symbolFor("renderIncludedModulesOn:")]);})]));
3510
+ smalltalk.send(result, "_at_put_", ["Code", smalltalk.symbolFor("renderCodeTabOn:")]);
3511
+ smalltalk.send(result, "_at_put_", ["Hierarchy", smalltalk.symbolFor("renderHierarchyOn:")]);
3512
+ return result;
3513
+ return self;}
3514
+ }),
3515
+ smalltalk.MaglevModuleWindow);
3516
+
3517
+ smalltalk.addMethod(
3518
+ unescape('_defaultTab'),
3519
+ smalltalk.method({
3520
+ selector: unescape('defaultTab'),
3521
+ fn: function (){
3522
+ var self=this;
3523
+ return "Code";
3524
+ return self;}
3525
+ }),
3526
+ smalltalk.MaglevModuleWindow);
3527
+
3528
+ smalltalk.addMethod(
3529
+ unescape('_initializeTree_'),
3530
+ smalltalk.method({
3531
+ selector: unescape('initializeTree%3A'),
3532
+ fn: function (container){
3533
+ var self=this;
3534
+ container.jstree({
3535
+ plugins: ["crrm", "html_data", "themes"],
3536
+ core: {
3537
+ animation: 0,
3538
+ open_parents: true}});
3539
+ // setTimout: jstree fix
3540
+ setTimeout(function(){
3541
+ container.find('.treeview-replace-me').each(function(index, el) {
3542
+ var jqEl = $(el);
3543
+ self._renderInlineViewFor_inside_(jqEl.data('oop'), jqEl);
3544
+ jqEl.removeClass('treeview-replace-me');
3545
+ });}, 0); ;
3546
+ return self;}
3547
+ }),
3548
+ smalltalk.MaglevModuleWindow);
3549
+
3550
+ smalltalk.addMethod(
3551
+ unescape('_renderCodeTabOn_'),
3552
+ smalltalk.method({
3553
+ selector: unescape('renderCodeTabOn%3A'),
3554
+ fn: function (html){
3555
+ var self=this;
3556
+ smalltalk.send(smalltalk.send(html, "_root", []), "_style_", [unescape("width%3A%20100%25%3B")]);
3557
+ smalltalk.send(self, "_renderListsOn_", [html]);
3558
+ (self['@waitingScreen']=smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);return smalltalk.send($rec, "_with_", [" loading..."]);})(html);})]));
3559
+ (self['@methodContainer']=smalltalk.send(smalltalk.send(html, "_div", []), "_style_", [unescape("margin-top%3A%2010px%3B")]));
3560
+ smalltalk.send(smalltalk.send(self, "_object", []), "_allSelectorsWithCallback_", [(function(obj){(self['@selectors']=obj);smalltalk.send(self, "_renderSelectorCategories", []);smalltalk.send(self['@waitingScreen'], "_hide", []);smalltalk.send(self['@categoryNamesSelect'], "_show", []);return smalltalk.send(self['@selectorsSelect'], "_show", []);})]);
3561
+ return self;}
3562
+ }),
3563
+ smalltalk.MaglevModuleWindow);
3564
+
3565
+ smalltalk.addMethod(
3566
+ unescape('_renderConstantsOn_'),
3567
+ smalltalk.method({
3568
+ selector: unescape('renderConstantsOn%3A'),
3569
+ fn: function (html){
3570
+ var self=this;
3571
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevTable || MaglevTable), "_newAssociationDictFor_with_", [smalltalk.send(self, "_object", []), smalltalk.symbolFor("constants")])]);
3572
+ return self;}
3573
+ }),
3574
+ smalltalk.MaglevModuleWindow);
3575
+
3576
+ smalltalk.addMethod(
3577
+ unescape('_renderHierarchyOn_'),
3578
+ smalltalk.method({
3579
+ selector: unescape('renderHierarchyOn%3A'),
3580
+ fn: function (htmlIn){
3581
+ var self=this;
3582
+ var waitingBox=nil;
3583
+ var hcContainer=nil;
3584
+ (hcContainer=smalltalk.send(smalltalk.send(htmlIn, "_div", []), "_style_", [unescape("height%3A%20300px%3B%20overflow%3A%20hidden%3B")]));
3585
+ (waitingBox=smalltalk.send(smalltalk.send(htmlIn, "_div", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);return smalltalk.send($rec, "_with_", [" loading..."]);})(htmlIn);})]));
3586
+ smalltalk.send(self['@object'], "_ensureSuperListLoadedWithCallback_", [(function(){var renderedInlines=nil;
3587
+ var html=nil;
3588
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(hcContainer, "_asJQuery", [])]));(renderedInlines=smalltalk.send((smalltalk.Array || Array), "_new", []));(self['@hierarchyContainer']=(function($rec){smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B%20height%3A%20100%25%3B%20overflow%3A%20auto%3B")]);return smalltalk.send($rec, "_with_", [(function(){var lastUl=nil;
3589
+ (lastUl=smalltalk.send(html, "_ul", []));return smalltalk.send(smalltalk.send(self['@object'], "_superList", []), "_do_", [(function(cls){return smalltalk.send(lastUl, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_data_with_", ["oop", smalltalk.send(smalltalk.send(cls, "_oop", []), "_asString", [])]);smalltalk.send($rec, "_with_", [(function(){var container=nil;
3590
+ (self['@container']=(function($rec){smalltalk.send($rec, "_data_with_", ["oop", smalltalk.send(smalltalk.send(cls, "_oop", []), "_asString", [])]);return smalltalk.send($rec, "_class_", [unescape("treeview-replace-me")]);})(smalltalk.send(html, "_span", [])));return smalltalk.send(renderedInlines, "_add_", [self['@container']]);})]);return smalltalk.send($rec, "_with_", [(function(){return (lastUl=smalltalk.send(html, "_ul", []));})]);})(smalltalk.send(html, "_li", []));})]);})]);})]);})(smalltalk.send(html, "_div", [])));smalltalk.send(self, "_initializeTree_", [smalltalk.send(self['@hierarchyContainer'], "_asJQuery", [])]);smalltalk.send(smalltalk.send(hcContainer, "_asJQuery", []), "_resizable", []);return smalltalk.send(waitingBox, "_hide", []);})]);
3591
+ return self;}
3592
+ }),
3593
+ smalltalk.MaglevModuleWindow);
3594
+
3595
+ smalltalk.addMethod(
3596
+ unescape('_renderHierarchySubclass_for_'),
3597
+ smalltalk.method({
3598
+ selector: unescape('renderHierarchySubclass%3Afor%3A'),
3599
+ fn: function (cls, oop){
3600
+ var self=this;
3601
+ var ownerLi = self['@hierarchyContainer']._asJQuery().find("[data-oop='" + oop + "']");
3602
+ if (ownerLi.find("[data-oop='" + cls._oop() + "']").length == 0) {
3603
+ self['@hierarchyContainer']._asJQuery().jstree('create', ownerLi, null, {attr: {'data-oop': cls._oop(), 'data-replace-me': '1'}}, null, true);
3604
+ } ;
3605
+ return self;}
3606
+ }),
3607
+ smalltalk.MaglevModuleWindow);
3608
+
3609
+ smalltalk.addMethod(
3610
+ unescape('_renderIncludedModulesOn_'),
3611
+ smalltalk.method({
3612
+ selector: unescape('renderIncludedModulesOn%3A'),
3613
+ fn: function (html){
3614
+ var self=this;
3615
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevTable || MaglevTable), "_newFor_with_", [smalltalk.send(self, "_object", []), smalltalk.symbolFor("includedModules")])]);
3616
+ return self;}
3617
+ }),
3618
+ smalltalk.MaglevModuleWindow);
3619
+
3620
+ smalltalk.addMethod(
3621
+ unescape('_renderInlineViewFor_inside_'),
3622
+ smalltalk.method({
3623
+ selector: unescape('renderInlineViewFor%3Ainside%3A'),
3624
+ fn: function (oop, htmlElement){
3625
+ var self=this;
3626
+ var html=nil;
3627
+ var subclassesButton=nil;
3628
+ var waitIcon=nil;
3629
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [htmlElement]));
3630
+ (waitIcon=smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", []));
3631
+ smalltalk.send(html, "_with_", [waitIcon]);
3632
+ smalltalk.send(waitIcon, "_hide", []);
3633
+ (subclassesButton=smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_codeFork", []));
3634
+ smalltalk.send(html, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_a", []), "_with_", [subclassesButton]);})]);
3635
+ smalltalk.send(subclassesButton, "_onClick_", [(function(){var obj=nil;
3636
+ smalltalk.send(subclassesButton, "_hide", []);smalltalk.send(waitIcon, "_show", []);(obj=smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_at_", [oop]));return smalltalk.send(obj, "_ensureSubclassesLoadedWithCallback_", [(function(){smalltalk.send(smalltalk.send(obj, "_subclasses", []), "_do_", [(function(cls){return smalltalk.send(self, "_renderHierarchySubclass_for_", [cls, oop]);})]);smalltalk.send(self, "_replaceHierarchySubclasses", []);return smalltalk.send(waitIcon, "_hide", []);})]);})]);
3637
+ smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send((smalltalk.MaglevObjectSpace || MaglevObjectSpace), "_instance", []), "_at_", [oop]), "_inlineViewComponentFull", []), "_renderOn_", [html]);
3638
+ return self;}
3639
+ }),
3640
+ smalltalk.MaglevModuleWindow);
3641
+
3642
+ smalltalk.addMethod(
3643
+ unescape('_renderListsOn_'),
3644
+ smalltalk.method({
3645
+ selector: unescape('renderListsOn%3A'),
3646
+ fn: function (html){
3647
+ var self=this;
3648
+ (self['@categoryNamesSelect']=smalltalk.send((smalltalk.MaglevListBox || MaglevListBox), "_new", []));
3649
+ smalltalk.send(html, "_with_", [self['@categoryNamesSelect']]);
3650
+ (function($rec){smalltalk.send($rec, "_changedCallback_", [(function(cat, index){return smalltalk.send(self, "_renderSelectors_", [cat]);})]);smalltalk.send($rec, "_height_", [(250)]);smalltalk.send($rec, "_style_", [unescape("float%3A%20left%3B%20width%3A%2050%25%3B%20margin-right%3A%2010px%3B%20margin-left%3A%200px%3B%20display%3A%20inline-block%3B")]);return smalltalk.send($rec, "_hide", []);})(self['@categoryNamesSelect']);
3651
+ (self['@selectorsSelect']=smalltalk.send((smalltalk.MaglevListBox || MaglevListBox), "_new", []));
3652
+ smalltalk.send(html, "_with_", [self['@selectorsSelect']]);
3653
+ (function($rec){smalltalk.send($rec, "_changedCallback_", [(function(sel, index){return smalltalk.send(self, "_renderSourceCode_", [sel]);})]);smalltalk.send($rec, "_height_", [(250)]);smalltalk.send($rec, "_style_", [unescape("display%3A%20inline-block%3B%20width%3A%2050%25%3B%20box-sizing%3A%20border-box%3B%20-webkit-box-sizing%3A%20border-box%3B%20padding-right%3A%2010px%3B")]);return smalltalk.send($rec, "_hide", []);})(self['@selectorsSelect']);
3654
+ return self;}
3655
+ }),
3656
+ smalltalk.MaglevModuleWindow);
3657
+
3658
+ smalltalk.addMethod(
3659
+ unescape('_renderMethodObject_'),
3660
+ smalltalk.method({
3661
+ selector: unescape('renderMethodObject%3A'),
3662
+ fn: function (obj){
3663
+ var self=this;
3664
+ var methodEditor=nil;
3665
+ (methodEditor=smalltalk.send((smalltalk.MaglevGsNMethodEditor || MaglevGsNMethodEditor), "_for_", [obj]));
3666
+ smalltalk.send(methodEditor, "_classObject_", [self['@object']]);
3667
+ smalltalk.send(self['@methodContainer'], "_with_", [methodEditor]);
3668
+ smalltalk.send(self['@waitingScreen'], "_hide", []);
3669
+ return self;}
3670
+ }),
3671
+ smalltalk.MaglevModuleWindow);
3672
+
3673
+ smalltalk.addMethod(
3674
+ unescape('_renderRubySourceCodeFor_'),
3675
+ smalltalk.method({
3676
+ selector: unescape('renderRubySourceCodeFor%3A'),
3677
+ fn: function (selectorString){
3678
+ var self=this;
3679
+ smalltalk.send(self['@object'], "_sourceCodeFor_language_withCallback_", [selectorString, "ruby", (function(obj){return smalltalk.send(self, "_renderMethodObject_", [obj]);})]);
3680
+ return self;}
3681
+ }),
3682
+ smalltalk.MaglevModuleWindow);
3683
+
3684
+ smalltalk.addMethod(
3685
+ unescape('_renderSelectorCategories'),
3686
+ smalltalk.method({
3687
+ selector: unescape('renderSelectorCategories'),
3688
+ fn: function (){
3689
+ var self=this;
3690
+ smalltalk.send(self['@categoryNamesSelect'], "_clear", []);
3691
+ smalltalk.send(self['@selectors'], "_keysAndValuesDo_", [(function(category, catSelectors){return smalltalk.send(self['@categoryNamesSelect'], "_with_data_", [(function(html){((($receiver = smalltalk.send(category, "__eq", [unescape("%28all%20Ruby%29")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_ruby", [])]);})() : (function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_smalltalk", [])]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_ruby", [])]);}), (function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_smalltalk", [])]);})]));return smalltalk.send(html, "_with_", [category]);}), category]);})]);
3692
+ return self;}
3693
+ }),
3694
+ smalltalk.MaglevModuleWindow);
3695
+
3696
+ smalltalk.addMethod(
3697
+ unescape('_renderSelectors_'),
3698
+ smalltalk.method({
3699
+ selector: unescape('renderSelectors%3A'),
3700
+ fn: function (selectedCategory){
3701
+ var self=this;
3702
+ try{var currentSelectors=nil;
3703
+ smalltalk.send(self['@selectorsSelect'], "_clear", []);
3704
+ (currentSelectors=smalltalk.send(self['@selectors'], "_at_", [selectedCategory]));
3705
+ (($receiver = currentSelectors) == nil || $receiver == undefined) ? (function(){return (function(){throw({name: 'stReturn', selector: '_renderSelectors_', fn: function(){return self}})})();})() : $receiver;
3706
+ smalltalk.send(currentSelectors, "_do_", [(function(sel){return smalltalk.send(self['@selectorsSelect'], "_with_data_", [(function(html){return smalltalk.send(html, "_with_", [sel]);}), sel]);})]);
3707
+ return self;
3708
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_renderSelectors_'){return e.fn()} throw(e)}}
3709
+ }),
3710
+ smalltalk.MaglevModuleWindow);
3711
+
3712
+ smalltalk.addMethod(
3713
+ unescape('_renderSmalltalkSourceCodeFor_'),
3714
+ smalltalk.method({
3715
+ selector: unescape('renderSmalltalkSourceCodeFor%3A'),
3716
+ fn: function (selectorString){
3717
+ var self=this;
3718
+ smalltalk.send(self['@object'], "_sourceCodeFor_language_withCallback_", [selectorString, "smalltalk", (function(obj){return smalltalk.send(self, "_renderMethodObject_", [obj]);})]);
3719
+ return self;}
3720
+ }),
3721
+ smalltalk.MaglevModuleWindow);
3722
+
3723
+ smalltalk.addMethod(
3724
+ unescape('_renderSourceCode_'),
3725
+ smalltalk.method({
3726
+ selector: unescape('renderSourceCode%3A'),
3727
+ fn: function (selectorString){
3728
+ var self=this;
3729
+ try{var selectedCategory=nil;
3730
+ smalltalk.send(smalltalk.send(self['@methodContainer'], "_asJQuery", []), "_empty", []);
3731
+ (($receiver = selectorString) == nil || $receiver == undefined) ? (function(){return (function(){throw({name: 'stReturn', selector: '_renderSourceCode_', fn: function(){return self}})})();})() : $receiver;
3732
+ smalltalk.send(self['@waitingScreen'], "_show", []);
3733
+ (selectedCategory=smalltalk.send(self, "_selectedCategoryString", []));
3734
+ ((($receiver = smalltalk.send(selectedCategory, "__eq", [unescape("%28all%20Ruby%29")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_renderRubySourceCodeFor_", [selectorString]);})() : (function(){return smalltalk.send(self, "_renderSmalltalkSourceCodeFor_", [selectorString]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_renderRubySourceCodeFor_", [selectorString]);}), (function(){return smalltalk.send(self, "_renderSmalltalkSourceCodeFor_", [selectorString]);})]));
3735
+ return self;
3736
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_renderSourceCode_'){return e.fn()} throw(e)}}
3737
+ }),
3738
+ smalltalk.MaglevModuleWindow);
3739
+
3740
+ smalltalk.addMethod(
3741
+ unescape('_replaceHierarchySubclasses'),
3742
+ smalltalk.method({
3743
+ selector: unescape('replaceHierarchySubclasses'),
3744
+ fn: function (){
3745
+ var self=this;
3746
+ self['@hierarchyContainer']._asJQuery().find("[data-replace-me='1']").each(function(idx, el) {
3747
+ // TODO: jQuery not working here for unknown reasons
3748
+ el.getElementsByTagName('a')[0].remove();
3749
+ el.removeAttribute('data-replace-me');
3750
+ var jqEl = $(el);
3751
+ self._renderInlineViewFor_inside_(jqEl.data('oop'), jqEl);
3752
+ }); ;
3753
+ return self;}
3754
+ }),
3755
+ smalltalk.MaglevModuleWindow);
3756
+
3757
+ smalltalk.addMethod(
3758
+ unescape('_selectedCategoryString'),
3759
+ smalltalk.method({
3760
+ selector: unescape('selectedCategoryString'),
3761
+ fn: function (){
3762
+ var self=this;
3763
+ return smalltalk.send(self['@categoryNamesSelect'], "_selectedData", []);
3764
+ return self;}
3765
+ }),
3766
+ smalltalk.MaglevModuleWindow);
3767
+
3768
+ smalltalk.addMethod(
3769
+ unescape('_sortList_'),
3770
+ smalltalk.method({
3771
+ selector: unescape('sortList%3A'),
3772
+ fn: function (aListBox){
3773
+ var self=this;
3774
+ var box=nil;
3775
+ var children=nil;
3776
+ (box=smalltalk.send(aListBox, "_asJQuery", []));
3777
+ children = box.children('option').sort(function (a, b) {return a.innerHTML > b.innerHTML ? 1 : -1}); ;
3778
+ smalltalk.send(box, "_empty", []);
3779
+ smalltalk.send(children, "_appendTo_", [box]);
3780
+ return self;}
3781
+ }),
3782
+ smalltalk.MaglevModuleWindow);
3783
+
3784
+
3785
+
3786
+ smalltalk.addClass('MaglevClassWindow', smalltalk.MaglevModuleWindow, [], 'Maglev-Database-Explorer');
3787
+ smalltalk.addMethod(
3788
+ unescape('_checkAddConnectionTo_'),
3789
+ smalltalk.method({
3790
+ selector: unescape('checkAddConnectionTo%3A'),
3791
+ fn: function (aWindow){
3792
+ var self=this;
3793
+ smalltalk.send(self, "_checkAddConnectionTo_", [aWindow], smalltalk.MaglevModuleWindow);
3794
+ ((($receiver = smalltalk.send(smalltalk.send(self['@object'], "_superclassObject", []), "__eq_eq", [smalltalk.send(aWindow, "_object", [])])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("superclass"), nil]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_connectTo_as_with_", [aWindow, smalltalk.symbolFor("superclass"), nil]);})]));
3795
+ return self;}
3796
+ }),
3797
+ smalltalk.MaglevClassWindow);
3798
+
3799
+ smalltalk.addMethod(
3800
+ unescape('_contentTabs'),
3801
+ smalltalk.method({
3802
+ selector: unescape('contentTabs'),
3803
+ fn: function (){
3804
+ var self=this;
3805
+ var result=nil;
3806
+ (result=smalltalk.send(self, "_contentTabs", [], smalltalk.MaglevModuleWindow));
3807
+ smalltalk.send(result, "_at_put_", ["Instances", smalltalk.symbolFor("renderInstancesOn:")]);
3808
+ return result;
3809
+ return self;}
3810
+ }),
3811
+ smalltalk.MaglevClassWindow);
3812
+
3813
+ smalltalk.addMethod(
3814
+ unescape('_renderInstancesOn_'),
3815
+ smalltalk.method({
3816
+ selector: unescape('renderInstancesOn%3A'),
3817
+ fn: function (html){
3818
+ var self=this;
3819
+ smalltalk.send(html, "_with_", [smalltalk.send(self['@object'], "_instancesViewComponent", [])]);
3820
+ return self;}
3821
+ }),
3822
+ smalltalk.MaglevClassWindow);
3823
+
3824
+ smalltalk.addMethod(
3825
+ unescape('_renderWindowTitleContentOn_'),
3826
+ smalltalk.method({
3827
+ selector: unescape('renderWindowTitleContentOn%3A'),
3828
+ fn: function (html){
3829
+ var self=this;
3830
+ (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send(self['@object'], "_inlineViewComponentShort", [])]);smalltalk.send($rec, "_with_", [unescape("%20%3C%20")]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(self['@object'], "_superclassObject", []), "_inlineViewComponent", [])]);})(html);
3831
+ smalltalk.send(html, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_style_", [unescape("margin-left%3A%205px%3B")]);return smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(unescape("%3C0x"), "__comma", [smalltalk.send(smalltalk.send(self['@object'], "_oop", []), "_asHexString", [])]), "__comma", [unescape("%3E")])]);})(smalltalk.send(html, "_span", []));})]);
3832
+ smalltalk.send(self, "_renderHeightPlaceholderOn_", [html]);
3833
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("right-inline-block")]);return smalltalk.send($rec, "_with_", [(function(){smalltalk.send(self, "_renderVirtualClassAndClassOn_", [html]);return smalltalk.send(self, "_renderCloseButtonOn_", [html]);})]);})(smalltalk.send(html, "_div", []));
3834
+ return self;}
3835
+ }),
3836
+ smalltalk.MaglevClassWindow);
3837
+
3838
+
3839
+
3840
+ smalltalk.addClass('MaglevSystemClassWindow', smalltalk.MaglevClassWindow, ['transactionResultBox', 'persistenceModeButton'], 'Maglev-Database-Explorer');
3841
+ smalltalk.addMethod(
3842
+ unescape('_abortTransaction'),
3843
+ smalltalk.method({
3844
+ selector: unescape('abortTransaction'),
3845
+ fn: function (){
3846
+ var self=this;
3847
+ smalltalk.send(self, "_showTransactionWaitingBox", []);
3848
+ smalltalk.send(self['@object'], "_evaluate_language_withCallback_", ["self.__DBEAbortTransaction", "ruby", (function(success, resultObj){smalltalk.send(smalltalk.send(self['@transactionResultBox'], "_asJQuery", []), "_empty", []);smalltalk.send(self['@transactionResultBox'], "_removeClass_", [unescape("alert-info")]);((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);})() : (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);}), (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})]));return smalltalk.send(self['@transactionResultBox'], "_with_", [smalltalk.send(resultObj, "_inlineViewComponent", [])]);})]);
3849
+ return self;}
3850
+ }),
3851
+ smalltalk.MaglevSystemClassWindow);
3852
+
3853
+ smalltalk.addMethod(
3854
+ unescape('_commitTransaction'),
3855
+ smalltalk.method({
3856
+ selector: unescape('commitTransaction'),
3857
+ fn: function (){
3858
+ var self=this;
3859
+ smalltalk.send(self, "_showTransactionWaitingBox", []);
3860
+ smalltalk.send(self['@object'], "_evaluate_language_withCallback_", ["self.__DBECommitTransaction", "ruby", (function(success, resultObj){smalltalk.send(smalltalk.send(self['@transactionResultBox'], "_asJQuery", []), "_empty", []);smalltalk.send(self['@transactionResultBox'], "_removeClass_", [unescape("alert-info")]);((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);})() : (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);}), (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})]));return smalltalk.send(self['@transactionResultBox'], "_with_", [smalltalk.send(resultObj, "_inlineViewComponent", [])]);})]);
3861
+ return self;}
3862
+ }),
3863
+ smalltalk.MaglevSystemClassWindow);
3864
+
3865
+ smalltalk.addMethod(
3866
+ unescape('_contentTabs'),
3867
+ smalltalk.method({
3868
+ selector: unescape('contentTabs'),
3869
+ fn: function (){
3870
+ var self=this;
3871
+ var result=nil;
3872
+ (result=smalltalk.send(self, "_contentTabs", [], smalltalk.MaglevClassWindow));
3873
+ smalltalk.send(result, "_at_put_", ["Stone Version Report", smalltalk.symbolFor("renderStoneVersionReportOn:")]);
3874
+ smalltalk.send(result, "_at_put_", ["Gem Version Report", smalltalk.symbolFor("renderGemVersionReportOn:")]);
3875
+ smalltalk.send(result, "_at_put_", ["Control Panel", smalltalk.symbolFor("renderControlPanelOn:")]);
3876
+ return result;
3877
+ return self;}
3878
+ }),
3879
+ smalltalk.MaglevSystemClassWindow);
3880
+
3881
+ smalltalk.addMethod(
3882
+ unescape('_continueTransaction'),
3883
+ smalltalk.method({
3884
+ selector: unescape('continueTransaction'),
3885
+ fn: function (){
3886
+ var self=this;
3887
+ smalltalk.send(self, "_showTransactionWaitingBox", []);
3888
+ smalltalk.send(self['@object'], "_evaluate_language_withCallback_", ["self.__DBEContinueTransaction", "ruby", (function(success, resultObj){smalltalk.send(smalltalk.send(self['@transactionResultBox'], "_asJQuery", []), "_empty", []);smalltalk.send(self['@transactionResultBox'], "_removeClass_", [unescape("alert-info")]);((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);})() : (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);}), (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})]));return smalltalk.send(self['@transactionResultBox'], "_with_", [smalltalk.send(resultObj, "_inlineViewComponent", [])]);})]);
3889
+ return self;}
3890
+ }),
3891
+ smalltalk.MaglevSystemClassWindow);
3892
+
3893
+ smalltalk.addMethod(
3894
+ unescape('_defaultTab'),
3895
+ smalltalk.method({
3896
+ selector: unescape('defaultTab'),
3897
+ fn: function (){
3898
+ var self=this;
3899
+ return "Control Panel";
3900
+ return self;}
3901
+ }),
3902
+ smalltalk.MaglevSystemClassWindow);
3903
+
3904
+ smalltalk.addMethod(
3905
+ unescape('_renderControlPanelOn_'),
3906
+ smalltalk.method({
3907
+ selector: unescape('renderControlPanelOn%3A'),
3908
+ fn: function (html){
3909
+ var self=this;
3910
+ smalltalk.send(html, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", ["well"]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_type_", ["button"]);smalltalk.send($rec, "_class_", [unescape("btn%20btn-warning")]);smalltalk.send($rec, "_value_", ["Abort Transaction"]);smalltalk.send($rec, "_style_", [unescape("width%3A%2025%25%3B%20margin-right%3A%201%25%3B")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_abortTransaction", []);})]);})(smalltalk.send(html, "_input", []));(function($rec){smalltalk.send($rec, "_type_", ["button"]);smalltalk.send($rec, "_class_", [unescape("btn%20btn-warning")]);smalltalk.send($rec, "_value_", ["Commit Transaction"]);smalltalk.send($rec, "_style_", [unescape("width%3A%2025%25%3B%20margin-right%3A%201%25%3B")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_commitTransaction", []);})]);})(smalltalk.send(html, "_input", []));(function($rec){smalltalk.send($rec, "_type_", ["button"]);smalltalk.send($rec, "_class_", [unescape("btn%20btn-warning")]);smalltalk.send($rec, "_value_", ["Continue Transaction"]);smalltalk.send($rec, "_style_", [unescape("width%3A%2025%25%3B%20margin-right%3A%201%25%3B")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_continueTransaction", []);})]);})(smalltalk.send(html, "_input", []));(self['@persistenceModeButton']=(function($rec){smalltalk.send($rec, "_type_", ["button"]);smalltalk.send($rec, "_class_", ["btn"]);smalltalk.send($rec, "_value_", ["Persistent Mode"]);smalltalk.send($rec, "_style_", [unescape("width%3A%2022%25%3B")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_togglePersistentMode", []);})]);})(smalltalk.send(html, "_input", [])));return (self['@transactionResultBox']=(function($rec){smalltalk.send($rec, "_style_", [unescape("margin-top%3A%2010px%3B%20margin-bottom%3A%200px%3B")]);smalltalk.send($rec, "_class_", ["alert"]);return smalltalk.send($rec, "_hide", []);})(smalltalk.send(html, "_div", [])));})]);})(smalltalk.send(html, "_div", []));})]);
3911
+ smalltalk.send(self, "_updatePersistentMode", []);
3912
+ return self;}
3913
+ }),
3914
+ smalltalk.MaglevSystemClassWindow);
3915
+
3916
+ smalltalk.addMethod(
3917
+ unescape('_renderGemVersionReportOn_'),
3918
+ smalltalk.method({
3919
+ selector: unescape('renderGemVersionReportOn%3A'),
3920
+ fn: function (html){
3921
+ var self=this;
3922
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevTable || MaglevTable), "_newAssociationDictFor_with_", [smalltalk.send(self, "_object", []), smalltalk.symbolFor("gemVersionReport")])]);
3923
+ return self;}
3924
+ }),
3925
+ smalltalk.MaglevSystemClassWindow);
3926
+
3927
+ smalltalk.addMethod(
3928
+ unescape('_renderStoneVersionReportOn_'),
3929
+ smalltalk.method({
3930
+ selector: unescape('renderStoneVersionReportOn%3A'),
3931
+ fn: function (html){
3932
+ var self=this;
3933
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevTable || MaglevTable), "_newAssociationDictFor_with_", [smalltalk.send(self, "_object", []), smalltalk.symbolFor("stoneVersionReport")])]);
3934
+ return self;}
3935
+ }),
3936
+ smalltalk.MaglevSystemClassWindow);
3937
+
3938
+ smalltalk.addMethod(
3939
+ unescape('_showTransactionWaitingBox'),
3940
+ smalltalk.method({
3941
+ selector: unescape('showTransactionWaitingBox'),
3942
+ fn: function (){
3943
+ var self=this;
3944
+ (function($rec){smalltalk.send($rec, "_addClass_", [unescape("alert-info")]);smalltalk.send($rec, "_removeClass_", [unescape("alert-success")]);return smalltalk.send($rec, "_removeClass_", [unescape("alert-error")]);})(self['@transactionResultBox']);
3945
+ smalltalk.send(smalltalk.send(self['@transactionResultBox'], "_asJQuery", []), "_empty", []);
3946
+ (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);smalltalk.send($rec, "_with_", [" loading..."]);return smalltalk.send($rec, "_show", []);})(self['@transactionResultBox']);
3947
+ return self;}
3948
+ }),
3949
+ smalltalk.MaglevSystemClassWindow);
3950
+
3951
+ smalltalk.addMethod(
3952
+ unescape('_togglePersistentMode'),
3953
+ smalltalk.method({
3954
+ selector: unescape('togglePersistentMode'),
3955
+ fn: function (){
3956
+ var self=this;
3957
+ smalltalk.send(self, "_showTransactionWaitingBox", []);
3958
+ smalltalk.send(self['@object'], "_evaluate_language_withCallback_", ["self.__DBETogglePersistenceMode", "ruby", (function(success, resultObj){smalltalk.send(smalltalk.send(self['@transactionResultBox'], "_asJQuery", []), "_empty", []);smalltalk.send(self['@transactionResultBox'], "_removeClass_", [unescape("alert-info")]);((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);((($receiver = smalltalk.send(smalltalk.send(resultObj, "_value", []), "__eq", [true])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_addClass_", ["active"]);})() : (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_removeClass_", ["active"]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_addClass_", ["active"]);}), (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_removeClass_", ["active"]);})]));return smalltalk.send(self['@transactionResultBox'], "_hide", []);})() : (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);((($receiver = smalltalk.send(smalltalk.send(resultObj, "_value", []), "__eq", [true])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_addClass_", ["active"]);})() : (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_removeClass_", ["active"]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_addClass_", ["active"]);}), (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_removeClass_", ["active"]);})]));return smalltalk.send(self['@transactionResultBox'], "_hide", []);}), (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})]));return smalltalk.send(self['@transactionResultBox'], "_with_", [smalltalk.send(resultObj, "_inlineViewComponent", [])]);})]);
3959
+ return self;}
3960
+ }),
3961
+ smalltalk.MaglevSystemClassWindow);
3962
+
3963
+ smalltalk.addMethod(
3964
+ unescape('_updatePersistentMode'),
3965
+ smalltalk.method({
3966
+ selector: unescape('updatePersistentMode'),
3967
+ fn: function (){
3968
+ var self=this;
3969
+ smalltalk.send(self, "_showTransactionWaitingBox", []);
3970
+ smalltalk.send(self['@object'], "_evaluate_language_withCallback_", ["self.__DBEPersistenceMode", "ruby", (function(success, resultObj){smalltalk.send(smalltalk.send(self['@transactionResultBox'], "_asJQuery", []), "_empty", []);smalltalk.send(self['@transactionResultBox'], "_removeClass_", [unescape("alert-info")]);((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);((($receiver = smalltalk.send(smalltalk.send(resultObj, "_value", []), "__eq", [true])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_addClass_", ["active"]);})() : (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_removeClass_", ["active"]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_addClass_", ["active"]);}), (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_removeClass_", ["active"]);})]));return smalltalk.send(self['@transactionResultBox'], "_hide", []);})() : (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-success")]);((($receiver = smalltalk.send(smalltalk.send(resultObj, "_value", []), "__eq", [true])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_addClass_", ["active"]);})() : (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_removeClass_", ["active"]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_addClass_", ["active"]);}), (function(){return smalltalk.send(smalltalk.send(self['@persistenceModeButton'], "_asJQuery", []), "_removeClass_", ["active"]);})]));return smalltalk.send(self['@transactionResultBox'], "_hide", []);}), (function(){return smalltalk.send(self['@transactionResultBox'], "_addClass_", [unescape("alert-error")]);})]));return smalltalk.send(self['@transactionResultBox'], "_with_", [smalltalk.send(resultObj, "_inlineViewComponent", [])]);})]);
3971
+ return self;}
3972
+ }),
3973
+ smalltalk.MaglevSystemClassWindow);
3974
+
3975
+
3976
+
3977
+ smalltalk.addClass('MaglevNilClassWindow', smalltalk.MaglevObjectWindow, [], 'Maglev-Database-Explorer');
3978
+
3979
+
3980
+ smalltalk.addClass('MaglevRubyWorkspaceWindow', smalltalk.MaglevObjectWindow, ['terminalBox', 'commandBox'], 'Maglev-Database-Explorer');
3981
+ smalltalk.addMethod(
3982
+ unescape('_contentTabs'),
3983
+ smalltalk.method({
3984
+ selector: unescape('contentTabs'),
3985
+ fn: function (){
3986
+ var self=this;
3987
+ var result=nil;
3988
+ (result=smalltalk.send(self, "_contentTabs", [], smalltalk.MaglevObjectWindow));
3989
+ smalltalk.send(result, "_at_put_", ["Workspace", smalltalk.symbolFor("renderWorkspaceOn:")]);
3990
+ return result;
3991
+ return self;}
3992
+ }),
3993
+ smalltalk.MaglevRubyWorkspaceWindow);
3994
+
3995
+ smalltalk.addMethod(
3996
+ unescape('_defaultTab'),
3997
+ smalltalk.method({
3998
+ selector: unescape('defaultTab'),
3999
+ fn: function (){
4000
+ var self=this;
4001
+ return "Workspace";
4002
+ return self;}
4003
+ }),
4004
+ smalltalk.MaglevRubyWorkspaceWindow);
4005
+
4006
+ smalltalk.addMethod(
4007
+ unescape('_handleEnter'),
4008
+ smalltalk.method({
4009
+ selector: unescape('handleEnter'),
4010
+ fn: function (){
4011
+ var self=this;
4012
+ var command=nil;
4013
+ var html=nil;
4014
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@terminalBox'], "_asJQuery", [])]));
4015
+ (command=smalltalk.send(smalltalk.send(self['@commandBox'], "_asJQuery", []), "_val", []));
4016
+ (command=smalltalk.send(command, "_replace_with_", [unescape("%27"), unescape("%27%27")]));
4017
+ smalltalk.send(smalltalk.send(self['@commandBox'], "_asJQuery", []), "_prop_value_", ["disabled", true]);
4018
+ (function($rec){smalltalk.send($rec, "_with_", [command]);return smalltalk.send($rec, "_with_", [smalltalk.send(html, "_br", [])]);})(html);
4019
+ smalltalk.send(self['@object'], "_evaluate_language_withCallback_", [smalltalk.send(smalltalk.send(unescape("self.evaluate%28%27"), "__comma", [command]), "__comma", [unescape("%27%29")]), "ruby", (function(success, resultObj){var class_=nil;
4020
+ ((($receiver = smalltalk.send(smalltalk.send(resultObj, "_at_", [(1)]), "_value", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (class_=unescape("alert%20alert-error"));})() : (function(){return (class_=unescape("alert%20alert-success"));})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return (class_=unescape("alert%20alert-error"));}), (function(){return (class_=unescape("alert%20alert-success"));})]));smalltalk.send(self['@terminalBox'], "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [class_]);smalltalk.send($rec, "_with_", [unescape("%3D%3E%20")]);smalltalk.send($rec, "_with_", [smalltalk.send(smalltalk.send(resultObj, "_at_", [(2)]), "_inlineViewComponent", [])]);return smalltalk.send($rec, "_with_", [smalltalk.send(html, "_br", [])]);})(smalltalk.send(html, "_div", []));})]);smalltalk.send(self, "_scrollToBottom", []);smalltalk.send(smalltalk.send(self['@commandBox'], "_asJQuery", []), "_prop_value_", ["disabled", false]);return smalltalk.send(smalltalk.send(self['@commandBox'], "_asJQuery", []), "_val_", [""]);})]);
4021
+ return self;}
4022
+ }),
4023
+ smalltalk.MaglevRubyWorkspaceWindow);
4024
+
4025
+ smalltalk.addMethod(
4026
+ unescape('_mouseFix'),
4027
+ smalltalk.method({
4028
+ selector: unescape('mouseFix'),
4029
+ fn: function (){
4030
+ var self=this;
4031
+ var editor = self['@terminalBox'];
4032
+ editor._asJQuery().mousedown(function (event) {
4033
+ event.preventDefault();
4034
+ return false;
4035
+ }); ;
4036
+ return self;}
4037
+ }),
4038
+ smalltalk.MaglevRubyWorkspaceWindow);
4039
+
4040
+ smalltalk.addMethod(
4041
+ unescape('_renderWorkspaceOn_'),
4042
+ smalltalk.method({
4043
+ selector: unescape('renderWorkspaceOn%3A'),
4044
+ fn: function (html){
4045
+ var self=this;
4046
+ (self['@terminalBox']=smalltalk.send(smalltalk.send(html, "_pre", []), "_style_", [unescape("height%3A%20350px%3B%20overflow-y%3A%20scroll%3B%20overflow-x%3A%20hidden%3B%20color%3A%20%23000000%3B")]));
4047
+ (self['@commandBox']=(function($rec){smalltalk.send($rec, "_type_", ["text"]);smalltalk.send($rec, "_style_", [unescape("width%3A%2097%25%3B")]);return smalltalk.send($rec, "_onKeyPress_", [(function(evt){return ((($receiver = smalltalk.send(smalltalk.send(evt, "_keyCode", []), "__eq_eq", [(13)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_handleEnter", []);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_handleEnter", []);})]));})]);})(smalltalk.send(html, "_input", [])));
4048
+ smalltalk.send(self, "_mouseFix", []);
4049
+ return self;}
4050
+ }),
4051
+ smalltalk.MaglevRubyWorkspaceWindow);
4052
+
4053
+ smalltalk.addMethod(
4054
+ unescape('_scrollToBottom'),
4055
+ smalltalk.method({
4056
+ selector: unescape('scrollToBottom'),
4057
+ fn: function (){
4058
+ var self=this;
4059
+ smalltalk.send(smalltalk.send(self['@terminalBox'], "_asJQuery", []), "_scrollTop_", [smalltalk.send(smalltalk.send(smalltalk.send(self['@terminalBox'], "_asJQuery", []), "_at_", [(0)]), "_scrollHeight", [])]);
4060
+ return self;}
4061
+ }),
4062
+ smalltalk.MaglevRubyWorkspaceWindow);
4063
+
4064
+
4065
+
4066
+ smalltalk.addClass('MaglevStringWindow', smalltalk.MaglevObjectWindow, [], 'Maglev-Database-Explorer');
4067
+
4068
+
4069
+ smalltalk.addClass('MaglevSymbolWindow', smalltalk.MaglevObjectWindow, [], 'Maglev-Database-Explorer');
4070
+
4071
+
4072
+ smalltalk.addClass('MaglevThreadWindow', smalltalk.MaglevObjectWindow, ['methodSelect', 'methodContainer', 'waitingScreen', 'waitForStackTrace'], 'Maglev-Database-Explorer');
4073
+ smalltalk.addMethod(
4074
+ unescape('_contentTabs'),
4075
+ smalltalk.method({
4076
+ selector: unescape('contentTabs'),
4077
+ fn: function (){
4078
+ var self=this;
4079
+ var result=nil;
4080
+ (result=smalltalk.send(self, "_contentTabs", [], smalltalk.MaglevObjectWindow));
4081
+ smalltalk.send(result, "_at_put_", ["Stack Trace", smalltalk.symbolFor("renderStackTraceOn:")]);
4082
+ smalltalk.send(result, "_at_put_", ["Thread Local Storage", smalltalk.symbolFor("renderLocalStorageOn:")]);
4083
+ return result;
4084
+ return self;}
4085
+ }),
4086
+ smalltalk.MaglevThreadWindow);
4087
+
4088
+ smalltalk.addMethod(
4089
+ unescape('_defaultTab'),
4090
+ smalltalk.method({
4091
+ selector: unescape('defaultTab'),
4092
+ fn: function (){
4093
+ var self=this;
4094
+ return "Stack Trace";
4095
+ return self;}
4096
+ }),
4097
+ smalltalk.MaglevThreadWindow);
4098
+
4099
+ smalltalk.addMethod(
4100
+ unescape('_frameIndex'),
4101
+ smalltalk.method({
4102
+ selector: unescape('frameIndex'),
4103
+ fn: function (){
4104
+ var self=this;
4105
+ return smalltalk.send(self['@methodSelect'], "_selectedDataIndex", []);
4106
+ return self;}
4107
+ }),
4108
+ smalltalk.MaglevThreadWindow);
4109
+
4110
+ smalltalk.addMethod(
4111
+ unescape('_isMethodUnimportant_'),
4112
+ smalltalk.method({
4113
+ selector: unescape('isMethodUnimportant%3A'),
4114
+ fn: function (aString){
4115
+ var self=this;
4116
+ try{var unimportant=nil;
4117
+ (unimportant=[unescape("AbstractException%20%3E%3E"),"AbstractException class",unescape("GsProcess%20%3E%3E"),"GsProcess class",unescape("ProcessorScheduler%20%3E%3E"),"ProcessorScheduler class","CodeEvaluation class",unescape("RubyCompiler%20%3E%3E"),"RubyCompiler class","onException:do:",unescape("RubyProc%20%3E%3E%20callAndRescue%3A"),"_gsReturnToC",unescape("%3E%3E%20onSynchronous%3Ado%3A"),unescape("ExecBlock%20%3E%3E%20ensure%3A"),unescape("ExecBlock%20%3E%3E%20rubyEnsure%3A")]);
4118
+ smalltalk.send(unimportant, "_do_", [(function(str){return ((($receiver = smalltalk.send(aString, "_includesSubString_", [str])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function(){throw({name: 'stReturn', selector: '_isMethodUnimportant_', fn: function(){return true}})})();})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function(){throw({name: 'stReturn', selector: '_isMethodUnimportant_', fn: function(){return true}})})();})]));})]);
4119
+ (function(){throw({name: 'stReturn', selector: '_isMethodUnimportant_', fn: function(){return false}})})();
4120
+ return self;
4121
+ } catch(e) {if(e.name === 'stReturn' && e.selector === '_isMethodUnimportant_'){return e.fn()} throw(e)}}
4122
+ }),
4123
+ smalltalk.MaglevThreadWindow);
4124
+
4125
+ smalltalk.addMethod(
4126
+ unescape('_proceed'),
4127
+ smalltalk.method({
4128
+ selector: unescape('proceed'),
4129
+ fn: function (){
4130
+ var self=this;
4131
+ smalltalk.send(self['@object'], "_proceedWithCallback_", [(function(obj){return smalltalk.send(self['@object'], "_fullReloadWithCallback_", [(function(threadReloaded){return ((($receiver = smalltalk.send(self['@object'], "_isRailsThread", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_closeWindow", []);})() : (function(){return smalltalk.send(smalltalk.send(threadReloaded, "_windowViewComponentReplace_", [self]), "_renderReplace", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self, "_closeWindow", []);}), (function(){return smalltalk.send(smalltalk.send(threadReloaded, "_windowViewComponentReplace_", [self]), "_renderReplace", []);})]));})]);})]);
4132
+ return self;}
4133
+ }),
4134
+ smalltalk.MaglevThreadWindow);
4135
+
4136
+ smalltalk.addMethod(
4137
+ unescape('_reloadStackWithCallback_'),
4138
+ smalltalk.method({
4139
+ selector: unescape('reloadStackWithCallback%3A'),
4140
+ fn: function (aBlock){
4141
+ var self=this;
4142
+ var html=nil;
4143
+ smalltalk.send(self['@waitForStackTrace'], "_show", []);
4144
+ smalltalk.send(self['@methodSelect'], "_clear", []);
4145
+ smalltalk.send(self['@object'], "_stackTraceMethodsWithCallback_", [(function(obj){smalltalk.send(obj, "_do_", [(function(method){var isUnimportant=nil;
4146
+ (isUnimportant=smalltalk.send(self, "_isMethodUnimportant_", [method]));return smalltalk.send(self['@methodSelect'], "_with_darker_", [(function(html){((($receiver = smalltalk.send(method, "_includesSubString_", [unescape("%28envId%200%29")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_smalltalk", [])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_smalltalk", [])]);})]));((($receiver = smalltalk.send(method, "_includesSubString_", [unescape("%28envId%201%29")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_ruby", [])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_ruby", [])]);})]));((($receiver = smalltalk.send(method, "_includesSubString_", [unescape("%28envId%201b%29")])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_rubySmalltalkBridge", [])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIconImage || MaglevIconImage), "_rubySmalltalkBridge", [])]);})]));return smalltalk.send(html, "_with_", [method]);}), isUnimportant]);})]);smalltalk.send(self['@waitForStackTrace'], "_hide", []);return ((($receiver = smalltalk.send(aBlock, "__eq", [nil])).klass === smalltalk.Boolean) ? (! $receiver ? (function(){return smalltalk.send(aBlock, "_value", []);})() : nil) : smalltalk.send($receiver, "_ifFalse_", [(function(){return smalltalk.send(aBlock, "_value", []);})]));})]);
4147
+ return self;}
4148
+ }),
4149
+ smalltalk.MaglevThreadWindow);
4150
+
4151
+ smalltalk.addMethod(
4152
+ unescape('_renderButtonsOn_'),
4153
+ smalltalk.method({
4154
+ selector: unescape('renderButtonsOn%3A'),
4155
+ fn: function (html){
4156
+ var self=this;
4157
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("button-area")]);smalltalk.send($rec, "_style_", [unescape("margin-bottom%3A%2010px%3B")]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_type_", ["button"]);smalltalk.send($rec, "_class_", [unescape("btn%20btn-primary")]);smalltalk.send($rec, "_value_", ["Proceed"]);smalltalk.send($rec, "_style_", [unescape("margin-right%3A%201%25%3B%20width%3A%2024%25%3B")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_proceed", []);})]);})(smalltalk.send(html, "_input", []));(function($rec){smalltalk.send($rec, "_type_", ["button"]);smalltalk.send($rec, "_class_", [unescape("btn%20btn-primary")]);smalltalk.send($rec, "_value_", ["Step into"]);smalltalk.send($rec, "_style_", [unescape("margin-right%3A%201%25%3B%20width%3A%2024%25%3B")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_stepInto", []);})]);})(smalltalk.send(html, "_input", []));(function($rec){smalltalk.send($rec, "_type_", ["button"]);smalltalk.send($rec, "_class_", [unescape("btn%20btn-primary")]);smalltalk.send($rec, "_value_", ["Step over"]);smalltalk.send($rec, "_style_", [unescape("margin-right%3A%201%25%3B%20width%3A%2024%25%3B")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_stepOver", []);})]);})(smalltalk.send(html, "_input", []));return (function($rec){smalltalk.send($rec, "_type_", ["button"]);smalltalk.send($rec, "_class_", [unescape("btn%20btn-primary")]);smalltalk.send($rec, "_value_", ["Trim stack"]);smalltalk.send($rec, "_style_", [unescape("width%3A%2025%25%3B")]);return smalltalk.send($rec, "_onClick_", [(function(){return smalltalk.send(self, "_trimStack", []);})]);})(smalltalk.send(html, "_input", []));})]);})(smalltalk.send(html, "_div", []));
4158
+ return self;}
4159
+ }),
4160
+ smalltalk.MaglevThreadWindow);
4161
+
4162
+ smalltalk.addMethod(
4163
+ unescape('_renderFrame_'),
4164
+ smalltalk.method({
4165
+ selector: unescape('renderFrame%3A'),
4166
+ fn: function (frameIndex){
4167
+ var self=this;
4168
+ smalltalk.send(smalltalk.send(self['@methodContainer'], "_asJQuery", []), "_empty", []);
4169
+ smalltalk.send(self['@waitingScreen'], "_show", []);
4170
+ ((($receiver = ((($receiver = frameIndex).klass === smalltalk.Number) ? $receiver >(0) : smalltalk.send($receiver, "__gt", [(0)]))).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self['@object'], "_stackFrame_withCallback_", [frameIndex, (function(obj){smalltalk.send(smalltalk.send(self['@methodContainer'], "_asJQuery", []), "_empty", []);smalltalk.send(self['@methodContainer'], "_with_", [smalltalk.send((smalltalk.MaglevGsNMethodDebugEditor || MaglevGsNMethodDebugEditor), "_for_", [obj])]);return smalltalk.send(self['@waitingScreen'], "_hide", []);})]);})() : (function(){return smalltalk.send(self['@waitingScreen'], "_hide", []);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(self['@object'], "_stackFrame_withCallback_", [frameIndex, (function(obj){smalltalk.send(smalltalk.send(self['@methodContainer'], "_asJQuery", []), "_empty", []);smalltalk.send(self['@methodContainer'], "_with_", [smalltalk.send((smalltalk.MaglevGsNMethodDebugEditor || MaglevGsNMethodDebugEditor), "_for_", [obj])]);return smalltalk.send(self['@waitingScreen'], "_hide", []);})]);}), (function(){return smalltalk.send(self['@waitingScreen'], "_hide", []);})]));
4171
+ return self;}
4172
+ }),
4173
+ smalltalk.MaglevThreadWindow);
4174
+
4175
+ smalltalk.addMethod(
4176
+ unescape('_renderLocalStorageOn_'),
4177
+ smalltalk.method({
4178
+ selector: unescape('renderLocalStorageOn%3A'),
4179
+ fn: function (html){
4180
+ var self=this;
4181
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevTable || MaglevTable), "_newAssociationDictFor_with_", [smalltalk.send(self['@object'], "_localStorage", []), smalltalk.symbolFor("elements")])]);
4182
+ return self;}
4183
+ }),
4184
+ smalltalk.MaglevThreadWindow);
4185
+
4186
+ smalltalk.addMethod(
4187
+ unescape('_renderStackTraceOn_'),
4188
+ smalltalk.method({
4189
+ selector: unescape('renderStackTraceOn%3A'),
4190
+ fn: function (html){
4191
+ var self=this;
4192
+ (self['@waitForStackTrace']=smalltalk.send(smalltalk.send(html, "_div", []), "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);return smalltalk.send($rec, "_with_", [" loading..."]);})(html);})]));
4193
+ (self['@methodSelect']=smalltalk.send((smalltalk.MaglevListBox || MaglevListBox), "_new", []));
4194
+ smalltalk.send(html, "_with_", [self['@methodSelect']]);
4195
+ (function($rec){smalltalk.send($rec, "_changedCallback_", [(function(text, index){return smalltalk.send(self, "_renderFrame_", [index]);})]);smalltalk.send($rec, "_height_", [(250)]);return smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B")]);})(self['@methodSelect']);
4196
+ smalltalk.send(self, "_renderButtonsOn_", [html]);
4197
+ (self['@waitingScreen']=(function($rec){smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);return smalltalk.send($rec, "_with_", [" loading..."]);})(html);})]);return smalltalk.send($rec, "_hide", []);})(smalltalk.send(html, "_div", [])));
4198
+ (self['@methodContainer']=smalltalk.send(html, "_div", []));
4199
+ smalltalk.send(self, "_reloadStackWithCallback_", [nil]);
4200
+ return self;}
4201
+ }),
4202
+ smalltalk.MaglevThreadWindow);
4203
+
4204
+ smalltalk.addMethod(
4205
+ unescape('_selectStackFrame_'),
4206
+ smalltalk.method({
4207
+ selector: unescape('selectStackFrame%3A'),
4208
+ fn: function (anInteger){
4209
+ var self=this;
4210
+ self['@methodSelect']._asJQuery()[0].selectedIndex = anInteger - 1; ;
4211
+ smalltalk.send(self, "_renderFrame_", [anInteger]);
4212
+ return self;}
4213
+ }),
4214
+ smalltalk.MaglevThreadWindow);
4215
+
4216
+ smalltalk.addMethod(
4217
+ unescape('_stepInto'),
4218
+ smalltalk.method({
4219
+ selector: unescape('stepInto'),
4220
+ fn: function (){
4221
+ var self=this;
4222
+ var frameIndex=nil;
4223
+ (frameIndex=smalltalk.send(self, "_frameIndex", []));
4224
+ smalltalk.send(self['@object'], "_stepInto_withCallback_", [frameIndex, (function(obj){return smalltalk.send(self, "_reloadStackWithCallback_", [(function(){return smalltalk.send(self, "_selectStackFrame_", [frameIndex]);})]);})]);
4225
+ return self;}
4226
+ }),
4227
+ smalltalk.MaglevThreadWindow);
4228
+
4229
+ smalltalk.addMethod(
4230
+ unescape('_stepOver'),
4231
+ smalltalk.method({
4232
+ selector: unescape('stepOver'),
4233
+ fn: function (){
4234
+ var self=this;
4235
+ var frameIndex=nil;
4236
+ (frameIndex=smalltalk.send(self, "_frameIndex", []));
4237
+ smalltalk.send(self['@object'], "_stepOver_withCallback_", [frameIndex, (function(obj){return smalltalk.send(self, "_reloadStackWithCallback_", [(function(){return smalltalk.send(self, "_selectStackFrame_", [frameIndex]);})]);})]);
4238
+ return self;}
4239
+ }),
4240
+ smalltalk.MaglevThreadWindow);
4241
+
4242
+ smalltalk.addMethod(
4243
+ unescape('_trimStack'),
4244
+ smalltalk.method({
4245
+ selector: unescape('trimStack'),
4246
+ fn: function (){
4247
+ var self=this;
4248
+ var frameIndex=nil;
4249
+ (frameIndex=smalltalk.send(self, "_frameIndex", []));
4250
+ smalltalk.send(self['@object'], "_trimTo_withCallback_", [frameIndex, (function(obj){return smalltalk.send(self, "_reloadStackWithCallback_", [(function(){return smalltalk.send(self, "_selectStackFrame_", [frameIndex]);})]);})]);
4251
+ return self;}
4252
+ }),
4253
+ smalltalk.MaglevThreadWindow);
4254
+
4255
+
4256
+
4257
+ smalltalk.addClass('MaglevSearchWindow', smalltalk.MaglevWindow, ['maglev', 'selectBox', 'waitForResult', 'listContents', 'methodContainer', 'waitingScreen'], 'Maglev-Database-Explorer');
4258
+ smalltalk.addMethod(
4259
+ unescape('_listIndex'),
4260
+ smalltalk.method({
4261
+ selector: unescape('listIndex'),
4262
+ fn: function (){
4263
+ var self=this;
4264
+ return ((($receiver = smalltalk.send(smalltalk.send(smalltalk.send(self['@selectBox'], "_asJQuery", []), "_at_", [(0)]), "_selectedIndex", [])).klass === smalltalk.Number) ? $receiver +(1) : smalltalk.send($receiver, "__plus", [(1)]));
4265
+ return self;}
4266
+ }),
4267
+ smalltalk.MaglevSearchWindow);
4268
+
4269
+ smalltalk.addMethod(
4270
+ unescape('_maglev'),
4271
+ smalltalk.method({
4272
+ selector: unescape('maglev'),
4273
+ fn: function (){
4274
+ var self=this;
4275
+ (($receiver = self['@maglev']) == nil || $receiver == undefined) ? (function(){return (self['@maglev']=smalltalk.send((smalltalk.Maglev || Maglev), "_instance", []));})() : $receiver;
4276
+ return self['@maglev'];
4277
+ return self;}
4278
+ }),
4279
+ smalltalk.MaglevSearchWindow);
4280
+
4281
+ smalltalk.addMethod(
4282
+ unescape('_renderClass'),
4283
+ smalltalk.method({
4284
+ selector: unescape('renderClass'),
4285
+ fn: function (){
4286
+ var self=this;
4287
+ var listElement=nil;
4288
+ var cls=nil;
4289
+ var selector=nil;
4290
+ var envId=nil;
4291
+ smalltalk.send(self['@waitingScreen'], "_show", []);
4292
+ (listElement=smalltalk.send(self['@listContents'], "_at_", [smalltalk.send(self, "_listIndex", [])]));
4293
+ (cls=smalltalk.send(smalltalk.send(listElement, "_at_", [(1)]), "_at_", [(1)]));
4294
+ (envId=smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(listElement, "_at_", [(1)]), "_at_", [(2)]), "_inspection", []), "_asNumber", []));
4295
+ (selector=smalltalk.send(listElement, "_at_", [(2)]));
4296
+ ((($receiver = smalltalk.send(envId, "__eq", [(0)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(cls, "_sourceCodeFor_language_withCallback_", [selector, "smalltalk", (function(obj){return smalltalk.send(self, "_renderMethodObject_", [obj]);})]);})() : (function(){return smalltalk.send(cls, "_sourceCodeFor_language_withCallback_", [selector, "ruby", (function(obj){return smalltalk.send(self, "_renderMethodObject_", [obj]);})]);})()) : smalltalk.send($receiver, "_ifTrue_ifFalse_", [(function(){return smalltalk.send(cls, "_sourceCodeFor_language_withCallback_", [selector, "smalltalk", (function(obj){return smalltalk.send(self, "_renderMethodObject_", [obj]);})]);}), (function(){return smalltalk.send(cls, "_sourceCodeFor_language_withCallback_", [selector, "ruby", (function(obj){return smalltalk.send(self, "_renderMethodObject_", [obj]);})]);})]));
4297
+ return self;}
4298
+ }),
4299
+ smalltalk.MaglevSearchWindow);
4300
+
4301
+ smalltalk.addMethod(
4302
+ unescape('_renderListOf_'),
4303
+ smalltalk.method({
4304
+ selector: unescape('renderListOf%3A'),
4305
+ fn: function (selectors){
4306
+ var self=this;
4307
+ var html=nil;
4308
+ (html=smalltalk.send((smalltalk.HTMLCanvas || HTMLCanvas), "_onJQuery_", [smalltalk.send(self['@selectBox'], "_asJQuery", [])]));
4309
+ smalltalk.send(smalltalk.send(self['@selectBox'], "_asJQuery", []), "_empty", []);
4310
+ (self['@listContents']=smalltalk.send((smalltalk.Array || Array), "_new", []));
4311
+ smalltalk.send(selectors, "_do_", [(function(selector){return smalltalk.send(smalltalk.send(self, "_maglev", []), "_implementersOf_withCallback_", [selector, (function(success, obj){((($receiver = smalltalk.send(obj, "_hasElements", [])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return (function($rec){smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(obj, "_do_", [(function(cls){smalltalk.send(self['@listContents'], "_add_", [[cls,selector]]);return smalltalk.send(smalltalk.send(html, "_option", []), "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(cls, "_at_", [(1)]), "_inspection", []), "__comma", [unescape("%3E%3E")]), "__comma", [selector])]);})]);})]);smalltalk.send($rec, "_size_", [(10)]);smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B")]);return smalltalk.send($rec, "_show", []);})(self['@selectBox']);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(obj, "_do_", [(function(cls){smalltalk.send(self['@listContents'], "_add_", [[cls,selector]]);return smalltalk.send(smalltalk.send(html, "_option", []), "_with_", [smalltalk.send(smalltalk.send(smalltalk.send(smalltalk.send(cls, "_at_", [(1)]), "_inspection", []), "__comma", [unescape("%3E%3E")]), "__comma", [selector])]);})]);})]);smalltalk.send($rec, "_size_", [(10)]);smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B")]);return smalltalk.send($rec, "_show", []);})(self['@selectBox']);})]));return smalltalk.send(self['@waitForResult'], "_hide", []);})]);})]);
4312
+ return self;}
4313
+ }),
4314
+ smalltalk.MaglevSearchWindow);
4315
+
4316
+ smalltalk.addMethod(
4317
+ unescape('_renderMethodObject_'),
4318
+ smalltalk.method({
4319
+ selector: unescape('renderMethodObject%3A'),
4320
+ fn: function (obj){
4321
+ var self=this;
4322
+ smalltalk.send(smalltalk.send(self['@methodContainer'], "_asJQuery", []), "_empty", []);
4323
+ smalltalk.send(self['@methodContainer'], "_with_", [smalltalk.send((smalltalk.MaglevGsNMethodEditor || MaglevGsNMethodEditor), "_for_", [obj])]);
4324
+ smalltalk.send(self['@waitingScreen'], "_hide", []);
4325
+ return self;}
4326
+ }),
4327
+ smalltalk.MaglevSearchWindow);
4328
+
4329
+ smalltalk.addMethod(
4330
+ unescape('_renderWindowContentOn_'),
4331
+ smalltalk.method({
4332
+ selector: unescape('renderWindowContentOn%3A'),
4333
+ fn: function (html){
4334
+ var self=this;
4335
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("maglev-search")]);return smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_class_", [unescape("search-form")]);smalltalk.send($rec, "_onSubmit_", [(function(e){smalltalk.send(e, "_preventDefault", []);return smalltalk.send(self, "_searchSelectorsAndClasses", []);})]);return smalltalk.send($rec, "_with_", [(function(){return smalltalk.send(smalltalk.send(html, "_input", []), "_class_", [unescape("search-input")]);})]);})(smalltalk.send(html, "_form", []));})]);})(smalltalk.send(html, "_div", []));
4336
+ (self['@selectBox']=(function($rec){smalltalk.send($rec, "_size_", [(10)]);smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B")]);smalltalk.send($rec, "_onChange_", [(function(){return smalltalk.send(self, "_renderClass", []);})]);return smalltalk.send($rec, "_hide", []);})(smalltalk.send(html, "_select", [])));
4337
+ (self['@waitForResult']=(function($rec){smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);return smalltalk.send($rec, "_with_", [" loading..."]);})(html);})]);return smalltalk.send($rec, "_hide", []);})(smalltalk.send(html, "_div", [])));
4338
+ (self['@waitingScreen']=(function($rec){smalltalk.send($rec, "_with_", [(function(){return (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);return smalltalk.send($rec, "_with_", [" loading..."]);})(html);})]);return smalltalk.send($rec, "_hide", []);})(smalltalk.send(html, "_div", [])));
4339
+ (self['@methodContainer']=smalltalk.send(html, "_div", []));
4340
+ return self;}
4341
+ }),
4342
+ smalltalk.MaglevSearchWindow);
4343
+
4344
+ smalltalk.addMethod(
4345
+ unescape('_searchSelectorsAndClasses'),
4346
+ smalltalk.method({
4347
+ selector: unescape('searchSelectorsAndClasses'),
4348
+ fn: function (){
4349
+ var self=this;
4350
+ var input=nil;
4351
+ var maglev=nil;
4352
+ var selectors=nil;
4353
+ (input=smalltalk.send(smalltalk.send(unescape(".search-input"), "_asJQuery", []), "_val", []));
4354
+ (selectors=smalltalk.send((smalltalk.Array || Array), "_new", []));
4355
+ smalltalk.send(self['@waitForResult'], "_show", []);
4356
+ smalltalk.send(smalltalk.send(self, "_maglev", []), "_findMethodNamesMatching_with_", [input, (function(success, obj){return ((($receiver = success).klass === smalltalk.Boolean) ? ($receiver ? (function(){smalltalk.send(selectors, "_addAll_", [smalltalk.send(smalltalk.send(obj, "_string", []), "_tokenize_", [" "])]);return smalltalk.send(self, "_renderListOf_", [selectors]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){smalltalk.send(selectors, "_addAll_", [smalltalk.send(smalltalk.send(obj, "_string", []), "_tokenize_", [" "])]);return smalltalk.send(self, "_renderListOf_", [selectors]);})]));})]);
4357
+ return self;}
4358
+ }),
4359
+ smalltalk.MaglevSearchWindow);
4360
+
4361
+
4362
+
4363
+ smalltalk.addClass('MaglevWaitingWindow', smalltalk.MaglevWindow, [], 'Maglev-Database-Explorer');
4364
+ smalltalk.addMethod(
4365
+ unescape('_isWaitingWindow'),
4366
+ smalltalk.method({
4367
+ selector: unescape('isWaitingWindow'),
4368
+ fn: function (){
4369
+ var self=this;
4370
+ return true;
4371
+ return self;}
4372
+ }),
4373
+ smalltalk.MaglevWaitingWindow);
4374
+
4375
+ smalltalk.addMethod(
4376
+ unescape('_renderWindowContentOn_'),
4377
+ smalltalk.method({
4378
+ selector: unescape('renderWindowContentOn%3A'),
4379
+ fn: function (html){
4380
+ var self=this;
4381
+
4382
+ return self;}
4383
+ }),
4384
+ smalltalk.MaglevWaitingWindow);
4385
+
4386
+ smalltalk.addMethod(
4387
+ unescape('_renderWindowTitleOn_'),
4388
+ smalltalk.method({
4389
+ selector: unescape('renderWindowTitleOn%3A'),
4390
+ fn: function (html){
4391
+ var self=this;
4392
+ (function($rec){smalltalk.send($rec, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_wait", [])]);return smalltalk.send($rec, "_with_", [" loading..."]);})(html);
4393
+ return self;}
4394
+ }),
4395
+ smalltalk.MaglevWaitingWindow);
4396
+
4397
+
4398
+
4399
+ smalltalk.addClass('MaglevWebBrowserWindow', smalltalk.MaglevWindow, ['url', 'inputUrl', 'iframe'], 'Maglev-Database-Explorer');
4400
+ smalltalk.addMethod(
4401
+ unescape('_renderWindowContentOn_'),
4402
+ smalltalk.method({
4403
+ selector: unescape('renderWindowContentOn%3A'),
4404
+ fn: function (html){
4405
+ var self=this;
4406
+ var iframeContainer=nil;
4407
+ (function($rec){smalltalk.send($rec, "_class_", [unescape("input-prepend")]);smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B%20margin-top%3A%2010px%3B%20box-sizing%3A%20border-box%3B%20padding-right%3A%2051px%3B%20margin-bottom%3A%205px%3B")]);return smalltalk.send($rec, "_with_", [(function(){(function($rec){smalltalk.send($rec, "_class_", [unescape("add-on")]);return smalltalk.send($rec, "_with_", ["URL"]);})(smalltalk.send(html, "_span", []));return (self['@inputUrl']=(function($rec){smalltalk.send($rec, "_type_", ["text"]);smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B")]);return smalltalk.send($rec, "_onKeyPress_", [(function(evt){return ((($receiver = smalltalk.send(smalltalk.send(evt, "_which", []), "__eq", [(13)])).klass === smalltalk.Boolean) ? ($receiver ? (function(){return smalltalk.send(self, "_url_", [smalltalk.send(smalltalk.send(self['@inputUrl'], "_asJQuery", []), "_val", [])]);})() : nil) : smalltalk.send($receiver, "_ifTrue_", [(function(){return smalltalk.send(self, "_url_", [smalltalk.send(smalltalk.send(self['@inputUrl'], "_asJQuery", []), "_val", [])]);})]));})]);})(smalltalk.send(html, "_input", [])));})]);})(smalltalk.send(html, "_div", []));
4408
+ (iframeContainer=(function($rec){smalltalk.send($rec, "_style_", [unescape("margin-bottom%3A%205px%3B%20margin-right%3A%205px%3B")]);return smalltalk.send($rec, "_with_", [(function(){return (self['@iframe']=(function($rec){smalltalk.send($rec, "_style_", [unescape("width%3A%20100%25%3B%20height%3A%20100%25%3B%20border%3A%201px%20solid%20%23ccc%3B")]);smalltalk.send($rec, "_frameborder_", ["0"]);return smalltalk.send($rec, "_src_", ["about:blank"]);})(smalltalk.send(html, "_iframe", [])));})]);})(smalltalk.send(html, "_div", [])));
4409
+ smalltalk.send(smalltalk.send(iframeContainer, "_asJQuery", []), "_resizable", []);
4410
+ return self;}
4411
+ }),
4412
+ smalltalk.MaglevWebBrowserWindow);
4413
+
4414
+ smalltalk.addMethod(
4415
+ unescape('_renderWindowTitleContentOn_'),
4416
+ smalltalk.method({
4417
+ selector: unescape('renderWindowTitleContentOn%3A'),
4418
+ fn: function (html){
4419
+ var self=this;
4420
+ smalltalk.send(html, "_with_", [smalltalk.send((smalltalk.MaglevIcon || MaglevIcon), "_globe", [])]);
4421
+ smalltalk.send(html, "_with_", ["Web Browser"]);
4422
+ smalltalk.send(self, "_renderHeightPlaceholderOn_", [html]);
4423
+ smalltalk.send(self, "_renderCloseButtonOn_", [html]);
4424
+ return self;}
4425
+ }),
4426
+ smalltalk.MaglevWebBrowserWindow);
4427
+
4428
+ smalltalk.addMethod(
4429
+ unescape('_url'),
4430
+ smalltalk.method({
4431
+ selector: unescape('url'),
4432
+ fn: function (){
4433
+ var self=this;
4434
+ return self['@url'];
4435
+ return self;}
4436
+ }),
4437
+ smalltalk.MaglevWebBrowserWindow);
4438
+
4439
+ smalltalk.addMethod(
4440
+ unescape('_url_'),
4441
+ smalltalk.method({
4442
+ selector: unescape('url%3A'),
4443
+ fn: function (aString){
4444
+ var self=this;
4445
+ (self['@url']=aString);
4446
+ smalltalk.send(smalltalk.send(self['@inputUrl'], "_asJQuery", []), "_attr_with_", ["value", aString]);
4447
+ smalltalk.send(smalltalk.send(self['@iframe'], "_asJQuery", []), "_attr_with_", ["src", aString]);
4448
+ return self;}
4449
+ }),
4450
+ smalltalk.MaglevWebBrowserWindow);
4451
+
4452
+
4453
+ smalltalk.addMethod(
4454
+ unescape('_defaultUrl'),
4455
+ smalltalk.method({
4456
+ selector: unescape('defaultUrl'),
4457
+ fn: function (){
4458
+ var self=this;
4459
+ var port = parseInt(window.location.host.split(':')[1]) - 1;
4460
+ return window.location.protocol + '//' + window.location.host.split(':')[0] + ':' + port + '/'; ;
4461
+ return self;}
4462
+ }),
4463
+ smalltalk.MaglevWebBrowserWindow.klass);
4464
+
4465
+ smalltalk.addMethod(
4466
+ unescape('_showNew'),
4467
+ smalltalk.method({
4468
+ selector: unescape('showNew'),
4469
+ fn: function (){
4470
+ var self=this;
4471
+ return (function($rec){smalltalk.send($rec, "_appendToWorkspace", []);return smalltalk.send($rec, "_url_", [smalltalk.send(self, "_defaultUrl", [])]);})(smalltalk.send(self, "_new", []));
4472
+ return self;}
4473
+ }),
4474
+ smalltalk.MaglevWebBrowserWindow.klass);
4475
+
4476
+