1
0

Helios-Commands-Browser.deploy.js 20 KB

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