Helios-Commands-Tools.deploy.js 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681
  1. smalltalk.addPackage('Helios-Commands-Tools');
  2. smalltalk.addClass('HLBrowserCommand', smalltalk.HLModelCommand, [], 'Helios-Commands-Tools');
  3. smalltalk.addMethod(
  4. smalltalk.method({
  5. selector: "category",
  6. fn: function (){
  7. var self=this;
  8. return smalltalk.withContext(function($ctx1) {
  9. return nil;
  10. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLBrowserCommand)})},
  11. messageSends: []}),
  12. smalltalk.HLBrowserCommand);
  13. smalltalk.addMethod(
  14. smalltalk.method({
  15. selector: "for:",
  16. fn: function (aToolModel){
  17. var self=this;
  18. return smalltalk.withContext(function($ctx1) {
  19. var $2,$3,$1;
  20. $2=_st(self)._new();
  21. _st($2)._model_(aToolModel);
  22. $3=_st($2)._yourself();
  23. $1=$3;
  24. return $1;
  25. }, function($ctx1) {$ctx1.fill(self,"for:",{aToolModel:aToolModel},smalltalk.HLBrowserCommand.klass)})},
  26. messageSends: ["model:", "new", "yourself"]}),
  27. smalltalk.HLBrowserCommand.klass);
  28. smalltalk.addMethod(
  29. smalltalk.method({
  30. selector: "isValidFor:",
  31. fn: function (aModel){
  32. var self=this;
  33. return smalltalk.withContext(function($ctx1) {
  34. var $1;
  35. $1=_st(aModel)._isToolModel();
  36. return $1;
  37. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{aModel:aModel},smalltalk.HLBrowserCommand.klass)})},
  38. messageSends: ["isToolModel"]}),
  39. smalltalk.HLBrowserCommand.klass);
  40. smalltalk.addClass('HLBrowserGoToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  41. smalltalk.addMethod(
  42. smalltalk.method({
  43. selector: "isValidFor:",
  44. fn: function (aModel){
  45. var self=this;
  46. return smalltalk.withContext(function($ctx1) {
  47. var $1;
  48. $1=_st(aModel)._isBrowserModel();
  49. return $1;
  50. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{aModel:aModel},smalltalk.HLBrowserGoToCommand.klass)})},
  51. messageSends: ["isBrowserModel"]}),
  52. smalltalk.HLBrowserGoToCommand.klass);
  53. smalltalk.addMethod(
  54. smalltalk.method({
  55. selector: "key",
  56. fn: function (){
  57. var self=this;
  58. return smalltalk.withContext(function($ctx1) {
  59. return "g";
  60. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLBrowserGoToCommand.klass)})},
  61. messageSends: []}),
  62. smalltalk.HLBrowserGoToCommand.klass);
  63. smalltalk.addMethod(
  64. smalltalk.method({
  65. selector: "label",
  66. fn: function (){
  67. var self=this;
  68. return smalltalk.withContext(function($ctx1) {
  69. return "Go to";
  70. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLBrowserGoToCommand.klass)})},
  71. messageSends: []}),
  72. smalltalk.HLBrowserGoToCommand.klass);
  73. smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  74. smalltalk.addMethod(
  75. smalltalk.method({
  76. selector: "execute",
  77. fn: function (){
  78. var self=this;
  79. return smalltalk.withContext(function($ctx1) {
  80. _st(_st(self)._model())._focusOnClasses();
  81. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToClassesCommand)})},
  82. messageSends: ["focusOnClasses", "model"]}),
  83. smalltalk.HLGoToClassesCommand);
  84. smalltalk.addMethod(
  85. smalltalk.method({
  86. selector: "key",
  87. fn: function (){
  88. var self=this;
  89. return smalltalk.withContext(function($ctx1) {
  90. return "c";
  91. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToClassesCommand.klass)})},
  92. messageSends: []}),
  93. smalltalk.HLGoToClassesCommand.klass);
  94. smalltalk.addMethod(
  95. smalltalk.method({
  96. selector: "label",
  97. fn: function (){
  98. var self=this;
  99. return smalltalk.withContext(function($ctx1) {
  100. return "Classes";
  101. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToClassesCommand.klass)})},
  102. messageSends: []}),
  103. smalltalk.HLGoToClassesCommand.klass);
  104. smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  105. smalltalk.addMethod(
  106. smalltalk.method({
  107. selector: "execute",
  108. fn: function (){
  109. var self=this;
  110. return smalltalk.withContext(function($ctx1) {
  111. _st(_st(self)._model())._focusOnMethods();
  112. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToMethodsCommand)})},
  113. messageSends: ["focusOnMethods", "model"]}),
  114. smalltalk.HLGoToMethodsCommand);
  115. smalltalk.addMethod(
  116. smalltalk.method({
  117. selector: "key",
  118. fn: function (){
  119. var self=this;
  120. return smalltalk.withContext(function($ctx1) {
  121. return "m";
  122. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToMethodsCommand.klass)})},
  123. messageSends: []}),
  124. smalltalk.HLGoToMethodsCommand.klass);
  125. smalltalk.addMethod(
  126. smalltalk.method({
  127. selector: "label",
  128. fn: function (){
  129. var self=this;
  130. return smalltalk.withContext(function($ctx1) {
  131. return "Methods";
  132. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToMethodsCommand.klass)})},
  133. messageSends: []}),
  134. smalltalk.HLGoToMethodsCommand.klass);
  135. smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  136. smalltalk.addMethod(
  137. smalltalk.method({
  138. selector: "execute",
  139. fn: function (){
  140. var self=this;
  141. return smalltalk.withContext(function($ctx1) {
  142. _st(_st(self)._model())._focusOnPackages();
  143. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToPackagesCommand)})},
  144. messageSends: ["focusOnPackages", "model"]}),
  145. smalltalk.HLGoToPackagesCommand);
  146. smalltalk.addMethod(
  147. smalltalk.method({
  148. selector: "key",
  149. fn: function (){
  150. var self=this;
  151. return smalltalk.withContext(function($ctx1) {
  152. return "p";
  153. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToPackagesCommand.klass)})},
  154. messageSends: []}),
  155. smalltalk.HLGoToPackagesCommand.klass);
  156. smalltalk.addMethod(
  157. smalltalk.method({
  158. selector: "label",
  159. fn: function (){
  160. var self=this;
  161. return smalltalk.withContext(function($ctx1) {
  162. return "Packages";
  163. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToPackagesCommand.klass)})},
  164. messageSends: []}),
  165. smalltalk.HLGoToPackagesCommand.klass);
  166. smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  167. smalltalk.addMethod(
  168. smalltalk.method({
  169. selector: "execute",
  170. fn: function (){
  171. var self=this;
  172. return smalltalk.withContext(function($ctx1) {
  173. _st(_st(self)._model())._focusOnProtocols();
  174. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToProtocolsCommand)})},
  175. messageSends: ["focusOnProtocols", "model"]}),
  176. smalltalk.HLGoToProtocolsCommand);
  177. smalltalk.addMethod(
  178. smalltalk.method({
  179. selector: "key",
  180. fn: function (){
  181. var self=this;
  182. return smalltalk.withContext(function($ctx1) {
  183. return "t";
  184. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  185. messageSends: []}),
  186. smalltalk.HLGoToProtocolsCommand.klass);
  187. smalltalk.addMethod(
  188. smalltalk.method({
  189. selector: "label",
  190. fn: function (){
  191. var self=this;
  192. return smalltalk.withContext(function($ctx1) {
  193. return "Protocols";
  194. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  195. messageSends: []}),
  196. smalltalk.HLGoToProtocolsCommand.klass);
  197. smalltalk.addClass('HLGoToSourceCodeCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  198. smalltalk.addMethod(
  199. smalltalk.method({
  200. selector: "execute",
  201. fn: function (){
  202. var self=this;
  203. return smalltalk.withContext(function($ctx1) {
  204. _st(_st(self)._model())._focusOnSourceCode();
  205. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToSourceCodeCommand)})},
  206. messageSends: ["focusOnSourceCode", "model"]}),
  207. smalltalk.HLGoToSourceCodeCommand);
  208. smalltalk.addMethod(
  209. smalltalk.method({
  210. selector: "key",
  211. fn: function (){
  212. var self=this;
  213. return smalltalk.withContext(function($ctx1) {
  214. return "s";
  215. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  216. messageSends: []}),
  217. smalltalk.HLGoToSourceCodeCommand.klass);
  218. smalltalk.addMethod(
  219. smalltalk.method({
  220. selector: "label",
  221. fn: function (){
  222. var self=this;
  223. return smalltalk.withContext(function($ctx1) {
  224. return "Source code";
  225. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  226. messageSends: []}),
  227. smalltalk.HLGoToSourceCodeCommand.klass);
  228. smalltalk.addClass('HLCommitPackageCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  229. smalltalk.addMethod(
  230. smalltalk.method({
  231. selector: "category",
  232. fn: function (){
  233. var self=this;
  234. return smalltalk.withContext(function($ctx1) {
  235. return "Packages";
  236. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLCommitPackageCommand)})},
  237. messageSends: []}),
  238. smalltalk.HLCommitPackageCommand);
  239. smalltalk.addMethod(
  240. smalltalk.method({
  241. selector: "execute",
  242. fn: function (){
  243. var self=this;
  244. return smalltalk.withContext(function($ctx1) {
  245. _st(_st(self)._model())._commitPackage();
  246. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLCommitPackageCommand)})},
  247. messageSends: ["commitPackage", "model"]}),
  248. smalltalk.HLCommitPackageCommand);
  249. smalltalk.addMethod(
  250. smalltalk.method({
  251. selector: "isActive",
  252. fn: function (){
  253. var self=this;
  254. return smalltalk.withContext(function($ctx1) {
  255. return true;
  256. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLCommitPackageCommand)})},
  257. messageSends: []}),
  258. smalltalk.HLCommitPackageCommand);
  259. smalltalk.addMethod(
  260. smalltalk.method({
  261. selector: "key",
  262. fn: function (){
  263. var self=this;
  264. return smalltalk.withContext(function($ctx1) {
  265. return "k";
  266. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCommitPackageCommand.klass)})},
  267. messageSends: []}),
  268. smalltalk.HLCommitPackageCommand.klass);
  269. smalltalk.addMethod(
  270. smalltalk.method({
  271. selector: "label",
  272. fn: function (){
  273. var self=this;
  274. return smalltalk.withContext(function($ctx1) {
  275. return "Commit";
  276. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCommitPackageCommand.klass)})},
  277. messageSends: []}),
  278. smalltalk.HLCommitPackageCommand.klass);
  279. smalltalk.addClass('HLCopyCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  280. smalltalk.addMethod(
  281. smalltalk.method({
  282. selector: "key",
  283. fn: function (){
  284. var self=this;
  285. return smalltalk.withContext(function($ctx1) {
  286. return "c";
  287. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCopyCommand.klass)})},
  288. messageSends: []}),
  289. smalltalk.HLCopyCommand.klass);
  290. smalltalk.addMethod(
  291. smalltalk.method({
  292. selector: "label",
  293. fn: function (){
  294. var self=this;
  295. return smalltalk.withContext(function($ctx1) {
  296. return "Copy";
  297. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCopyCommand.klass)})},
  298. messageSends: []}),
  299. smalltalk.HLCopyCommand.klass);
  300. smalltalk.addClass('HLCopyClassCommand', smalltalk.HLCopyCommand, [], 'Helios-Commands-Tools');
  301. smalltalk.addMethod(
  302. smalltalk.method({
  303. selector: "category",
  304. fn: function (){
  305. var self=this;
  306. return smalltalk.withContext(function($ctx1) {
  307. return "Classes";
  308. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLCopyClassCommand)})},
  309. messageSends: []}),
  310. smalltalk.HLCopyClassCommand);
  311. smalltalk.addMethod(
  312. smalltalk.method({
  313. selector: "defaultInput",
  314. fn: function (){
  315. var self=this;
  316. return smalltalk.withContext(function($ctx1) {
  317. var $1;
  318. $1=_st(_st(_st(self)._model())._selectedClass())._name();
  319. return $1;
  320. }, function($ctx1) {$ctx1.fill(self,"defaultInput",{},smalltalk.HLCopyClassCommand)})},
  321. messageSends: ["name", "selectedClass", "model"]}),
  322. smalltalk.HLCopyClassCommand);
  323. smalltalk.addMethod(
  324. smalltalk.method({
  325. selector: "displayLabel",
  326. fn: function (){
  327. var self=this;
  328. return smalltalk.withContext(function($ctx1) {
  329. return "New class name:";
  330. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLCopyClassCommand)})},
  331. messageSends: []}),
  332. smalltalk.HLCopyClassCommand);
  333. smalltalk.addMethod(
  334. smalltalk.method({
  335. selector: "execute",
  336. fn: function (){
  337. var self=this;
  338. return smalltalk.withContext(function($ctx1) {
  339. _st(_st(self)._model())._copyClassTo_(_st(self)._input());
  340. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLCopyClassCommand)})},
  341. messageSends: ["copyClassTo:", "input", "model"]}),
  342. smalltalk.HLCopyClassCommand);
  343. smalltalk.addMethod(
  344. smalltalk.method({
  345. selector: "isActive",
  346. fn: function (){
  347. var self=this;
  348. return smalltalk.withContext(function($ctx1) {
  349. var $1;
  350. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  351. return $1;
  352. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLCopyClassCommand)})},
  353. messageSends: ["notNil", "selectedClass", "model"]}),
  354. smalltalk.HLCopyClassCommand);
  355. smalltalk.addMethod(
  356. smalltalk.method({
  357. selector: "isInputRequired",
  358. fn: function (){
  359. var self=this;
  360. return smalltalk.withContext(function($ctx1) {
  361. return true;
  362. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLCopyClassCommand)})},
  363. messageSends: []}),
  364. smalltalk.HLCopyClassCommand);
  365. smalltalk.addMethod(
  366. smalltalk.method({
  367. selector: "key",
  368. fn: function (){
  369. var self=this;
  370. return smalltalk.withContext(function($ctx1) {
  371. return "c";
  372. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCopyClassCommand.klass)})},
  373. messageSends: []}),
  374. smalltalk.HLCopyClassCommand.klass);
  375. smalltalk.addMethod(
  376. smalltalk.method({
  377. selector: "label",
  378. fn: function (){
  379. var self=this;
  380. return smalltalk.withContext(function($ctx1) {
  381. return "Class";
  382. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCopyClassCommand.klass)})},
  383. messageSends: []}),
  384. smalltalk.HLCopyClassCommand.klass);
  385. smalltalk.addMethod(
  386. smalltalk.method({
  387. selector: "menuLabel",
  388. fn: function (){
  389. var self=this;
  390. return smalltalk.withContext(function($ctx1) {
  391. return "Copy class...";
  392. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLCopyClassCommand.klass)})},
  393. messageSends: []}),
  394. smalltalk.HLCopyClassCommand.klass);
  395. smalltalk.addClass('HLFindCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  396. smalltalk.addMethod(
  397. smalltalk.method({
  398. selector: "key",
  399. fn: function (){
  400. var self=this;
  401. return smalltalk.withContext(function($ctx1) {
  402. return "f";
  403. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindCommand.klass)})},
  404. messageSends: []}),
  405. smalltalk.HLFindCommand.klass);
  406. smalltalk.addMethod(
  407. smalltalk.method({
  408. selector: "label",
  409. fn: function (){
  410. var self=this;
  411. return smalltalk.withContext(function($ctx1) {
  412. return "Find";
  413. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindCommand.klass)})},
  414. messageSends: []}),
  415. smalltalk.HLFindCommand.klass);
  416. smalltalk.addClass('HLFindClassCommand', smalltalk.HLFindCommand, [], 'Helios-Commands-Tools');
  417. smalltalk.addMethod(
  418. smalltalk.method({
  419. selector: "displayLabel",
  420. fn: function (){
  421. var self=this;
  422. return smalltalk.withContext(function($ctx1) {
  423. return "select a class";
  424. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLFindClassCommand)})},
  425. messageSends: []}),
  426. smalltalk.HLFindClassCommand);
  427. smalltalk.addMethod(
  428. smalltalk.method({
  429. selector: "execute",
  430. fn: function (){
  431. var self=this;
  432. return smalltalk.withContext(function($ctx1) {
  433. _st(_st(self)._model())._openClassNamed_(_st(self)._input());
  434. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLFindClassCommand)})},
  435. messageSends: ["openClassNamed:", "input", "model"]}),
  436. smalltalk.HLFindClassCommand);
  437. smalltalk.addMethod(
  438. smalltalk.method({
  439. selector: "inputCompletion",
  440. fn: function (){
  441. var self=this;
  442. return smalltalk.withContext(function($ctx1) {
  443. var $1;
  444. $1=_st(_st(self)._model())._availableClassNames();
  445. return $1;
  446. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLFindClassCommand)})},
  447. messageSends: ["availableClassNames", "model"]}),
  448. smalltalk.HLFindClassCommand);
  449. smalltalk.addMethod(
  450. smalltalk.method({
  451. selector: "inputLabel",
  452. fn: function (){
  453. var self=this;
  454. return smalltalk.withContext(function($ctx1) {
  455. return "Find a class";
  456. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLFindClassCommand)})},
  457. messageSends: []}),
  458. smalltalk.HLFindClassCommand);
  459. smalltalk.addMethod(
  460. smalltalk.method({
  461. selector: "isInputRequired",
  462. fn: function (){
  463. var self=this;
  464. return smalltalk.withContext(function($ctx1) {
  465. return true;
  466. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLFindClassCommand)})},
  467. messageSends: []}),
  468. smalltalk.HLFindClassCommand);
  469. smalltalk.addMethod(
  470. smalltalk.method({
  471. selector: "key",
  472. fn: function (){
  473. var self=this;
  474. return smalltalk.withContext(function($ctx1) {
  475. return "c";
  476. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindClassCommand.klass)})},
  477. messageSends: []}),
  478. smalltalk.HLFindClassCommand.klass);
  479. smalltalk.addMethod(
  480. smalltalk.method({
  481. selector: "label",
  482. fn: function (){
  483. var self=this;
  484. return smalltalk.withContext(function($ctx1) {
  485. return "Class";
  486. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindClassCommand.klass)})},
  487. messageSends: []}),
  488. smalltalk.HLFindClassCommand.klass);
  489. smalltalk.addClass('HLFindReferencesCommand', smalltalk.HLFindCommand, [], 'Helios-Commands-Tools');
  490. smalltalk.addMethod(
  491. smalltalk.method({
  492. selector: "defaultInput",
  493. fn: function (){
  494. var self=this;
  495. return smalltalk.withContext(function($ctx1) {
  496. var $2,$3,$1;
  497. $2=_st(_st(self)._model())._selectedMethod();
  498. if(($receiver = $2) == nil || $receiver == undefined){
  499. $3=_st(_st(self)._model())._selectedClass();
  500. if(($receiver = $3) == nil || $receiver == undefined){
  501. $1="";
  502. } else {
  503. var class_;
  504. class_=$receiver;
  505. $1=_st(class_)._name();
  506. };
  507. } else {
  508. var method;
  509. method=$receiver;
  510. $1=_st(method)._selector();
  511. };
  512. return $1;
  513. }, function($ctx1) {$ctx1.fill(self,"defaultInput",{},smalltalk.HLFindReferencesCommand)})},
  514. messageSends: ["ifNil:ifNotNil:", "name", "selectedClass", "model", "selector", "selectedMethod"]}),
  515. smalltalk.HLFindReferencesCommand);
  516. smalltalk.addMethod(
  517. smalltalk.method({
  518. selector: "displayLabel",
  519. fn: function (){
  520. var self=this;
  521. return smalltalk.withContext(function($ctx1) {
  522. return "find references";
  523. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLFindReferencesCommand)})},
  524. messageSends: []}),
  525. smalltalk.HLFindReferencesCommand);
  526. smalltalk.addMethod(
  527. smalltalk.method({
  528. selector: "execute",
  529. fn: function (){
  530. var self=this;
  531. function $HLReferences(){return smalltalk.HLReferences||(typeof HLReferences=="undefined"?nil:HLReferences)}
  532. return smalltalk.withContext(function($ctx1) {
  533. var $1,$2;
  534. $1=_st($HLReferences())._new();
  535. _st($1)._open();
  536. $2=_st($1)._search_(_st(self)._input());
  537. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLFindReferencesCommand)})},
  538. messageSends: ["open", "new", "search:", "input"]}),
  539. smalltalk.HLFindReferencesCommand);
  540. smalltalk.addMethod(
  541. smalltalk.method({
  542. selector: "inputCompletion",
  543. fn: function (){
  544. var self=this;
  545. return smalltalk.withContext(function($ctx1) {
  546. var $1;
  547. $1=_st(_st(_st(self)._model())._availableClassNames()).__comma(_st(_st(self)._model())._allSelectors());
  548. return $1;
  549. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLFindReferencesCommand)})},
  550. messageSends: [",", "allSelectors", "model", "availableClassNames"]}),
  551. smalltalk.HLFindReferencesCommand);
  552. smalltalk.addMethod(
  553. smalltalk.method({
  554. selector: "inputLabel",
  555. fn: function (){
  556. var self=this;
  557. return smalltalk.withContext(function($ctx1) {
  558. return "Find references of";
  559. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLFindReferencesCommand)})},
  560. messageSends: []}),
  561. smalltalk.HLFindReferencesCommand);
  562. smalltalk.addMethod(
  563. smalltalk.method({
  564. selector: "isInputRequired",
  565. fn: function (){
  566. var self=this;
  567. return smalltalk.withContext(function($ctx1) {
  568. return true;
  569. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLFindReferencesCommand)})},
  570. messageSends: []}),
  571. smalltalk.HLFindReferencesCommand);
  572. smalltalk.addMethod(
  573. smalltalk.method({
  574. selector: "key",
  575. fn: function (){
  576. var self=this;
  577. return smalltalk.withContext(function($ctx1) {
  578. return "r";
  579. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindReferencesCommand.klass)})},
  580. messageSends: []}),
  581. smalltalk.HLFindReferencesCommand.klass);
  582. smalltalk.addMethod(
  583. smalltalk.method({
  584. selector: "label",
  585. fn: function (){
  586. var self=this;
  587. return smalltalk.withContext(function($ctx1) {
  588. return "References";
  589. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindReferencesCommand.klass)})},
  590. messageSends: []}),
  591. smalltalk.HLFindReferencesCommand.klass);
  592. smalltalk.addClass('HLMoveToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  593. smalltalk.addMethod(
  594. smalltalk.method({
  595. selector: "key",
  596. fn: function (){
  597. var self=this;
  598. return smalltalk.withContext(function($ctx1) {
  599. return "m";
  600. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
  601. messageSends: []}),
  602. smalltalk.HLMoveToCommand.klass);
  603. smalltalk.addMethod(
  604. smalltalk.method({
  605. selector: "label",
  606. fn: function (){
  607. var self=this;
  608. return smalltalk.withContext(function($ctx1) {
  609. return "Move";
  610. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
  611. messageSends: []}),
  612. smalltalk.HLMoveToCommand.klass);
  613. smalltalk.addClass('HLMoveClassToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Tools');
  614. smalltalk.addMethod(
  615. smalltalk.method({
  616. selector: "isActive",
  617. fn: function (){
  618. var self=this;
  619. return smalltalk.withContext(function($ctx1) {
  620. var $1;
  621. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  622. return $1;
  623. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveClassToCommand)})},
  624. messageSends: ["notNil", "selectedClass", "model"]}),
  625. smalltalk.HLMoveClassToCommand);
  626. smalltalk.addMethod(
  627. smalltalk.method({
  628. selector: "key",
  629. fn: function (){
  630. var self=this;
  631. return smalltalk.withContext(function($ctx1) {
  632. return "c";
  633. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveClassToCommand.klass)})},
  634. messageSends: []}),
  635. smalltalk.HLMoveClassToCommand.klass);
  636. smalltalk.addMethod(
  637. smalltalk.method({
  638. selector: "label",
  639. fn: function (){
  640. var self=this;
  641. return smalltalk.withContext(function($ctx1) {
  642. return "Class";
  643. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveClassToCommand.klass)})},
  644. messageSends: []}),
  645. smalltalk.HLMoveClassToCommand.klass);
  646. smalltalk.addClass('HLMoveClassToPackageCommand', smalltalk.HLMoveClassToCommand, [], 'Helios-Commands-Tools');
  647. smalltalk.addMethod(
  648. smalltalk.method({
  649. selector: "category",
  650. fn: function (){
  651. var self=this;
  652. return smalltalk.withContext(function($ctx1) {
  653. return "Classes";
  654. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLMoveClassToPackageCommand)})},
  655. messageSends: []}),
  656. smalltalk.HLMoveClassToPackageCommand);
  657. smalltalk.addMethod(
  658. smalltalk.method({
  659. selector: "displayLabel",
  660. fn: function (){
  661. var self=this;
  662. return smalltalk.withContext(function($ctx1) {
  663. return "select a package";
  664. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveClassToPackageCommand)})},
  665. messageSends: []}),
  666. smalltalk.HLMoveClassToPackageCommand);
  667. smalltalk.addMethod(
  668. smalltalk.method({
  669. selector: "execute",
  670. fn: function (){
  671. var self=this;
  672. return smalltalk.withContext(function($ctx1) {
  673. _st(_st(self)._model())._moveClassToPackage_(_st(self)._input());
  674. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveClassToPackageCommand)})},
  675. messageSends: ["moveClassToPackage:", "input", "model"]}),
  676. smalltalk.HLMoveClassToPackageCommand);
  677. smalltalk.addMethod(
  678. smalltalk.method({
  679. selector: "inputCompletion",
  680. fn: function (){
  681. var self=this;
  682. return smalltalk.withContext(function($ctx1) {
  683. var $1;
  684. $1=_st(_st(self)._model())._availablePackageNames();
  685. return $1;
  686. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveClassToPackageCommand)})},
  687. messageSends: ["availablePackageNames", "model"]}),
  688. smalltalk.HLMoveClassToPackageCommand);
  689. smalltalk.addMethod(
  690. smalltalk.method({
  691. selector: "inputLabel",
  692. fn: function (){
  693. var self=this;
  694. return smalltalk.withContext(function($ctx1) {
  695. return "Move class to package:";
  696. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveClassToPackageCommand)})},
  697. messageSends: []}),
  698. smalltalk.HLMoveClassToPackageCommand);
  699. smalltalk.addMethod(
  700. smalltalk.method({
  701. selector: "isInputRequired",
  702. fn: function (){
  703. var self=this;
  704. return smalltalk.withContext(function($ctx1) {
  705. return true;
  706. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveClassToPackageCommand)})},
  707. messageSends: []}),
  708. smalltalk.HLMoveClassToPackageCommand);
  709. smalltalk.addMethod(
  710. smalltalk.method({
  711. selector: "key",
  712. fn: function (){
  713. var self=this;
  714. return smalltalk.withContext(function($ctx1) {
  715. return "p";
  716. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveClassToPackageCommand.klass)})},
  717. messageSends: []}),
  718. smalltalk.HLMoveClassToPackageCommand.klass);
  719. smalltalk.addMethod(
  720. smalltalk.method({
  721. selector: "label",
  722. fn: function (){
  723. var self=this;
  724. return smalltalk.withContext(function($ctx1) {
  725. return "to package";
  726. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveClassToPackageCommand.klass)})},
  727. messageSends: []}),
  728. smalltalk.HLMoveClassToPackageCommand.klass);
  729. smalltalk.addMethod(
  730. smalltalk.method({
  731. selector: "menuLabel",
  732. fn: function (){
  733. var self=this;
  734. return smalltalk.withContext(function($ctx1) {
  735. return "Move to package...";
  736. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveClassToPackageCommand.klass)})},
  737. messageSends: []}),
  738. smalltalk.HLMoveClassToPackageCommand.klass);
  739. smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Tools');
  740. smalltalk.addMethod(
  741. smalltalk.method({
  742. selector: "category",
  743. fn: function (){
  744. var self=this;
  745. return smalltalk.withContext(function($ctx1) {
  746. return "Methods";
  747. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLMoveMethodToCommand)})},
  748. messageSends: []}),
  749. smalltalk.HLMoveMethodToCommand);
  750. smalltalk.addMethod(
  751. smalltalk.method({
  752. selector: "isActive",
  753. fn: function (){
  754. var self=this;
  755. return smalltalk.withContext(function($ctx1) {
  756. var $1;
  757. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  758. return $1;
  759. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveMethodToCommand)})},
  760. messageSends: ["notNil", "selectedMethod", "model"]}),
  761. smalltalk.HLMoveMethodToCommand);
  762. smalltalk.addMethod(
  763. smalltalk.method({
  764. selector: "key",
  765. fn: function (){
  766. var self=this;
  767. return smalltalk.withContext(function($ctx1) {
  768. return "m";
  769. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
  770. messageSends: []}),
  771. smalltalk.HLMoveMethodToCommand.klass);
  772. smalltalk.addMethod(
  773. smalltalk.method({
  774. selector: "label",
  775. fn: function (){
  776. var self=this;
  777. return smalltalk.withContext(function($ctx1) {
  778. return "Method";
  779. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
  780. messageSends: []}),
  781. smalltalk.HLMoveMethodToCommand.klass);
  782. smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Tools');
  783. smalltalk.addMethod(
  784. smalltalk.method({
  785. selector: "displayLabel",
  786. fn: function (){
  787. var self=this;
  788. return smalltalk.withContext(function($ctx1) {
  789. return "select a class";
  790. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  791. messageSends: []}),
  792. smalltalk.HLMoveMethodToClassCommand);
  793. smalltalk.addMethod(
  794. smalltalk.method({
  795. selector: "execute",
  796. fn: function (){
  797. var self=this;
  798. return smalltalk.withContext(function($ctx1) {
  799. _st(_st(self)._model())._moveMethodToClass_(_st(self)._input());
  800. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
  801. messageSends: ["moveMethodToClass:", "input", "model"]}),
  802. smalltalk.HLMoveMethodToClassCommand);
  803. smalltalk.addMethod(
  804. smalltalk.method({
  805. selector: "inputCompletion",
  806. fn: function (){
  807. var self=this;
  808. return smalltalk.withContext(function($ctx1) {
  809. var $1;
  810. $1=_st(_st(self)._model())._availableClassNames();
  811. return $1;
  812. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToClassCommand)})},
  813. messageSends: ["availableClassNames", "model"]}),
  814. smalltalk.HLMoveMethodToClassCommand);
  815. smalltalk.addMethod(
  816. smalltalk.method({
  817. selector: "inputLabel",
  818. fn: function (){
  819. var self=this;
  820. return smalltalk.withContext(function($ctx1) {
  821. return "Move method to class:";
  822. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  823. messageSends: []}),
  824. smalltalk.HLMoveMethodToClassCommand);
  825. smalltalk.addMethod(
  826. smalltalk.method({
  827. selector: "isInputRequired",
  828. fn: function (){
  829. var self=this;
  830. return smalltalk.withContext(function($ctx1) {
  831. return true;
  832. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToClassCommand)})},
  833. messageSends: []}),
  834. smalltalk.HLMoveMethodToClassCommand);
  835. smalltalk.addMethod(
  836. smalltalk.method({
  837. selector: "key",
  838. fn: function (){
  839. var self=this;
  840. return smalltalk.withContext(function($ctx1) {
  841. return "c";
  842. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  843. messageSends: []}),
  844. smalltalk.HLMoveMethodToClassCommand.klass);
  845. smalltalk.addMethod(
  846. smalltalk.method({
  847. selector: "label",
  848. fn: function (){
  849. var self=this;
  850. return smalltalk.withContext(function($ctx1) {
  851. return "to class";
  852. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  853. messageSends: []}),
  854. smalltalk.HLMoveMethodToClassCommand.klass);
  855. smalltalk.addMethod(
  856. smalltalk.method({
  857. selector: "menuLabel",
  858. fn: function (){
  859. var self=this;
  860. return smalltalk.withContext(function($ctx1) {
  861. return "Move to class...";
  862. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  863. messageSends: []}),
  864. smalltalk.HLMoveMethodToClassCommand.klass);
  865. smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Tools');
  866. smalltalk.addMethod(
  867. smalltalk.method({
  868. selector: "displayLabel",
  869. fn: function (){
  870. var self=this;
  871. return smalltalk.withContext(function($ctx1) {
  872. return "select a protocol";
  873. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  874. messageSends: []}),
  875. smalltalk.HLMoveMethodToProtocolCommand);
  876. smalltalk.addMethod(
  877. smalltalk.method({
  878. selector: "execute",
  879. fn: function (){
  880. var self=this;
  881. return smalltalk.withContext(function($ctx1) {
  882. _st(_st(self)._model())._moveMethodToProtocol_(_st(self)._input());
  883. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  884. messageSends: ["moveMethodToProtocol:", "input", "model"]}),
  885. smalltalk.HLMoveMethodToProtocolCommand);
  886. smalltalk.addMethod(
  887. smalltalk.method({
  888. selector: "inputCompletion",
  889. fn: function (){
  890. var self=this;
  891. return smalltalk.withContext(function($ctx1) {
  892. var $1;
  893. $1=_st(_st(self)._model())._availableProtocols();
  894. return $1;
  895. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  896. messageSends: ["availableProtocols", "model"]}),
  897. smalltalk.HLMoveMethodToProtocolCommand);
  898. smalltalk.addMethod(
  899. smalltalk.method({
  900. selector: "inputLabel",
  901. fn: function (){
  902. var self=this;
  903. return smalltalk.withContext(function($ctx1) {
  904. return "Move method to a protocol:";
  905. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  906. messageSends: []}),
  907. smalltalk.HLMoveMethodToProtocolCommand);
  908. smalltalk.addMethod(
  909. smalltalk.method({
  910. selector: "isInputRequired",
  911. fn: function (){
  912. var self=this;
  913. return smalltalk.withContext(function($ctx1) {
  914. return true;
  915. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  916. messageSends: []}),
  917. smalltalk.HLMoveMethodToProtocolCommand);
  918. smalltalk.addMethod(
  919. smalltalk.method({
  920. selector: "key",
  921. fn: function (){
  922. var self=this;
  923. return smalltalk.withContext(function($ctx1) {
  924. return "t";
  925. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  926. messageSends: []}),
  927. smalltalk.HLMoveMethodToProtocolCommand.klass);
  928. smalltalk.addMethod(
  929. smalltalk.method({
  930. selector: "label",
  931. fn: function (){
  932. var self=this;
  933. return smalltalk.withContext(function($ctx1) {
  934. return "to protocol";
  935. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  936. messageSends: []}),
  937. smalltalk.HLMoveMethodToProtocolCommand.klass);
  938. smalltalk.addMethod(
  939. smalltalk.method({
  940. selector: "menuLabel",
  941. fn: function (){
  942. var self=this;
  943. return smalltalk.withContext(function($ctx1) {
  944. return "Move to protocol...";
  945. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  946. messageSends: []}),
  947. smalltalk.HLMoveMethodToProtocolCommand.klass);
  948. smalltalk.addClass('HLRemoveCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  949. smalltalk.addMethod(
  950. smalltalk.method({
  951. selector: "key",
  952. fn: function (){
  953. var self=this;
  954. return smalltalk.withContext(function($ctx1) {
  955. return "x";
  956. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveCommand.klass)})},
  957. messageSends: []}),
  958. smalltalk.HLRemoveCommand.klass);
  959. smalltalk.addMethod(
  960. smalltalk.method({
  961. selector: "label",
  962. fn: function (){
  963. var self=this;
  964. return smalltalk.withContext(function($ctx1) {
  965. return "Remove";
  966. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveCommand.klass)})},
  967. messageSends: []}),
  968. smalltalk.HLRemoveCommand.klass);
  969. smalltalk.addClass('HLRemoveClassCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Tools');
  970. smalltalk.addMethod(
  971. smalltalk.method({
  972. selector: "category",
  973. fn: function (){
  974. var self=this;
  975. return smalltalk.withContext(function($ctx1) {
  976. return "Classes";
  977. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRemoveClassCommand)})},
  978. messageSends: []}),
  979. smalltalk.HLRemoveClassCommand);
  980. smalltalk.addMethod(
  981. smalltalk.method({
  982. selector: "execute",
  983. fn: function (){
  984. var self=this;
  985. return smalltalk.withContext(function($ctx1) {
  986. _st(_st(self)._model())._removeClass();
  987. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveClassCommand)})},
  988. messageSends: ["removeClass", "model"]}),
  989. smalltalk.HLRemoveClassCommand);
  990. smalltalk.addMethod(
  991. smalltalk.method({
  992. selector: "isActive",
  993. fn: function (){
  994. var self=this;
  995. return smalltalk.withContext(function($ctx1) {
  996. var $1;
  997. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  998. return $1;
  999. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveClassCommand)})},
  1000. messageSends: ["notNil", "selectedClass", "model"]}),
  1001. smalltalk.HLRemoveClassCommand);
  1002. smalltalk.addMethod(
  1003. smalltalk.method({
  1004. selector: "key",
  1005. fn: function (){
  1006. var self=this;
  1007. return smalltalk.withContext(function($ctx1) {
  1008. return "c";
  1009. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveClassCommand.klass)})},
  1010. messageSends: []}),
  1011. smalltalk.HLRemoveClassCommand.klass);
  1012. smalltalk.addMethod(
  1013. smalltalk.method({
  1014. selector: "label",
  1015. fn: function (){
  1016. var self=this;
  1017. return smalltalk.withContext(function($ctx1) {
  1018. return "Class";
  1019. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveClassCommand.klass)})},
  1020. messageSends: []}),
  1021. smalltalk.HLRemoveClassCommand.klass);
  1022. smalltalk.addMethod(
  1023. smalltalk.method({
  1024. selector: "menuLabel",
  1025. fn: function (){
  1026. var self=this;
  1027. return smalltalk.withContext(function($ctx1) {
  1028. return "Remove class";
  1029. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveClassCommand.klass)})},
  1030. messageSends: []}),
  1031. smalltalk.HLRemoveClassCommand.klass);
  1032. smalltalk.addClass('HLRemoveMethodCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Tools');
  1033. smalltalk.addMethod(
  1034. smalltalk.method({
  1035. selector: "category",
  1036. fn: function (){
  1037. var self=this;
  1038. return smalltalk.withContext(function($ctx1) {
  1039. return "Methods";
  1040. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRemoveMethodCommand)})},
  1041. messageSends: []}),
  1042. smalltalk.HLRemoveMethodCommand);
  1043. smalltalk.addMethod(
  1044. smalltalk.method({
  1045. selector: "execute",
  1046. fn: function (){
  1047. var self=this;
  1048. return smalltalk.withContext(function($ctx1) {
  1049. _st(_st(self)._model())._removeMethod();
  1050. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveMethodCommand)})},
  1051. messageSends: ["removeMethod", "model"]}),
  1052. smalltalk.HLRemoveMethodCommand);
  1053. smalltalk.addMethod(
  1054. smalltalk.method({
  1055. selector: "isActive",
  1056. fn: function (){
  1057. var self=this;
  1058. return smalltalk.withContext(function($ctx1) {
  1059. var $1;
  1060. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  1061. return $1;
  1062. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveMethodCommand)})},
  1063. messageSends: ["notNil", "selectedMethod", "model"]}),
  1064. smalltalk.HLRemoveMethodCommand);
  1065. smalltalk.addMethod(
  1066. smalltalk.method({
  1067. selector: "key",
  1068. fn: function (){
  1069. var self=this;
  1070. return smalltalk.withContext(function($ctx1) {
  1071. return "m";
  1072. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1073. messageSends: []}),
  1074. smalltalk.HLRemoveMethodCommand.klass);
  1075. smalltalk.addMethod(
  1076. smalltalk.method({
  1077. selector: "label",
  1078. fn: function (){
  1079. var self=this;
  1080. return smalltalk.withContext(function($ctx1) {
  1081. return "Method";
  1082. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1083. messageSends: []}),
  1084. smalltalk.HLRemoveMethodCommand.klass);
  1085. smalltalk.addMethod(
  1086. smalltalk.method({
  1087. selector: "menuLabel",
  1088. fn: function (){
  1089. var self=this;
  1090. return smalltalk.withContext(function($ctx1) {
  1091. return "Remove method";
  1092. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1093. messageSends: []}),
  1094. smalltalk.HLRemoveMethodCommand.klass);
  1095. smalltalk.addClass('HLRemoveProtocolCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Tools');
  1096. smalltalk.addMethod(
  1097. smalltalk.method({
  1098. selector: "category",
  1099. fn: function (){
  1100. var self=this;
  1101. return smalltalk.withContext(function($ctx1) {
  1102. return "Protocols";
  1103. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRemoveProtocolCommand)})},
  1104. messageSends: []}),
  1105. smalltalk.HLRemoveProtocolCommand);
  1106. smalltalk.addMethod(
  1107. smalltalk.method({
  1108. selector: "execute",
  1109. fn: function (){
  1110. var self=this;
  1111. return smalltalk.withContext(function($ctx1) {
  1112. _st(_st(self)._model())._removeProtocol();
  1113. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveProtocolCommand)})},
  1114. messageSends: ["removeProtocol", "model"]}),
  1115. smalltalk.HLRemoveProtocolCommand);
  1116. smalltalk.addMethod(
  1117. smalltalk.method({
  1118. selector: "isActive",
  1119. fn: function (){
  1120. var self=this;
  1121. return smalltalk.withContext(function($ctx1) {
  1122. var $1;
  1123. $1=_st(_st(_st(self)._model())._selectedProtocol())._notNil();
  1124. return $1;
  1125. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveProtocolCommand)})},
  1126. messageSends: ["notNil", "selectedProtocol", "model"]}),
  1127. smalltalk.HLRemoveProtocolCommand);
  1128. smalltalk.addMethod(
  1129. smalltalk.method({
  1130. selector: "key",
  1131. fn: function (){
  1132. var self=this;
  1133. return smalltalk.withContext(function($ctx1) {
  1134. return "t";
  1135. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveProtocolCommand.klass)})},
  1136. messageSends: []}),
  1137. smalltalk.HLRemoveProtocolCommand.klass);
  1138. smalltalk.addMethod(
  1139. smalltalk.method({
  1140. selector: "label",
  1141. fn: function (){
  1142. var self=this;
  1143. return smalltalk.withContext(function($ctx1) {
  1144. return "Protocol";
  1145. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveProtocolCommand.klass)})},
  1146. messageSends: []}),
  1147. smalltalk.HLRemoveProtocolCommand.klass);
  1148. smalltalk.addMethod(
  1149. smalltalk.method({
  1150. selector: "menuLabel",
  1151. fn: function (){
  1152. var self=this;
  1153. return smalltalk.withContext(function($ctx1) {
  1154. return "Remove protocol";
  1155. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveProtocolCommand.klass)})},
  1156. messageSends: []}),
  1157. smalltalk.HLRemoveProtocolCommand.klass);
  1158. smalltalk.addClass('HLRenameCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  1159. smalltalk.addMethod(
  1160. smalltalk.method({
  1161. selector: "key",
  1162. fn: function (){
  1163. var self=this;
  1164. return smalltalk.withContext(function($ctx1) {
  1165. return "r";
  1166. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRenameCommand.klass)})},
  1167. messageSends: []}),
  1168. smalltalk.HLRenameCommand.klass);
  1169. smalltalk.addMethod(
  1170. smalltalk.method({
  1171. selector: "label",
  1172. fn: function (){
  1173. var self=this;
  1174. return smalltalk.withContext(function($ctx1) {
  1175. return "Rename";
  1176. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRenameCommand.klass)})},
  1177. messageSends: []}),
  1178. smalltalk.HLRenameCommand.klass);
  1179. smalltalk.addClass('HLRenameClassCommand', smalltalk.HLRenameCommand, [], 'Helios-Commands-Tools');
  1180. smalltalk.addMethod(
  1181. smalltalk.method({
  1182. selector: "category",
  1183. fn: function (){
  1184. var self=this;
  1185. return smalltalk.withContext(function($ctx1) {
  1186. return "Classes";
  1187. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRenameClassCommand)})},
  1188. messageSends: []}),
  1189. smalltalk.HLRenameClassCommand);
  1190. smalltalk.addMethod(
  1191. smalltalk.method({
  1192. selector: "defaultInput",
  1193. fn: function (){
  1194. var self=this;
  1195. return smalltalk.withContext(function($ctx1) {
  1196. var $1;
  1197. $1=_st(_st(_st(self)._model())._selectedClass())._name();
  1198. return $1;
  1199. }, function($ctx1) {$ctx1.fill(self,"defaultInput",{},smalltalk.HLRenameClassCommand)})},
  1200. messageSends: ["name", "selectedClass", "model"]}),
  1201. smalltalk.HLRenameClassCommand);
  1202. smalltalk.addMethod(
  1203. smalltalk.method({
  1204. selector: "displayLabel",
  1205. fn: function (){
  1206. var self=this;
  1207. return smalltalk.withContext(function($ctx1) {
  1208. return "Rename class to:";
  1209. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLRenameClassCommand)})},
  1210. messageSends: []}),
  1211. smalltalk.HLRenameClassCommand);
  1212. smalltalk.addMethod(
  1213. smalltalk.method({
  1214. selector: "execute",
  1215. fn: function (){
  1216. var self=this;
  1217. return smalltalk.withContext(function($ctx1) {
  1218. _st(_st(self)._model())._renameClassTo_(_st(self)._input());
  1219. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRenameClassCommand)})},
  1220. messageSends: ["renameClassTo:", "input", "model"]}),
  1221. smalltalk.HLRenameClassCommand);
  1222. smalltalk.addMethod(
  1223. smalltalk.method({
  1224. selector: "isActive",
  1225. fn: function (){
  1226. var self=this;
  1227. return smalltalk.withContext(function($ctx1) {
  1228. var $1;
  1229. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  1230. return $1;
  1231. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRenameClassCommand)})},
  1232. messageSends: ["notNil", "selectedClass", "model"]}),
  1233. smalltalk.HLRenameClassCommand);
  1234. smalltalk.addMethod(
  1235. smalltalk.method({
  1236. selector: "isInputRequired",
  1237. fn: function (){
  1238. var self=this;
  1239. return smalltalk.withContext(function($ctx1) {
  1240. return true;
  1241. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLRenameClassCommand)})},
  1242. messageSends: []}),
  1243. smalltalk.HLRenameClassCommand);
  1244. smalltalk.addMethod(
  1245. smalltalk.method({
  1246. selector: "key",
  1247. fn: function (){
  1248. var self=this;
  1249. return smalltalk.withContext(function($ctx1) {
  1250. return "c";
  1251. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRenameClassCommand.klass)})},
  1252. messageSends: []}),
  1253. smalltalk.HLRenameClassCommand.klass);
  1254. smalltalk.addMethod(
  1255. smalltalk.method({
  1256. selector: "label",
  1257. fn: function (){
  1258. var self=this;
  1259. return smalltalk.withContext(function($ctx1) {
  1260. return "Class";
  1261. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRenameClassCommand.klass)})},
  1262. messageSends: []}),
  1263. smalltalk.HLRenameClassCommand.klass);
  1264. smalltalk.addMethod(
  1265. smalltalk.method({
  1266. selector: "menuLabel",
  1267. fn: function (){
  1268. var self=this;
  1269. return smalltalk.withContext(function($ctx1) {
  1270. return "Rename class...";
  1271. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRenameClassCommand.klass)})},
  1272. messageSends: []}),
  1273. smalltalk.HLRenameClassCommand.klass);
  1274. smalltalk.addClass('HLRenameProtocolCommand', smalltalk.HLRenameCommand, [], 'Helios-Commands-Tools');
  1275. smalltalk.addMethod(
  1276. smalltalk.method({
  1277. selector: "category",
  1278. fn: function (){
  1279. var self=this;
  1280. return smalltalk.withContext(function($ctx1) {
  1281. return "Protocols";
  1282. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRenameProtocolCommand)})},
  1283. messageSends: []}),
  1284. smalltalk.HLRenameProtocolCommand);
  1285. smalltalk.addMethod(
  1286. smalltalk.method({
  1287. selector: "defaultInput",
  1288. fn: function (){
  1289. var self=this;
  1290. return smalltalk.withContext(function($ctx1) {
  1291. var $1;
  1292. $1=_st(_st(self)._model())._selectedProtocol();
  1293. return $1;
  1294. }, function($ctx1) {$ctx1.fill(self,"defaultInput",{},smalltalk.HLRenameProtocolCommand)})},
  1295. messageSends: ["selectedProtocol", "model"]}),
  1296. smalltalk.HLRenameProtocolCommand);
  1297. smalltalk.addMethod(
  1298. smalltalk.method({
  1299. selector: "displayLabel",
  1300. fn: function (){
  1301. var self=this;
  1302. return smalltalk.withContext(function($ctx1) {
  1303. return "Rename protocol to:";
  1304. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLRenameProtocolCommand)})},
  1305. messageSends: []}),
  1306. smalltalk.HLRenameProtocolCommand);
  1307. smalltalk.addMethod(
  1308. smalltalk.method({
  1309. selector: "execute",
  1310. fn: function (){
  1311. var self=this;
  1312. return smalltalk.withContext(function($ctx1) {
  1313. _st(_st(self)._model())._renameProtocolTo_(_st(self)._input());
  1314. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRenameProtocolCommand)})},
  1315. messageSends: ["renameProtocolTo:", "input", "model"]}),
  1316. smalltalk.HLRenameProtocolCommand);
  1317. smalltalk.addMethod(
  1318. smalltalk.method({
  1319. selector: "isActive",
  1320. fn: function (){
  1321. var self=this;
  1322. return smalltalk.withContext(function($ctx1) {
  1323. var $1;
  1324. $1=_st(_st(_st(self)._model())._selectedProtocol())._notNil();
  1325. return $1;
  1326. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRenameProtocolCommand)})},
  1327. messageSends: ["notNil", "selectedProtocol", "model"]}),
  1328. smalltalk.HLRenameProtocolCommand);
  1329. smalltalk.addMethod(
  1330. smalltalk.method({
  1331. selector: "isInputRequired",
  1332. fn: function (){
  1333. var self=this;
  1334. return smalltalk.withContext(function($ctx1) {
  1335. return true;
  1336. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLRenameProtocolCommand)})},
  1337. messageSends: []}),
  1338. smalltalk.HLRenameProtocolCommand);
  1339. smalltalk.addMethod(
  1340. smalltalk.method({
  1341. selector: "key",
  1342. fn: function (){
  1343. var self=this;
  1344. return smalltalk.withContext(function($ctx1) {
  1345. return "t";
  1346. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRenameProtocolCommand.klass)})},
  1347. messageSends: []}),
  1348. smalltalk.HLRenameProtocolCommand.klass);
  1349. smalltalk.addMethod(
  1350. smalltalk.method({
  1351. selector: "label",
  1352. fn: function (){
  1353. var self=this;
  1354. return smalltalk.withContext(function($ctx1) {
  1355. return "Protocol";
  1356. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRenameProtocolCommand.klass)})},
  1357. messageSends: []}),
  1358. smalltalk.HLRenameProtocolCommand.klass);
  1359. smalltalk.addMethod(
  1360. smalltalk.method({
  1361. selector: "menuLabel",
  1362. fn: function (){
  1363. var self=this;
  1364. return smalltalk.withContext(function($ctx1) {
  1365. return "Rename protocol...";
  1366. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRenameProtocolCommand.klass)})},
  1367. messageSends: []}),
  1368. smalltalk.HLRenameProtocolCommand.klass);
  1369. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  1370. smalltalk.addMethod(
  1371. smalltalk.method({
  1372. selector: "key",
  1373. fn: function (){
  1374. var self=this;
  1375. return smalltalk.withContext(function($ctx1) {
  1376. return "t";
  1377. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
  1378. messageSends: []}),
  1379. smalltalk.HLToggleCommand.klass);
  1380. smalltalk.addMethod(
  1381. smalltalk.method({
  1382. selector: "label",
  1383. fn: function (){
  1384. var self=this;
  1385. return smalltalk.withContext(function($ctx1) {
  1386. return "Toggle";
  1387. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
  1388. messageSends: []}),
  1389. smalltalk.HLToggleCommand.klass);
  1390. smalltalk.addClass('HLToggleClassCommentCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Tools');
  1391. smalltalk.addMethod(
  1392. smalltalk.method({
  1393. selector: "execute",
  1394. fn: function (){
  1395. var self=this;
  1396. return smalltalk.withContext(function($ctx1) {
  1397. _st(_st(self)._model())._showComment_(true);
  1398. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassCommentCommand)})},
  1399. messageSends: ["showComment:", "model"]}),
  1400. smalltalk.HLToggleClassCommentCommand);
  1401. smalltalk.addMethod(
  1402. smalltalk.method({
  1403. selector: "key",
  1404. fn: function (){
  1405. var self=this;
  1406. return smalltalk.withContext(function($ctx1) {
  1407. return "d";
  1408. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassCommentCommand.klass)})},
  1409. messageSends: []}),
  1410. smalltalk.HLToggleClassCommentCommand.klass);
  1411. smalltalk.addMethod(
  1412. smalltalk.method({
  1413. selector: "label",
  1414. fn: function (){
  1415. var self=this;
  1416. return smalltalk.withContext(function($ctx1) {
  1417. return "Documentation";
  1418. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassCommentCommand.klass)})},
  1419. messageSends: []}),
  1420. smalltalk.HLToggleClassCommentCommand.klass);
  1421. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Tools');
  1422. smalltalk.addMethod(
  1423. smalltalk.method({
  1424. selector: "execute",
  1425. fn: function (){
  1426. var self=this;
  1427. return smalltalk.withContext(function($ctx1) {
  1428. _st(_st(self)._model())._showInstance_(false);
  1429. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
  1430. messageSends: ["showInstance:", "model"]}),
  1431. smalltalk.HLToggleClassSideCommand);
  1432. smalltalk.addMethod(
  1433. smalltalk.method({
  1434. selector: "key",
  1435. fn: function (){
  1436. var self=this;
  1437. return smalltalk.withContext(function($ctx1) {
  1438. return "c";
  1439. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1440. messageSends: []}),
  1441. smalltalk.HLToggleClassSideCommand.klass);
  1442. smalltalk.addMethod(
  1443. smalltalk.method({
  1444. selector: "label",
  1445. fn: function (){
  1446. var self=this;
  1447. return smalltalk.withContext(function($ctx1) {
  1448. return "Class side";
  1449. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1450. messageSends: []}),
  1451. smalltalk.HLToggleClassSideCommand.klass);
  1452. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Tools');
  1453. smalltalk.addMethod(
  1454. smalltalk.method({
  1455. selector: "execute",
  1456. fn: function (){
  1457. var self=this;
  1458. return smalltalk.withContext(function($ctx1) {
  1459. _st(_st(self)._model())._showInstance_(true);
  1460. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
  1461. messageSends: ["showInstance:", "model"]}),
  1462. smalltalk.HLToggleInstanceSideCommand);
  1463. smalltalk.addMethod(
  1464. smalltalk.method({
  1465. selector: "key",
  1466. fn: function (){
  1467. var self=this;
  1468. return smalltalk.withContext(function($ctx1) {
  1469. return "i";
  1470. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1471. messageSends: []}),
  1472. smalltalk.HLToggleInstanceSideCommand.klass);
  1473. smalltalk.addMethod(
  1474. smalltalk.method({
  1475. selector: "label",
  1476. fn: function (){
  1477. var self=this;
  1478. return smalltalk.withContext(function($ctx1) {
  1479. return "Instance side";
  1480. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1481. messageSends: []}),
  1482. smalltalk.HLToggleInstanceSideCommand.klass);