1
0

Helios-Commands-Browser.js 51 KB

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