Helios-Inspector.deploy.js 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020
  1. smalltalk.addPackage('Helios-Inspector');
  2. smalltalk.addClass('HLInspector', smalltalk.HLWidget, ['model', 'variablesWidget', 'displayWidget', 'codeWidget', 'label'], 'Helios-Inspector');
  3. smalltalk.addMethod(
  4. smalltalk.method({
  5. selector: "codeWidget",
  6. fn: function (){
  7. var self=this;
  8. function $HLCodeWidget(){return smalltalk.HLCodeWidget||(typeof HLCodeWidget=="undefined"?nil:HLCodeWidget)}
  9. return smalltalk.withContext(function($ctx1) {
  10. var $2,$3,$4,$1;
  11. $2=self["@codeWidget"];
  12. if(($receiver = $2) == nil || $receiver == undefined){
  13. $3=_st($HLCodeWidget())._new();
  14. _st($3)._model_(_st(self["@model"])._code());
  15. _st($3)._receiver_(_st(self["@model"])._inspectee());
  16. $4=_st($3)._yourself();
  17. self["@codeWidget"]=$4;
  18. $1=self["@codeWidget"];
  19. } else {
  20. $1=$2;
  21. };
  22. return $1;
  23. }, function($ctx1) {$ctx1.fill(self,"codeWidget",{},smalltalk.HLInspector)})},
  24. messageSends: ["ifNil:", "model:", "code", "new", "receiver:", "inspectee", "yourself"]}),
  25. smalltalk.HLInspector);
  26. smalltalk.addMethod(
  27. smalltalk.method({
  28. selector: "displayWidget",
  29. fn: function (){
  30. var self=this;
  31. function $HLInspectorDisplayWidget(){return smalltalk.HLInspectorDisplayWidget||(typeof HLInspectorDisplayWidget=="undefined"?nil:HLInspectorDisplayWidget)}
  32. return smalltalk.withContext(function($ctx1) {
  33. var $2,$3,$4,$1;
  34. $2=self["@displayWidget"];
  35. if(($receiver = $2) == nil || $receiver == undefined){
  36. $3=_st($HLInspectorDisplayWidget())._new();
  37. _st($3)._model_(_st(self)._model());
  38. $4=_st($3)._yourself();
  39. self["@displayWidget"]=$4;
  40. $1=self["@displayWidget"];
  41. } else {
  42. $1=$2;
  43. };
  44. return $1;
  45. }, function($ctx1) {$ctx1.fill(self,"displayWidget",{},smalltalk.HLInspector)})},
  46. messageSends: ["ifNil:", "model:", "model", "new", "yourself"]}),
  47. smalltalk.HLInspector);
  48. smalltalk.addMethod(
  49. smalltalk.method({
  50. selector: "initialize",
  51. fn: function (){
  52. var self=this;
  53. return smalltalk.withContext(function($ctx1) {
  54. smalltalk.HLWidget.fn.prototype._initialize.apply(_st(self), []);
  55. _st(self)._register();
  56. return self}, function($ctx1) {$ctx1.fill(self,"initialize",{},smalltalk.HLInspector)})},
  57. messageSends: ["initialize", "register"]}),
  58. smalltalk.HLInspector);
  59. smalltalk.addMethod(
  60. smalltalk.method({
  61. selector: "inspect:",
  62. fn: function (anObject){
  63. var self=this;
  64. return smalltalk.withContext(function($ctx1) {
  65. var $1,$2;
  66. _st(_st(self)._model())._inspect_on_(anObject,self);
  67. $1=self;
  68. _st($1)._refreshVariablesWidget();
  69. $2=_st($1)._refreshDisplayWidget();
  70. return self}, function($ctx1) {$ctx1.fill(self,"inspect:",{anObject:anObject},smalltalk.HLInspector)})},
  71. messageSends: ["inspect:on:", "model", "refreshVariablesWidget", "refreshDisplayWidget"]}),
  72. smalltalk.HLInspector);
  73. smalltalk.addMethod(
  74. smalltalk.method({
  75. selector: "inspectee",
  76. fn: function (){
  77. var self=this;
  78. return smalltalk.withContext(function($ctx1) {
  79. var $1;
  80. $1=_st(_st(self)._model())._inspectee();
  81. return $1;
  82. }, function($ctx1) {$ctx1.fill(self,"inspectee",{},smalltalk.HLInspector)})},
  83. messageSends: ["inspectee", "model"]}),
  84. smalltalk.HLInspector);
  85. smalltalk.addMethod(
  86. smalltalk.method({
  87. selector: "inspectee:",
  88. fn: function (anObject){
  89. var self=this;
  90. return smalltalk.withContext(function($ctx1) {
  91. _st(_st(self)._model())._inspectee_(anObject);
  92. return self}, function($ctx1) {$ctx1.fill(self,"inspectee:",{anObject:anObject},smalltalk.HLInspector)})},
  93. messageSends: ["inspectee:", "model"]}),
  94. smalltalk.HLInspector);
  95. smalltalk.addMethod(
  96. smalltalk.method({
  97. selector: "label",
  98. fn: function (){
  99. var self=this;
  100. return smalltalk.withContext(function($ctx1) {
  101. var $2,$1;
  102. $2=self["@label"];
  103. if(($receiver = $2) == nil || $receiver == undefined){
  104. $1=_st(_st(self["@model"])._inspectee())._printString();
  105. } else {
  106. $1=$2;
  107. };
  108. return $1;
  109. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLInspector)})},
  110. messageSends: ["ifNil:", "printString", "inspectee"]}),
  111. smalltalk.HLInspector);
  112. smalltalk.addMethod(
  113. smalltalk.method({
  114. selector: "model",
  115. fn: function (){
  116. var self=this;
  117. function $HLInspectorModel(){return smalltalk.HLInspectorModel||(typeof HLInspectorModel=="undefined"?nil:HLInspectorModel)}
  118. return smalltalk.withContext(function($ctx1) {
  119. var $2,$1;
  120. $2=self["@model"];
  121. if(($receiver = $2) == nil || $receiver == undefined){
  122. _st(self)._model_(_st($HLInspectorModel())._new());
  123. $1=self["@model"];
  124. } else {
  125. $1=$2;
  126. };
  127. return $1;
  128. }, function($ctx1) {$ctx1.fill(self,"model",{},smalltalk.HLInspector)})},
  129. messageSends: ["ifNil:", "model:", "new"]}),
  130. smalltalk.HLInspector);
  131. smalltalk.addMethod(
  132. smalltalk.method({
  133. selector: "model:",
  134. fn: function (aModel){
  135. var self=this;
  136. return smalltalk.withContext(function($ctx1) {
  137. var $1,$2;
  138. self["@model"]=aModel;
  139. _st(_st(self)._codeWidget())._model_(_st(aModel)._code());
  140. $1=self;
  141. _st($1)._observeCodeWidget();
  142. _st($1)._observeVariablesWidget();
  143. $2=_st($1)._observeModel();
  144. return self}, function($ctx1) {$ctx1.fill(self,"model:",{aModel:aModel},smalltalk.HLInspector)})},
  145. messageSends: ["model:", "code", "codeWidget", "observeCodeWidget", "observeVariablesWidget", "observeModel"]}),
  146. smalltalk.HLInspector);
  147. smalltalk.addMethod(
  148. smalltalk.method({
  149. selector: "observeCodeWidget",
  150. fn: function (){
  151. var self=this;
  152. function $HLDoItExecuted(){return smalltalk.HLDoItExecuted||(typeof HLDoItExecuted=="undefined"?nil:HLDoItExecuted)}
  153. return smalltalk.withContext(function($ctx1) {
  154. _st(_st(_st(self)._codeWidget())._announcer())._on_do_($HLDoItExecuted(),(function(){
  155. return smalltalk.withContext(function($ctx2) {
  156. return _st(self)._onDoneIt();
  157. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
  158. return self}, function($ctx1) {$ctx1.fill(self,"observeCodeWidget",{},smalltalk.HLInspector)})},
  159. messageSends: ["on:do:", "onDoneIt", "announcer", "codeWidget"]}),
  160. smalltalk.HLInspector);
  161. smalltalk.addMethod(
  162. smalltalk.method({
  163. selector: "observeModel",
  164. fn: function (){
  165. var self=this;
  166. function $HLInstanceVariableSelected(){return smalltalk.HLInstanceVariableSelected||(typeof HLInstanceVariableSelected=="undefined"?nil:HLInstanceVariableSelected)}
  167. return smalltalk.withContext(function($ctx1) {
  168. _st(_st(_st(self)._model())._announcer())._on_send_to_($HLInstanceVariableSelected(),"onInstanceVariableSelected",self);
  169. return self}, function($ctx1) {$ctx1.fill(self,"observeModel",{},smalltalk.HLInspector)})},
  170. messageSends: ["on:send:to:", "announcer", "model"]}),
  171. smalltalk.HLInspector);
  172. smalltalk.addMethod(
  173. smalltalk.method({
  174. selector: "observeVariablesWidget",
  175. fn: function (){
  176. var self=this;
  177. function $HLRefreshRequested(){return smalltalk.HLRefreshRequested||(typeof HLRefreshRequested=="undefined"?nil:HLRefreshRequested)}
  178. function $HLDiveRequested(){return smalltalk.HLDiveRequested||(typeof HLDiveRequested=="undefined"?nil:HLDiveRequested)}
  179. return smalltalk.withContext(function($ctx1) {
  180. var $1,$2;
  181. $1=_st(_st(self)._variablesWidget())._announcer();
  182. _st($1)._on_do_($HLRefreshRequested(),(function(ann){
  183. return smalltalk.withContext(function($ctx2) {
  184. return _st(self)._onRefresh();
  185. }, function($ctx2) {$ctx2.fillBlock({ann:ann},$ctx1)})}));
  186. $2=_st($1)._on_do_($HLDiveRequested(),(function(){
  187. return smalltalk.withContext(function($ctx2) {
  188. return _st(self)._onDive();
  189. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
  190. return self}, function($ctx1) {$ctx1.fill(self,"observeVariablesWidget",{},smalltalk.HLInspector)})},
  191. messageSends: ["on:do:", "onRefresh", "announcer", "variablesWidget", "onDive"]}),
  192. smalltalk.HLInspector);
  193. smalltalk.addMethod(
  194. smalltalk.method({
  195. selector: "onDive",
  196. fn: function (){
  197. var self=this;
  198. return smalltalk.withContext(function($ctx1) {
  199. _st(self)._inspect_(_st(_st(self)._model())._selectedInstVarObject());
  200. return self}, function($ctx1) {$ctx1.fill(self,"onDive",{},smalltalk.HLInspector)})},
  201. messageSends: ["inspect:", "selectedInstVarObject", "model"]}),
  202. smalltalk.HLInspector);
  203. smalltalk.addMethod(
  204. smalltalk.method({
  205. selector: "onDoneIt",
  206. fn: function (){
  207. var self=this;
  208. return smalltalk.withContext(function($ctx1) {
  209. _st(self)._refresh();
  210. return self}, function($ctx1) {$ctx1.fill(self,"onDoneIt",{},smalltalk.HLInspector)})},
  211. messageSends: ["refresh"]}),
  212. smalltalk.HLInspector);
  213. smalltalk.addMethod(
  214. smalltalk.method({
  215. selector: "onInspectIt",
  216. fn: function (){
  217. var self=this;
  218. return smalltalk.withContext(function($ctx1) {
  219. return self}, function($ctx1) {$ctx1.fill(self,"onInspectIt",{},smalltalk.HLInspector)})},
  220. messageSends: []}),
  221. smalltalk.HLInspector);
  222. smalltalk.addMethod(
  223. smalltalk.method({
  224. selector: "onInstanceVariableSelected",
  225. fn: function (){
  226. var self=this;
  227. return smalltalk.withContext(function($ctx1) {
  228. _st(_st(self)._codeWidget())._receiver_(_st(_st(self)._model())._selectedInstVarObject());
  229. _st(self)._refreshDisplayWidget();
  230. return self}, function($ctx1) {$ctx1.fill(self,"onInstanceVariableSelected",{},smalltalk.HLInspector)})},
  231. messageSends: ["receiver:", "selectedInstVarObject", "model", "codeWidget", "refreshDisplayWidget"]}),
  232. smalltalk.HLInspector);
  233. smalltalk.addMethod(
  234. smalltalk.method({
  235. selector: "onPrintIt",
  236. fn: function (){
  237. var self=this;
  238. return smalltalk.withContext(function($ctx1) {
  239. return self}, function($ctx1) {$ctx1.fill(self,"onPrintIt",{},smalltalk.HLInspector)})},
  240. messageSends: []}),
  241. smalltalk.HLInspector);
  242. smalltalk.addMethod(
  243. smalltalk.method({
  244. selector: "onRefresh",
  245. fn: function (){
  246. var self=this;
  247. return smalltalk.withContext(function($ctx1) {
  248. _st(self)._refresh();
  249. return self}, function($ctx1) {$ctx1.fill(self,"onRefresh",{},smalltalk.HLInspector)})},
  250. messageSends: ["refresh"]}),
  251. smalltalk.HLInspector);
  252. smalltalk.addMethod(
  253. smalltalk.method({
  254. selector: "open",
  255. fn: function (){
  256. var self=this;
  257. function $HLTab(){return smalltalk.HLTab||(typeof HLTab=="undefined"?nil:HLTab)}
  258. function $HLManager(){return smalltalk.HLManager||(typeof HLManager=="undefined"?nil:HLManager)}
  259. return smalltalk.withContext(function($ctx1) {
  260. _st(_st($HLManager())._current())._addTab_(_st($HLTab())._on_labelled_(self,_st(self)._tabLabel()));
  261. return self}, function($ctx1) {$ctx1.fill(self,"open",{},smalltalk.HLInspector)})},
  262. messageSends: ["addTab:", "on:labelled:", "tabLabel", "current"]}),
  263. smalltalk.HLInspector);
  264. smalltalk.addMethod(
  265. smalltalk.method({
  266. selector: "refresh",
  267. fn: function (){
  268. var self=this;
  269. return smalltalk.withContext(function($ctx1) {
  270. _st(self)._inspect_(_st(self)._inspectee());
  271. return self}, function($ctx1) {$ctx1.fill(self,"refresh",{},smalltalk.HLInspector)})},
  272. messageSends: ["inspect:", "inspectee"]}),
  273. smalltalk.HLInspector);
  274. smalltalk.addMethod(
  275. smalltalk.method({
  276. selector: "refreshDisplayWidget",
  277. fn: function (){
  278. var self=this;
  279. return smalltalk.withContext(function($ctx1) {
  280. _st(_st(self)._displayWidget())._refresh();
  281. return self}, function($ctx1) {$ctx1.fill(self,"refreshDisplayWidget",{},smalltalk.HLInspector)})},
  282. messageSends: ["refresh", "displayWidget"]}),
  283. smalltalk.HLInspector);
  284. smalltalk.addMethod(
  285. smalltalk.method({
  286. selector: "refreshVariablesWidget",
  287. fn: function (){
  288. var self=this;
  289. return smalltalk.withContext(function($ctx1) {
  290. _st(_st(self)._variablesWidget())._refresh();
  291. return self}, function($ctx1) {$ctx1.fill(self,"refreshVariablesWidget",{},smalltalk.HLInspector)})},
  292. messageSends: ["refresh", "variablesWidget"]}),
  293. smalltalk.HLInspector);
  294. smalltalk.addMethod(
  295. smalltalk.method({
  296. selector: "register",
  297. fn: function (){
  298. var self=this;
  299. return smalltalk.withContext(function($ctx1) {
  300. _st(_st(self)._class())._register_(self);
  301. return self}, function($ctx1) {$ctx1.fill(self,"register",{},smalltalk.HLInspector)})},
  302. messageSends: ["register:", "class"]}),
  303. smalltalk.HLInspector);
  304. smalltalk.addMethod(
  305. smalltalk.method({
  306. selector: "renderContentOn:",
  307. fn: function (html){
  308. var self=this;
  309. function $HLVerticalSplitter(){return smalltalk.HLVerticalSplitter||(typeof HLVerticalSplitter=="undefined"?nil:HLVerticalSplitter)}
  310. function $HLHorizontalSplitter(){return smalltalk.HLHorizontalSplitter||(typeof HLHorizontalSplitter=="undefined"?nil:HLHorizontalSplitter)}
  311. function $HLContainer(){return smalltalk.HLContainer||(typeof HLContainer=="undefined"?nil:HLContainer)}
  312. return smalltalk.withContext(function($ctx1) {
  313. _st(html)._with_(_st($HLContainer())._with_(_st($HLHorizontalSplitter())._with_with_(_st($HLVerticalSplitter())._with_with_(_st(self)._variablesWidget(),_st(self)._displayWidget()),_st(self)._codeWidget())));
  314. _st(_st(self)._variablesWidget())._focus();
  315. return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},smalltalk.HLInspector)})},
  316. messageSends: ["with:", "with:with:", "variablesWidget", "displayWidget", "codeWidget", "focus"]}),
  317. smalltalk.HLInspector);
  318. smalltalk.addMethod(
  319. smalltalk.method({
  320. selector: "setLabel:",
  321. fn: function (aString){
  322. var self=this;
  323. return smalltalk.withContext(function($ctx1) {
  324. self["@label"]=aString;
  325. return self}, function($ctx1) {$ctx1.fill(self,"setLabel:",{aString:aString},smalltalk.HLInspector)})},
  326. messageSends: []}),
  327. smalltalk.HLInspector);
  328. smalltalk.addMethod(
  329. smalltalk.method({
  330. selector: "setVariables:",
  331. fn: function (aDictionary){
  332. var self=this;
  333. return smalltalk.withContext(function($ctx1) {
  334. _st(_st(self)._model())._variables_(aDictionary);
  335. return self}, function($ctx1) {$ctx1.fill(self,"setVariables:",{aDictionary:aDictionary},smalltalk.HLInspector)})},
  336. messageSends: ["variables:", "model"]}),
  337. smalltalk.HLInspector);
  338. smalltalk.addMethod(
  339. smalltalk.method({
  340. selector: "tabLabel",
  341. fn: function (){
  342. var self=this;
  343. return smalltalk.withContext(function($ctx1) {
  344. return "Inspector";
  345. }, function($ctx1) {$ctx1.fill(self,"tabLabel",{},smalltalk.HLInspector)})},
  346. messageSends: []}),
  347. smalltalk.HLInspector);
  348. smalltalk.addMethod(
  349. smalltalk.method({
  350. selector: "unregister",
  351. fn: function (){
  352. var self=this;
  353. return smalltalk.withContext(function($ctx1) {
  354. smalltalk.HLWidget.fn.prototype._unregister.apply(_st(self), []);
  355. _st(_st(self)._class())._unregister_(self);
  356. return self}, function($ctx1) {$ctx1.fill(self,"unregister",{},smalltalk.HLInspector)})},
  357. messageSends: ["unregister", "unregister:", "class"]}),
  358. smalltalk.HLInspector);
  359. smalltalk.addMethod(
  360. smalltalk.method({
  361. selector: "variablesWidget",
  362. fn: function (){
  363. var self=this;
  364. function $HLInspectorVariablesWidget(){return smalltalk.HLInspectorVariablesWidget||(typeof HLInspectorVariablesWidget=="undefined"?nil:HLInspectorVariablesWidget)}
  365. return smalltalk.withContext(function($ctx1) {
  366. var $2,$3,$4,$1;
  367. $2=self["@variablesWidget"];
  368. if(($receiver = $2) == nil || $receiver == undefined){
  369. $3=_st($HLInspectorVariablesWidget())._new();
  370. _st($3)._model_(_st(self)._model());
  371. $4=_st($3)._yourself();
  372. self["@variablesWidget"]=$4;
  373. $1=self["@variablesWidget"];
  374. } else {
  375. $1=$2;
  376. };
  377. return $1;
  378. }, function($ctx1) {$ctx1.fill(self,"variablesWidget",{},smalltalk.HLInspector)})},
  379. messageSends: ["ifNil:", "model:", "model", "new", "yourself"]}),
  380. smalltalk.HLInspector);
  381. smalltalk.HLInspector.klass.iVarNames = ['inspectors'];
  382. smalltalk.addMethod(
  383. smalltalk.method({
  384. selector: "canBeOpenAsTab",
  385. fn: function (){
  386. var self=this;
  387. return smalltalk.withContext(function($ctx1) {
  388. return false;
  389. }, function($ctx1) {$ctx1.fill(self,"canBeOpenAsTab",{},smalltalk.HLInspector.klass)})},
  390. messageSends: []}),
  391. smalltalk.HLInspector.klass);
  392. smalltalk.addMethod(
  393. smalltalk.method({
  394. selector: "initialize",
  395. fn: function (){
  396. var self=this;
  397. return smalltalk.withContext(function($ctx1) {
  398. smalltalk.HLWidget.klass.fn.prototype._initialize.apply(_st(self), []);
  399. _st(self)._watchChanges();
  400. return self}, function($ctx1) {$ctx1.fill(self,"initialize",{},smalltalk.HLInspector.klass)})},
  401. messageSends: ["initialize", "watchChanges"]}),
  402. smalltalk.HLInspector.klass);
  403. smalltalk.addMethod(
  404. smalltalk.method({
  405. selector: "inspectors",
  406. fn: function (){
  407. var self=this;
  408. function $OrderedCollection(){return smalltalk.OrderedCollection||(typeof OrderedCollection=="undefined"?nil:OrderedCollection)}
  409. return smalltalk.withContext(function($ctx1) {
  410. var $2,$1;
  411. $2=self["@inspectors"];
  412. if(($receiver = $2) == nil || $receiver == undefined){
  413. self["@inspectors"]=_st($OrderedCollection())._new();
  414. $1=self["@inspectors"];
  415. } else {
  416. $1=$2;
  417. };
  418. return $1;
  419. }, function($ctx1) {$ctx1.fill(self,"inspectors",{},smalltalk.HLInspector.klass)})},
  420. messageSends: ["ifNil:", "new"]}),
  421. smalltalk.HLInspector.klass);
  422. smalltalk.addMethod(
  423. smalltalk.method({
  424. selector: "register:",
  425. fn: function (anInspector){
  426. var self=this;
  427. return smalltalk.withContext(function($ctx1) {
  428. _st(_st(self)._inspectors())._add_(anInspector);
  429. return self}, function($ctx1) {$ctx1.fill(self,"register:",{anInspector:anInspector},smalltalk.HLInspector.klass)})},
  430. messageSends: ["add:", "inspectors"]}),
  431. smalltalk.HLInspector.klass);
  432. smalltalk.addMethod(
  433. smalltalk.method({
  434. selector: "tabLabel",
  435. fn: function (){
  436. var self=this;
  437. return smalltalk.withContext(function($ctx1) {
  438. return "Inspector";
  439. }, function($ctx1) {$ctx1.fill(self,"tabLabel",{},smalltalk.HLInspector.klass)})},
  440. messageSends: []}),
  441. smalltalk.HLInspector.klass);
  442. smalltalk.addMethod(
  443. smalltalk.method({
  444. selector: "tabPriority",
  445. fn: function (){
  446. var self=this;
  447. return smalltalk.withContext(function($ctx1) {
  448. var $1;
  449. $1=(10);
  450. return $1;
  451. }, function($ctx1) {$ctx1.fill(self,"tabPriority",{},smalltalk.HLInspector.klass)})},
  452. messageSends: []}),
  453. smalltalk.HLInspector.klass);
  454. smalltalk.addMethod(
  455. smalltalk.method({
  456. selector: "unregister:",
  457. fn: function (anInspector){
  458. var self=this;
  459. return smalltalk.withContext(function($ctx1) {
  460. _st(_st(self)._inspectors())._remove_(anInspector);
  461. return self}, function($ctx1) {$ctx1.fill(self,"unregister:",{anInspector:anInspector},smalltalk.HLInspector.klass)})},
  462. messageSends: ["remove:", "inspectors"]}),
  463. smalltalk.HLInspector.klass);
  464. smalltalk.addMethod(
  465. smalltalk.method({
  466. selector: "watchChanges",
  467. fn: function (){
  468. var self=this;
  469. return smalltalk.withContext(function($ctx1) {
  470. _st((function(){
  471. return smalltalk.withContext(function($ctx2) {
  472. return _st(_st(self)._inspectors())._do_((function(each){
  473. return smalltalk.withContext(function($ctx3) {
  474. return _st(each)._refresh();
  475. }, function($ctx3) {$ctx3.fillBlock({each:each},$ctx1)})}));
  476. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}))._valueWithInterval_((500));
  477. return self}, function($ctx1) {$ctx1.fill(self,"watchChanges",{},smalltalk.HLInspector.klass)})},
  478. messageSends: ["valueWithInterval:", "do:", "refresh", "inspectors"]}),
  479. smalltalk.HLInspector.klass);
  480. smalltalk.addClass('HLInspectorDisplayWidget', smalltalk.HLNavigationListWidget, ['model'], 'Helios-Inspector');
  481. smalltalk.addMethod(
  482. smalltalk.method({
  483. selector: "model",
  484. fn: function (){
  485. var self=this;
  486. return smalltalk.withContext(function($ctx1) {
  487. var $1;
  488. $1=self["@model"];
  489. return $1;
  490. }, function($ctx1) {$ctx1.fill(self,"model",{},smalltalk.HLInspectorDisplayWidget)})},
  491. messageSends: []}),
  492. smalltalk.HLInspectorDisplayWidget);
  493. smalltalk.addMethod(
  494. smalltalk.method({
  495. selector: "model:",
  496. fn: function (aModel){
  497. var self=this;
  498. return smalltalk.withContext(function($ctx1) {
  499. self["@model"]=aModel;
  500. return self}, function($ctx1) {$ctx1.fill(self,"model:",{aModel:aModel},smalltalk.HLInspectorDisplayWidget)})},
  501. messageSends: []}),
  502. smalltalk.HLInspectorDisplayWidget);
  503. smalltalk.addMethod(
  504. smalltalk.method({
  505. selector: "renderContentOn:",
  506. fn: function (html){
  507. var self=this;
  508. return smalltalk.withContext(function($ctx1) {
  509. _st(_st(html)._div())._with_(_st(self)._selectionDisplayString());
  510. return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},smalltalk.HLInspectorDisplayWidget)})},
  511. messageSends: ["with:", "selectionDisplayString", "div"]}),
  512. smalltalk.HLInspectorDisplayWidget);
  513. smalltalk.addMethod(
  514. smalltalk.method({
  515. selector: "selectionDisplayString",
  516. fn: function (){
  517. var self=this;
  518. var selection;
  519. return smalltalk.withContext(function($ctx1) {
  520. var $2,$1;
  521. selection=_st(self["@model"])._selection();
  522. $2=_st(_st(_st(self["@model"])._variables())._keys())._includes_(selection);
  523. if(smalltalk.assert($2)){
  524. $1=_st(_st(self["@model"])._instVarObjectAt_(selection))._printString();
  525. } else {
  526. $1="";
  527. };
  528. return $1;
  529. }, function($ctx1) {$ctx1.fill(self,"selectionDisplayString",{selection:selection},smalltalk.HLInspectorDisplayWidget)})},
  530. messageSends: ["selection", "ifTrue:ifFalse:", "printString", "instVarObjectAt:", "includes:", "keys", "variables"]}),
  531. smalltalk.HLInspectorDisplayWidget);
  532. smalltalk.addClass('HLInspectorModel', smalltalk.Object, ['announcer', 'environment', 'inspectee', 'code', 'variables', 'selection'], 'Helios-Inspector');
  533. smalltalk.addMethod(
  534. smalltalk.method({
  535. selector: "announcer",
  536. fn: function (){
  537. var self=this;
  538. function $Announcer(){return smalltalk.Announcer||(typeof Announcer=="undefined"?nil:Announcer)}
  539. return smalltalk.withContext(function($ctx1) {
  540. var $2,$1;
  541. $2=self["@announcer"];
  542. if(($receiver = $2) == nil || $receiver == undefined){
  543. self["@announcer"]=_st($Announcer())._new();
  544. $1=self["@announcer"];
  545. } else {
  546. $1=$2;
  547. };
  548. return $1;
  549. }, function($ctx1) {$ctx1.fill(self,"announcer",{},smalltalk.HLInspectorModel)})},
  550. messageSends: ["ifNil:", "new"]}),
  551. smalltalk.HLInspectorModel);
  552. smalltalk.addMethod(
  553. smalltalk.method({
  554. selector: "code",
  555. fn: function (){
  556. var self=this;
  557. function $HLCodeModel(){return smalltalk.HLCodeModel||(typeof HLCodeModel=="undefined"?nil:HLCodeModel)}
  558. return smalltalk.withContext(function($ctx1) {
  559. var $2,$1;
  560. $2=self["@code"];
  561. if(($receiver = $2) == nil || $receiver == undefined){
  562. self["@code"]=_st($HLCodeModel())._on_(_st(self)._environment());
  563. $1=self["@code"];
  564. } else {
  565. $1=$2;
  566. };
  567. return $1;
  568. }, function($ctx1) {$ctx1.fill(self,"code",{},smalltalk.HLInspectorModel)})},
  569. messageSends: ["ifNil:", "on:", "environment"]}),
  570. smalltalk.HLInspectorModel);
  571. smalltalk.addMethod(
  572. smalltalk.method({
  573. selector: "environment",
  574. fn: function (){
  575. var self=this;
  576. function $HLManager(){return smalltalk.HLManager||(typeof HLManager=="undefined"?nil:HLManager)}
  577. return smalltalk.withContext(function($ctx1) {
  578. var $2,$1;
  579. $2=self["@environment"];
  580. if(($receiver = $2) == nil || $receiver == undefined){
  581. $1=_st(_st($HLManager())._current())._environment();
  582. } else {
  583. $1=$2;
  584. };
  585. return $1;
  586. }, function($ctx1) {$ctx1.fill(self,"environment",{},smalltalk.HLInspectorModel)})},
  587. messageSends: ["ifNil:", "environment", "current"]}),
  588. smalltalk.HLInspectorModel);
  589. smalltalk.addMethod(
  590. smalltalk.method({
  591. selector: "environment:",
  592. fn: function (anEnvironment){
  593. var self=this;
  594. return smalltalk.withContext(function($ctx1) {
  595. self["@environment"]=anEnvironment;
  596. return self}, function($ctx1) {$ctx1.fill(self,"environment:",{anEnvironment:anEnvironment},smalltalk.HLInspectorModel)})},
  597. messageSends: []}),
  598. smalltalk.HLInspectorModel);
  599. smalltalk.addMethod(
  600. smalltalk.method({
  601. selector: "inspect:on:",
  602. fn: function (anObject,anInspector){
  603. var self=this;
  604. return smalltalk.withContext(function($ctx1) {
  605. self["@inspectee"]=anObject;
  606. self["@variables"]=[];
  607. _st(self["@inspectee"])._inspectOn_(anInspector);
  608. return self}, function($ctx1) {$ctx1.fill(self,"inspect:on:",{anObject:anObject,anInspector:anInspector},smalltalk.HLInspectorModel)})},
  609. messageSends: ["inspectOn:"]}),
  610. smalltalk.HLInspectorModel);
  611. smalltalk.addMethod(
  612. smalltalk.method({
  613. selector: "inspectee",
  614. fn: function (){
  615. var self=this;
  616. return smalltalk.withContext(function($ctx1) {
  617. var $1;
  618. $1=self["@inspectee"];
  619. return $1;
  620. }, function($ctx1) {$ctx1.fill(self,"inspectee",{},smalltalk.HLInspectorModel)})},
  621. messageSends: []}),
  622. smalltalk.HLInspectorModel);
  623. smalltalk.addMethod(
  624. smalltalk.method({
  625. selector: "inspectee:",
  626. fn: function (anObject){
  627. var self=this;
  628. return smalltalk.withContext(function($ctx1) {
  629. self["@inspectee"]=anObject;
  630. return self}, function($ctx1) {$ctx1.fill(self,"inspectee:",{anObject:anObject},smalltalk.HLInspectorModel)})},
  631. messageSends: []}),
  632. smalltalk.HLInspectorModel);
  633. smalltalk.addMethod(
  634. smalltalk.method({
  635. selector: "instVarObjectAt:",
  636. fn: function (anInstVarName){
  637. var self=this;
  638. return smalltalk.withContext(function($ctx1) {
  639. var $1;
  640. $1=_st(_st(self)._variables())._at_(anInstVarName);
  641. return $1;
  642. }, function($ctx1) {$ctx1.fill(self,"instVarObjectAt:",{anInstVarName:anInstVarName},smalltalk.HLInspectorModel)})},
  643. messageSends: ["at:", "variables"]}),
  644. smalltalk.HLInspectorModel);
  645. smalltalk.addMethod(
  646. smalltalk.method({
  647. selector: "onKeyDown:",
  648. fn: function (anEvent){
  649. var self=this;
  650. return smalltalk.withContext(function($ctx1) {
  651. if(anEvent.ctrlKey) {
  652. if(anEvent.keyCode === 80) { //ctrl+p
  653. self._printIt();
  654. anEvent.preventDefault();
  655. return false;
  656. }
  657. if(anEvent.keyCode === 68) { //ctrl+d
  658. self._doIt();
  659. anEvent.preventDefault();
  660. return false;
  661. }
  662. if(anEvent.keyCode === 73) { //ctrl+i
  663. self._inspectIt();
  664. anEvent.preventDefault();
  665. return false;
  666. }
  667. };
  668. return self}, function($ctx1) {$ctx1.fill(self,"onKeyDown:",{anEvent:anEvent},smalltalk.HLInspectorModel)})},
  669. messageSends: []}),
  670. smalltalk.HLInspectorModel);
  671. smalltalk.addMethod(
  672. smalltalk.method({
  673. selector: "selectedInstVar:",
  674. fn: function (anInstVarName){
  675. var self=this;
  676. return smalltalk.withContext(function($ctx1) {
  677. _st(self)._selection_(anInstVarName);
  678. return self}, function($ctx1) {$ctx1.fill(self,"selectedInstVar:",{anInstVarName:anInstVarName},smalltalk.HLInspectorModel)})},
  679. messageSends: ["selection:"]}),
  680. smalltalk.HLInspectorModel);
  681. smalltalk.addMethod(
  682. smalltalk.method({
  683. selector: "selectedInstVarObject",
  684. fn: function (){
  685. var self=this;
  686. return smalltalk.withContext(function($ctx1) {
  687. var $1;
  688. $1=_st(self)._instVarObjectAt_(_st(self)._selection());
  689. return $1;
  690. }, function($ctx1) {$ctx1.fill(self,"selectedInstVarObject",{},smalltalk.HLInspectorModel)})},
  691. messageSends: ["instVarObjectAt:", "selection"]}),
  692. smalltalk.HLInspectorModel);
  693. smalltalk.addMethod(
  694. smalltalk.method({
  695. selector: "selection",
  696. fn: function (){
  697. var self=this;
  698. return smalltalk.withContext(function($ctx1) {
  699. var $2,$1;
  700. $2=self["@selection"];
  701. if(($receiver = $2) == nil || $receiver == undefined){
  702. $1="";
  703. } else {
  704. $1=$2;
  705. };
  706. return $1;
  707. }, function($ctx1) {$ctx1.fill(self,"selection",{},smalltalk.HLInspectorModel)})},
  708. messageSends: ["ifNil:"]}),
  709. smalltalk.HLInspectorModel);
  710. smalltalk.addMethod(
  711. smalltalk.method({
  712. selector: "selection:",
  713. fn: function (anObject){
  714. var self=this;
  715. function $HLInstanceVariableSelected(){return smalltalk.HLInstanceVariableSelected||(typeof HLInstanceVariableSelected=="undefined"?nil:HLInstanceVariableSelected)}
  716. return smalltalk.withContext(function($ctx1) {
  717. self["@selection"]=anObject;
  718. _st(_st(self)._announcer())._announce_(_st($HLInstanceVariableSelected())._on_(self["@selection"]));
  719. return self}, function($ctx1) {$ctx1.fill(self,"selection:",{anObject:anObject},smalltalk.HLInspectorModel)})},
  720. messageSends: ["announce:", "on:", "announcer"]}),
  721. smalltalk.HLInspectorModel);
  722. smalltalk.addMethod(
  723. smalltalk.method({
  724. selector: "subscribe:",
  725. fn: function (aWidget){
  726. var self=this;
  727. return smalltalk.withContext(function($ctx1) {
  728. _st(aWidget)._subscribeTo_(_st(self)._announcer());
  729. return self}, function($ctx1) {$ctx1.fill(self,"subscribe:",{aWidget:aWidget},smalltalk.HLInspectorModel)})},
  730. messageSends: ["subscribeTo:", "announcer"]}),
  731. smalltalk.HLInspectorModel);
  732. smalltalk.addMethod(
  733. smalltalk.method({
  734. selector: "variables",
  735. fn: function (){
  736. var self=this;
  737. return smalltalk.withContext(function($ctx1) {
  738. var $1;
  739. $1=self["@variables"];
  740. return $1;
  741. }, function($ctx1) {$ctx1.fill(self,"variables",{},smalltalk.HLInspectorModel)})},
  742. messageSends: []}),
  743. smalltalk.HLInspectorModel);
  744. smalltalk.addMethod(
  745. smalltalk.method({
  746. selector: "variables:",
  747. fn: function (aCollection){
  748. var self=this;
  749. return smalltalk.withContext(function($ctx1) {
  750. self["@variables"]=aCollection;
  751. return self}, function($ctx1) {$ctx1.fill(self,"variables:",{aCollection:aCollection},smalltalk.HLInspectorModel)})},
  752. messageSends: []}),
  753. smalltalk.HLInspectorModel);
  754. smalltalk.addMethod(
  755. smalltalk.method({
  756. selector: "on:",
  757. fn: function (anEnvironment){
  758. var self=this;
  759. return smalltalk.withContext(function($ctx1) {
  760. var $2,$3,$1;
  761. $2=_st(self)._new();
  762. _st($2)._environment_(anEnvironment);
  763. $3=_st($2)._yourself();
  764. $1=$3;
  765. return $1;
  766. }, function($ctx1) {$ctx1.fill(self,"on:",{anEnvironment:anEnvironment},smalltalk.HLInspectorModel.klass)})},
  767. messageSends: ["environment:", "new", "yourself"]}),
  768. smalltalk.HLInspectorModel.klass);
  769. smalltalk.addClass('HLInspectorVariablesWidget', smalltalk.HLNavigationListWidget, ['announcer', 'model', 'list', 'diveButton'], 'Helios-Inspector');
  770. smalltalk.addMethod(
  771. smalltalk.method({
  772. selector: "announcer",
  773. fn: function (){
  774. var self=this;
  775. function $Announcer(){return smalltalk.Announcer||(typeof Announcer=="undefined"?nil:Announcer)}
  776. return smalltalk.withContext(function($ctx1) {
  777. var $2,$1;
  778. $2=self["@announcer"];
  779. if(($receiver = $2) == nil || $receiver == undefined){
  780. self["@announcer"]=_st($Announcer())._new();
  781. $1=self["@announcer"];
  782. } else {
  783. $1=$2;
  784. };
  785. return $1;
  786. }, function($ctx1) {$ctx1.fill(self,"announcer",{},smalltalk.HLInspectorVariablesWidget)})},
  787. messageSends: ["ifNil:", "new"]}),
  788. smalltalk.HLInspectorVariablesWidget);
  789. smalltalk.addMethod(
  790. smalltalk.method({
  791. selector: "defaultItems",
  792. fn: function (){
  793. var self=this;
  794. return smalltalk.withContext(function($ctx1) {
  795. var $1;
  796. $1=_st(_st(_st(self)._model())._variables())._keys();
  797. return $1;
  798. }, function($ctx1) {$ctx1.fill(self,"defaultItems",{},smalltalk.HLInspectorVariablesWidget)})},
  799. messageSends: ["keys", "variables", "model"]}),
  800. smalltalk.HLInspectorVariablesWidget);
  801. smalltalk.addMethod(
  802. smalltalk.method({
  803. selector: "label",
  804. fn: function (){
  805. var self=this;
  806. return smalltalk.withContext(function($ctx1) {
  807. var $1;
  808. $1=_st(_st(_st(_st(self)._model())._inspectee())._class())._name();
  809. return $1;
  810. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLInspectorVariablesWidget)})},
  811. messageSends: ["name", "class", "inspectee", "model"]}),
  812. smalltalk.HLInspectorVariablesWidget);
  813. smalltalk.addMethod(
  814. smalltalk.method({
  815. selector: "model",
  816. fn: function (){
  817. var self=this;
  818. return smalltalk.withContext(function($ctx1) {
  819. var $1;
  820. $1=self["@model"];
  821. return $1;
  822. }, function($ctx1) {$ctx1.fill(self,"model",{},smalltalk.HLInspectorVariablesWidget)})},
  823. messageSends: []}),
  824. smalltalk.HLInspectorVariablesWidget);
  825. smalltalk.addMethod(
  826. smalltalk.method({
  827. selector: "model:",
  828. fn: function (aModel){
  829. var self=this;
  830. return smalltalk.withContext(function($ctx1) {
  831. self["@model"]=aModel;
  832. return self}, function($ctx1) {$ctx1.fill(self,"model:",{aModel:aModel},smalltalk.HLInspectorVariablesWidget)})},
  833. messageSends: []}),
  834. smalltalk.HLInspectorVariablesWidget);
  835. smalltalk.addMethod(
  836. smalltalk.method({
  837. selector: "refresh",
  838. fn: function (){
  839. var self=this;
  840. return smalltalk.withContext(function($ctx1) {
  841. _st(self)._resetItems();
  842. smalltalk.HLNavigationListWidget.fn.prototype._refresh.apply(_st(self), []);
  843. return self}, function($ctx1) {$ctx1.fill(self,"refresh",{},smalltalk.HLInspectorVariablesWidget)})},
  844. messageSends: ["resetItems", "refresh"]}),
  845. smalltalk.HLInspectorVariablesWidget);
  846. smalltalk.addMethod(
  847. smalltalk.method({
  848. selector: "renderButtonsOn:",
  849. fn: function (html){
  850. var self=this;
  851. function $HLRefreshRequested(){return smalltalk.HLRefreshRequested||(typeof HLRefreshRequested=="undefined"?nil:HLRefreshRequested)}
  852. function $HLDiveRequested(){return smalltalk.HLDiveRequested||(typeof HLDiveRequested=="undefined"?nil:HLDiveRequested)}
  853. return smalltalk.withContext(function($ctx1) {
  854. var $1,$2,$3,$4;
  855. $1=_st(html)._button();
  856. _st($1)._class_("btn");
  857. _st($1)._with_("Refresh");
  858. $2=_st($1)._onClick_((function(){
  859. return smalltalk.withContext(function($ctx2) {
  860. return _st(_st(self)._announcer())._announce_(_st($HLRefreshRequested())._new());
  861. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
  862. $3=_st(html)._button();
  863. _st($3)._class_("btn");
  864. _st($3)._with_("Dive");
  865. $4=_st($3)._onClick_((function(){
  866. return smalltalk.withContext(function($ctx2) {
  867. return _st(_st(self)._announcer())._announce_(_st($HLDiveRequested())._new());
  868. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
  869. self["@diveButton"]=$4;
  870. return self}, function($ctx1) {$ctx1.fill(self,"renderButtonsOn:",{html:html},smalltalk.HLInspectorVariablesWidget)})},
  871. messageSends: ["class:", "button", "with:", "onClick:", "announce:", "new", "announcer"]}),
  872. smalltalk.HLInspectorVariablesWidget);
  873. smalltalk.addMethod(
  874. smalltalk.method({
  875. selector: "renderContentOn:",
  876. fn: function (html){
  877. var self=this;
  878. return smalltalk.withContext(function($ctx1) {
  879. _st(self)._renderHeadOn_(html);
  880. smalltalk.HLNavigationListWidget.fn.prototype._renderContentOn_.apply(_st(self), [html]);
  881. return self}, function($ctx1) {$ctx1.fill(self,"renderContentOn:",{html:html},smalltalk.HLInspectorVariablesWidget)})},
  882. messageSends: ["renderHeadOn:", "renderContentOn:"]}),
  883. smalltalk.HLInspectorVariablesWidget);
  884. smalltalk.addMethod(
  885. smalltalk.method({
  886. selector: "renderHeadOn:",
  887. fn: function (html){
  888. var self=this;
  889. return smalltalk.withContext(function($ctx1) {
  890. var $1,$2;
  891. $1=_st(html)._div();
  892. _st($1)._class_("list-label");
  893. $2=_st($1)._with_(_st(self)._label());
  894. return self}, function($ctx1) {$ctx1.fill(self,"renderHeadOn:",{html:html},smalltalk.HLInspectorVariablesWidget)})},
  895. messageSends: ["class:", "div", "with:", "label"]}),
  896. smalltalk.HLInspectorVariablesWidget);
  897. smalltalk.addMethod(
  898. smalltalk.method({
  899. selector: "resetItems",
  900. fn: function (){
  901. var self=this;
  902. return smalltalk.withContext(function($ctx1) {
  903. self["@items"]=nil;
  904. return self}, function($ctx1) {$ctx1.fill(self,"resetItems",{},smalltalk.HLInspectorVariablesWidget)})},
  905. messageSends: []}),
  906. smalltalk.HLInspectorVariablesWidget);
  907. smalltalk.addMethod(
  908. smalltalk.method({
  909. selector: "selectItem:",
  910. fn: function (anObject){
  911. var self=this;
  912. return smalltalk.withContext(function($ctx1) {
  913. smalltalk.HLNavigationListWidget.fn.prototype._selectItem_.apply(_st(self), [anObject]);
  914. _st(_st(self)._model())._selectedInstVar_(anObject);
  915. return self}, function($ctx1) {$ctx1.fill(self,"selectItem:",{anObject:anObject},smalltalk.HLInspectorVariablesWidget)})},
  916. messageSends: ["selectItem:", "selectedInstVar:", "model"]}),
  917. smalltalk.HLInspectorVariablesWidget);
  918. smalltalk.addMethod(
  919. smalltalk.method({
  920. selector: "selection",
  921. fn: function (){
  922. var self=this;
  923. return smalltalk.withContext(function($ctx1) {
  924. var $1;
  925. $1=_st(self["@model"])._selection();
  926. return $1;
  927. }, function($ctx1) {$ctx1.fill(self,"selection",{},smalltalk.HLInspectorVariablesWidget)})},
  928. messageSends: ["selection"]}),
  929. smalltalk.HLInspectorVariablesWidget);
  930. smalltalk.addMethod(
  931. smalltalk.method({
  932. selector: "variables",
  933. fn: function (){
  934. var self=this;
  935. return smalltalk.withContext(function($ctx1) {
  936. var $1;
  937. $1=_st(self["@model"])._variables();
  938. return $1;
  939. }, function($ctx1) {$ctx1.fill(self,"variables",{},smalltalk.HLInspectorVariablesWidget)})},
  940. messageSends: ["variables"]}),
  941. smalltalk.HLInspectorVariablesWidget);