Helios-Commands-Browser.js 51 KB

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