1
0

Helios-Commands-Browser.js 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224
  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. "_isValidFor_",
  317. smalltalk.method({
  318. selector: "isValidFor:",
  319. category: 'testing',
  320. fn: function (anObject){
  321. var self=this;
  322. return smalltalk.withContext(function($ctx1) {
  323. var $1;
  324. $1=_st(anObject)._isPackage();
  325. return $1;
  326. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLCommitPackageCommand.klass)})},
  327. args: ["anObject"],
  328. source: "isValidFor: anObject\x0a\x09^ anObject isPackage",
  329. messageSends: ["isPackage"],
  330. referencedClasses: []
  331. }),
  332. smalltalk.HLCommitPackageCommand.klass);
  333. smalltalk.addMethod(
  334. "_key",
  335. smalltalk.method({
  336. selector: "key",
  337. category: 'accessing',
  338. fn: function (){
  339. var self=this;
  340. return smalltalk.withContext(function($ctx1) { return (75);
  341. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCommitPackageCommand.klass)})},
  342. args: [],
  343. source: "key\x0a\x09^ 75",
  344. messageSends: [],
  345. referencedClasses: []
  346. }),
  347. smalltalk.HLCommitPackageCommand.klass);
  348. smalltalk.addMethod(
  349. "_label",
  350. smalltalk.method({
  351. selector: "label",
  352. category: 'accessing',
  353. fn: function (){
  354. var self=this;
  355. return smalltalk.withContext(function($ctx1) { return "Commit package";
  356. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCommitPackageCommand.klass)})},
  357. args: [],
  358. source: "label\x0a\x09^ 'Commit package'",
  359. messageSends: [],
  360. referencedClasses: []
  361. }),
  362. smalltalk.HLCommitPackageCommand.klass);
  363. smalltalk.addClass('HLFindCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  364. smalltalk.addMethod(
  365. "_key",
  366. smalltalk.method({
  367. selector: "key",
  368. category: 'accessing',
  369. fn: function (){
  370. var self=this;
  371. return smalltalk.withContext(function($ctx1) { return (70);
  372. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindCommand.klass)})},
  373. args: [],
  374. source: "key\x0a\x09^ 70",
  375. messageSends: [],
  376. referencedClasses: []
  377. }),
  378. smalltalk.HLFindCommand.klass);
  379. smalltalk.addMethod(
  380. "_label",
  381. smalltalk.method({
  382. selector: "label",
  383. category: 'accessing',
  384. fn: function (){
  385. var self=this;
  386. return smalltalk.withContext(function($ctx1) { return "Find";
  387. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindCommand.klass)})},
  388. args: [],
  389. source: "label\x0a\x09^ 'Find'",
  390. messageSends: [],
  391. referencedClasses: []
  392. }),
  393. smalltalk.HLFindCommand.klass);
  394. smalltalk.addClass('HLFindClassCommand', smalltalk.HLFindCommand, [], 'Helios-Commands-Browser');
  395. smalltalk.addMethod(
  396. "_displayLabel",
  397. smalltalk.method({
  398. selector: "displayLabel",
  399. category: 'accessing',
  400. fn: function (){
  401. var self=this;
  402. return smalltalk.withContext(function($ctx1) { return "select a class";
  403. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLFindClassCommand)})},
  404. args: [],
  405. source: "displayLabel\x0a\x09^ 'select a class'",
  406. messageSends: [],
  407. referencedClasses: []
  408. }),
  409. smalltalk.HLFindClassCommand);
  410. smalltalk.addMethod(
  411. "_execute",
  412. smalltalk.method({
  413. selector: "execute",
  414. category: 'executing',
  415. fn: function (){
  416. var self=this;
  417. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._openClassNamed_(_st(self)._input());
  418. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLFindClassCommand)})},
  419. args: [],
  420. source: "execute\x0a\x09self model openClassNamed: self input",
  421. messageSends: ["openClassNamed:", "input", "model"],
  422. referencedClasses: []
  423. }),
  424. smalltalk.HLFindClassCommand);
  425. smalltalk.addMethod(
  426. "_inputCompletion",
  427. smalltalk.method({
  428. selector: "inputCompletion",
  429. category: 'accessing',
  430. fn: function (){
  431. var self=this;
  432. return smalltalk.withContext(function($ctx1) { var $1;
  433. $1=_st(_st(self)._model())._availableClassNames();
  434. return $1;
  435. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLFindClassCommand)})},
  436. args: [],
  437. source: "inputCompletion\x0a\x09^ self model availableClassNames",
  438. messageSends: ["availableClassNames", "model"],
  439. referencedClasses: []
  440. }),
  441. smalltalk.HLFindClassCommand);
  442. smalltalk.addMethod(
  443. "_inputLabel",
  444. smalltalk.method({
  445. selector: "inputLabel",
  446. category: 'accessing',
  447. fn: function (){
  448. var self=this;
  449. return smalltalk.withContext(function($ctx1) { return "Find a class";
  450. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLFindClassCommand)})},
  451. args: [],
  452. source: "inputLabel\x0a\x09^ 'Find a class'",
  453. messageSends: [],
  454. referencedClasses: []
  455. }),
  456. smalltalk.HLFindClassCommand);
  457. smalltalk.addMethod(
  458. "_isInputRequired",
  459. smalltalk.method({
  460. selector: "isInputRequired",
  461. category: 'testing',
  462. fn: function (){
  463. var self=this;
  464. return smalltalk.withContext(function($ctx1) { return true;
  465. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLFindClassCommand)})},
  466. args: [],
  467. source: "isInputRequired\x0a\x09^ true",
  468. messageSends: [],
  469. referencedClasses: []
  470. }),
  471. smalltalk.HLFindClassCommand);
  472. smalltalk.addMethod(
  473. "_key",
  474. smalltalk.method({
  475. selector: "key",
  476. category: 'accessing',
  477. fn: function (){
  478. var self=this;
  479. return smalltalk.withContext(function($ctx1) { return (67);
  480. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindClassCommand.klass)})},
  481. args: [],
  482. source: "key\x0a\x09^ 67",
  483. messageSends: [],
  484. referencedClasses: []
  485. }),
  486. smalltalk.HLFindClassCommand.klass);
  487. smalltalk.addMethod(
  488. "_label",
  489. smalltalk.method({
  490. selector: "label",
  491. category: 'accessing',
  492. fn: function (){
  493. var self=this;
  494. return smalltalk.withContext(function($ctx1) { return "Class";
  495. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindClassCommand.klass)})},
  496. args: [],
  497. source: "label\x0a\x09^ 'Class'",
  498. messageSends: [],
  499. referencedClasses: []
  500. }),
  501. smalltalk.HLFindClassCommand.klass);
  502. smalltalk.addClass('HLMoveToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  503. smalltalk.addMethod(
  504. "_key",
  505. smalltalk.method({
  506. selector: "key",
  507. category: 'accessing',
  508. fn: function (){
  509. var self=this;
  510. return smalltalk.withContext(function($ctx1) { return (77);
  511. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
  512. args: [],
  513. source: "key\x0a\x09^ 77",
  514. messageSends: [],
  515. referencedClasses: []
  516. }),
  517. smalltalk.HLMoveToCommand.klass);
  518. smalltalk.addMethod(
  519. "_label",
  520. smalltalk.method({
  521. selector: "label",
  522. category: 'accessing',
  523. fn: function (){
  524. var self=this;
  525. return smalltalk.withContext(function($ctx1) { return "Move";
  526. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
  527. args: [],
  528. source: "label\x0a\x09^ 'Move'",
  529. messageSends: [],
  530. referencedClasses: []
  531. }),
  532. smalltalk.HLMoveToCommand.klass);
  533. smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Browser');
  534. smalltalk.addMethod(
  535. "_isActive",
  536. smalltalk.method({
  537. selector: "isActive",
  538. category: 'testing',
  539. fn: function (){
  540. var self=this;
  541. return smalltalk.withContext(function($ctx1) { var $1;
  542. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  543. return $1;
  544. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveMethodToCommand)})},
  545. args: [],
  546. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  547. messageSends: ["notNil", "selectedMethod", "model"],
  548. referencedClasses: []
  549. }),
  550. smalltalk.HLMoveMethodToCommand);
  551. smalltalk.addMethod(
  552. "_key",
  553. smalltalk.method({
  554. selector: "key",
  555. category: 'accessing',
  556. fn: function (){
  557. var self=this;
  558. return smalltalk.withContext(function($ctx1) { return (77);
  559. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
  560. args: [],
  561. source: "key\x0a\x09^ 77",
  562. messageSends: [],
  563. referencedClasses: []
  564. }),
  565. smalltalk.HLMoveMethodToCommand.klass);
  566. smalltalk.addMethod(
  567. "_label",
  568. smalltalk.method({
  569. selector: "label",
  570. category: 'accessing',
  571. fn: function (){
  572. var self=this;
  573. return smalltalk.withContext(function($ctx1) { return "Method";
  574. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
  575. args: [],
  576. source: "label\x0a\x09^ 'Method'",
  577. messageSends: [],
  578. referencedClasses: []
  579. }),
  580. smalltalk.HLMoveMethodToCommand.klass);
  581. smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  582. smalltalk.addMethod(
  583. "_displayLabel",
  584. smalltalk.method({
  585. selector: "displayLabel",
  586. category: 'accessing',
  587. fn: function (){
  588. var self=this;
  589. return smalltalk.withContext(function($ctx1) { return "select a class";
  590. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  591. args: [],
  592. source: "displayLabel\x0a\x09^ 'select a class'",
  593. messageSends: [],
  594. referencedClasses: []
  595. }),
  596. smalltalk.HLMoveMethodToClassCommand);
  597. smalltalk.addMethod(
  598. "_execute",
  599. smalltalk.method({
  600. selector: "execute",
  601. category: 'executing',
  602. fn: function (){
  603. var self=this;
  604. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._moveMethodToClass_(_st(self)._input());
  605. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
  606. args: [],
  607. source: "execute\x0a\x09self model moveMethodToClass: self input",
  608. messageSends: ["moveMethodToClass:", "input", "model"],
  609. referencedClasses: []
  610. }),
  611. smalltalk.HLMoveMethodToClassCommand);
  612. smalltalk.addMethod(
  613. "_inputCompletion",
  614. smalltalk.method({
  615. selector: "inputCompletion",
  616. category: 'accessing',
  617. fn: function (){
  618. var self=this;
  619. return smalltalk.withContext(function($ctx1) { var $1;
  620. $1=_st(_st(self)._model())._availableClassNames();
  621. return $1;
  622. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToClassCommand)})},
  623. args: [],
  624. source: "inputCompletion\x0a\x09^ self model availableClassNames",
  625. messageSends: ["availableClassNames", "model"],
  626. referencedClasses: []
  627. }),
  628. smalltalk.HLMoveMethodToClassCommand);
  629. smalltalk.addMethod(
  630. "_inputLabel",
  631. smalltalk.method({
  632. selector: "inputLabel",
  633. category: 'accessing',
  634. fn: function (){
  635. var self=this;
  636. return smalltalk.withContext(function($ctx1) { return "Move method to class:";
  637. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  638. args: [],
  639. source: "inputLabel\x0a\x09^ 'Move method to class:'",
  640. messageSends: [],
  641. referencedClasses: []
  642. }),
  643. smalltalk.HLMoveMethodToClassCommand);
  644. smalltalk.addMethod(
  645. "_isInputRequired",
  646. smalltalk.method({
  647. selector: "isInputRequired",
  648. category: 'testing',
  649. fn: function (){
  650. var self=this;
  651. return smalltalk.withContext(function($ctx1) { return true;
  652. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToClassCommand)})},
  653. args: [],
  654. source: "isInputRequired\x0a\x09^ true",
  655. messageSends: [],
  656. referencedClasses: []
  657. }),
  658. smalltalk.HLMoveMethodToClassCommand);
  659. smalltalk.addMethod(
  660. "_isValidFor_",
  661. smalltalk.method({
  662. selector: "isValidFor:",
  663. category: 'testing',
  664. fn: function (anObject){
  665. var self=this;
  666. return smalltalk.withContext(function($ctx1) {
  667. var $1;
  668. $1=_st(anObject)._isCompiledMethod();
  669. return $1;
  670. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveMethodToClassCommand.klass)})},
  671. args: ["anObject"],
  672. source: "isValidFor: anObject\x0a\x09^ anObject isCompiledMethod",
  673. messageSends: ["isCompiledMethod"],
  674. referencedClasses: []
  675. }),
  676. smalltalk.HLMoveMethodToClassCommand.klass);
  677. smalltalk.addMethod(
  678. "_key",
  679. smalltalk.method({
  680. selector: "key",
  681. category: 'accessing',
  682. fn: function (){
  683. var self=this;
  684. return smalltalk.withContext(function($ctx1) { return (67);
  685. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  686. args: [],
  687. source: "key\x0a\x09^ 67",
  688. messageSends: [],
  689. referencedClasses: []
  690. }),
  691. smalltalk.HLMoveMethodToClassCommand.klass);
  692. smalltalk.addMethod(
  693. "_label",
  694. smalltalk.method({
  695. selector: "label",
  696. category: 'accessing',
  697. fn: function (){
  698. var self=this;
  699. return smalltalk.withContext(function($ctx1) { return "to class";
  700. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  701. args: [],
  702. source: "label\x09\x0a\x09^ 'to class'",
  703. messageSends: [],
  704. referencedClasses: []
  705. }),
  706. smalltalk.HLMoveMethodToClassCommand.klass);
  707. smalltalk.addMethod(
  708. "_menuLabel",
  709. smalltalk.method({
  710. selector: "menuLabel",
  711. category: 'accessing',
  712. fn: function (){
  713. var self=this;
  714. return smalltalk.withContext(function($ctx1) {
  715. return "Move to class...";
  716. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  717. args: [],
  718. source: "menuLabel\x09\x0a\x09^ 'Move to class...'",
  719. messageSends: [],
  720. referencedClasses: []
  721. }),
  722. smalltalk.HLMoveMethodToClassCommand.klass);
  723. smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  724. smalltalk.addMethod(
  725. "_displayLabel",
  726. smalltalk.method({
  727. selector: "displayLabel",
  728. category: 'accessing',
  729. fn: function (){
  730. var self=this;
  731. return smalltalk.withContext(function($ctx1) { return "select a protocol";
  732. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  733. args: [],
  734. source: "displayLabel\x0a\x09^ 'select a protocol'",
  735. messageSends: [],
  736. referencedClasses: []
  737. }),
  738. smalltalk.HLMoveMethodToProtocolCommand);
  739. smalltalk.addMethod(
  740. "_execute",
  741. smalltalk.method({
  742. selector: "execute",
  743. category: 'executing',
  744. fn: function (){
  745. var self=this;
  746. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._moveMethodToProtocol_(_st(self)._input());
  747. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  748. args: [],
  749. source: "execute\x0a\x09self model moveMethodToProtocol: self input",
  750. messageSends: ["moveMethodToProtocol:", "input", "model"],
  751. referencedClasses: []
  752. }),
  753. smalltalk.HLMoveMethodToProtocolCommand);
  754. smalltalk.addMethod(
  755. "_inputCompletion",
  756. smalltalk.method({
  757. selector: "inputCompletion",
  758. category: 'accessing',
  759. fn: function (){
  760. var self=this;
  761. return smalltalk.withContext(function($ctx1) { var $1;
  762. $1=_st(_st(self)._model())._availableProtocols();
  763. return $1;
  764. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  765. args: [],
  766. source: "inputCompletion\x0a\x09^ self model availableProtocols",
  767. messageSends: ["availableProtocols", "model"],
  768. referencedClasses: []
  769. }),
  770. smalltalk.HLMoveMethodToProtocolCommand);
  771. smalltalk.addMethod(
  772. "_inputLabel",
  773. smalltalk.method({
  774. selector: "inputLabel",
  775. category: 'accessing',
  776. fn: function (){
  777. var self=this;
  778. return smalltalk.withContext(function($ctx1) { return "Move method to a protocol:";
  779. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  780. args: [],
  781. source: "inputLabel\x0a\x09^ 'Move method to a protocol:'",
  782. messageSends: [],
  783. referencedClasses: []
  784. }),
  785. smalltalk.HLMoveMethodToProtocolCommand);
  786. smalltalk.addMethod(
  787. "_isInputRequired",
  788. smalltalk.method({
  789. selector: "isInputRequired",
  790. category: 'testing',
  791. fn: function (){
  792. var self=this;
  793. return smalltalk.withContext(function($ctx1) { return true;
  794. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  795. args: [],
  796. source: "isInputRequired\x0a\x09^ true",
  797. messageSends: [],
  798. referencedClasses: []
  799. }),
  800. smalltalk.HLMoveMethodToProtocolCommand);
  801. smalltalk.addMethod(
  802. "_isValidFor_",
  803. smalltalk.method({
  804. selector: "isValidFor:",
  805. category: 'testing',
  806. fn: function (anObject){
  807. var self=this;
  808. return smalltalk.withContext(function($ctx1) {
  809. var $1;
  810. $1=_st(anObject)._isCompiledMethod();
  811. return $1;
  812. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  813. args: ["anObject"],
  814. source: "isValidFor: anObject\x0a\x09^ anObject isCompiledMethod",
  815. messageSends: ["isCompiledMethod"],
  816. referencedClasses: []
  817. }),
  818. smalltalk.HLMoveMethodToProtocolCommand.klass);
  819. smalltalk.addMethod(
  820. "_key",
  821. smalltalk.method({
  822. selector: "key",
  823. category: 'accessing',
  824. fn: function (){
  825. var self=this;
  826. return smalltalk.withContext(function($ctx1) { return (84);
  827. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  828. args: [],
  829. source: "key\x0a\x09^ 84",
  830. messageSends: [],
  831. referencedClasses: []
  832. }),
  833. smalltalk.HLMoveMethodToProtocolCommand.klass);
  834. smalltalk.addMethod(
  835. "_label",
  836. smalltalk.method({
  837. selector: "label",
  838. category: 'accessing',
  839. fn: function (){
  840. var self=this;
  841. return smalltalk.withContext(function($ctx1) { return "to protocol";
  842. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  843. args: [],
  844. source: "label\x0a\x09^ 'to protocol'",
  845. messageSends: [],
  846. referencedClasses: []
  847. }),
  848. smalltalk.HLMoveMethodToProtocolCommand.klass);
  849. smalltalk.addMethod(
  850. "_menuLabel",
  851. smalltalk.method({
  852. selector: "menuLabel",
  853. category: 'accessing',
  854. fn: function (){
  855. var self=this;
  856. return smalltalk.withContext(function($ctx1) {
  857. return "Move to protocol...";
  858. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  859. args: [],
  860. source: "menuLabel\x0a\x09^ 'Move to protocol...'",
  861. messageSends: [],
  862. referencedClasses: []
  863. }),
  864. smalltalk.HLMoveMethodToProtocolCommand.klass);
  865. smalltalk.addClass('HLRemoveCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  866. smalltalk.addMethod(
  867. "_key",
  868. smalltalk.method({
  869. selector: "key",
  870. category: 'accessing',
  871. fn: function (){
  872. var self=this;
  873. return smalltalk.withContext(function($ctx1) { return (88);
  874. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveCommand.klass)})},
  875. args: [],
  876. source: "key\x0a\x09^ 88",
  877. messageSends: [],
  878. referencedClasses: []
  879. }),
  880. smalltalk.HLRemoveCommand.klass);
  881. smalltalk.addMethod(
  882. "_label",
  883. smalltalk.method({
  884. selector: "label",
  885. category: 'accessing',
  886. fn: function (){
  887. var self=this;
  888. return smalltalk.withContext(function($ctx1) { return "Remove";
  889. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveCommand.klass)})},
  890. args: [],
  891. source: "label\x0a\x09^ 'Remove'",
  892. messageSends: [],
  893. referencedClasses: []
  894. }),
  895. smalltalk.HLRemoveCommand.klass);
  896. smalltalk.addClass('HLRemoveMethodCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Browser');
  897. smalltalk.addMethod(
  898. "_execute",
  899. smalltalk.method({
  900. selector: "execute",
  901. category: 'executing',
  902. fn: function (){
  903. var self=this;
  904. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._removeMethod();
  905. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveMethodCommand)})},
  906. args: [],
  907. source: "execute\x0a\x09self model removeMethod",
  908. messageSends: ["removeMethod", "model"],
  909. referencedClasses: []
  910. }),
  911. smalltalk.HLRemoveMethodCommand);
  912. smalltalk.addMethod(
  913. "_isActive",
  914. smalltalk.method({
  915. selector: "isActive",
  916. category: 'testing',
  917. fn: function (){
  918. var self=this;
  919. return smalltalk.withContext(function($ctx1) { var $1;
  920. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  921. return $1;
  922. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveMethodCommand)})},
  923. args: [],
  924. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  925. messageSends: ["notNil", "selectedMethod", "model"],
  926. referencedClasses: []
  927. }),
  928. smalltalk.HLRemoveMethodCommand);
  929. smalltalk.addMethod(
  930. "_isValidFor_",
  931. smalltalk.method({
  932. selector: "isValidFor:",
  933. category: 'accessing',
  934. fn: function (anObject){
  935. var self=this;
  936. return smalltalk.withContext(function($ctx1) {
  937. var $1;
  938. $1=_st(anObject)._isCompiledMethod();
  939. return $1;
  940. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLRemoveMethodCommand.klass)})},
  941. args: ["anObject"],
  942. source: "isValidFor: anObject\x0a\x09^ anObject isCompiledMethod",
  943. messageSends: ["isCompiledMethod"],
  944. referencedClasses: []
  945. }),
  946. smalltalk.HLRemoveMethodCommand.klass);
  947. smalltalk.addMethod(
  948. "_key",
  949. smalltalk.method({
  950. selector: "key",
  951. category: 'testing',
  952. fn: function (){
  953. var self=this;
  954. return smalltalk.withContext(function($ctx1) { return (77);
  955. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveMethodCommand.klass)})},
  956. args: [],
  957. source: "key\x0a\x09^ 77",
  958. messageSends: [],
  959. referencedClasses: []
  960. }),
  961. smalltalk.HLRemoveMethodCommand.klass);
  962. smalltalk.addMethod(
  963. "_label",
  964. smalltalk.method({
  965. selector: "label",
  966. category: 'accessing',
  967. fn: function (){
  968. var self=this;
  969. return smalltalk.withContext(function($ctx1) { return "Method";
  970. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveMethodCommand.klass)})},
  971. args: [],
  972. source: "label\x0a\x09^ 'Method'",
  973. messageSends: [],
  974. referencedClasses: []
  975. }),
  976. smalltalk.HLRemoveMethodCommand.klass);
  977. smalltalk.addMethod(
  978. "_menuLabel",
  979. smalltalk.method({
  980. selector: "menuLabel",
  981. category: 'accessing',
  982. fn: function (){
  983. var self=this;
  984. return smalltalk.withContext(function($ctx1) {
  985. return "Remove method";
  986. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveMethodCommand.klass)})},
  987. args: [],
  988. source: "menuLabel\x0a\x09^ 'Remove method'",
  989. messageSends: [],
  990. referencedClasses: []
  991. }),
  992. smalltalk.HLRemoveMethodCommand.klass);
  993. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  994. smalltalk.addMethod(
  995. "_key",
  996. smalltalk.method({
  997. selector: "key",
  998. category: 'accessing',
  999. fn: function (){
  1000. var self=this;
  1001. return smalltalk.withContext(function($ctx1) { return (84);
  1002. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
  1003. args: [],
  1004. source: "key\x0a\x09^ 84",
  1005. messageSends: [],
  1006. referencedClasses: []
  1007. }),
  1008. smalltalk.HLToggleCommand.klass);
  1009. smalltalk.addMethod(
  1010. "_label",
  1011. smalltalk.method({
  1012. selector: "label",
  1013. category: 'accessing',
  1014. fn: function (){
  1015. var self=this;
  1016. return smalltalk.withContext(function($ctx1) { return "Toggle";
  1017. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
  1018. args: [],
  1019. source: "label\x0a\x09^ 'Toggle'",
  1020. messageSends: [],
  1021. referencedClasses: []
  1022. }),
  1023. smalltalk.HLToggleCommand.klass);
  1024. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1025. smalltalk.addMethod(
  1026. "_execute",
  1027. smalltalk.method({
  1028. selector: "execute",
  1029. category: 'executing',
  1030. fn: function (){
  1031. var self=this;
  1032. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._showInstance_(false);
  1033. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
  1034. args: [],
  1035. source: "execute\x0a\x09self model showInstance: false",
  1036. messageSends: ["showInstance:", "model"],
  1037. referencedClasses: []
  1038. }),
  1039. smalltalk.HLToggleClassSideCommand);
  1040. smalltalk.addMethod(
  1041. "_key",
  1042. smalltalk.method({
  1043. selector: "key",
  1044. category: 'accessing',
  1045. fn: function (){
  1046. var self=this;
  1047. return smalltalk.withContext(function($ctx1) { return (67);
  1048. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1049. args: [],
  1050. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  1051. messageSends: [],
  1052. referencedClasses: []
  1053. }),
  1054. smalltalk.HLToggleClassSideCommand.klass);
  1055. smalltalk.addMethod(
  1056. "_label",
  1057. smalltalk.method({
  1058. selector: "label",
  1059. category: 'accessing',
  1060. fn: function (){
  1061. var self=this;
  1062. return smalltalk.withContext(function($ctx1) { return "Class side";
  1063. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1064. args: [],
  1065. source: "label\x0a\x09^ 'Class side'",
  1066. messageSends: [],
  1067. referencedClasses: []
  1068. }),
  1069. smalltalk.HLToggleClassSideCommand.klass);
  1070. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1071. smalltalk.addMethod(
  1072. "_execute",
  1073. smalltalk.method({
  1074. selector: "execute",
  1075. category: 'executing',
  1076. fn: function (){
  1077. var self=this;
  1078. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._showInstance_(true);
  1079. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
  1080. args: [],
  1081. source: "execute\x0a\x09self model showInstance: true",
  1082. messageSends: ["showInstance:", "model"],
  1083. referencedClasses: []
  1084. }),
  1085. smalltalk.HLToggleInstanceSideCommand);
  1086. smalltalk.addMethod(
  1087. "_key",
  1088. smalltalk.method({
  1089. selector: "key",
  1090. category: 'accessing',
  1091. fn: function (){
  1092. var self=this;
  1093. return smalltalk.withContext(function($ctx1) { return (73);
  1094. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1095. args: [],
  1096. source: "key\x0a\x09\x22i\x22\x0a \x0a\x09^ 73",
  1097. messageSends: [],
  1098. referencedClasses: []
  1099. }),
  1100. smalltalk.HLToggleInstanceSideCommand.klass);
  1101. smalltalk.addMethod(
  1102. "_label",
  1103. smalltalk.method({
  1104. selector: "label",
  1105. category: 'accessing',
  1106. fn: function (){
  1107. var self=this;
  1108. return smalltalk.withContext(function($ctx1) { return "Instance side";
  1109. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1110. args: [],
  1111. source: "label\x0a\x09^ 'Instance side'",
  1112. messageSends: [],
  1113. referencedClasses: []
  1114. }),
  1115. smalltalk.HLToggleInstanceSideCommand.klass);