1
0

Helios-Commands-Browser.js 53 KB

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