1
0

Helios-Commands.js 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  1. smalltalk.addPackage('Helios-Commands');
  2. smalltalk.addClass('HLCommand', smalltalk.Object, [], 'Helios-Commands');
  3. smalltalk.addMethod(
  4. "_asBinding",
  5. smalltalk.method({
  6. selector: "asBinding",
  7. category: 'converting',
  8. fn: function (){
  9. var self=this;
  10. return smalltalk.withContext(function($ctx1) { var $1;
  11. $1=_st(_st((smalltalk.HLBindingAction || HLBindingAction))._on_labelled_(_st(self)._key(),_st(self)._label()))._callback_((function(){
  12. return smalltalk.withContext(function($ctx2) { return _st(self)._execute();
  13. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
  14. return $1;
  15. }, function($ctx1) {$ctx1.fill(self,"asBinding",{}, smalltalk.HLCommand)})},
  16. args: [],
  17. source: "asBinding\x0a\x09^ (HLBindingAction on: self key labelled: self label)\x0a \x09callback: [ self execute ]",
  18. messageSends: ["callback:", "execute", "on:labelled:", "key", "label"],
  19. referencedClasses: ["HLBindingAction"]
  20. }),
  21. smalltalk.HLCommand);
  22. smalltalk.addMethod(
  23. "_documentation",
  24. smalltalk.method({
  25. selector: "documentation",
  26. category: 'accessing',
  27. fn: function (){
  28. var self=this;
  29. return smalltalk.withContext(function($ctx1) { var $1;
  30. $1=_st(_st(self)._class())._documentation();
  31. return $1;
  32. }, function($ctx1) {$ctx1.fill(self,"documentation",{}, smalltalk.HLCommand)})},
  33. args: [],
  34. source: "documentation\x0a\x09^ self class documentation",
  35. messageSends: ["documentation", "class"],
  36. referencedClasses: []
  37. }),
  38. smalltalk.HLCommand);
  39. smalltalk.addMethod(
  40. "_execute",
  41. smalltalk.method({
  42. selector: "execute",
  43. category: 'executing',
  44. fn: function (){
  45. var self=this;
  46. return smalltalk.withContext(function($ctx1) { return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCommand)})},
  47. args: [],
  48. source: "execute\x0a\x09",
  49. messageSends: [],
  50. referencedClasses: []
  51. }),
  52. smalltalk.HLCommand);
  53. smalltalk.addMethod(
  54. "_key",
  55. smalltalk.method({
  56. selector: "key",
  57. category: 'accessing',
  58. fn: function (){
  59. var self=this;
  60. return smalltalk.withContext(function($ctx1) { var $1;
  61. $1=_st(_st(self)._class())._key();
  62. return $1;
  63. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLCommand)})},
  64. args: [],
  65. source: "key\x0a\x09^ self class key",
  66. messageSends: ["key", "class"],
  67. referencedClasses: []
  68. }),
  69. smalltalk.HLCommand);
  70. smalltalk.addMethod(
  71. "_label",
  72. smalltalk.method({
  73. selector: "label",
  74. category: 'accessing',
  75. fn: function (){
  76. var self=this;
  77. return smalltalk.withContext(function($ctx1) { var $1;
  78. $1=_st(_st(self)._class())._label();
  79. return $1;
  80. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCommand)})},
  81. args: [],
  82. source: "label\x0a\x09^ self class label",
  83. messageSends: ["label", "class"],
  84. referencedClasses: []
  85. }),
  86. smalltalk.HLCommand);
  87. smalltalk.addMethod(
  88. "_bindingGroup",
  89. smalltalk.method({
  90. selector: "bindingGroup",
  91. category: 'accessing',
  92. fn: function (){
  93. var self=this;
  94. return smalltalk.withContext(function($ctx1) { return nil;
  95. }, function($ctx1) {$ctx1.fill(self,"bindingGroup",{}, smalltalk.HLCommand.klass)})},
  96. args: [],
  97. source: "bindingGroup\x0a\x09^ nil",
  98. messageSends: [],
  99. referencedClasses: []
  100. }),
  101. smalltalk.HLCommand.klass);
  102. smalltalk.addMethod(
  103. "_documentation",
  104. smalltalk.method({
  105. selector: "documentation",
  106. category: 'accessing',
  107. fn: function (){
  108. var self=this;
  109. return smalltalk.withContext(function($ctx1) { return "";
  110. }, function($ctx1) {$ctx1.fill(self,"documentation",{}, smalltalk.HLCommand.klass)})},
  111. args: [],
  112. source: "documentation\x0a\x09^ ''",
  113. messageSends: [],
  114. referencedClasses: []
  115. }),
  116. smalltalk.HLCommand.klass);
  117. smalltalk.addMethod(
  118. "_key",
  119. smalltalk.method({
  120. selector: "key",
  121. category: 'accessing',
  122. fn: function (){
  123. var self=this;
  124. return smalltalk.withContext(function($ctx1) { return nil;
  125. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLCommand.klass)})},
  126. args: [],
  127. source: "key\x0a\x09^ nil",
  128. messageSends: [],
  129. referencedClasses: []
  130. }),
  131. smalltalk.HLCommand.klass);
  132. smalltalk.addMethod(
  133. "_label",
  134. smalltalk.method({
  135. selector: "label",
  136. category: 'accessing',
  137. fn: function (){
  138. var self=this;
  139. return smalltalk.withContext(function($ctx1) { return "";
  140. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCommand.klass)})},
  141. args: [],
  142. source: "label\x0a\x09^ ''",
  143. messageSends: [],
  144. referencedClasses: []
  145. }),
  146. smalltalk.HLCommand.klass);
  147. smalltalk.addClass('HLBrowserCommand', smalltalk.HLCommand, ['model'], 'Helios-Commands');
  148. smalltalk.addMethod(
  149. "_model",
  150. smalltalk.method({
  151. selector: "model",
  152. category: 'accessing',
  153. fn: function (){
  154. var self=this;
  155. return smalltalk.withContext(function($ctx1) { var $1;
  156. $1=self["@model"];
  157. return $1;
  158. }, function($ctx1) {$ctx1.fill(self,"model",{}, smalltalk.HLBrowserCommand)})},
  159. args: [],
  160. source: "model\x0a\x09^ model",
  161. messageSends: [],
  162. referencedClasses: []
  163. }),
  164. smalltalk.HLBrowserCommand);
  165. smalltalk.addMethod(
  166. "_model_",
  167. smalltalk.method({
  168. selector: "model:",
  169. category: 'accessing',
  170. fn: function (aBrowserModel){
  171. var self=this;
  172. return smalltalk.withContext(function($ctx1) { self["@model"]=aBrowserModel;
  173. return self}, function($ctx1) {$ctx1.fill(self,"model:",{aBrowserModel:aBrowserModel}, smalltalk.HLBrowserCommand)})},
  174. args: ["aBrowserModel"],
  175. source: "model: aBrowserModel\x0a\x09model := aBrowserModel",
  176. messageSends: [],
  177. referencedClasses: []
  178. }),
  179. smalltalk.HLBrowserCommand);
  180. smalltalk.addMethod(
  181. "_on_",
  182. smalltalk.method({
  183. selector: "on:",
  184. category: 'instance creation',
  185. fn: function (aBrowserModel){
  186. var self=this;
  187. return smalltalk.withContext(function($ctx1) { var $2,$3,$1;
  188. $2=_st(self)._new();
  189. _st($2)._model_(aBrowserModel);
  190. $3=_st($2)._yourself();
  191. $1=$3;
  192. return $1;
  193. }, function($ctx1) {$ctx1.fill(self,"on:",{aBrowserModel:aBrowserModel}, smalltalk.HLBrowserCommand.klass)})},
  194. args: ["aBrowserModel"],
  195. source: "on: aBrowserModel\x0a\x09^ self new\x0a \x09model: aBrowserModel;\x0a yourself",
  196. messageSends: ["model:", "new", "yourself"],
  197. referencedClasses: []
  198. }),
  199. smalltalk.HLBrowserCommand.klass);
  200. smalltalk.addClass('HLGoToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands');
  201. smalltalk.addMethod(
  202. "_bindingGroup",
  203. smalltalk.method({
  204. selector: "bindingGroup",
  205. category: 'accessing',
  206. fn: function (){
  207. var self=this;
  208. return smalltalk.withContext(function($ctx1) { return "Go to";
  209. }, function($ctx1) {$ctx1.fill(self,"bindingGroup",{}, smalltalk.HLGoToCommand.klass)})},
  210. args: [],
  211. source: "bindingGroup\x0a\x09^ 'Go to'",
  212. messageSends: [],
  213. referencedClasses: []
  214. }),
  215. smalltalk.HLGoToCommand.klass);
  216. smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  217. smalltalk.addMethod(
  218. "_execute",
  219. smalltalk.method({
  220. selector: "execute",
  221. category: 'executing',
  222. fn: function (){
  223. var self=this;
  224. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnClasses();
  225. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLGoToClassesCommand)})},
  226. args: [],
  227. source: "execute\x0a\x09self model focusOnClasses",
  228. messageSends: ["focusOnClasses", "model"],
  229. referencedClasses: []
  230. }),
  231. smalltalk.HLGoToClassesCommand);
  232. smalltalk.addMethod(
  233. "_key",
  234. smalltalk.method({
  235. selector: "key",
  236. category: 'accessing',
  237. fn: function (){
  238. var self=this;
  239. return smalltalk.withContext(function($ctx1) { return (67);
  240. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLGoToClassesCommand.klass)})},
  241. args: [],
  242. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  243. messageSends: [],
  244. referencedClasses: []
  245. }),
  246. smalltalk.HLGoToClassesCommand.klass);
  247. smalltalk.addMethod(
  248. "_label",
  249. smalltalk.method({
  250. selector: "label",
  251. category: 'accessing',
  252. fn: function (){
  253. var self=this;
  254. return smalltalk.withContext(function($ctx1) { return "Classes";
  255. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLGoToClassesCommand.klass)})},
  256. args: [],
  257. source: "label\x0a\x09^ 'Classes'",
  258. messageSends: [],
  259. referencedClasses: []
  260. }),
  261. smalltalk.HLGoToClassesCommand.klass);
  262. smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  263. smalltalk.addMethod(
  264. "_execute",
  265. smalltalk.method({
  266. selector: "execute",
  267. category: 'executing',
  268. fn: function (){
  269. var self=this;
  270. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnMethods();
  271. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLGoToMethodsCommand)})},
  272. args: [],
  273. source: "execute\x0a\x09self model focusOnMethods",
  274. messageSends: ["focusOnMethods", "model"],
  275. referencedClasses: []
  276. }),
  277. smalltalk.HLGoToMethodsCommand);
  278. smalltalk.addMethod(
  279. "_key",
  280. smalltalk.method({
  281. selector: "key",
  282. category: 'accessing',
  283. fn: function (){
  284. var self=this;
  285. return smalltalk.withContext(function($ctx1) { return (77);
  286. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLGoToMethodsCommand.klass)})},
  287. args: [],
  288. source: "key\x0a\x09\x22m\x22\x0a \x0a\x09^ 77",
  289. messageSends: [],
  290. referencedClasses: []
  291. }),
  292. smalltalk.HLGoToMethodsCommand.klass);
  293. smalltalk.addMethod(
  294. "_label",
  295. smalltalk.method({
  296. selector: "label",
  297. category: 'accessing',
  298. fn: function (){
  299. var self=this;
  300. return smalltalk.withContext(function($ctx1) { return "Methods";
  301. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLGoToMethodsCommand.klass)})},
  302. args: [],
  303. source: "label\x0a\x09^ 'Methods'",
  304. messageSends: [],
  305. referencedClasses: []
  306. }),
  307. smalltalk.HLGoToMethodsCommand.klass);
  308. smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  309. smalltalk.addMethod(
  310. "_execute",
  311. smalltalk.method({
  312. selector: "execute",
  313. category: 'executing',
  314. fn: function (){
  315. var self=this;
  316. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnPackages();
  317. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLGoToPackagesCommand)})},
  318. args: [],
  319. source: "execute\x0a\x09self model focusOnPackages",
  320. messageSends: ["focusOnPackages", "model"],
  321. referencedClasses: []
  322. }),
  323. smalltalk.HLGoToPackagesCommand);
  324. smalltalk.addMethod(
  325. "_key",
  326. smalltalk.method({
  327. selector: "key",
  328. category: 'accessing',
  329. fn: function (){
  330. var self=this;
  331. return smalltalk.withContext(function($ctx1) { return (80);
  332. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLGoToPackagesCommand.klass)})},
  333. args: [],
  334. source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 80",
  335. messageSends: [],
  336. referencedClasses: []
  337. }),
  338. smalltalk.HLGoToPackagesCommand.klass);
  339. smalltalk.addMethod(
  340. "_label",
  341. smalltalk.method({
  342. selector: "label",
  343. category: 'accessing',
  344. fn: function (){
  345. var self=this;
  346. return smalltalk.withContext(function($ctx1) { return "Packages";
  347. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLGoToPackagesCommand.klass)})},
  348. args: [],
  349. source: "label\x0a\x09^ 'Packages'",
  350. messageSends: [],
  351. referencedClasses: []
  352. }),
  353. smalltalk.HLGoToPackagesCommand.klass);
  354. smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  355. smalltalk.addMethod(
  356. "_execute",
  357. smalltalk.method({
  358. selector: "execute",
  359. category: 'executing',
  360. fn: function (){
  361. var self=this;
  362. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnProtocols();
  363. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLGoToProtocolsCommand)})},
  364. args: [],
  365. source: "execute\x0a\x09self model focusOnProtocols",
  366. messageSends: ["focusOnProtocols", "model"],
  367. referencedClasses: []
  368. }),
  369. smalltalk.HLGoToProtocolsCommand);
  370. smalltalk.addMethod(
  371. "_key",
  372. smalltalk.method({
  373. selector: "key",
  374. category: 'accessing',
  375. fn: function (){
  376. var self=this;
  377. return smalltalk.withContext(function($ctx1) { return (84);
  378. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLGoToProtocolsCommand.klass)})},
  379. args: [],
  380. source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 84",
  381. messageSends: [],
  382. referencedClasses: []
  383. }),
  384. smalltalk.HLGoToProtocolsCommand.klass);
  385. smalltalk.addMethod(
  386. "_label",
  387. smalltalk.method({
  388. selector: "label",
  389. category: 'accessing',
  390. fn: function (){
  391. var self=this;
  392. return smalltalk.withContext(function($ctx1) { return "Protocols";
  393. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLGoToProtocolsCommand.klass)})},
  394. args: [],
  395. source: "label\x0a\x09^ 'Protocols'",
  396. messageSends: [],
  397. referencedClasses: []
  398. }),
  399. smalltalk.HLGoToProtocolsCommand.klass);
  400. smalltalk.addClass('HLGoToSourceCodeCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  401. smalltalk.addMethod(
  402. "_execute",
  403. smalltalk.method({
  404. selector: "execute",
  405. category: 'executing',
  406. fn: function (){
  407. var self=this;
  408. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._focusOnSourceCode();
  409. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLGoToSourceCodeCommand)})},
  410. args: [],
  411. source: "execute\x0a\x09self model focusOnSourceCode",
  412. messageSends: ["focusOnSourceCode", "model"],
  413. referencedClasses: []
  414. }),
  415. smalltalk.HLGoToSourceCodeCommand);
  416. smalltalk.addMethod(
  417. "_key",
  418. smalltalk.method({
  419. selector: "key",
  420. category: 'accessing',
  421. fn: function (){
  422. var self=this;
  423. return smalltalk.withContext(function($ctx1) { return (83);
  424. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLGoToSourceCodeCommand.klass)})},
  425. args: [],
  426. source: "key\x0a\x09\x22s\x22\x0a \x0a\x09^ 83",
  427. messageSends: [],
  428. referencedClasses: []
  429. }),
  430. smalltalk.HLGoToSourceCodeCommand.klass);
  431. smalltalk.addMethod(
  432. "_label",
  433. smalltalk.method({
  434. selector: "label",
  435. category: 'accessing',
  436. fn: function (){
  437. var self=this;
  438. return smalltalk.withContext(function($ctx1) { return "Source code";
  439. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLGoToSourceCodeCommand.klass)})},
  440. args: [],
  441. source: "label\x0a\x09^ 'Source code'",
  442. messageSends: [],
  443. referencedClasses: []
  444. }),
  445. smalltalk.HLGoToSourceCodeCommand.klass);
  446. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands');
  447. smalltalk.addMethod(
  448. "_bindingGroup",
  449. smalltalk.method({
  450. selector: "bindingGroup",
  451. category: 'accessing',
  452. fn: function (){
  453. var self=this;
  454. return smalltalk.withContext(function($ctx1) { return "Toggle";
  455. }, function($ctx1) {$ctx1.fill(self,"bindingGroup",{}, smalltalk.HLToggleCommand.klass)})},
  456. args: [],
  457. source: "bindingGroup\x0a\x09^ 'Toggle'",
  458. messageSends: [],
  459. referencedClasses: []
  460. }),
  461. smalltalk.HLToggleCommand.klass);
  462. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands');
  463. smalltalk.addMethod(
  464. "_execute",
  465. smalltalk.method({
  466. selector: "execute",
  467. category: 'executing',
  468. fn: function (){
  469. var self=this;
  470. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._showInstance_(false);
  471. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLToggleClassSideCommand)})},
  472. args: [],
  473. source: "execute\x0a\x09self model showInstance: false",
  474. messageSends: ["showInstance:", "model"],
  475. referencedClasses: []
  476. }),
  477. smalltalk.HLToggleClassSideCommand);
  478. smalltalk.addMethod(
  479. "_key",
  480. smalltalk.method({
  481. selector: "key",
  482. category: 'accessing',
  483. fn: function (){
  484. var self=this;
  485. return smalltalk.withContext(function($ctx1) { return (67);
  486. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLToggleClassSideCommand.klass)})},
  487. args: [],
  488. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  489. messageSends: [],
  490. referencedClasses: []
  491. }),
  492. smalltalk.HLToggleClassSideCommand.klass);
  493. smalltalk.addMethod(
  494. "_label",
  495. smalltalk.method({
  496. selector: "label",
  497. category: 'accessing',
  498. fn: function (){
  499. var self=this;
  500. return smalltalk.withContext(function($ctx1) { return "Class side";
  501. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLToggleClassSideCommand.klass)})},
  502. args: [],
  503. source: "label\x0a\x09^ 'Class side'",
  504. messageSends: [],
  505. referencedClasses: []
  506. }),
  507. smalltalk.HLToggleClassSideCommand.klass);
  508. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands');
  509. smalltalk.addMethod(
  510. "_execute",
  511. smalltalk.method({
  512. selector: "execute",
  513. category: 'executing',
  514. fn: function (){
  515. var self=this;
  516. return smalltalk.withContext(function($ctx1) { _st(_st(self)._model())._showInstance_(true);
  517. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLToggleInstanceSideCommand)})},
  518. args: [],
  519. source: "execute\x0a\x09self model showInstance: true",
  520. messageSends: ["showInstance:", "model"],
  521. referencedClasses: []
  522. }),
  523. smalltalk.HLToggleInstanceSideCommand);
  524. smalltalk.addMethod(
  525. "_key",
  526. smalltalk.method({
  527. selector: "key",
  528. category: 'accessing',
  529. fn: function (){
  530. var self=this;
  531. return smalltalk.withContext(function($ctx1) { return (73);
  532. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLToggleInstanceSideCommand.klass)})},
  533. args: [],
  534. source: "key\x0a\x09\x22i\x22\x0a \x0a\x09^ 73",
  535. messageSends: [],
  536. referencedClasses: []
  537. }),
  538. smalltalk.HLToggleInstanceSideCommand.klass);
  539. smalltalk.addMethod(
  540. "_label",
  541. smalltalk.method({
  542. selector: "label",
  543. category: 'accessing',
  544. fn: function (){
  545. var self=this;
  546. return smalltalk.withContext(function($ctx1) { return "Instance side";
  547. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLToggleInstanceSideCommand.klass)})},
  548. args: [],
  549. source: "label\x0a\x09^ 'Instance side'",
  550. messageSends: [],
  551. referencedClasses: []
  552. }),
  553. smalltalk.HLToggleInstanceSideCommand.klass);
  554. smalltalk.addClass('HLCloseTabCommand', smalltalk.HLCommand, [], 'Helios-Commands');
  555. smalltalk.addMethod(
  556. "_execute",
  557. smalltalk.method({
  558. selector: "execute",
  559. category: 'executing',
  560. fn: function (){
  561. var self=this;
  562. return smalltalk.withContext(function($ctx1) { _st(_st((smalltalk.HLManager || HLManager))._current())._removeActiveTab();
  563. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCloseTabCommand)})},
  564. args: [],
  565. source: "execute\x0a\x09HLManager current removeActiveTab",
  566. messageSends: ["removeActiveTab", "current"],
  567. referencedClasses: ["HLManager"]
  568. }),
  569. smalltalk.HLCloseTabCommand);
  570. smalltalk.addMethod(
  571. "_bindingGroup",
  572. smalltalk.method({
  573. selector: "bindingGroup",
  574. category: 'accessing',
  575. fn: function (){
  576. var self=this;
  577. return smalltalk.withContext(function($ctx1) { return "Close";
  578. }, function($ctx1) {$ctx1.fill(self,"bindingGroup",{}, smalltalk.HLCloseTabCommand.klass)})},
  579. args: [],
  580. source: "bindingGroup\x0a\x09^ 'Close'",
  581. messageSends: [],
  582. referencedClasses: []
  583. }),
  584. smalltalk.HLCloseTabCommand.klass);
  585. smalltalk.addMethod(
  586. "_key",
  587. smalltalk.method({
  588. selector: "key",
  589. category: 'accessing',
  590. fn: function (){
  591. var self=this;
  592. return smalltalk.withContext(function($ctx1) { return (67);
  593. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLCloseTabCommand.klass)})},
  594. args: [],
  595. source: "key\x0a\x09^ 67",
  596. messageSends: [],
  597. referencedClasses: []
  598. }),
  599. smalltalk.HLCloseTabCommand.klass);
  600. smalltalk.addMethod(
  601. "_label",
  602. smalltalk.method({
  603. selector: "label",
  604. category: 'accessing',
  605. fn: function (){
  606. var self=this;
  607. return smalltalk.withContext(function($ctx1) { return "Close tab";
  608. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCloseTabCommand.klass)})},
  609. args: [],
  610. source: "label\x0a\x09^ 'Close tab'",
  611. messageSends: [],
  612. referencedClasses: []
  613. }),
  614. smalltalk.HLCloseTabCommand.klass);
  615. smalltalk.addClass('HLOpenCommand', smalltalk.HLCommand, [], 'Helios-Commands');
  616. smalltalk.addMethod(
  617. "_bindingGroup",
  618. smalltalk.method({
  619. selector: "bindingGroup",
  620. category: 'accessing',
  621. fn: function (){
  622. var self=this;
  623. return smalltalk.withContext(function($ctx1) { return "Open";
  624. }, function($ctx1) {$ctx1.fill(self,"bindingGroup",{}, smalltalk.HLOpenCommand.klass)})},
  625. args: [],
  626. source: "bindingGroup\x0a\x09^ 'Open'",
  627. messageSends: [],
  628. referencedClasses: []
  629. }),
  630. smalltalk.HLOpenCommand.klass);
  631. smalltalk.addClass('HLOpenBrowserCommand', smalltalk.HLOpenCommand, [], 'Helios-Commands');
  632. smalltalk.addMethod(
  633. "_execute",
  634. smalltalk.method({
  635. selector: "execute",
  636. category: 'executing',
  637. fn: function (){
  638. var self=this;
  639. return smalltalk.withContext(function($ctx1) { var $1;
  640. $1=_st((smalltalk.HLBrowser || HLBrowser))._openAsTab();
  641. return $1;
  642. }, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLOpenBrowserCommand)})},
  643. args: [],
  644. source: "execute\x0a\x09^ HLBrowser openAsTab",
  645. messageSends: ["openAsTab"],
  646. referencedClasses: ["HLBrowser"]
  647. }),
  648. smalltalk.HLOpenBrowserCommand);
  649. smalltalk.addMethod(
  650. "_key",
  651. smalltalk.method({
  652. selector: "key",
  653. category: 'accessing',
  654. fn: function (){
  655. var self=this;
  656. return smalltalk.withContext(function($ctx1) { return (66);
  657. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenBrowserCommand.klass)})},
  658. args: [],
  659. source: "key\x0a\x09^ 66",
  660. messageSends: [],
  661. referencedClasses: []
  662. }),
  663. smalltalk.HLOpenBrowserCommand.klass);
  664. smalltalk.addMethod(
  665. "_label",
  666. smalltalk.method({
  667. selector: "label",
  668. category: 'accessing',
  669. fn: function (){
  670. var self=this;
  671. return smalltalk.withContext(function($ctx1) { return "Browser";
  672. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenBrowserCommand.klass)})},
  673. args: [],
  674. source: "label\x0a\x09^ 'Browser'",
  675. messageSends: [],
  676. referencedClasses: []
  677. }),
  678. smalltalk.HLOpenBrowserCommand.klass);
  679. smalltalk.addClass('HLOpenTranscriptCommand', smalltalk.HLOpenCommand, [], 'Helios-Commands');
  680. smalltalk.addMethod(
  681. "_execute",
  682. smalltalk.method({
  683. selector: "execute",
  684. category: 'executing',
  685. fn: function (){
  686. var self=this;
  687. return smalltalk.withContext(function($ctx1) { var $1;
  688. $1=_st((smalltalk.HLTranscript || HLTranscript))._openAsTab();
  689. return $1;
  690. }, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLOpenTranscriptCommand)})},
  691. args: [],
  692. source: "execute\x0a\x09^ HLTranscript openAsTab",
  693. messageSends: ["openAsTab"],
  694. referencedClasses: ["HLTranscript"]
  695. }),
  696. smalltalk.HLOpenTranscriptCommand);
  697. smalltalk.addMethod(
  698. "_key",
  699. smalltalk.method({
  700. selector: "key",
  701. category: 'accessing',
  702. fn: function (){
  703. var self=this;
  704. return smalltalk.withContext(function($ctx1) { return (84);
  705. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenTranscriptCommand.klass)})},
  706. args: [],
  707. source: "key\x0a\x09^ 84",
  708. messageSends: [],
  709. referencedClasses: []
  710. }),
  711. smalltalk.HLOpenTranscriptCommand.klass);
  712. smalltalk.addMethod(
  713. "_label",
  714. smalltalk.method({
  715. selector: "label",
  716. category: 'accessing',
  717. fn: function (){
  718. var self=this;
  719. return smalltalk.withContext(function($ctx1) { return "Transcript";
  720. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenTranscriptCommand.klass)})},
  721. args: [],
  722. source: "label\x0a\x09^ 'Transcript'",
  723. messageSends: [],
  724. referencedClasses: []
  725. }),
  726. smalltalk.HLOpenTranscriptCommand.klass);
  727. smalltalk.addClass('HLOpenWorkspaceCommand', smalltalk.HLOpenCommand, [], 'Helios-Commands');
  728. smalltalk.addMethod(
  729. "_execute",
  730. smalltalk.method({
  731. selector: "execute",
  732. category: 'executing',
  733. fn: function (){
  734. var self=this;
  735. return smalltalk.withContext(function($ctx1) { var $1;
  736. $1=_st((smalltalk.HLWorkspace || HLWorkspace))._openAsTab();
  737. return $1;
  738. }, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLOpenWorkspaceCommand)})},
  739. args: [],
  740. source: "execute\x0a\x09^ HLWorkspace openAsTab",
  741. messageSends: ["openAsTab"],
  742. referencedClasses: ["HLWorkspace"]
  743. }),
  744. smalltalk.HLOpenWorkspaceCommand);
  745. smalltalk.addMethod(
  746. "_key",
  747. smalltalk.method({
  748. selector: "key",
  749. category: 'accessing',
  750. fn: function (){
  751. var self=this;
  752. return smalltalk.withContext(function($ctx1) { return (87);
  753. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenWorkspaceCommand.klass)})},
  754. args: [],
  755. source: "key\x0a\x09^ 87",
  756. messageSends: [],
  757. referencedClasses: []
  758. }),
  759. smalltalk.HLOpenWorkspaceCommand.klass);
  760. smalltalk.addMethod(
  761. "_label",
  762. smalltalk.method({
  763. selector: "label",
  764. category: 'accessing',
  765. fn: function (){
  766. var self=this;
  767. return smalltalk.withContext(function($ctx1) { return "Workspace";
  768. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenWorkspaceCommand.klass)})},
  769. args: [],
  770. source: "label\x0a\x09^ 'Workspace'",
  771. messageSends: [],
  772. referencedClasses: []
  773. }),
  774. smalltalk.HLOpenWorkspaceCommand.klass);
  775. smalltalk.addClass('HLViewCommand', smalltalk.HLCommand, [], 'Helios-Commands');