Helios-Commands-Browser.js 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097
  1. smalltalk.addPackage('Helios-Commands-Browser');
  2. smalltalk.addClass('HLBrowserCommand', smalltalk.HLModelCommand, [], 'Helios-Commands-Browser');
  3. smalltalk.addMethod(
  4. "_for_",
  5. smalltalk.method({
  6. selector: "for:",
  7. category: 'instance creation',
  8. fn: function (aBrowserModel){
  9. var self=this;
  10. return smalltalk.withContext(function($ctx1) { 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. "_key",
  26. smalltalk.method({
  27. selector: "key",
  28. category: 'accessing',
  29. fn: function (){
  30. var self=this;
  31. return smalltalk.withContext(function($ctx1) { return (71);
  32. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToCommand.klass)})},
  33. args: [],
  34. source: "key\x0a\x09^ 71",
  35. messageSends: [],
  36. referencedClasses: []
  37. }),
  38. smalltalk.HLBrowserGoToCommand.klass);
  39. smalltalk.addMethod(
  40. "_label",
  41. smalltalk.method({
  42. selector: "label",
  43. category: 'accessing',
  44. fn: function (){
  45. var self=this;
  46. return smalltalk.withContext(function($ctx1) { return "Go to";
  47. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToCommand.klass)})},
  48. args: [],
  49. source: "label\x0a\x09^ 'Go to'",
  50. messageSends: [],
  51. referencedClasses: []
  52. }),
  53. smalltalk.HLBrowserGoToCommand.klass);
  54. smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  55. smalltalk.addMethod(
  56. "_execute",
  57. smalltalk.method({
  58. selector: "execute",
  59. category: 'executing',
  60. fn: function (){
  61. var self=this;
  62. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnClasses();
  63. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToClassesCommand)})},
  64. args: [],
  65. source: "execute\x0a\x09self model focusOnClasses",
  66. messageSends: ["focusOnClasses", "model"],
  67. referencedClasses: []
  68. }),
  69. smalltalk.HLGoToClassesCommand);
  70. smalltalk.addMethod(
  71. "_key",
  72. smalltalk.method({
  73. selector: "key",
  74. category: 'accessing',
  75. fn: function (){
  76. var self=this;
  77. return smalltalk.withContext(function($ctx1) { return (67);
  78. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToClassesCommand.klass)})},
  79. args: [],
  80. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  81. messageSends: [],
  82. referencedClasses: []
  83. }),
  84. smalltalk.HLGoToClassesCommand.klass);
  85. smalltalk.addMethod(
  86. "_label",
  87. smalltalk.method({
  88. selector: "label",
  89. category: 'accessing',
  90. fn: function (){
  91. var self=this;
  92. return smalltalk.withContext(function($ctx1) { return "Classes";
  93. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToClassesCommand.klass)})},
  94. args: [],
  95. source: "label\x0a\x09^ 'Classes'",
  96. messageSends: [],
  97. referencedClasses: []
  98. }),
  99. smalltalk.HLGoToClassesCommand.klass);
  100. smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  101. smalltalk.addMethod(
  102. "_execute",
  103. smalltalk.method({
  104. selector: "execute",
  105. category: 'executing',
  106. fn: function (){
  107. var self=this;
  108. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnMethods();
  109. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToMethodsCommand)})},
  110. args: [],
  111. source: "execute\x0a\x09self model focusOnMethods",
  112. messageSends: ["focusOnMethods", "model"],
  113. referencedClasses: []
  114. }),
  115. smalltalk.HLGoToMethodsCommand);
  116. smalltalk.addMethod(
  117. "_key",
  118. smalltalk.method({
  119. selector: "key",
  120. category: 'accessing',
  121. fn: function (){
  122. var self=this;
  123. return smalltalk.withContext(function($ctx1) { return (77);
  124. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToMethodsCommand.klass)})},
  125. args: [],
  126. source: "key\x0a\x09\x22m\x22\x0a \x0a\x09^ 77",
  127. messageSends: [],
  128. referencedClasses: []
  129. }),
  130. smalltalk.HLGoToMethodsCommand.klass);
  131. smalltalk.addMethod(
  132. "_label",
  133. smalltalk.method({
  134. selector: "label",
  135. category: 'accessing',
  136. fn: function (){
  137. var self=this;
  138. return smalltalk.withContext(function($ctx1) { return "Methods";
  139. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToMethodsCommand.klass)})},
  140. args: [],
  141. source: "label\x0a\x09^ 'Methods'",
  142. messageSends: [],
  143. referencedClasses: []
  144. }),
  145. smalltalk.HLGoToMethodsCommand.klass);
  146. smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  147. smalltalk.addMethod(
  148. "_execute",
  149. smalltalk.method({
  150. selector: "execute",
  151. category: 'executing',
  152. fn: function (){
  153. var self=this;
  154. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnPackages();
  155. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToPackagesCommand)})},
  156. args: [],
  157. source: "execute\x0a\x09self model focusOnPackages",
  158. messageSends: ["focusOnPackages", "model"],
  159. referencedClasses: []
  160. }),
  161. smalltalk.HLGoToPackagesCommand);
  162. smalltalk.addMethod(
  163. "_key",
  164. smalltalk.method({
  165. selector: "key",
  166. category: 'accessing',
  167. fn: function (){
  168. var self=this;
  169. return smalltalk.withContext(function($ctx1) { return (80);
  170. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToPackagesCommand.klass)})},
  171. args: [],
  172. source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 80",
  173. messageSends: [],
  174. referencedClasses: []
  175. }),
  176. smalltalk.HLGoToPackagesCommand.klass);
  177. smalltalk.addMethod(
  178. "_label",
  179. smalltalk.method({
  180. selector: "label",
  181. category: 'accessing',
  182. fn: function (){
  183. var self=this;
  184. return smalltalk.withContext(function($ctx1) { return "Packages";
  185. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToPackagesCommand.klass)})},
  186. args: [],
  187. source: "label\x0a\x09^ 'Packages'",
  188. messageSends: [],
  189. referencedClasses: []
  190. }),
  191. smalltalk.HLGoToPackagesCommand.klass);
  192. smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  193. smalltalk.addMethod(
  194. "_execute",
  195. smalltalk.method({
  196. selector: "execute",
  197. category: 'executing',
  198. fn: function (){
  199. var self=this;
  200. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnProtocols();
  201. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToProtocolsCommand)})},
  202. args: [],
  203. source: "execute\x0a\x09self model focusOnProtocols",
  204. messageSends: ["focusOnProtocols", "model"],
  205. referencedClasses: []
  206. }),
  207. smalltalk.HLGoToProtocolsCommand);
  208. smalltalk.addMethod(
  209. "_key",
  210. smalltalk.method({
  211. selector: "key",
  212. category: 'accessing',
  213. fn: function (){
  214. var self=this;
  215. return smalltalk.withContext(function($ctx1) { return (84);
  216. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  217. args: [],
  218. source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 84",
  219. messageSends: [],
  220. referencedClasses: []
  221. }),
  222. smalltalk.HLGoToProtocolsCommand.klass);
  223. smalltalk.addMethod(
  224. "_label",
  225. smalltalk.method({
  226. selector: "label",
  227. category: 'accessing',
  228. fn: function (){
  229. var self=this;
  230. return smalltalk.withContext(function($ctx1) { return "Protocols";
  231. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  232. args: [],
  233. source: "label\x0a\x09^ 'Protocols'",
  234. messageSends: [],
  235. referencedClasses: []
  236. }),
  237. smalltalk.HLGoToProtocolsCommand.klass);
  238. smalltalk.addClass('HLGoToSourceCodeCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Browser');
  239. smalltalk.addMethod(
  240. "_execute",
  241. smalltalk.method({
  242. selector: "execute",
  243. category: 'executing',
  244. fn: function (){
  245. var self=this;
  246. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnSourceCode();
  247. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToSourceCodeCommand)})},
  248. args: [],
  249. source: "execute\x0a\x09self model focusOnSourceCode",
  250. messageSends: ["focusOnSourceCode", "model"],
  251. referencedClasses: []
  252. }),
  253. smalltalk.HLGoToSourceCodeCommand);
  254. smalltalk.addMethod(
  255. "_key",
  256. smalltalk.method({
  257. selector: "key",
  258. category: 'accessing',
  259. fn: function (){
  260. var self=this;
  261. return smalltalk.withContext(function($ctx1) { return (83);
  262. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  263. args: [],
  264. source: "key\x0a\x09\x22s\x22\x0a \x0a\x09^ 83",
  265. messageSends: [],
  266. referencedClasses: []
  267. }),
  268. smalltalk.HLGoToSourceCodeCommand.klass);
  269. smalltalk.addMethod(
  270. "_label",
  271. smalltalk.method({
  272. selector: "label",
  273. category: 'accessing',
  274. fn: function (){
  275. var self=this;
  276. return smalltalk.withContext(function($ctx1) { return "Source code";
  277. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  278. args: [],
  279. source: "label\x0a\x09^ 'Source code'",
  280. messageSends: [],
  281. referencedClasses: []
  282. }),
  283. smalltalk.HLGoToSourceCodeCommand.klass);
  284. smalltalk.addClass('HLCommitPackageCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  285. smalltalk.addMethod(
  286. "_execute",
  287. smalltalk.method({
  288. selector: "execute",
  289. category: 'executing',
  290. fn: function (){
  291. var self=this;
  292. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._commitPackage();
  293. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLCommitPackageCommand)})},
  294. args: [],
  295. source: "execute\x0a\x09self model commitPackage",
  296. messageSends: ["commitPackage", "model"],
  297. referencedClasses: []
  298. }),
  299. smalltalk.HLCommitPackageCommand);
  300. smalltalk.addMethod(
  301. "_isActive",
  302. smalltalk.method({
  303. selector: "isActive",
  304. category: 'testing',
  305. fn: function (){
  306. var self=this;
  307. return smalltalk.withContext(function($ctx1) { return true;
  308. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLCommitPackageCommand)})},
  309. args: [],
  310. source: "isActive\x0a\x09^ true\x0a\x09\x22 slf model isPackageDirty\x22",
  311. messageSends: [],
  312. referencedClasses: []
  313. }),
  314. smalltalk.HLCommitPackageCommand);
  315. smalltalk.addMethod(
  316. "_key",
  317. smalltalk.method({
  318. selector: "key",
  319. category: 'accessing',
  320. fn: function (){
  321. var self=this;
  322. return smalltalk.withContext(function($ctx1) { return (75);
  323. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCommitPackageCommand.klass)})},
  324. args: [],
  325. source: "key\x0a\x09^ 75",
  326. messageSends: [],
  327. referencedClasses: []
  328. }),
  329. smalltalk.HLCommitPackageCommand.klass);
  330. smalltalk.addMethod(
  331. "_label",
  332. smalltalk.method({
  333. selector: "label",
  334. category: 'accessing',
  335. fn: function (){
  336. var self=this;
  337. return smalltalk.withContext(function($ctx1) { return "Commit package";
  338. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCommitPackageCommand.klass)})},
  339. args: [],
  340. source: "label\x0a\x09^ 'Commit package'",
  341. messageSends: [],
  342. referencedClasses: []
  343. }),
  344. smalltalk.HLCommitPackageCommand.klass);
  345. smalltalk.addClass('HLFindCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  346. smalltalk.addMethod(
  347. "_key",
  348. smalltalk.method({
  349. selector: "key",
  350. category: 'accessing',
  351. fn: function (){
  352. var self=this;
  353. return smalltalk.withContext(function($ctx1) { return (70);
  354. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindCommand.klass)})},
  355. args: [],
  356. source: "key\x0a\x09^ 70",
  357. messageSends: [],
  358. referencedClasses: []
  359. }),
  360. smalltalk.HLFindCommand.klass);
  361. smalltalk.addMethod(
  362. "_label",
  363. smalltalk.method({
  364. selector: "label",
  365. category: 'accessing',
  366. fn: function (){
  367. var self=this;
  368. return smalltalk.withContext(function($ctx1) { return "Find";
  369. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindCommand.klass)})},
  370. args: [],
  371. source: "label\x0a\x09^ 'Find'",
  372. messageSends: [],
  373. referencedClasses: []
  374. }),
  375. smalltalk.HLFindCommand.klass);
  376. smalltalk.addClass('HLFindClassCommand', smalltalk.HLFindCommand, [], 'Helios-Commands-Browser');
  377. smalltalk.addMethod(
  378. "_displayLabel",
  379. smalltalk.method({
  380. selector: "displayLabel",
  381. category: 'accessing',
  382. fn: function (){
  383. var self=this;
  384. return smalltalk.withContext(function($ctx1) { return "select a class";
  385. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLFindClassCommand)})},
  386. args: [],
  387. source: "displayLabel\x0a\x09^ 'select a class'",
  388. messageSends: [],
  389. referencedClasses: []
  390. }),
  391. smalltalk.HLFindClassCommand);
  392. smalltalk.addMethod(
  393. "_execute",
  394. smalltalk.method({
  395. selector: "execute",
  396. category: 'executing',
  397. fn: function (){
  398. var self=this;
  399. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._openClassNamed_(_st(self)._input());
  400. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLFindClassCommand)})},
  401. args: [],
  402. source: "execute\x0a\x09self model openClassNamed: self input",
  403. messageSends: ["openClassNamed:", "input", "model"],
  404. referencedClasses: []
  405. }),
  406. smalltalk.HLFindClassCommand);
  407. smalltalk.addMethod(
  408. "_inputCompletion",
  409. smalltalk.method({
  410. selector: "inputCompletion",
  411. category: 'accessing',
  412. fn: function (){
  413. var self=this;
  414. return smalltalk.withContext(function($ctx1) { var $1;
  415. $1=_st(_st(self)._model())._availableClassNames();
  416. return $1;
  417. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLFindClassCommand)})},
  418. args: [],
  419. source: "inputCompletion\x0a\x09^ self model availableClassNames",
  420. messageSends: ["availableClassNames", "model"],
  421. referencedClasses: []
  422. }),
  423. smalltalk.HLFindClassCommand);
  424. smalltalk.addMethod(
  425. "_inputLabel",
  426. smalltalk.method({
  427. selector: "inputLabel",
  428. category: 'accessing',
  429. fn: function (){
  430. var self=this;
  431. return smalltalk.withContext(function($ctx1) { return "Find a class";
  432. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLFindClassCommand)})},
  433. args: [],
  434. source: "inputLabel\x0a\x09^ 'Find a class'",
  435. messageSends: [],
  436. referencedClasses: []
  437. }),
  438. smalltalk.HLFindClassCommand);
  439. smalltalk.addMethod(
  440. "_isInputRequired",
  441. smalltalk.method({
  442. selector: "isInputRequired",
  443. category: 'testing',
  444. fn: function (){
  445. var self=this;
  446. return smalltalk.withContext(function($ctx1) { return true;
  447. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLFindClassCommand)})},
  448. args: [],
  449. source: "isInputRequired\x0a\x09^ true",
  450. messageSends: [],
  451. referencedClasses: []
  452. }),
  453. smalltalk.HLFindClassCommand);
  454. smalltalk.addMethod(
  455. "_key",
  456. smalltalk.method({
  457. selector: "key",
  458. category: 'accessing',
  459. fn: function (){
  460. var self=this;
  461. return smalltalk.withContext(function($ctx1) { return (67);
  462. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindClassCommand.klass)})},
  463. args: [],
  464. source: "key\x0a\x09^ 67",
  465. messageSends: [],
  466. referencedClasses: []
  467. }),
  468. smalltalk.HLFindClassCommand.klass);
  469. smalltalk.addMethod(
  470. "_label",
  471. smalltalk.method({
  472. selector: "label",
  473. category: 'accessing',
  474. fn: function (){
  475. var self=this;
  476. return smalltalk.withContext(function($ctx1) { return "Class";
  477. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindClassCommand.klass)})},
  478. args: [],
  479. source: "label\x0a\x09^ 'Class'",
  480. messageSends: [],
  481. referencedClasses: []
  482. }),
  483. smalltalk.HLFindClassCommand.klass);
  484. smalltalk.addClass('HLMoveToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  485. smalltalk.addMethod(
  486. "_key",
  487. smalltalk.method({
  488. selector: "key",
  489. category: 'accessing',
  490. fn: function (){
  491. var self=this;
  492. return smalltalk.withContext(function($ctx1) { return (77);
  493. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
  494. args: [],
  495. source: "key\x0a\x09^ 77",
  496. messageSends: [],
  497. referencedClasses: []
  498. }),
  499. smalltalk.HLMoveToCommand.klass);
  500. smalltalk.addMethod(
  501. "_label",
  502. smalltalk.method({
  503. selector: "label",
  504. category: 'accessing',
  505. fn: function (){
  506. var self=this;
  507. return smalltalk.withContext(function($ctx1) { return "Move";
  508. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
  509. args: [],
  510. source: "label\x0a\x09^ 'Move'",
  511. messageSends: [],
  512. referencedClasses: []
  513. }),
  514. smalltalk.HLMoveToCommand.klass);
  515. smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Browser');
  516. smalltalk.addMethod(
  517. "_isActive",
  518. smalltalk.method({
  519. selector: "isActive",
  520. category: 'testing',
  521. fn: function (){
  522. var self=this;
  523. return smalltalk.withContext(function($ctx1) { var $1;
  524. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  525. return $1;
  526. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveMethodToCommand)})},
  527. args: [],
  528. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  529. messageSends: ["notNil", "selectedMethod", "model"],
  530. referencedClasses: []
  531. }),
  532. smalltalk.HLMoveMethodToCommand);
  533. smalltalk.addMethod(
  534. "_key",
  535. smalltalk.method({
  536. selector: "key",
  537. category: 'accessing',
  538. fn: function (){
  539. var self=this;
  540. return smalltalk.withContext(function($ctx1) { return (77);
  541. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
  542. args: [],
  543. source: "key\x0a\x09^ 77",
  544. messageSends: [],
  545. referencedClasses: []
  546. }),
  547. smalltalk.HLMoveMethodToCommand.klass);
  548. smalltalk.addMethod(
  549. "_label",
  550. smalltalk.method({
  551. selector: "label",
  552. category: 'accessing',
  553. fn: function (){
  554. var self=this;
  555. return smalltalk.withContext(function($ctx1) { return "Method";
  556. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
  557. args: [],
  558. source: "label\x0a\x09^ 'Method'",
  559. messageSends: [],
  560. referencedClasses: []
  561. }),
  562. smalltalk.HLMoveMethodToCommand.klass);
  563. smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  564. smalltalk.addMethod(
  565. "_displayLabel",
  566. smalltalk.method({
  567. selector: "displayLabel",
  568. category: 'accessing',
  569. fn: function (){
  570. var self=this;
  571. return smalltalk.withContext(function($ctx1) { return "select a class";
  572. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  573. args: [],
  574. source: "displayLabel\x0a\x09^ 'select a class'",
  575. messageSends: [],
  576. referencedClasses: []
  577. }),
  578. smalltalk.HLMoveMethodToClassCommand);
  579. smalltalk.addMethod(
  580. "_execute",
  581. smalltalk.method({
  582. selector: "execute",
  583. category: 'executing',
  584. fn: function (){
  585. var self=this;
  586. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._moveMethodToClass_(_st(self)._input());
  587. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
  588. args: [],
  589. source: "execute\x0a\x09self model moveMethodToClass: self input",
  590. messageSends: ["moveMethodToClass:", "input", "model"],
  591. referencedClasses: []
  592. }),
  593. smalltalk.HLMoveMethodToClassCommand);
  594. smalltalk.addMethod(
  595. "_inputCompletion",
  596. smalltalk.method({
  597. selector: "inputCompletion",
  598. category: 'accessing',
  599. fn: function (){
  600. var self=this;
  601. return smalltalk.withContext(function($ctx1) { var $1;
  602. $1=_st(_st(self)._model())._availableClassNames();
  603. return $1;
  604. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToClassCommand)})},
  605. args: [],
  606. source: "inputCompletion\x0a\x09^ self model availableClassNames",
  607. messageSends: ["availableClassNames", "model"],
  608. referencedClasses: []
  609. }),
  610. smalltalk.HLMoveMethodToClassCommand);
  611. smalltalk.addMethod(
  612. "_inputLabel",
  613. smalltalk.method({
  614. selector: "inputLabel",
  615. category: 'accessing',
  616. fn: function (){
  617. var self=this;
  618. return smalltalk.withContext(function($ctx1) { return "Move method to class:";
  619. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  620. args: [],
  621. source: "inputLabel\x0a\x09^ 'Move method to class:'",
  622. messageSends: [],
  623. referencedClasses: []
  624. }),
  625. smalltalk.HLMoveMethodToClassCommand);
  626. smalltalk.addMethod(
  627. "_isInputRequired",
  628. smalltalk.method({
  629. selector: "isInputRequired",
  630. category: 'testing',
  631. fn: function (){
  632. var self=this;
  633. return smalltalk.withContext(function($ctx1) { return true;
  634. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToClassCommand)})},
  635. args: [],
  636. source: "isInputRequired\x0a\x09^ true",
  637. messageSends: [],
  638. referencedClasses: []
  639. }),
  640. smalltalk.HLMoveMethodToClassCommand);
  641. smalltalk.addMethod(
  642. "_key",
  643. smalltalk.method({
  644. selector: "key",
  645. category: 'accessing',
  646. fn: function (){
  647. var self=this;
  648. return smalltalk.withContext(function($ctx1) { return (67);
  649. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  650. args: [],
  651. source: "key\x0a\x09^ 67",
  652. messageSends: [],
  653. referencedClasses: []
  654. }),
  655. smalltalk.HLMoveMethodToClassCommand.klass);
  656. smalltalk.addMethod(
  657. "_label",
  658. smalltalk.method({
  659. selector: "label",
  660. category: 'accessing',
  661. fn: function (){
  662. var self=this;
  663. return smalltalk.withContext(function($ctx1) { return "to class";
  664. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  665. args: [],
  666. source: "label\x09\x0a\x09^ 'to class'",
  667. messageSends: [],
  668. referencedClasses: []
  669. }),
  670. smalltalk.HLMoveMethodToClassCommand.klass);
  671. smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  672. smalltalk.addMethod(
  673. "_displayLabel",
  674. smalltalk.method({
  675. selector: "displayLabel",
  676. category: 'accessing',
  677. fn: function (){
  678. var self=this;
  679. return smalltalk.withContext(function($ctx1) { return "select a protocol";
  680. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  681. args: [],
  682. source: "displayLabel\x0a\x09^ 'select a protocol'",
  683. messageSends: [],
  684. referencedClasses: []
  685. }),
  686. smalltalk.HLMoveMethodToProtocolCommand);
  687. smalltalk.addMethod(
  688. "_execute",
  689. smalltalk.method({
  690. selector: "execute",
  691. category: 'executing',
  692. fn: function (){
  693. var self=this;
  694. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._moveMethodToProtocol_(_st(self)._input());
  695. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  696. args: [],
  697. source: "execute\x0a\x09self model moveMethodToProtocol: self input",
  698. messageSends: ["moveMethodToProtocol:", "input", "model"],
  699. referencedClasses: []
  700. }),
  701. smalltalk.HLMoveMethodToProtocolCommand);
  702. smalltalk.addMethod(
  703. "_inputCompletion",
  704. smalltalk.method({
  705. selector: "inputCompletion",
  706. category: 'accessing',
  707. fn: function (){
  708. var self=this;
  709. return smalltalk.withContext(function($ctx1) { var $1;
  710. $1=_st(_st(self)._model())._availableProtocols();
  711. return $1;
  712. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  713. args: [],
  714. source: "inputCompletion\x0a\x09^ self model availableProtocols",
  715. messageSends: ["availableProtocols", "model"],
  716. referencedClasses: []
  717. }),
  718. smalltalk.HLMoveMethodToProtocolCommand);
  719. smalltalk.addMethod(
  720. "_inputLabel",
  721. smalltalk.method({
  722. selector: "inputLabel",
  723. category: 'accessing',
  724. fn: function (){
  725. var self=this;
  726. return smalltalk.withContext(function($ctx1) { return "Move method to a protocol:";
  727. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  728. args: [],
  729. source: "inputLabel\x0a\x09^ 'Move method to a protocol:'",
  730. messageSends: [],
  731. referencedClasses: []
  732. }),
  733. smalltalk.HLMoveMethodToProtocolCommand);
  734. smalltalk.addMethod(
  735. "_isInputRequired",
  736. smalltalk.method({
  737. selector: "isInputRequired",
  738. category: 'testing',
  739. fn: function (){
  740. var self=this;
  741. return smalltalk.withContext(function($ctx1) { return true;
  742. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  743. args: [],
  744. source: "isInputRequired\x0a\x09^ true",
  745. messageSends: [],
  746. referencedClasses: []
  747. }),
  748. smalltalk.HLMoveMethodToProtocolCommand);
  749. smalltalk.addMethod(
  750. "_key",
  751. smalltalk.method({
  752. selector: "key",
  753. category: 'accessing',
  754. fn: function (){
  755. var self=this;
  756. return smalltalk.withContext(function($ctx1) { return (84);
  757. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  758. args: [],
  759. source: "key\x0a\x09^ 84",
  760. messageSends: [],
  761. referencedClasses: []
  762. }),
  763. smalltalk.HLMoveMethodToProtocolCommand.klass);
  764. smalltalk.addMethod(
  765. "_label",
  766. smalltalk.method({
  767. selector: "label",
  768. category: 'accessing',
  769. fn: function (){
  770. var self=this;
  771. return smalltalk.withContext(function($ctx1) { return "to protocol";
  772. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  773. args: [],
  774. source: "label\x0a\x09^ 'to protocol'",
  775. messageSends: [],
  776. referencedClasses: []
  777. }),
  778. smalltalk.HLMoveMethodToProtocolCommand.klass);
  779. smalltalk.addClass('HLRemoveCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  780. smalltalk.addMethod(
  781. "_key",
  782. smalltalk.method({
  783. selector: "key",
  784. category: 'accessing',
  785. fn: function (){
  786. var self=this;
  787. return smalltalk.withContext(function($ctx1) { return (88);
  788. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveCommand.klass)})},
  789. args: [],
  790. source: "key\x0a\x09^ 88",
  791. messageSends: [],
  792. referencedClasses: []
  793. }),
  794. smalltalk.HLRemoveCommand.klass);
  795. smalltalk.addMethod(
  796. "_label",
  797. smalltalk.method({
  798. selector: "label",
  799. category: 'accessing',
  800. fn: function (){
  801. var self=this;
  802. return smalltalk.withContext(function($ctx1) { return "Remove";
  803. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveCommand.klass)})},
  804. args: [],
  805. source: "label\x0a\x09^ 'Remove'",
  806. messageSends: [],
  807. referencedClasses: []
  808. }),
  809. smalltalk.HLRemoveCommand.klass);
  810. smalltalk.addClass('HLRemoveMethodCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Browser');
  811. smalltalk.addMethod(
  812. "_execute",
  813. smalltalk.method({
  814. selector: "execute",
  815. category: 'executing',
  816. fn: function (){
  817. var self=this;
  818. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._removeMethod();
  819. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveMethodCommand)})},
  820. args: [],
  821. source: "execute\x0a\x09self model removeMethod",
  822. messageSends: ["removeMethod", "model"],
  823. referencedClasses: []
  824. }),
  825. smalltalk.HLRemoveMethodCommand);
  826. smalltalk.addMethod(
  827. "_isActive",
  828. smalltalk.method({
  829. selector: "isActive",
  830. category: 'testing',
  831. fn: function (){
  832. var self=this;
  833. return smalltalk.withContext(function($ctx1) { var $1;
  834. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  835. return $1;
  836. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveMethodCommand)})},
  837. args: [],
  838. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  839. messageSends: ["notNil", "selectedMethod", "model"],
  840. referencedClasses: []
  841. }),
  842. smalltalk.HLRemoveMethodCommand);
  843. smalltalk.addMethod(
  844. "_key",
  845. smalltalk.method({
  846. selector: "key",
  847. category: 'accessing',
  848. fn: function (){
  849. var self=this;
  850. return smalltalk.withContext(function($ctx1) { return (77);
  851. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveMethodCommand.klass)})},
  852. args: [],
  853. source: "key\x0a\x09^ 77",
  854. messageSends: [],
  855. referencedClasses: []
  856. }),
  857. smalltalk.HLRemoveMethodCommand.klass);
  858. smalltalk.addMethod(
  859. "_label",
  860. smalltalk.method({
  861. selector: "label",
  862. category: 'accessing',
  863. fn: function (){
  864. var self=this;
  865. return smalltalk.withContext(function($ctx1) { return "Method";
  866. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveMethodCommand.klass)})},
  867. args: [],
  868. source: "label\x0a\x09^ 'Method'",
  869. messageSends: [],
  870. referencedClasses: []
  871. }),
  872. smalltalk.HLRemoveMethodCommand.klass);
  873. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  874. smalltalk.addMethod(
  875. "_key",
  876. smalltalk.method({
  877. selector: "key",
  878. category: 'accessing',
  879. fn: function (){
  880. var self=this;
  881. return smalltalk.withContext(function($ctx1) { return (84);
  882. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
  883. args: [],
  884. source: "key\x0a\x09^ 84",
  885. messageSends: [],
  886. referencedClasses: []
  887. }),
  888. smalltalk.HLToggleCommand.klass);
  889. smalltalk.addMethod(
  890. "_label",
  891. smalltalk.method({
  892. selector: "label",
  893. category: 'accessing',
  894. fn: function (){
  895. var self=this;
  896. return smalltalk.withContext(function($ctx1) { return "Toggle";
  897. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
  898. args: [],
  899. source: "label\x0a\x09^ 'Toggle'",
  900. messageSends: [],
  901. referencedClasses: []
  902. }),
  903. smalltalk.HLToggleCommand.klass);
  904. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  905. smalltalk.addMethod(
  906. "_execute",
  907. smalltalk.method({
  908. selector: "execute",
  909. category: 'executing',
  910. fn: function (){
  911. var self=this;
  912. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._showInstance_(false);
  913. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
  914. args: [],
  915. source: "execute\x0a\x09self model showInstance: false",
  916. messageSends: ["showInstance:", "model"],
  917. referencedClasses: []
  918. }),
  919. smalltalk.HLToggleClassSideCommand);
  920. smalltalk.addMethod(
  921. "_key",
  922. smalltalk.method({
  923. selector: "key",
  924. category: 'accessing',
  925. fn: function (){
  926. var self=this;
  927. return smalltalk.withContext(function($ctx1) { return (67);
  928. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
  929. args: [],
  930. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  931. messageSends: [],
  932. referencedClasses: []
  933. }),
  934. smalltalk.HLToggleClassSideCommand.klass);
  935. smalltalk.addMethod(
  936. "_label",
  937. smalltalk.method({
  938. selector: "label",
  939. category: 'accessing',
  940. fn: function (){
  941. var self=this;
  942. return smalltalk.withContext(function($ctx1) { return "Class side";
  943. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
  944. args: [],
  945. source: "label\x0a\x09^ 'Class side'",
  946. messageSends: [],
  947. referencedClasses: []
  948. }),
  949. smalltalk.HLToggleClassSideCommand.klass);
  950. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  951. smalltalk.addMethod(
  952. "_execute",
  953. smalltalk.method({
  954. selector: "execute",
  955. category: 'executing',
  956. fn: function (){
  957. var self=this;
  958. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._showInstance_(true);
  959. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
  960. args: [],
  961. source: "execute\x0a\x09self model showInstance: true",
  962. messageSends: ["showInstance:", "model"],
  963. referencedClasses: []
  964. }),
  965. smalltalk.HLToggleInstanceSideCommand);
  966. smalltalk.addMethod(
  967. "_key",
  968. smalltalk.method({
  969. selector: "key",
  970. category: 'accessing',
  971. fn: function (){
  972. var self=this;
  973. return smalltalk.withContext(function($ctx1) { return (73);
  974. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  975. args: [],
  976. source: "key\x0a\x09\x22i\x22\x0a \x0a\x09^ 73",
  977. messageSends: [],
  978. referencedClasses: []
  979. }),
  980. smalltalk.HLToggleInstanceSideCommand.klass);
  981. smalltalk.addMethod(
  982. "_label",
  983. smalltalk.method({
  984. selector: "label",
  985. category: 'accessing',
  986. fn: function (){
  987. var self=this;
  988. return smalltalk.withContext(function($ctx1) { return "Instance side";
  989. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  990. args: [],
  991. source: "label\x0a\x09^ 'Instance side'",
  992. messageSends: [],
  993. referencedClasses: []
  994. }),
  995. smalltalk.HLToggleInstanceSideCommand.klass);