Helios-Commands-Browser.js 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253
  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('HLMoveMethodToCommand', 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())._selectedMethod())._notNil();
  562. return $1;
  563. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveMethodToCommand)})},
  564. args: [],
  565. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  566. messageSends: ["notNil", "selectedMethod", "model"],
  567. referencedClasses: []
  568. }),
  569. smalltalk.HLMoveMethodToCommand);
  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=(77);
  579. return $1;
  580. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
  581. args: [],
  582. source: "key\x0a\x09^ 77",
  583. messageSends: [],
  584. referencedClasses: []
  585. }),
  586. smalltalk.HLMoveMethodToCommand.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 "Method";
  595. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
  596. args: [],
  597. source: "label\x0a\x09^ 'Method'",
  598. messageSends: [],
  599. referencedClasses: []
  600. }),
  601. smalltalk.HLMoveMethodToCommand.klass);
  602. smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], '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 class";
  611. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  612. args: [],
  613. source: "displayLabel\x0a\x09^ 'select a class'",
  614. messageSends: [],
  615. referencedClasses: []
  616. }),
  617. smalltalk.HLMoveMethodToClassCommand);
  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())._moveMethodToClass_(_st(self)._input());
  626. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
  627. args: [],
  628. source: "execute\x0a\x09self model moveMethodToClass: self input",
  629. messageSends: ["moveMethodToClass:", "input", "model"],
  630. referencedClasses: []
  631. }),
  632. smalltalk.HLMoveMethodToClassCommand);
  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())._availableClassNames();
  642. return $1;
  643. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToClassCommand)})},
  644. args: [],
  645. source: "inputCompletion\x0a\x09^ self model availableClassNames",
  646. messageSends: ["availableClassNames", "model"],
  647. referencedClasses: []
  648. }),
  649. smalltalk.HLMoveMethodToClassCommand);
  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 method to class:";
  658. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  659. args: [],
  660. source: "inputLabel\x0a\x09^ 'Move method to class:'",
  661. messageSends: [],
  662. referencedClasses: []
  663. }),
  664. smalltalk.HLMoveMethodToClassCommand);
  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.HLMoveMethodToClassCommand)})},
  674. args: [],
  675. source: "isInputRequired\x0a\x09^ true",
  676. messageSends: [],
  677. referencedClasses: []
  678. }),
  679. smalltalk.HLMoveMethodToClassCommand);
  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)._isCompiledMethod();
  689. return $1;
  690. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveMethodToClassCommand.klass)})},
  691. args: ["anObject"],
  692. source: "isValidFor: anObject\x0a\x09^ anObject isCompiledMethod",
  693. messageSends: ["isCompiledMethod"],
  694. referencedClasses: []
  695. }),
  696. smalltalk.HLMoveMethodToClassCommand.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=(67);
  706. return $1;
  707. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  708. args: [],
  709. source: "key\x0a\x09^ 67",
  710. messageSends: [],
  711. referencedClasses: []
  712. }),
  713. smalltalk.HLMoveMethodToClassCommand.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 class";
  722. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  723. args: [],
  724. source: "label\x09\x0a\x09^ 'to class'",
  725. messageSends: [],
  726. referencedClasses: []
  727. }),
  728. smalltalk.HLMoveMethodToClassCommand.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 class...";
  737. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  738. args: [],
  739. source: "menuLabel\x09\x0a\x09^ 'Move to class...'",
  740. messageSends: [],
  741. referencedClasses: []
  742. }),
  743. smalltalk.HLMoveMethodToClassCommand.klass);
  744. smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  745. smalltalk.addMethod(
  746. smalltalk.method({
  747. selector: "displayLabel",
  748. category: 'accessing',
  749. fn: function (){
  750. var self=this;
  751. return smalltalk.withContext(function($ctx1) {
  752. return "select a protocol";
  753. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  754. args: [],
  755. source: "displayLabel\x0a\x09^ 'select a protocol'",
  756. messageSends: [],
  757. referencedClasses: []
  758. }),
  759. smalltalk.HLMoveMethodToProtocolCommand);
  760. smalltalk.addMethod(
  761. smalltalk.method({
  762. selector: "execute",
  763. category: 'executing',
  764. fn: function (){
  765. var self=this;
  766. return smalltalk.withContext(function($ctx1) {
  767. _st(_st(self)._model())._moveMethodToProtocol_(_st(self)._input());
  768. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  769. args: [],
  770. source: "execute\x0a\x09self model moveMethodToProtocol: self input",
  771. messageSends: ["moveMethodToProtocol:", "input", "model"],
  772. referencedClasses: []
  773. }),
  774. smalltalk.HLMoveMethodToProtocolCommand);
  775. smalltalk.addMethod(
  776. smalltalk.method({
  777. selector: "inputCompletion",
  778. category: 'accessing',
  779. fn: function (){
  780. var self=this;
  781. return smalltalk.withContext(function($ctx1) {
  782. var $1;
  783. $1=_st(_st(self)._model())._availableProtocols();
  784. return $1;
  785. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  786. args: [],
  787. source: "inputCompletion\x0a\x09^ self model availableProtocols",
  788. messageSends: ["availableProtocols", "model"],
  789. referencedClasses: []
  790. }),
  791. smalltalk.HLMoveMethodToProtocolCommand);
  792. smalltalk.addMethod(
  793. smalltalk.method({
  794. selector: "inputLabel",
  795. category: 'accessing',
  796. fn: function (){
  797. var self=this;
  798. return smalltalk.withContext(function($ctx1) {
  799. return "Move method to a protocol:";
  800. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  801. args: [],
  802. source: "inputLabel\x0a\x09^ 'Move method to a protocol:'",
  803. messageSends: [],
  804. referencedClasses: []
  805. }),
  806. smalltalk.HLMoveMethodToProtocolCommand);
  807. smalltalk.addMethod(
  808. smalltalk.method({
  809. selector: "isInputRequired",
  810. category: 'testing',
  811. fn: function (){
  812. var self=this;
  813. return smalltalk.withContext(function($ctx1) {
  814. return true;
  815. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  816. args: [],
  817. source: "isInputRequired\x0a\x09^ true",
  818. messageSends: [],
  819. referencedClasses: []
  820. }),
  821. smalltalk.HLMoveMethodToProtocolCommand);
  822. smalltalk.addMethod(
  823. smalltalk.method({
  824. selector: "isValidFor:",
  825. category: 'testing',
  826. fn: function (anObject){
  827. var self=this;
  828. return smalltalk.withContext(function($ctx1) {
  829. var $1;
  830. $1=_st(anObject)._isCompiledMethod();
  831. return $1;
  832. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  833. args: ["anObject"],
  834. source: "isValidFor: anObject\x0a\x09^ anObject isCompiledMethod",
  835. messageSends: ["isCompiledMethod"],
  836. referencedClasses: []
  837. }),
  838. smalltalk.HLMoveMethodToProtocolCommand.klass);
  839. smalltalk.addMethod(
  840. smalltalk.method({
  841. selector: "key",
  842. category: 'accessing',
  843. fn: function (){
  844. var self=this;
  845. return smalltalk.withContext(function($ctx1) {
  846. var $1;
  847. $1=(84);
  848. return $1;
  849. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  850. args: [],
  851. source: "key\x0a\x09^ 84",
  852. messageSends: [],
  853. referencedClasses: []
  854. }),
  855. smalltalk.HLMoveMethodToProtocolCommand.klass);
  856. smalltalk.addMethod(
  857. smalltalk.method({
  858. selector: "label",
  859. category: 'accessing',
  860. fn: function (){
  861. var self=this;
  862. return smalltalk.withContext(function($ctx1) {
  863. return "to protocol";
  864. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  865. args: [],
  866. source: "label\x0a\x09^ 'to protocol'",
  867. messageSends: [],
  868. referencedClasses: []
  869. }),
  870. smalltalk.HLMoveMethodToProtocolCommand.klass);
  871. smalltalk.addMethod(
  872. smalltalk.method({
  873. selector: "menuLabel",
  874. category: 'accessing',
  875. fn: function (){
  876. var self=this;
  877. return smalltalk.withContext(function($ctx1) {
  878. return "Move to protocol...";
  879. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  880. args: [],
  881. source: "menuLabel\x0a\x09^ 'Move to protocol...'",
  882. messageSends: [],
  883. referencedClasses: []
  884. }),
  885. smalltalk.HLMoveMethodToProtocolCommand.klass);
  886. smalltalk.addClass('HLRemoveCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  887. smalltalk.addMethod(
  888. smalltalk.method({
  889. selector: "key",
  890. category: 'accessing',
  891. fn: function (){
  892. var self=this;
  893. return smalltalk.withContext(function($ctx1) {
  894. var $1;
  895. $1=(88);
  896. return $1;
  897. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveCommand.klass)})},
  898. args: [],
  899. source: "key\x0a\x09^ 88",
  900. messageSends: [],
  901. referencedClasses: []
  902. }),
  903. smalltalk.HLRemoveCommand.klass);
  904. smalltalk.addMethod(
  905. smalltalk.method({
  906. selector: "label",
  907. category: 'accessing',
  908. fn: function (){
  909. var self=this;
  910. return smalltalk.withContext(function($ctx1) {
  911. return "Remove";
  912. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveCommand.klass)})},
  913. args: [],
  914. source: "label\x0a\x09^ 'Remove'",
  915. messageSends: [],
  916. referencedClasses: []
  917. }),
  918. smalltalk.HLRemoveCommand.klass);
  919. smalltalk.addClass('HLRemoveMethodCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Browser');
  920. smalltalk.addMethod(
  921. smalltalk.method({
  922. selector: "execute",
  923. category: 'executing',
  924. fn: function (){
  925. var self=this;
  926. return smalltalk.withContext(function($ctx1) {
  927. _st(_st(self)._model())._removeMethod();
  928. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveMethodCommand)})},
  929. args: [],
  930. source: "execute\x0a\x09self model removeMethod",
  931. messageSends: ["removeMethod", "model"],
  932. referencedClasses: []
  933. }),
  934. smalltalk.HLRemoveMethodCommand);
  935. smalltalk.addMethod(
  936. smalltalk.method({
  937. selector: "isActive",
  938. category: 'testing',
  939. fn: function (){
  940. var self=this;
  941. return smalltalk.withContext(function($ctx1) {
  942. var $1;
  943. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  944. return $1;
  945. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveMethodCommand)})},
  946. args: [],
  947. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  948. messageSends: ["notNil", "selectedMethod", "model"],
  949. referencedClasses: []
  950. }),
  951. smalltalk.HLRemoveMethodCommand);
  952. smalltalk.addMethod(
  953. smalltalk.method({
  954. selector: "isValidFor:",
  955. category: 'accessing',
  956. fn: function (anObject){
  957. var self=this;
  958. return smalltalk.withContext(function($ctx1) {
  959. var $1;
  960. $1=_st(anObject)._isCompiledMethod();
  961. return $1;
  962. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLRemoveMethodCommand.klass)})},
  963. args: ["anObject"],
  964. source: "isValidFor: anObject\x0a\x09^ anObject isCompiledMethod",
  965. messageSends: ["isCompiledMethod"],
  966. referencedClasses: []
  967. }),
  968. smalltalk.HLRemoveMethodCommand.klass);
  969. smalltalk.addMethod(
  970. smalltalk.method({
  971. selector: "key",
  972. category: 'testing',
  973. fn: function (){
  974. var self=this;
  975. return smalltalk.withContext(function($ctx1) {
  976. var $1;
  977. $1=(77);
  978. return $1;
  979. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveMethodCommand.klass)})},
  980. args: [],
  981. source: "key\x0a\x09^ 77",
  982. messageSends: [],
  983. referencedClasses: []
  984. }),
  985. smalltalk.HLRemoveMethodCommand.klass);
  986. smalltalk.addMethod(
  987. smalltalk.method({
  988. selector: "label",
  989. category: 'accessing',
  990. fn: function (){
  991. var self=this;
  992. return smalltalk.withContext(function($ctx1) {
  993. return "Method";
  994. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveMethodCommand.klass)})},
  995. args: [],
  996. source: "label\x0a\x09^ 'Method'",
  997. messageSends: [],
  998. referencedClasses: []
  999. }),
  1000. smalltalk.HLRemoveMethodCommand.klass);
  1001. smalltalk.addMethod(
  1002. smalltalk.method({
  1003. selector: "menuLabel",
  1004. category: 'accessing',
  1005. fn: function (){
  1006. var self=this;
  1007. return smalltalk.withContext(function($ctx1) {
  1008. return "Remove method";
  1009. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1010. args: [],
  1011. source: "menuLabel\x0a\x09^ 'Remove method'",
  1012. messageSends: [],
  1013. referencedClasses: []
  1014. }),
  1015. smalltalk.HLRemoveMethodCommand.klass);
  1016. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  1017. smalltalk.addMethod(
  1018. smalltalk.method({
  1019. selector: "key",
  1020. category: 'accessing',
  1021. fn: function (){
  1022. var self=this;
  1023. return smalltalk.withContext(function($ctx1) {
  1024. var $1;
  1025. $1=(84);
  1026. return $1;
  1027. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
  1028. args: [],
  1029. source: "key\x0a\x09^ 84",
  1030. messageSends: [],
  1031. referencedClasses: []
  1032. }),
  1033. smalltalk.HLToggleCommand.klass);
  1034. smalltalk.addMethod(
  1035. smalltalk.method({
  1036. selector: "label",
  1037. category: 'accessing',
  1038. fn: function (){
  1039. var self=this;
  1040. return smalltalk.withContext(function($ctx1) {
  1041. return "Toggle";
  1042. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
  1043. args: [],
  1044. source: "label\x0a\x09^ 'Toggle'",
  1045. messageSends: [],
  1046. referencedClasses: []
  1047. }),
  1048. smalltalk.HLToggleCommand.klass);
  1049. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1050. smalltalk.addMethod(
  1051. smalltalk.method({
  1052. selector: "execute",
  1053. category: 'executing',
  1054. fn: function (){
  1055. var self=this;
  1056. return smalltalk.withContext(function($ctx1) {
  1057. _st(_st(self)._model())._showInstance_(false);
  1058. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
  1059. args: [],
  1060. source: "execute\x0a\x09self model showInstance: false",
  1061. messageSends: ["showInstance:", "model"],
  1062. referencedClasses: []
  1063. }),
  1064. smalltalk.HLToggleClassSideCommand);
  1065. smalltalk.addMethod(
  1066. smalltalk.method({
  1067. selector: "key",
  1068. category: 'accessing',
  1069. fn: function (){
  1070. var self=this;
  1071. return smalltalk.withContext(function($ctx1) {
  1072. var $1;
  1073. $1=(67);
  1074. return $1;
  1075. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1076. args: [],
  1077. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  1078. messageSends: [],
  1079. referencedClasses: []
  1080. }),
  1081. smalltalk.HLToggleClassSideCommand.klass);
  1082. smalltalk.addMethod(
  1083. smalltalk.method({
  1084. selector: "label",
  1085. category: 'accessing',
  1086. fn: function (){
  1087. var self=this;
  1088. return smalltalk.withContext(function($ctx1) {
  1089. return "Class side";
  1090. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1091. args: [],
  1092. source: "label\x0a\x09^ 'Class side'",
  1093. messageSends: [],
  1094. referencedClasses: []
  1095. }),
  1096. smalltalk.HLToggleClassSideCommand.klass);
  1097. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1098. smalltalk.addMethod(
  1099. smalltalk.method({
  1100. selector: "execute",
  1101. category: 'executing',
  1102. fn: function (){
  1103. var self=this;
  1104. return smalltalk.withContext(function($ctx1) {
  1105. _st(_st(self)._model())._showInstance_(true);
  1106. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
  1107. args: [],
  1108. source: "execute\x0a\x09self model showInstance: true",
  1109. messageSends: ["showInstance:", "model"],
  1110. referencedClasses: []
  1111. }),
  1112. smalltalk.HLToggleInstanceSideCommand);
  1113. smalltalk.addMethod(
  1114. smalltalk.method({
  1115. selector: "key",
  1116. category: 'accessing',
  1117. fn: function (){
  1118. var self=this;
  1119. return smalltalk.withContext(function($ctx1) {
  1120. var $1;
  1121. $1=(73);
  1122. return $1;
  1123. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1124. args: [],
  1125. source: "key\x0a\x09\x22i\x22\x0a \x0a\x09^ 73",
  1126. messageSends: [],
  1127. referencedClasses: []
  1128. }),
  1129. smalltalk.HLToggleInstanceSideCommand.klass);
  1130. smalltalk.addMethod(
  1131. smalltalk.method({
  1132. selector: "label",
  1133. category: 'accessing',
  1134. fn: function (){
  1135. var self=this;
  1136. return smalltalk.withContext(function($ctx1) {
  1137. return "Instance side";
  1138. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1139. args: [],
  1140. source: "label\x0a\x09^ 'Instance side'",
  1141. messageSends: [],
  1142. referencedClasses: []
  1143. }),
  1144. smalltalk.HLToggleInstanceSideCommand.klass);