1
0

Helios-Commands-Browser.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. smalltalk.addPackage('Helios-Commands-Browser');
  2. smalltalk.addClass('HLBrowserCommand', smalltalk.HLModelCommand, [], 'Helios-Commands-Browser');
  3. smalltalk.addMethod(
  4. "_for_",
  5. smalltalk.method({
  6. selector: "for:",
  7. category: 'instance creation',
  8. fn: function (aBrowserModel){
  9. var self=this;
  10. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  11. $2=_st(self)._new();
  12. _st($2)._model_(aBrowserModel);
  13. $3=_st($2)._yourself();
  14. $1=$3;
  15. return $1;
  16. }, function($ctx1) {$ctx1.fill(self,"for:",{aBrowserModel:aBrowserModel},smalltalk.HLBrowserCommand.klass)})},
  17. args: ["aBrowserModel"],
  18. source: "for: aBrowserModel\x0a\x09^ self new\x0a \x09model: aBrowserModel;\x0a yourself",
  19. messageSends: ["model:", "new", "yourself"],
  20. referencedClasses: []
  21. }),
  22. smalltalk.HLBrowserCommand.klass);
  23. smalltalk.addClass('HLBrowserGoToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  24. smalltalk.addMethod(
  25. "_key",
  26. smalltalk.method({
  27. selector: "key",
  28. category: 'accessing',
  29. fn: function (){
  30. var self=this;
  31. return smalltalk.withContext(function($ctx1) { return (71);
  32. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToCommand.klass)})},
  33. args: [],
  34. source: "key\x0a\x09^ 71",
  35. messageSends: [],
  36. referencedClasses: []
  37. }),
  38. smalltalk.HLBrowserGoToCommand.klass);
  39. smalltalk.addMethod(
  40. "_label",
  41. smalltalk.method({
  42. selector: "label",
  43. category: 'accessing',
  44. fn: function (){
  45. var self=this;
  46. return smalltalk.withContext(function($ctx1) { return "Go to";
  47. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToCommand.klass)})},
  48. args: [],
  49. source: "label\x0a\x09^ 'Go to'",
  50. messageSends: [],
  51. referencedClasses: []
  52. }),
  53. smalltalk.HLBrowserGoToCommand.klass);
  54. smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  55. smalltalk.addMethod(
  56. "_execute",
  57. smalltalk.method({
  58. selector: "execute",
  59. category: 'executing',
  60. fn: function (){
  61. var self=this;
  62. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnClasses();
  63. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToClassesCommand)})},
  64. args: [],
  65. source: "execute\x0a\x09self model focusOnClasses",
  66. messageSends: ["focusOnClasses", "model"],
  67. referencedClasses: []
  68. }),
  69. smalltalk.HLGoToClassesCommand);
  70. smalltalk.addMethod(
  71. "_key",
  72. smalltalk.method({
  73. selector: "key",
  74. category: 'accessing',
  75. fn: function (){
  76. var self=this;
  77. return smalltalk.withContext(function($ctx1) { return (67);
  78. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToClassesCommand.klass)})},
  79. args: [],
  80. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  81. messageSends: [],
  82. referencedClasses: []
  83. }),
  84. smalltalk.HLGoToClassesCommand.klass);
  85. smalltalk.addMethod(
  86. "_label",
  87. smalltalk.method({
  88. selector: "label",
  89. category: 'accessing',
  90. fn: function (){
  91. var self=this;
  92. return smalltalk.withContext(function($ctx1) { return "Classes";
  93. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToClassesCommand.klass)})},
  94. args: [],
  95. source: "label\x0a\x09^ 'Classes'",
  96. messageSends: [],
  97. referencedClasses: []
  98. }),
  99. smalltalk.HLGoToClassesCommand.klass);
  100. smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  101. smalltalk.addMethod(
  102. "_execute",
  103. smalltalk.method({
  104. selector: "execute",
  105. category: 'executing',
  106. fn: function (){
  107. var self=this;
  108. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnMethods();
  109. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToMethodsCommand)})},
  110. args: [],
  111. source: "execute\x0a\x09self model focusOnMethods",
  112. messageSends: ["focusOnMethods", "model"],
  113. referencedClasses: []
  114. }),
  115. smalltalk.HLGoToMethodsCommand);
  116. smalltalk.addMethod(
  117. "_key",
  118. smalltalk.method({
  119. selector: "key",
  120. category: 'accessing',
  121. fn: function (){
  122. var self=this;
  123. return smalltalk.withContext(function($ctx1) { return (77);
  124. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToMethodsCommand.klass)})},
  125. args: [],
  126. source: "key\x0a\x09\x22m\x22\x0a \x0a\x09^ 77",
  127. messageSends: [],
  128. referencedClasses: []
  129. }),
  130. smalltalk.HLGoToMethodsCommand.klass);
  131. smalltalk.addMethod(
  132. "_label",
  133. smalltalk.method({
  134. selector: "label",
  135. category: 'accessing',
  136. fn: function (){
  137. var self=this;
  138. return smalltalk.withContext(function($ctx1) { return "Methods";
  139. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToMethodsCommand.klass)})},
  140. args: [],
  141. source: "label\x0a\x09^ 'Methods'",
  142. messageSends: [],
  143. referencedClasses: []
  144. }),
  145. smalltalk.HLGoToMethodsCommand.klass);
  146. smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  147. smalltalk.addMethod(
  148. "_execute",
  149. smalltalk.method({
  150. selector: "execute",
  151. category: 'executing',
  152. fn: function (){
  153. var self=this;
  154. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnPackages();
  155. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToPackagesCommand)})},
  156. args: [],
  157. source: "execute\x0a\x09self model focusOnPackages",
  158. messageSends: ["focusOnPackages", "model"],
  159. referencedClasses: []
  160. }),
  161. smalltalk.HLGoToPackagesCommand);
  162. smalltalk.addMethod(
  163. "_key",
  164. smalltalk.method({
  165. selector: "key",
  166. category: 'accessing',
  167. fn: function (){
  168. var self=this;
  169. return smalltalk.withContext(function($ctx1) { return (80);
  170. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToPackagesCommand.klass)})},
  171. args: [],
  172. source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 80",
  173. messageSends: [],
  174. referencedClasses: []
  175. }),
  176. smalltalk.HLGoToPackagesCommand.klass);
  177. smalltalk.addMethod(
  178. "_label",
  179. smalltalk.method({
  180. selector: "label",
  181. category: 'accessing',
  182. fn: function (){
  183. var self=this;
  184. return smalltalk.withContext(function($ctx1) { return "Packages";
  185. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToPackagesCommand.klass)})},
  186. args: [],
  187. source: "label\x0a\x09^ 'Packages'",
  188. messageSends: [],
  189. referencedClasses: []
  190. }),
  191. smalltalk.HLGoToPackagesCommand.klass);
  192. smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  193. smalltalk.addMethod(
  194. "_execute",
  195. smalltalk.method({
  196. selector: "execute",
  197. category: 'executing',
  198. fn: function (){
  199. var self=this;
  200. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnProtocols();
  201. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToProtocolsCommand)})},
  202. args: [],
  203. source: "execute\x0a\x09self model focusOnProtocols",
  204. messageSends: ["focusOnProtocols", "model"],
  205. referencedClasses: []
  206. }),
  207. smalltalk.HLGoToProtocolsCommand);
  208. smalltalk.addMethod(
  209. "_key",
  210. smalltalk.method({
  211. selector: "key",
  212. category: 'accessing',
  213. fn: function (){
  214. var self=this;
  215. return smalltalk.withContext(function($ctx1) { return (84);
  216. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  217. args: [],
  218. source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 84",
  219. messageSends: [],
  220. referencedClasses: []
  221. }),
  222. smalltalk.HLGoToProtocolsCommand.klass);
  223. smalltalk.addMethod(
  224. "_label",
  225. smalltalk.method({
  226. selector: "label",
  227. category: 'accessing',
  228. fn: function (){
  229. var self=this;
  230. return smalltalk.withContext(function($ctx1) { return "Protocols";
  231. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  232. args: [],
  233. source: "label\x0a\x09^ 'Protocols'",
  234. messageSends: [],
  235. referencedClasses: []
  236. }),
  237. smalltalk.HLGoToProtocolsCommand.klass);
  238. smalltalk.addClass('HLGoToSourceCodeCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  239. smalltalk.addMethod(
  240. "_execute",
  241. smalltalk.method({
  242. selector: "execute",
  243. category: 'executing',
  244. fn: function (){
  245. var self=this;
  246. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnSourceCode();
  247. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToSourceCodeCommand)})},
  248. args: [],
  249. source: "execute\x0a\x09self model focusOnSourceCode",
  250. messageSends: ["focusOnSourceCode", "model"],
  251. referencedClasses: []
  252. }),
  253. smalltalk.HLGoToSourceCodeCommand);
  254. smalltalk.addMethod(
  255. "_key",
  256. smalltalk.method({
  257. selector: "key",
  258. category: 'accessing',
  259. fn: function (){
  260. var self=this;
  261. return smalltalk.withContext(function($ctx1) { return (83);
  262. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  263. args: [],
  264. source: "key\x0a\x09\x22s\x22\x0a \x0a\x09^ 83",
  265. messageSends: [],
  266. referencedClasses: []
  267. }),
  268. smalltalk.HLGoToSourceCodeCommand.klass);
  269. smalltalk.addMethod(
  270. "_label",
  271. smalltalk.method({
  272. selector: "label",
  273. category: 'accessing',
  274. fn: function (){
  275. var self=this;
  276. return smalltalk.withContext(function($ctx1) { return "Source code";
  277. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  278. args: [],
  279. source: "label\x0a\x09^ 'Source code'",
  280. messageSends: [],
  281. referencedClasses: []
  282. }),
  283. smalltalk.HLGoToSourceCodeCommand.klass);
  284. smalltalk.addClass('HLMoveToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  285. smalltalk.addMethod(
  286. "_key",
  287. smalltalk.method({
  288. selector: "key",
  289. category: 'accessing',
  290. fn: function (){
  291. var self=this;
  292. return smalltalk.withContext(function($ctx1) { return (77);
  293. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
  294. args: [],
  295. source: "key\x0a\x09^ 77",
  296. messageSends: [],
  297. referencedClasses: []
  298. }),
  299. smalltalk.HLMoveToCommand.klass);
  300. smalltalk.addMethod(
  301. "_label",
  302. smalltalk.method({
  303. selector: "label",
  304. category: 'accessing',
  305. fn: function (){
  306. var self=this;
  307. return smalltalk.withContext(function($ctx1) { return "Move";
  308. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
  309. args: [],
  310. source: "label\x0a\x09^ 'Move'",
  311. messageSends: [],
  312. referencedClasses: []
  313. }),
  314. smalltalk.HLMoveToCommand.klass);
  315. smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Browser');
  316. smalltalk.addMethod(
  317. "_activeBlock",
  318. smalltalk.method({
  319. selector: "activeBlock",
  320. category: 'accessing',
  321. fn: function (){
  322. var self=this;
  323. return smalltalk.withContext(function($ctx1) { var $1;
  324. $1=(function(){
  325. return smalltalk.withContext(function($ctx2) { return _st(_st(_st(self)._model())._selectedMethod())._notNil();
  326. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})});
  327. return $1;
  328. }, function($ctx1) {$ctx1.fill(self,"activeBlock",{},smalltalk.HLMoveMethodToCommand)})},
  329. args: [],
  330. source: "activeBlock\x0a\x09^ [ self model selectedMethod notNil ]",
  331. messageSends: ["notNil", "selectedMethod", "model"],
  332. referencedClasses: []
  333. }),
  334. smalltalk.HLMoveMethodToCommand);
  335. smalltalk.addMethod(
  336. "_key",
  337. smalltalk.method({
  338. selector: "key",
  339. category: 'accessing',
  340. fn: function (){
  341. var self=this;
  342. return smalltalk.withContext(function($ctx1) { return (77);
  343. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
  344. args: [],
  345. source: "key\x0a\x09^ 77",
  346. messageSends: [],
  347. referencedClasses: []
  348. }),
  349. smalltalk.HLMoveMethodToCommand.klass);
  350. smalltalk.addMethod(
  351. "_label",
  352. smalltalk.method({
  353. selector: "label",
  354. category: 'accessing',
  355. fn: function (){
  356. var self=this;
  357. return smalltalk.withContext(function($ctx1) { return "Method";
  358. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
  359. args: [],
  360. source: "label\x0a\x09^ 'Method'",
  361. messageSends: [],
  362. referencedClasses: []
  363. }),
  364. smalltalk.HLMoveMethodToCommand.klass);
  365. smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  366. smalltalk.addMethod(
  367. "_execute",
  368. smalltalk.method({
  369. selector: "execute",
  370. category: 'executing',
  371. fn: function (){
  372. var self=this;
  373. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._moveMethodToClass_ifAbsent_(_st(self)._input(),_st(self)._errorBlock());
  374. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
  375. args: [],
  376. source: "execute\x0a\x09self model moveMethodToClass: self input ifAbsent: self errorBlock",
  377. messageSends: ["moveMethodToClass:ifAbsent:", "input", "errorBlock", "model"],
  378. referencedClasses: []
  379. }),
  380. smalltalk.HLMoveMethodToClassCommand);
  381. smalltalk.addMethod(
  382. "_inputLabel",
  383. smalltalk.method({
  384. selector: "inputLabel",
  385. category: 'accessing',
  386. fn: function (){
  387. var self=this;
  388. return smalltalk.withContext(function($ctx1) { return "Move method to class:";
  389. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  390. args: [],
  391. source: "inputLabel\x0a\x09^ 'Move method to class:'",
  392. messageSends: [],
  393. referencedClasses: []
  394. }),
  395. smalltalk.HLMoveMethodToClassCommand);
  396. smalltalk.addMethod(
  397. "_isInputRequired",
  398. smalltalk.method({
  399. selector: "isInputRequired",
  400. category: 'testing',
  401. fn: function (){
  402. var self=this;
  403. return smalltalk.withContext(function($ctx1) { return true;
  404. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToClassCommand)})},
  405. args: [],
  406. source: "isInputRequired\x0a\x09^ true",
  407. messageSends: [],
  408. referencedClasses: []
  409. }),
  410. smalltalk.HLMoveMethodToClassCommand);
  411. smalltalk.addMethod(
  412. "_key",
  413. smalltalk.method({
  414. selector: "key",
  415. category: 'accessing',
  416. fn: function (){
  417. var self=this;
  418. return smalltalk.withContext(function($ctx1) { return (67);
  419. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  420. args: [],
  421. source: "key\x0a\x09^ 67",
  422. messageSends: [],
  423. referencedClasses: []
  424. }),
  425. smalltalk.HLMoveMethodToClassCommand.klass);
  426. smalltalk.addMethod(
  427. "_label",
  428. smalltalk.method({
  429. selector: "label",
  430. category: 'accessing',
  431. fn: function (){
  432. var self=this;
  433. return smalltalk.withContext(function($ctx1) { return "to class";
  434. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  435. args: [],
  436. source: "label\x09\x0a\x09^ 'to class'",
  437. messageSends: [],
  438. referencedClasses: []
  439. }),
  440. smalltalk.HLMoveMethodToClassCommand.klass);
  441. smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  442. smalltalk.addMethod(
  443. "_execute",
  444. smalltalk.method({
  445. selector: "execute",
  446. category: 'executing',
  447. fn: function (){
  448. var self=this;
  449. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._moveMethodToProtocol();
  450. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  451. args: [],
  452. source: "execute\x0a\x09self model moveMethodToProtocol",
  453. messageSends: ["moveMethodToProtocol", "model"],
  454. referencedClasses: []
  455. }),
  456. smalltalk.HLMoveMethodToProtocolCommand);
  457. smalltalk.addMethod(
  458. "_key",
  459. smalltalk.method({
  460. selector: "key",
  461. category: 'accessing',
  462. fn: function (){
  463. var self=this;
  464. return smalltalk.withContext(function($ctx1) { return (84);
  465. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  466. args: [],
  467. source: "key\x0a\x09^ 84",
  468. messageSends: [],
  469. referencedClasses: []
  470. }),
  471. smalltalk.HLMoveMethodToProtocolCommand.klass);
  472. smalltalk.addMethod(
  473. "_label",
  474. smalltalk.method({
  475. selector: "label",
  476. category: 'accessing',
  477. fn: function (){
  478. var self=this;
  479. return smalltalk.withContext(function($ctx1) { return "to protocol";
  480. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  481. args: [],
  482. source: "label\x0a\x09^ 'to protocol'",
  483. messageSends: [],
  484. referencedClasses: []
  485. }),
  486. smalltalk.HLMoveMethodToProtocolCommand.klass);
  487. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  488. smalltalk.addMethod(
  489. "_key",
  490. smalltalk.method({
  491. selector: "key",
  492. category: 'accessing',
  493. fn: function (){
  494. var self=this;
  495. return smalltalk.withContext(function($ctx1) { return (84);
  496. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
  497. args: [],
  498. source: "key\x0a\x09^ 84",
  499. messageSends: [],
  500. referencedClasses: []
  501. }),
  502. smalltalk.HLToggleCommand.klass);
  503. smalltalk.addMethod(
  504. "_label",
  505. smalltalk.method({
  506. selector: "label",
  507. category: 'accessing',
  508. fn: function (){
  509. var self=this;
  510. return smalltalk.withContext(function($ctx1) { return "Toggle";
  511. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
  512. args: [],
  513. source: "label\x0a\x09^ 'Toggle'",
  514. messageSends: [],
  515. referencedClasses: []
  516. }),
  517. smalltalk.HLToggleCommand.klass);
  518. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  519. smalltalk.addMethod(
  520. "_execute",
  521. smalltalk.method({
  522. selector: "execute",
  523. category: 'executing',
  524. fn: function (){
  525. var self=this;
  526. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._showInstance_(false);
  527. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
  528. args: [],
  529. source: "execute\x0a\x09self model showInstance: false",
  530. messageSends: ["showInstance:", "model"],
  531. referencedClasses: []
  532. }),
  533. smalltalk.HLToggleClassSideCommand);
  534. smalltalk.addMethod(
  535. "_key",
  536. smalltalk.method({
  537. selector: "key",
  538. category: 'accessing',
  539. fn: function (){
  540. var self=this;
  541. return smalltalk.withContext(function($ctx1) { return (67);
  542. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
  543. args: [],
  544. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  545. messageSends: [],
  546. referencedClasses: []
  547. }),
  548. smalltalk.HLToggleClassSideCommand.klass);
  549. smalltalk.addMethod(
  550. "_label",
  551. smalltalk.method({
  552. selector: "label",
  553. category: 'accessing',
  554. fn: function (){
  555. var self=this;
  556. return smalltalk.withContext(function($ctx1) { return "Class side";
  557. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
  558. args: [],
  559. source: "label\x0a\x09^ 'Class side'",
  560. messageSends: [],
  561. referencedClasses: []
  562. }),
  563. smalltalk.HLToggleClassSideCommand.klass);
  564. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  565. smalltalk.addMethod(
  566. "_execute",
  567. smalltalk.method({
  568. selector: "execute",
  569. category: 'executing',
  570. fn: function (){
  571. var self=this;
  572. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._showInstance_(true);
  573. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
  574. args: [],
  575. source: "execute\x0a\x09self model showInstance: true",
  576. messageSends: ["showInstance:", "model"],
  577. referencedClasses: []
  578. }),
  579. smalltalk.HLToggleInstanceSideCommand);
  580. smalltalk.addMethod(
  581. "_key",
  582. smalltalk.method({
  583. selector: "key",
  584. category: 'accessing',
  585. fn: function (){
  586. var self=this;
  587. return smalltalk.withContext(function($ctx1) { return (73);
  588. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  589. args: [],
  590. source: "key\x0a\x09\x22i\x22\x0a \x0a\x09^ 73",
  591. messageSends: [],
  592. referencedClasses: []
  593. }),
  594. smalltalk.HLToggleInstanceSideCommand.klass);
  595. smalltalk.addMethod(
  596. "_label",
  597. smalltalk.method({
  598. selector: "label",
  599. category: 'accessing',
  600. fn: function (){
  601. var self=this;
  602. return smalltalk.withContext(function($ctx1) { return "Instance side";
  603. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  604. args: [],
  605. source: "label\x0a\x09^ 'Instance side'",
  606. messageSends: [],
  607. referencedClasses: []
  608. }),
  609. smalltalk.HLToggleInstanceSideCommand.klass);