Helios-Commands-Browser.js 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619
  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('HLFindCommand', 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=(70);
  386. return $1;
  387. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindCommand.klass)})},
  388. args: [],
  389. source: "key\x0a\x09^ 70",
  390. messageSends: [],
  391. referencedClasses: []
  392. }),
  393. smalltalk.HLFindCommand.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 "Find";
  402. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindCommand.klass)})},
  403. args: [],
  404. source: "label\x0a\x09^ 'Find'",
  405. messageSends: [],
  406. referencedClasses: []
  407. }),
  408. smalltalk.HLFindCommand.klass);
  409. smalltalk.addClass('HLFindClassCommand', smalltalk.HLFindCommand, [], '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 "select a class";
  418. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLFindClassCommand)})},
  419. args: [],
  420. source: "displayLabel\x0a\x09^ 'select a class'",
  421. messageSends: [],
  422. referencedClasses: []
  423. }),
  424. smalltalk.HLFindClassCommand);
  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())._openClassNamed_(_st(self)._input());
  433. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLFindClassCommand)})},
  434. args: [],
  435. source: "execute\x0a\x09self model openClassNamed: self input",
  436. messageSends: ["openClassNamed:", "input", "model"],
  437. referencedClasses: []
  438. }),
  439. smalltalk.HLFindClassCommand);
  440. smalltalk.addMethod(
  441. smalltalk.method({
  442. selector: "inputCompletion",
  443. category: 'accessing',
  444. fn: function (){
  445. var self=this;
  446. return smalltalk.withContext(function($ctx1) {
  447. var $1;
  448. $1=_st(_st(self)._model())._availableClassNames();
  449. return $1;
  450. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLFindClassCommand)})},
  451. args: [],
  452. source: "inputCompletion\x0a\x09^ self model availableClassNames",
  453. messageSends: ["availableClassNames", "model"],
  454. referencedClasses: []
  455. }),
  456. smalltalk.HLFindClassCommand);
  457. smalltalk.addMethod(
  458. smalltalk.method({
  459. selector: "inputLabel",
  460. category: 'accessing',
  461. fn: function (){
  462. var self=this;
  463. return smalltalk.withContext(function($ctx1) {
  464. return "Find a class";
  465. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLFindClassCommand)})},
  466. args: [],
  467. source: "inputLabel\x0a\x09^ 'Find a class'",
  468. messageSends: [],
  469. referencedClasses: []
  470. }),
  471. smalltalk.HLFindClassCommand);
  472. smalltalk.addMethod(
  473. smalltalk.method({
  474. selector: "isInputRequired",
  475. category: 'testing',
  476. fn: function (){
  477. var self=this;
  478. return smalltalk.withContext(function($ctx1) {
  479. return true;
  480. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLFindClassCommand)})},
  481. args: [],
  482. source: "isInputRequired\x0a\x09^ true",
  483. messageSends: [],
  484. referencedClasses: []
  485. }),
  486. smalltalk.HLFindClassCommand);
  487. smalltalk.addMethod(
  488. smalltalk.method({
  489. selector: "key",
  490. category: 'accessing',
  491. fn: function (){
  492. var self=this;
  493. return smalltalk.withContext(function($ctx1) {
  494. var $1;
  495. $1=(67);
  496. return $1;
  497. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindClassCommand.klass)})},
  498. args: [],
  499. source: "key\x0a\x09^ 67",
  500. messageSends: [],
  501. referencedClasses: []
  502. }),
  503. smalltalk.HLFindClassCommand.klass);
  504. smalltalk.addMethod(
  505. smalltalk.method({
  506. selector: "label",
  507. category: 'accessing',
  508. fn: function (){
  509. var self=this;
  510. return smalltalk.withContext(function($ctx1) {
  511. return "Class";
  512. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindClassCommand.klass)})},
  513. args: [],
  514. source: "label\x0a\x09^ 'Class'",
  515. messageSends: [],
  516. referencedClasses: []
  517. }),
  518. smalltalk.HLFindClassCommand.klass);
  519. smalltalk.addClass('HLMoveToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  520. smalltalk.addMethod(
  521. smalltalk.method({
  522. selector: "key",
  523. category: 'accessing',
  524. fn: function (){
  525. var self=this;
  526. return smalltalk.withContext(function($ctx1) {
  527. var $1;
  528. $1=(77);
  529. return $1;
  530. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
  531. args: [],
  532. source: "key\x0a\x09^ 77",
  533. messageSends: [],
  534. referencedClasses: []
  535. }),
  536. smalltalk.HLMoveToCommand.klass);
  537. smalltalk.addMethod(
  538. smalltalk.method({
  539. selector: "label",
  540. category: 'accessing',
  541. fn: function (){
  542. var self=this;
  543. return smalltalk.withContext(function($ctx1) {
  544. return "Move";
  545. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
  546. args: [],
  547. source: "label\x0a\x09^ 'Move'",
  548. messageSends: [],
  549. referencedClasses: []
  550. }),
  551. smalltalk.HLMoveToCommand.klass);
  552. smalltalk.addClass('HLMoveClassToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Browser');
  553. smalltalk.addMethod(
  554. smalltalk.method({
  555. selector: "isActive",
  556. category: 'testing',
  557. fn: function (){
  558. var self=this;
  559. return smalltalk.withContext(function($ctx1) {
  560. var $1;
  561. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  562. return $1;
  563. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveClassToCommand)})},
  564. args: [],
  565. source: "isActive\x0a\x09^ self model selectedClass notNil",
  566. messageSends: ["notNil", "selectedClass", "model"],
  567. referencedClasses: []
  568. }),
  569. smalltalk.HLMoveClassToCommand);
  570. smalltalk.addMethod(
  571. smalltalk.method({
  572. selector: "key",
  573. category: 'accessing',
  574. fn: function (){
  575. var self=this;
  576. return smalltalk.withContext(function($ctx1) {
  577. var $1;
  578. $1=(67);
  579. return $1;
  580. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveClassToCommand.klass)})},
  581. args: [],
  582. source: "key\x0a\x09^ 67",
  583. messageSends: [],
  584. referencedClasses: []
  585. }),
  586. smalltalk.HLMoveClassToCommand.klass);
  587. smalltalk.addMethod(
  588. smalltalk.method({
  589. selector: "label",
  590. category: 'accessing',
  591. fn: function (){
  592. var self=this;
  593. return smalltalk.withContext(function($ctx1) {
  594. return "Class";
  595. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveClassToCommand.klass)})},
  596. args: [],
  597. source: "label\x0a\x09^ 'Class'",
  598. messageSends: [],
  599. referencedClasses: []
  600. }),
  601. smalltalk.HLMoveClassToCommand.klass);
  602. smalltalk.addClass('HLMoveClassCommand', smalltalk.HLMoveClassToCommand, [], 'Helios-Commands-Browser');
  603. smalltalk.addMethod(
  604. smalltalk.method({
  605. selector: "displayLabel",
  606. category: 'accessing',
  607. fn: function (){
  608. var self=this;
  609. return smalltalk.withContext(function($ctx1) {
  610. return "select a package";
  611. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveClassCommand)})},
  612. args: [],
  613. source: "displayLabel\x0a\x09^ 'select a package'",
  614. messageSends: [],
  615. referencedClasses: []
  616. }),
  617. smalltalk.HLMoveClassCommand);
  618. smalltalk.addMethod(
  619. smalltalk.method({
  620. selector: "execute",
  621. category: 'executing',
  622. fn: function (){
  623. var self=this;
  624. return smalltalk.withContext(function($ctx1) {
  625. _st(_st(self)._model())._moveClassToPackage_(_st(self)._input());
  626. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveClassCommand)})},
  627. args: [],
  628. source: "execute\x0a\x09self model moveClassToPackage: self input",
  629. messageSends: ["moveClassToPackage:", "input", "model"],
  630. referencedClasses: []
  631. }),
  632. smalltalk.HLMoveClassCommand);
  633. smalltalk.addMethod(
  634. smalltalk.method({
  635. selector: "inputCompletion",
  636. category: 'accessing',
  637. fn: function (){
  638. var self=this;
  639. return smalltalk.withContext(function($ctx1) {
  640. var $1;
  641. $1=_st(_st(self)._model())._availablePackageNames();
  642. return $1;
  643. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveClassCommand)})},
  644. args: [],
  645. source: "inputCompletion\x0a\x09^ self model availablePackageNames",
  646. messageSends: ["availablePackageNames", "model"],
  647. referencedClasses: []
  648. }),
  649. smalltalk.HLMoveClassCommand);
  650. smalltalk.addMethod(
  651. smalltalk.method({
  652. selector: "inputLabel",
  653. category: 'accessing',
  654. fn: function (){
  655. var self=this;
  656. return smalltalk.withContext(function($ctx1) {
  657. return "Move class to package:";
  658. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveClassCommand)})},
  659. args: [],
  660. source: "inputLabel\x0a\x09^ 'Move class to package:'",
  661. messageSends: [],
  662. referencedClasses: []
  663. }),
  664. smalltalk.HLMoveClassCommand);
  665. smalltalk.addMethod(
  666. smalltalk.method({
  667. selector: "isInputRequired",
  668. category: 'testing',
  669. fn: function (){
  670. var self=this;
  671. return smalltalk.withContext(function($ctx1) {
  672. return true;
  673. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveClassCommand)})},
  674. args: [],
  675. source: "isInputRequired\x0a\x09^ true",
  676. messageSends: [],
  677. referencedClasses: []
  678. }),
  679. smalltalk.HLMoveClassCommand);
  680. smalltalk.addMethod(
  681. smalltalk.method({
  682. selector: "isValidFor:",
  683. category: 'testing',
  684. fn: function (anObject){
  685. var self=this;
  686. return smalltalk.withContext(function($ctx1) {
  687. var $1;
  688. $1=_st(anObject)._isBehavior();
  689. return $1;
  690. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveClassCommand.klass)})},
  691. args: ["anObject"],
  692. source: "isValidFor: anObject\x0a\x09^ anObject isBehavior",
  693. messageSends: ["isBehavior"],
  694. referencedClasses: []
  695. }),
  696. smalltalk.HLMoveClassCommand.klass);
  697. smalltalk.addMethod(
  698. smalltalk.method({
  699. selector: "key",
  700. category: 'accessing',
  701. fn: function (){
  702. var self=this;
  703. return smalltalk.withContext(function($ctx1) {
  704. var $1;
  705. $1=(80);
  706. return $1;
  707. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveClassCommand.klass)})},
  708. args: [],
  709. source: "key\x0a\x09^ 80",
  710. messageSends: [],
  711. referencedClasses: []
  712. }),
  713. smalltalk.HLMoveClassCommand.klass);
  714. smalltalk.addMethod(
  715. smalltalk.method({
  716. selector: "label",
  717. category: 'accessing',
  718. fn: function (){
  719. var self=this;
  720. return smalltalk.withContext(function($ctx1) {
  721. return "to package";
  722. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveClassCommand.klass)})},
  723. args: [],
  724. source: "label\x0a\x09^ 'to package'",
  725. messageSends: [],
  726. referencedClasses: []
  727. }),
  728. smalltalk.HLMoveClassCommand.klass);
  729. smalltalk.addMethod(
  730. smalltalk.method({
  731. selector: "menuLabel",
  732. category: 'accessing',
  733. fn: function (){
  734. var self=this;
  735. return smalltalk.withContext(function($ctx1) {
  736. return "Move to package...";
  737. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveClassCommand.klass)})},
  738. args: [],
  739. source: "menuLabel\x09\x0a\x09^ 'Move to package...'",
  740. messageSends: [],
  741. referencedClasses: []
  742. }),
  743. smalltalk.HLMoveClassCommand.klass);
  744. smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Browser');
  745. smalltalk.addMethod(
  746. smalltalk.method({
  747. selector: "isActive",
  748. category: 'testing',
  749. fn: function (){
  750. var self=this;
  751. return smalltalk.withContext(function($ctx1) {
  752. var $1;
  753. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  754. return $1;
  755. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveMethodToCommand)})},
  756. args: [],
  757. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  758. messageSends: ["notNil", "selectedMethod", "model"],
  759. referencedClasses: []
  760. }),
  761. smalltalk.HLMoveMethodToCommand);
  762. smalltalk.addMethod(
  763. smalltalk.method({
  764. selector: "key",
  765. category: 'accessing',
  766. fn: function (){
  767. var self=this;
  768. return smalltalk.withContext(function($ctx1) {
  769. var $1;
  770. $1=(77);
  771. return $1;
  772. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
  773. args: [],
  774. source: "key\x0a\x09^ 77",
  775. messageSends: [],
  776. referencedClasses: []
  777. }),
  778. smalltalk.HLMoveMethodToCommand.klass);
  779. smalltalk.addMethod(
  780. smalltalk.method({
  781. selector: "label",
  782. category: 'accessing',
  783. fn: function (){
  784. var self=this;
  785. return smalltalk.withContext(function($ctx1) {
  786. return "Method";
  787. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
  788. args: [],
  789. source: "label\x0a\x09^ 'Method'",
  790. messageSends: [],
  791. referencedClasses: []
  792. }),
  793. smalltalk.HLMoveMethodToCommand.klass);
  794. smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  795. smalltalk.addMethod(
  796. smalltalk.method({
  797. selector: "displayLabel",
  798. category: 'accessing',
  799. fn: function (){
  800. var self=this;
  801. return smalltalk.withContext(function($ctx1) {
  802. return "select a class";
  803. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  804. args: [],
  805. source: "displayLabel\x0a\x09^ 'select a class'",
  806. messageSends: [],
  807. referencedClasses: []
  808. }),
  809. smalltalk.HLMoveMethodToClassCommand);
  810. smalltalk.addMethod(
  811. smalltalk.method({
  812. selector: "execute",
  813. category: 'executing',
  814. fn: function (){
  815. var self=this;
  816. return smalltalk.withContext(function($ctx1) {
  817. _st(_st(self)._model())._moveMethodToClass_(_st(self)._input());
  818. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
  819. args: [],
  820. source: "execute\x0a\x09self model moveMethodToClass: self input",
  821. messageSends: ["moveMethodToClass:", "input", "model"],
  822. referencedClasses: []
  823. }),
  824. smalltalk.HLMoveMethodToClassCommand);
  825. smalltalk.addMethod(
  826. smalltalk.method({
  827. selector: "inputCompletion",
  828. category: 'accessing',
  829. fn: function (){
  830. var self=this;
  831. return smalltalk.withContext(function($ctx1) {
  832. var $1;
  833. $1=_st(_st(self)._model())._availableClassNames();
  834. return $1;
  835. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToClassCommand)})},
  836. args: [],
  837. source: "inputCompletion\x0a\x09^ self model availableClassNames",
  838. messageSends: ["availableClassNames", "model"],
  839. referencedClasses: []
  840. }),
  841. smalltalk.HLMoveMethodToClassCommand);
  842. smalltalk.addMethod(
  843. smalltalk.method({
  844. selector: "inputLabel",
  845. category: 'accessing',
  846. fn: function (){
  847. var self=this;
  848. return smalltalk.withContext(function($ctx1) {
  849. return "Move method to class:";
  850. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  851. args: [],
  852. source: "inputLabel\x0a\x09^ 'Move method to class:'",
  853. messageSends: [],
  854. referencedClasses: []
  855. }),
  856. smalltalk.HLMoveMethodToClassCommand);
  857. smalltalk.addMethod(
  858. smalltalk.method({
  859. selector: "isInputRequired",
  860. category: 'testing',
  861. fn: function (){
  862. var self=this;
  863. return smalltalk.withContext(function($ctx1) {
  864. return true;
  865. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToClassCommand)})},
  866. args: [],
  867. source: "isInputRequired\x0a\x09^ true",
  868. messageSends: [],
  869. referencedClasses: []
  870. }),
  871. smalltalk.HLMoveMethodToClassCommand);
  872. smalltalk.addMethod(
  873. smalltalk.method({
  874. selector: "isValidFor:",
  875. category: 'testing',
  876. fn: function (anObject){
  877. var self=this;
  878. return smalltalk.withContext(function($ctx1) {
  879. var $1;
  880. $1=_st(anObject)._isCompiledMethod();
  881. return $1;
  882. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveMethodToClassCommand.klass)})},
  883. args: ["anObject"],
  884. source: "isValidFor: anObject\x0a\x09^ anObject isCompiledMethod",
  885. messageSends: ["isCompiledMethod"],
  886. referencedClasses: []
  887. }),
  888. smalltalk.HLMoveMethodToClassCommand.klass);
  889. smalltalk.addMethod(
  890. smalltalk.method({
  891. selector: "key",
  892. category: 'accessing',
  893. fn: function (){
  894. var self=this;
  895. return smalltalk.withContext(function($ctx1) {
  896. var $1;
  897. $1=(67);
  898. return $1;
  899. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  900. args: [],
  901. source: "key\x0a\x09^ 67",
  902. messageSends: [],
  903. referencedClasses: []
  904. }),
  905. smalltalk.HLMoveMethodToClassCommand.klass);
  906. smalltalk.addMethod(
  907. smalltalk.method({
  908. selector: "label",
  909. category: 'accessing',
  910. fn: function (){
  911. var self=this;
  912. return smalltalk.withContext(function($ctx1) {
  913. return "to class";
  914. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  915. args: [],
  916. source: "label\x09\x0a\x09^ 'to class'",
  917. messageSends: [],
  918. referencedClasses: []
  919. }),
  920. smalltalk.HLMoveMethodToClassCommand.klass);
  921. smalltalk.addMethod(
  922. smalltalk.method({
  923. selector: "menuLabel",
  924. category: 'accessing',
  925. fn: function (){
  926. var self=this;
  927. return smalltalk.withContext(function($ctx1) {
  928. return "Move to class...";
  929. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  930. args: [],
  931. source: "menuLabel\x09\x0a\x09^ 'Move to class...'",
  932. messageSends: [],
  933. referencedClasses: []
  934. }),
  935. smalltalk.HLMoveMethodToClassCommand.klass);
  936. smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  937. smalltalk.addMethod(
  938. smalltalk.method({
  939. selector: "displayLabel",
  940. category: 'accessing',
  941. fn: function (){
  942. var self=this;
  943. return smalltalk.withContext(function($ctx1) {
  944. return "select a protocol";
  945. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  946. args: [],
  947. source: "displayLabel\x0a\x09^ 'select a protocol'",
  948. messageSends: [],
  949. referencedClasses: []
  950. }),
  951. smalltalk.HLMoveMethodToProtocolCommand);
  952. smalltalk.addMethod(
  953. smalltalk.method({
  954. selector: "execute",
  955. category: 'executing',
  956. fn: function (){
  957. var self=this;
  958. return smalltalk.withContext(function($ctx1) {
  959. _st(_st(self)._model())._moveMethodToProtocol_(_st(self)._input());
  960. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  961. args: [],
  962. source: "execute\x0a\x09self model moveMethodToProtocol: self input",
  963. messageSends: ["moveMethodToProtocol:", "input", "model"],
  964. referencedClasses: []
  965. }),
  966. smalltalk.HLMoveMethodToProtocolCommand);
  967. smalltalk.addMethod(
  968. smalltalk.method({
  969. selector: "inputCompletion",
  970. category: 'accessing',
  971. fn: function (){
  972. var self=this;
  973. return smalltalk.withContext(function($ctx1) {
  974. var $1;
  975. $1=_st(_st(self)._model())._availableProtocols();
  976. return $1;
  977. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  978. args: [],
  979. source: "inputCompletion\x0a\x09^ self model availableProtocols",
  980. messageSends: ["availableProtocols", "model"],
  981. referencedClasses: []
  982. }),
  983. smalltalk.HLMoveMethodToProtocolCommand);
  984. smalltalk.addMethod(
  985. smalltalk.method({
  986. selector: "inputLabel",
  987. category: 'accessing',
  988. fn: function (){
  989. var self=this;
  990. return smalltalk.withContext(function($ctx1) {
  991. return "Move method to a protocol:";
  992. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  993. args: [],
  994. source: "inputLabel\x0a\x09^ 'Move method to a protocol:'",
  995. messageSends: [],
  996. referencedClasses: []
  997. }),
  998. smalltalk.HLMoveMethodToProtocolCommand);
  999. smalltalk.addMethod(
  1000. smalltalk.method({
  1001. selector: "isInputRequired",
  1002. category: 'testing',
  1003. fn: function (){
  1004. var self=this;
  1005. return smalltalk.withContext(function($ctx1) {
  1006. return true;
  1007. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  1008. args: [],
  1009. source: "isInputRequired\x0a\x09^ true",
  1010. messageSends: [],
  1011. referencedClasses: []
  1012. }),
  1013. smalltalk.HLMoveMethodToProtocolCommand);
  1014. smalltalk.addMethod(
  1015. smalltalk.method({
  1016. selector: "isValidFor:",
  1017. category: 'testing',
  1018. fn: function (anObject){
  1019. var self=this;
  1020. return smalltalk.withContext(function($ctx1) {
  1021. var $1;
  1022. $1=_st(anObject)._isCompiledMethod();
  1023. return $1;
  1024. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  1025. args: ["anObject"],
  1026. source: "isValidFor: anObject\x0a\x09^ anObject isCompiledMethod",
  1027. messageSends: ["isCompiledMethod"],
  1028. referencedClasses: []
  1029. }),
  1030. smalltalk.HLMoveMethodToProtocolCommand.klass);
  1031. smalltalk.addMethod(
  1032. smalltalk.method({
  1033. selector: "key",
  1034. category: 'accessing',
  1035. fn: function (){
  1036. var self=this;
  1037. return smalltalk.withContext(function($ctx1) {
  1038. var $1;
  1039. $1=(84);
  1040. return $1;
  1041. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  1042. args: [],
  1043. source: "key\x0a\x09^ 84",
  1044. messageSends: [],
  1045. referencedClasses: []
  1046. }),
  1047. smalltalk.HLMoveMethodToProtocolCommand.klass);
  1048. smalltalk.addMethod(
  1049. smalltalk.method({
  1050. selector: "label",
  1051. category: 'accessing',
  1052. fn: function (){
  1053. var self=this;
  1054. return smalltalk.withContext(function($ctx1) {
  1055. return "to protocol";
  1056. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  1057. args: [],
  1058. source: "label\x0a\x09^ 'to protocol'",
  1059. messageSends: [],
  1060. referencedClasses: []
  1061. }),
  1062. smalltalk.HLMoveMethodToProtocolCommand.klass);
  1063. smalltalk.addMethod(
  1064. smalltalk.method({
  1065. selector: "menuLabel",
  1066. category: 'accessing',
  1067. fn: function (){
  1068. var self=this;
  1069. return smalltalk.withContext(function($ctx1) {
  1070. return "Move to protocol...";
  1071. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  1072. args: [],
  1073. source: "menuLabel\x0a\x09^ 'Move to protocol...'",
  1074. messageSends: [],
  1075. referencedClasses: []
  1076. }),
  1077. smalltalk.HLMoveMethodToProtocolCommand.klass);
  1078. smalltalk.addClass('HLRemoveCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  1079. smalltalk.addMethod(
  1080. smalltalk.method({
  1081. selector: "key",
  1082. category: 'accessing',
  1083. fn: function (){
  1084. var self=this;
  1085. return smalltalk.withContext(function($ctx1) {
  1086. var $1;
  1087. $1=(88);
  1088. return $1;
  1089. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveCommand.klass)})},
  1090. args: [],
  1091. source: "key\x0a\x09^ 88",
  1092. messageSends: [],
  1093. referencedClasses: []
  1094. }),
  1095. smalltalk.HLRemoveCommand.klass);
  1096. smalltalk.addMethod(
  1097. smalltalk.method({
  1098. selector: "label",
  1099. category: 'accessing',
  1100. fn: function (){
  1101. var self=this;
  1102. return smalltalk.withContext(function($ctx1) {
  1103. return "Remove";
  1104. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveCommand.klass)})},
  1105. args: [],
  1106. source: "label\x0a\x09^ 'Remove'",
  1107. messageSends: [],
  1108. referencedClasses: []
  1109. }),
  1110. smalltalk.HLRemoveCommand.klass);
  1111. smalltalk.addClass('HLRemoveClassCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Browser');
  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())._removeClass();
  1120. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveClassCommand)})},
  1121. args: [],
  1122. source: "execute\x0a\x09self model removeClass",
  1123. messageSends: ["removeClass", "model"],
  1124. referencedClasses: []
  1125. }),
  1126. smalltalk.HLRemoveClassCommand);
  1127. smalltalk.addMethod(
  1128. smalltalk.method({
  1129. selector: "isActive",
  1130. category: 'testing',
  1131. fn: function (){
  1132. var self=this;
  1133. return smalltalk.withContext(function($ctx1) {
  1134. var $1;
  1135. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  1136. return $1;
  1137. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveClassCommand)})},
  1138. args: [],
  1139. source: "isActive\x0a\x09^ self model selectedClass notNil",
  1140. messageSends: ["notNil", "selectedClass", "model"],
  1141. referencedClasses: []
  1142. }),
  1143. smalltalk.HLRemoveClassCommand);
  1144. smalltalk.addMethod(
  1145. smalltalk.method({
  1146. selector: "isValidFor:",
  1147. category: 'testing',
  1148. fn: function (anObject){
  1149. var self=this;
  1150. return smalltalk.withContext(function($ctx1) {
  1151. var $1;
  1152. $1=_st(anObject)._isBehavior();
  1153. return $1;
  1154. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLRemoveClassCommand.klass)})},
  1155. args: ["anObject"],
  1156. source: "isValidFor: anObject\x0a\x09^ anObject isBehavior",
  1157. messageSends: ["isBehavior"],
  1158. referencedClasses: []
  1159. }),
  1160. smalltalk.HLRemoveClassCommand.klass);
  1161. smalltalk.addMethod(
  1162. smalltalk.method({
  1163. selector: "key",
  1164. category: 'accessing',
  1165. fn: function (){
  1166. var self=this;
  1167. return smalltalk.withContext(function($ctx1) {
  1168. var $1;
  1169. $1=(67);
  1170. return $1;
  1171. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveClassCommand.klass)})},
  1172. args: [],
  1173. source: "key\x0a\x09^ 67",
  1174. messageSends: [],
  1175. referencedClasses: []
  1176. }),
  1177. smalltalk.HLRemoveClassCommand.klass);
  1178. smalltalk.addMethod(
  1179. smalltalk.method({
  1180. selector: "label",
  1181. category: 'accessing',
  1182. fn: function (){
  1183. var self=this;
  1184. return smalltalk.withContext(function($ctx1) {
  1185. return "Class";
  1186. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveClassCommand.klass)})},
  1187. args: [],
  1188. source: "label\x0a\x09^ 'Class'",
  1189. messageSends: [],
  1190. referencedClasses: []
  1191. }),
  1192. smalltalk.HLRemoveClassCommand.klass);
  1193. smalltalk.addMethod(
  1194. smalltalk.method({
  1195. selector: "menuLabel",
  1196. category: 'accessing',
  1197. fn: function (){
  1198. var self=this;
  1199. return smalltalk.withContext(function($ctx1) {
  1200. return "Remove class";
  1201. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveClassCommand.klass)})},
  1202. args: [],
  1203. source: "menuLabel\x0a\x09^ 'Remove class'",
  1204. messageSends: [],
  1205. referencedClasses: []
  1206. }),
  1207. smalltalk.HLRemoveClassCommand.klass);
  1208. smalltalk.addClass('HLRemoveMethodCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Browser');
  1209. smalltalk.addMethod(
  1210. smalltalk.method({
  1211. selector: "execute",
  1212. category: 'executing',
  1213. fn: function (){
  1214. var self=this;
  1215. return smalltalk.withContext(function($ctx1) {
  1216. _st(_st(self)._model())._removeMethod();
  1217. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveMethodCommand)})},
  1218. args: [],
  1219. source: "execute\x0a\x09self model removeMethod",
  1220. messageSends: ["removeMethod", "model"],
  1221. referencedClasses: []
  1222. }),
  1223. smalltalk.HLRemoveMethodCommand);
  1224. smalltalk.addMethod(
  1225. smalltalk.method({
  1226. selector: "isActive",
  1227. category: 'testing',
  1228. fn: function (){
  1229. var self=this;
  1230. return smalltalk.withContext(function($ctx1) {
  1231. var $1;
  1232. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  1233. return $1;
  1234. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveMethodCommand)})},
  1235. args: [],
  1236. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  1237. messageSends: ["notNil", "selectedMethod", "model"],
  1238. referencedClasses: []
  1239. }),
  1240. smalltalk.HLRemoveMethodCommand);
  1241. smalltalk.addMethod(
  1242. smalltalk.method({
  1243. selector: "isValidFor:",
  1244. category: 'testing',
  1245. fn: function (anObject){
  1246. var self=this;
  1247. return smalltalk.withContext(function($ctx1) {
  1248. var $1;
  1249. $1=_st(anObject)._isCompiledMethod();
  1250. return $1;
  1251. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLRemoveMethodCommand.klass)})},
  1252. args: ["anObject"],
  1253. source: "isValidFor: anObject\x0a\x09^ anObject isCompiledMethod",
  1254. messageSends: ["isCompiledMethod"],
  1255. referencedClasses: []
  1256. }),
  1257. smalltalk.HLRemoveMethodCommand.klass);
  1258. smalltalk.addMethod(
  1259. smalltalk.method({
  1260. selector: "key",
  1261. category: 'accessing',
  1262. fn: function (){
  1263. var self=this;
  1264. return smalltalk.withContext(function($ctx1) {
  1265. var $1;
  1266. $1=(77);
  1267. return $1;
  1268. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1269. args: [],
  1270. source: "key\x0a\x09^ 77",
  1271. messageSends: [],
  1272. referencedClasses: []
  1273. }),
  1274. smalltalk.HLRemoveMethodCommand.klass);
  1275. smalltalk.addMethod(
  1276. smalltalk.method({
  1277. selector: "label",
  1278. category: 'accessing',
  1279. fn: function (){
  1280. var self=this;
  1281. return smalltalk.withContext(function($ctx1) {
  1282. return "Method";
  1283. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1284. args: [],
  1285. source: "label\x0a\x09^ 'Method'",
  1286. messageSends: [],
  1287. referencedClasses: []
  1288. }),
  1289. smalltalk.HLRemoveMethodCommand.klass);
  1290. smalltalk.addMethod(
  1291. smalltalk.method({
  1292. selector: "menuLabel",
  1293. category: 'accessing',
  1294. fn: function (){
  1295. var self=this;
  1296. return smalltalk.withContext(function($ctx1) {
  1297. return "Remove method";
  1298. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1299. args: [],
  1300. source: "menuLabel\x0a\x09^ 'Remove method'",
  1301. messageSends: [],
  1302. referencedClasses: []
  1303. }),
  1304. smalltalk.HLRemoveMethodCommand.klass);
  1305. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  1306. smalltalk.addMethod(
  1307. smalltalk.method({
  1308. selector: "key",
  1309. category: 'accessing',
  1310. fn: function (){
  1311. var self=this;
  1312. return smalltalk.withContext(function($ctx1) {
  1313. var $1;
  1314. $1=(84);
  1315. return $1;
  1316. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
  1317. args: [],
  1318. source: "key\x0a\x09^ 84",
  1319. messageSends: [],
  1320. referencedClasses: []
  1321. }),
  1322. smalltalk.HLToggleCommand.klass);
  1323. smalltalk.addMethod(
  1324. smalltalk.method({
  1325. selector: "label",
  1326. category: 'accessing',
  1327. fn: function (){
  1328. var self=this;
  1329. return smalltalk.withContext(function($ctx1) {
  1330. return "Toggle";
  1331. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
  1332. args: [],
  1333. source: "label\x0a\x09^ 'Toggle'",
  1334. messageSends: [],
  1335. referencedClasses: []
  1336. }),
  1337. smalltalk.HLToggleCommand.klass);
  1338. smalltalk.addClass('HLToggleClassCommentCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1339. smalltalk.addMethod(
  1340. smalltalk.method({
  1341. selector: "execute",
  1342. category: 'executing',
  1343. fn: function (){
  1344. var self=this;
  1345. return smalltalk.withContext(function($ctx1) {
  1346. _st(_st(self)._model())._showComment_(true);
  1347. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassCommentCommand)})},
  1348. args: [],
  1349. source: "execute\x0a\x09self model showComment: true",
  1350. messageSends: ["showComment:", "model"],
  1351. referencedClasses: []
  1352. }),
  1353. smalltalk.HLToggleClassCommentCommand);
  1354. smalltalk.addMethod(
  1355. smalltalk.method({
  1356. selector: "key",
  1357. category: 'accessing',
  1358. fn: function (){
  1359. var self=this;
  1360. return smalltalk.withContext(function($ctx1) {
  1361. var $1;
  1362. $1=(68);
  1363. return $1;
  1364. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassCommentCommand.klass)})},
  1365. args: [],
  1366. source: "key\x0a\x09\x22d\x22\x0a \x0a\x09^ 68",
  1367. messageSends: [],
  1368. referencedClasses: []
  1369. }),
  1370. smalltalk.HLToggleClassCommentCommand.klass);
  1371. smalltalk.addMethod(
  1372. smalltalk.method({
  1373. selector: "label",
  1374. category: 'accessing',
  1375. fn: function (){
  1376. var self=this;
  1377. return smalltalk.withContext(function($ctx1) {
  1378. return "Documentation";
  1379. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassCommentCommand.klass)})},
  1380. args: [],
  1381. source: "label\x0a\x09^ 'Documentation'",
  1382. messageSends: [],
  1383. referencedClasses: []
  1384. }),
  1385. smalltalk.HLToggleClassCommentCommand.klass);
  1386. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1387. smalltalk.addMethod(
  1388. smalltalk.method({
  1389. selector: "execute",
  1390. category: 'executing',
  1391. fn: function (){
  1392. var self=this;
  1393. return smalltalk.withContext(function($ctx1) {
  1394. _st(_st(self)._model())._showInstance_(false);
  1395. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
  1396. args: [],
  1397. source: "execute\x0a\x09self model showInstance: false",
  1398. messageSends: ["showInstance:", "model"],
  1399. referencedClasses: []
  1400. }),
  1401. smalltalk.HLToggleClassSideCommand);
  1402. smalltalk.addMethod(
  1403. smalltalk.method({
  1404. selector: "key",
  1405. category: 'accessing',
  1406. fn: function (){
  1407. var self=this;
  1408. return smalltalk.withContext(function($ctx1) {
  1409. var $1;
  1410. $1=(67);
  1411. return $1;
  1412. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1413. args: [],
  1414. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  1415. messageSends: [],
  1416. referencedClasses: []
  1417. }),
  1418. smalltalk.HLToggleClassSideCommand.klass);
  1419. smalltalk.addMethod(
  1420. smalltalk.method({
  1421. selector: "label",
  1422. category: 'accessing',
  1423. fn: function (){
  1424. var self=this;
  1425. return smalltalk.withContext(function($ctx1) {
  1426. return "Class side";
  1427. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1428. args: [],
  1429. source: "label\x0a\x09^ 'Class side'",
  1430. messageSends: [],
  1431. referencedClasses: []
  1432. }),
  1433. smalltalk.HLToggleClassSideCommand.klass);
  1434. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1435. smalltalk.addMethod(
  1436. smalltalk.method({
  1437. selector: "execute",
  1438. category: 'executing',
  1439. fn: function (){
  1440. var self=this;
  1441. return smalltalk.withContext(function($ctx1) {
  1442. _st(_st(self)._model())._showInstance_(true);
  1443. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
  1444. args: [],
  1445. source: "execute\x0a\x09self model showInstance: true",
  1446. messageSends: ["showInstance:", "model"],
  1447. referencedClasses: []
  1448. }),
  1449. smalltalk.HLToggleInstanceSideCommand);
  1450. smalltalk.addMethod(
  1451. smalltalk.method({
  1452. selector: "key",
  1453. category: 'accessing',
  1454. fn: function (){
  1455. var self=this;
  1456. return smalltalk.withContext(function($ctx1) {
  1457. var $1;
  1458. $1=(73);
  1459. return $1;
  1460. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1461. args: [],
  1462. source: "key\x0a\x09\x22i\x22\x0a \x0a\x09^ 73",
  1463. messageSends: [],
  1464. referencedClasses: []
  1465. }),
  1466. smalltalk.HLToggleInstanceSideCommand.klass);
  1467. smalltalk.addMethod(
  1468. smalltalk.method({
  1469. selector: "label",
  1470. category: 'accessing',
  1471. fn: function (){
  1472. var self=this;
  1473. return smalltalk.withContext(function($ctx1) {
  1474. return "Instance side";
  1475. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1476. args: [],
  1477. source: "label\x0a\x09^ 'Instance side'",
  1478. messageSends: [],
  1479. referencedClasses: []
  1480. }),
  1481. smalltalk.HLToggleInstanceSideCommand.klass);