1
0

Helios-Commands.js 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362
  1. define("amber/Helios-Commands", ["amber_vm/smalltalk","amber_vm/nil","amber_vm/_st"], function(smalltalk,nil,_st){
  2. smalltalk.addPackage('Helios-Commands');
  3. smalltalk.packages["Helios-Commands"].transport = {"type":"amd","amdNamespace":"amber"};
  4. smalltalk.addClass('HLCommand', smalltalk.Object, [], 'Helios-Commands');
  5. smalltalk.addMethod(
  6. "_asActionBinding",
  7. smalltalk.method({
  8. selector: "asActionBinding",
  9. category: 'converting',
  10. fn: function (){
  11. var self=this;
  12. return smalltalk.withContext(function($ctx1) {
  13. var $1;
  14. $1=_st(_st((smalltalk.HLBindingAction || HLBindingAction))._on_labelled_(_st(self)._key(),_st(self)._label()))._callback_((function(){
  15. return smalltalk.withContext(function($ctx2) {
  16. return _st(self)._execute();
  17. }, function($ctx2) {$ctx2.fillBlock({},$ctx1)})}));
  18. return $1;
  19. }, function($ctx1) {$ctx1.fill(self,"asActionBinding",{},smalltalk.HLCommand)})},
  20. args: [],
  21. source: "asActionBinding\x0a\x09^ (HLBindingAction on: self key labelled: self label)\x0a \x09callback: [ self execute ]",
  22. messageSends: ["callback:", "execute", "on:labelled:", "key", "label"],
  23. referencedClasses: ["HLBindingAction"]
  24. }),
  25. smalltalk.HLCommand);
  26. smalltalk.addMethod(
  27. "_asBinding",
  28. smalltalk.method({
  29. selector: "asBinding",
  30. category: 'converting',
  31. fn: function (){
  32. var self=this;
  33. return smalltalk.withContext(function($ctx1) {
  34. var $2,$1;
  35. $2=_st(self)._isBindingGroup();
  36. if(smalltalk.assert($2)){
  37. $1=_st(self)._asGroupBinding();
  38. } else {
  39. $1=_st(self)._asActionBinding();
  40. };
  41. return $1;
  42. }, function($ctx1) {$ctx1.fill(self,"asBinding",{},smalltalk.HLCommand)})},
  43. args: [],
  44. source: "asBinding\x0a\x09^ self isBindingGroup\x0a\x09\x09ifTrue: [ self asGroupBinding ]\x0a\x09\x09ifFalse: [ self asActionBinding ]",
  45. messageSends: ["ifTrue:ifFalse:", "asGroupBinding", "asActionBinding", "isBindingGroup"],
  46. referencedClasses: []
  47. }),
  48. smalltalk.HLCommand);
  49. smalltalk.addMethod(
  50. "_asGroupBinding",
  51. smalltalk.method({
  52. selector: "asGroupBinding",
  53. category: 'converting',
  54. fn: function (){
  55. var self=this;
  56. return smalltalk.withContext(function($ctx1) {
  57. var $1;
  58. $1=_st((smalltalk.HLBindingGroup || HLBindingGroup))._on_labelled_(_st(self)._key(),_st(self)._label());
  59. return $1;
  60. }, function($ctx1) {$ctx1.fill(self,"asGroupBinding",{},smalltalk.HLCommand)})},
  61. args: [],
  62. source: "asGroupBinding\x0a\x09^ HLBindingGroup \x0a\x09\x09on: self key \x0a\x09\x09labelled: self label",
  63. messageSends: ["on:labelled:", "key", "label"],
  64. referencedClasses: ["HLBindingGroup"]
  65. }),
  66. smalltalk.HLCommand);
  67. smalltalk.addMethod(
  68. "_documentation",
  69. smalltalk.method({
  70. selector: "documentation",
  71. category: 'accessing',
  72. fn: function (){
  73. var self=this;
  74. return smalltalk.withContext(function($ctx1) {
  75. var $1;
  76. $1=_st(_st(self)._class())._documentation();
  77. return $1;
  78. }, function($ctx1) {$ctx1.fill(self,"documentation",{}, smalltalk.HLCommand)})},
  79. args: [],
  80. source: "documentation\x0a\x09^ self class documentation",
  81. messageSends: ["documentation", "class"],
  82. referencedClasses: []
  83. }),
  84. smalltalk.HLCommand);
  85. smalltalk.addMethod(
  86. "_execute",
  87. smalltalk.method({
  88. selector: "execute",
  89. category: 'executing',
  90. fn: function (){
  91. var self=this;
  92. return smalltalk.withContext(function($ctx1) {
  93. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCommand)})},
  94. args: [],
  95. source: "execute\x0a\x09",
  96. messageSends: [],
  97. referencedClasses: []
  98. }),
  99. smalltalk.HLCommand);
  100. smalltalk.addMethod(
  101. "_isBindingGroup",
  102. smalltalk.method({
  103. selector: "isBindingGroup",
  104. category: 'testing',
  105. fn: function (){
  106. var self=this;
  107. return smalltalk.withContext(function($ctx1) {
  108. var $1;
  109. $1=_st(_st(_st(_st(self)._class())._methodDictionary())._includesKey_("execute"))._not();
  110. return $1;
  111. }, function($ctx1) {$ctx1.fill(self,"isBindingGroup",{},smalltalk.HLCommand)})},
  112. args: [],
  113. source: "isBindingGroup\x0a\x09^ (self class methodDictionary includesKey: 'execute') not",
  114. messageSends: ["not", "includesKey:", "methodDictionary", "class"],
  115. referencedClasses: []
  116. }),
  117. smalltalk.HLCommand);
  118. smalltalk.addMethod(
  119. "_key",
  120. smalltalk.method({
  121. selector: "key",
  122. category: 'accessing',
  123. fn: function (){
  124. var self=this;
  125. return smalltalk.withContext(function($ctx1) {
  126. var $1;
  127. $1=_st(_st(self)._class())._key();
  128. return $1;
  129. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLCommand)})},
  130. args: [],
  131. source: "key\x0a\x09^ self class key",
  132. messageSends: ["key", "class"],
  133. referencedClasses: []
  134. }),
  135. smalltalk.HLCommand);
  136. smalltalk.addMethod(
  137. "_label",
  138. smalltalk.method({
  139. selector: "label",
  140. category: 'accessing',
  141. fn: function (){
  142. var self=this;
  143. return smalltalk.withContext(function($ctx1) {
  144. var $1;
  145. $1=_st(_st(self)._class())._label();
  146. return $1;
  147. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCommand)})},
  148. args: [],
  149. source: "label\x0a\x09^ self class label",
  150. messageSends: ["label", "class"],
  151. referencedClasses: []
  152. }),
  153. smalltalk.HLCommand);
  154. smalltalk.addMethod(
  155. "_registerOn_",
  156. smalltalk.method({
  157. selector: "registerOn:",
  158. category: 'registration',
  159. fn: function (aBinding){
  160. var self=this;
  161. return smalltalk.withContext(function($ctx1) {
  162. var $1;
  163. $1=_st(aBinding)._add_(_st(self)._asBinding());
  164. return $1;
  165. }, function($ctx1) {$ctx1.fill(self,"registerOn:",{aBinding:aBinding},smalltalk.HLCommand)})},
  166. args: ["aBinding"],
  167. source: "registerOn: aBinding\x0a\x09^ aBinding add: self asBinding",
  168. messageSends: ["add:", "asBinding"],
  169. referencedClasses: []
  170. }),
  171. smalltalk.HLCommand);
  172. smalltalk.addMethod(
  173. "_concreteSubclasses",
  174. smalltalk.method({
  175. selector: "concreteSubclasses",
  176. category: 'accessing',
  177. fn: function (){
  178. var self=this;
  179. return smalltalk.withContext(function($ctx1) {
  180. var $1;
  181. $1=_st(_st(self)._subclasses())._select_((function(each){
  182. return smalltalk.withContext(function($ctx2) {
  183. return _st(each)._isConcrete();
  184. }, function($ctx2) {$ctx2.fillBlock({each:each},$ctx1)})}));
  185. return $1;
  186. }, function($ctx1) {$ctx1.fill(self,"concreteSubclasses",{},smalltalk.HLCommand.klass)})},
  187. args: [],
  188. source: "concreteSubclasses\x0a\x09^ self subclasses select: [ :each |\x0a\x09\x09each isConcrete ]",
  189. messageSends: ["select:", "isConcrete", "subclasses"],
  190. referencedClasses: []
  191. }),
  192. smalltalk.HLCommand.klass);
  193. smalltalk.addMethod(
  194. "_documentation",
  195. smalltalk.method({
  196. selector: "documentation",
  197. category: 'accessing',
  198. fn: function (){
  199. var self=this;
  200. return smalltalk.withContext(function($ctx1) {
  201. return "";
  202. }, function($ctx1) {$ctx1.fill(self,"documentation",{}, smalltalk.HLCommand.klass)})},
  203. args: [],
  204. source: "documentation\x0a\x09^ ''",
  205. messageSends: [],
  206. referencedClasses: []
  207. }),
  208. smalltalk.HLCommand.klass);
  209. smalltalk.addMethod(
  210. "_isConcrete",
  211. smalltalk.method({
  212. selector: "isConcrete",
  213. category: 'testing',
  214. fn: function (){
  215. var self=this;
  216. return smalltalk.withContext(function($ctx1) {
  217. var $1;
  218. $1=_st(_st(self)._key())._notNil();
  219. return $1;
  220. }, function($ctx1) {$ctx1.fill(self,"isConcrete",{},smalltalk.HLCommand.klass)})},
  221. args: [],
  222. source: "isConcrete\x0a\x09^ self key notNil",
  223. messageSends: ["notNil", "key"],
  224. referencedClasses: []
  225. }),
  226. smalltalk.HLCommand.klass);
  227. smalltalk.addMethod(
  228. "_key",
  229. smalltalk.method({
  230. selector: "key",
  231. category: 'accessing',
  232. fn: function (){
  233. var self=this;
  234. return smalltalk.withContext(function($ctx1) {
  235. return nil;
  236. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLCommand.klass)})},
  237. args: [],
  238. source: "key\x0a\x09^ nil",
  239. messageSends: [],
  240. referencedClasses: []
  241. }),
  242. smalltalk.HLCommand.klass);
  243. smalltalk.addMethod(
  244. "_label",
  245. smalltalk.method({
  246. selector: "label",
  247. category: 'accessing',
  248. fn: function (){
  249. var self=this;
  250. return smalltalk.withContext(function($ctx1) {
  251. return "";
  252. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCommand.klass)})},
  253. args: [],
  254. source: "label\x0a\x09^ ''",
  255. messageSends: [],
  256. referencedClasses: []
  257. }),
  258. smalltalk.HLCommand.klass);
  259. smalltalk.addMethod(
  260. "_registerConcreteClassesOn_",
  261. smalltalk.method({
  262. selector: "registerConcreteClassesOn:",
  263. category: 'registration',
  264. fn: function (aBinding){
  265. var self=this;
  266. return smalltalk.withContext(function($ctx1) {
  267. var $1;
  268. _st(_st(self)._concreteSubclasses())._do_((function(each){
  269. var binding;
  270. return smalltalk.withContext(function($ctx2) {
  271. binding=_st(each)._registerOn_(aBinding);
  272. binding;
  273. $1=_st(binding)._isBindingGroup();
  274. if(smalltalk.assert($1)){
  275. return _st(each)._registerConcreteClassesOn_(binding);
  276. };
  277. }, function($ctx2) {$ctx2.fillBlock({each:each,binding:binding},$ctx1)})}));
  278. return self}, function($ctx1) {$ctx1.fill(self,"registerConcreteClassesOn:",{aBinding:aBinding},smalltalk.HLCommand.klass)})},
  279. args: ["aBinding"],
  280. source: "registerConcreteClassesOn: aBinding\x0a\x09self concreteSubclasses do: [ :each | | binding |\x0a\x09\x09binding := each registerOn: aBinding.\x0a\x09\x09binding isBindingGroup ifTrue: [\x0a\x09\x09\x09each registerConcreteClassesOn: binding ] ]",
  281. messageSends: ["do:", "registerOn:", "ifTrue:", "registerConcreteClassesOn:", "isBindingGroup", "concreteSubclasses"],
  282. referencedClasses: []
  283. }),
  284. smalltalk.HLCommand.klass);
  285. smalltalk.addMethod(
  286. "_registerOn_",
  287. smalltalk.method({
  288. selector: "registerOn:",
  289. category: 'registration',
  290. fn: function (aBinding){
  291. var self=this;
  292. return smalltalk.withContext(function($ctx1) {
  293. var $1;
  294. $1=_st(_st(self)._new())._registerOn_(aBinding);
  295. return $1;
  296. }, function($ctx1) {$ctx1.fill(self,"registerOn:",{aBinding:aBinding},smalltalk.HLCommand.klass)})},
  297. args: ["aBinding"],
  298. source: "registerOn: aBinding\x0a\x09^ self new registerOn: aBinding",
  299. messageSends: ["registerOn:", "new"],
  300. referencedClasses: []
  301. }),
  302. smalltalk.HLCommand.klass);
  303. smalltalk.addClass('HLCloseTabCommand', smalltalk.HLCommand, [], 'Helios-Commands');
  304. smalltalk.addMethod(
  305. "_execute",
  306. smalltalk.method({
  307. selector: "execute",
  308. category: 'executing',
  309. fn: function (){
  310. var self=this;
  311. return smalltalk.withContext(function($ctx1) {
  312. _st(_st((smalltalk.HLManager || HLManager))._current())._removeActiveTab();
  313. return self}, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLCloseTabCommand)})},
  314. args: [],
  315. source: "execute\x0a\x09HLManager current removeActiveTab",
  316. messageSends: ["removeActiveTab", "current"],
  317. referencedClasses: ["HLManager"]
  318. }),
  319. smalltalk.HLCloseTabCommand);
  320. smalltalk.addMethod(
  321. "_key",
  322. smalltalk.method({
  323. selector: "key",
  324. category: 'accessing',
  325. fn: function (){
  326. var self=this;
  327. return smalltalk.withContext(function($ctx1) {
  328. return (87);
  329. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCloseTabCommand.klass)})},
  330. args: [],
  331. source: "key\x0a\x09^ 87",
  332. messageSends: [],
  333. referencedClasses: []
  334. }),
  335. smalltalk.HLCloseTabCommand.klass);
  336. smalltalk.addMethod(
  337. "_label",
  338. smalltalk.method({
  339. selector: "label",
  340. category: 'accessing',
  341. fn: function (){
  342. var self=this;
  343. return smalltalk.withContext(function($ctx1) {
  344. return "Close tab";
  345. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLCloseTabCommand.klass)})},
  346. args: [],
  347. source: "label\x0a\x09^ 'Close tab'",
  348. messageSends: [],
  349. referencedClasses: []
  350. }),
  351. smalltalk.HLCloseTabCommand.klass);
  352. smalltalk.addClass('HLModelCommand', smalltalk.HLCommand, ['model'], 'Helios-Commands');
  353. smalltalk.addMethod(
  354. "_model",
  355. smalltalk.method({
  356. selector: "model",
  357. category: 'accessing',
  358. fn: function (){
  359. var self=this;
  360. return smalltalk.withContext(function($ctx1) {
  361. var $1;
  362. $1=self["@model"];
  363. return $1;
  364. }, function($ctx1) {$ctx1.fill(self,"model",{},smalltalk.HLModelCommand)})},
  365. args: [],
  366. source: "model\x0a\x09^ model",
  367. messageSends: [],
  368. referencedClasses: []
  369. }),
  370. smalltalk.HLModelCommand);
  371. smalltalk.addMethod(
  372. "_model_",
  373. smalltalk.method({
  374. selector: "model:",
  375. category: 'accessing',
  376. fn: function (aModel){
  377. var self=this;
  378. return smalltalk.withContext(function($ctx1) {
  379. self["@model"]=aModel;
  380. return self}, function($ctx1) {$ctx1.fill(self,"model:",{aModel:aModel},smalltalk.HLModelCommand)})},
  381. args: ["aModel"],
  382. source: "model: aModel\x0a\x09model := aModel",
  383. messageSends: [],
  384. referencedClasses: []
  385. }),
  386. smalltalk.HLModelCommand);
  387. smalltalk.addMethod(
  388. "_for_",
  389. smalltalk.method({
  390. selector: "for:",
  391. category: 'instance creation',
  392. fn: function (aModel){
  393. var self=this;
  394. return smalltalk.withContext(function($ctx1) {
  395. var $1;
  396. $1=_st(self)._new();
  397. return $1;
  398. }, function($ctx1) {$ctx1.fill(self,"for:",{aModel:aModel},smalltalk.HLModelCommand.klass)})},
  399. args: ["aModel"],
  400. source: "for: aModel\x0a\x09^ self new",
  401. messageSends: ["new"],
  402. referencedClasses: []
  403. }),
  404. smalltalk.HLModelCommand.klass);
  405. smalltalk.addMethod(
  406. "_registerConcreteClassesOn_for_",
  407. smalltalk.method({
  408. selector: "registerConcreteClassesOn:for:",
  409. category: 'registration',
  410. fn: function (aBinding,aModel){
  411. var self=this;
  412. return smalltalk.withContext(function($ctx1) {
  413. var $1;
  414. _st(_st(self)._concreteSubclasses())._do_((function(each){
  415. var binding;
  416. return smalltalk.withContext(function($ctx2) {
  417. binding=_st(each)._registerOn_for_(aBinding,aModel);
  418. binding;
  419. $1=_st(binding)._isBindingGroup();
  420. if(smalltalk.assert($1)){
  421. return _st(each)._registerConcreteClassesOn_for_(binding,aModel);
  422. };
  423. }, function($ctx2) {$ctx2.fillBlock({each:each,binding:binding},$ctx1)})}));
  424. return self}, function($ctx1) {$ctx1.fill(self,"registerConcreteClassesOn:for:",{aBinding:aBinding,aModel:aModel},smalltalk.HLModelCommand.klass)})},
  425. args: ["aBinding", "aModel"],
  426. source: "registerConcreteClassesOn: aBinding for: aModel\x0a\x09self concreteSubclasses do: [ :each | | binding |\x0a\x09\x09binding := each registerOn: aBinding for: aModel.\x0a\x09\x09binding isBindingGroup ifTrue: [\x0a\x09\x09\x09each registerConcreteClassesOn: binding for: aModel ] ]",
  427. messageSends: ["do:", "registerOn:for:", "ifTrue:", "registerConcreteClassesOn:for:", "isBindingGroup", "concreteSubclasses"],
  428. referencedClasses: []
  429. }),
  430. smalltalk.HLModelCommand.klass);
  431. smalltalk.addMethod(
  432. "_registerOn_for_",
  433. smalltalk.method({
  434. selector: "registerOn:for:",
  435. category: 'registration',
  436. fn: function (aBinding,aModel){
  437. var self=this;
  438. return smalltalk.withContext(function($ctx1) {
  439. var $1;
  440. $1=_st(_st(self)._for_(aModel))._registerOn_(aBinding);
  441. return $1;
  442. }, function($ctx1) {$ctx1.fill(self,"registerOn:for:",{aBinding:aBinding,aModel:aModel},smalltalk.HLModelCommand.klass)})},
  443. args: ["aBinding", "aModel"],
  444. source: "registerOn: aBinding for: aModel\x0a\x09^ (self for: aModel) registerOn: aBinding",
  445. messageSends: ["registerOn:", "for:"],
  446. referencedClasses: []
  447. }),
  448. smalltalk.HLModelCommand.klass);
  449. smalltalk.addClass('HLBrowserCommand', smalltalk.HLModelCommand, [], 'Helios-Commands');
  450. smalltalk.addMethod(
  451. "_for_",
  452. smalltalk.method({
  453. selector: "for:",
  454. category: 'instance creation',
  455. fn: function (aBrowserModel){
  456. var self=this;
  457. return smalltalk.withContext(function($ctx1) {
  458. var $2,$3,$1;
  459. $2=_st(self)._new();
  460. _st($2)._model_(aBrowserModel);
  461. $3=_st($2)._yourself();
  462. $1=$3;
  463. return $1;
  464. }, function($ctx1) {$ctx1.fill(self,"for:",{aBrowserModel:aBrowserModel},smalltalk.HLBrowserCommand.klass)})},
  465. args: ["aBrowserModel"],
  466. source: "for: aBrowserModel\x0a\x09^ self new\x0a \x09model: aBrowserModel;\x0a yourself",
  467. messageSends: ["model:", "new", "yourself"],
  468. referencedClasses: []
  469. }),
  470. smalltalk.HLBrowserCommand.klass);
  471. smalltalk.addClass('HLGoToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands');
  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) {
  480. return (71);
  481. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToCommand.klass)})},
  482. args: [],
  483. source: "key\x0a\x09^ 71",
  484. messageSends: [],
  485. referencedClasses: []
  486. }),
  487. smalltalk.HLGoToCommand.klass);
  488. smalltalk.addMethod(
  489. "_label",
  490. smalltalk.method({
  491. selector: "label",
  492. category: 'accessing',
  493. fn: function (){
  494. var self=this;
  495. return smalltalk.withContext(function($ctx1) {
  496. return "Go to";
  497. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToCommand.klass)})},
  498. args: [],
  499. source: "label\x0a\x09^ 'Go to'",
  500. messageSends: [],
  501. referencedClasses: []
  502. }),
  503. smalltalk.HLGoToCommand.klass);
  504. smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  505. smalltalk.addMethod(
  506. "_execute",
  507. smalltalk.method({
  508. selector: "execute",
  509. category: 'executing',
  510. fn: function (){
  511. var self=this;
  512. return smalltalk.withContext(function($ctx1) {
  513. _st(_st(self)._model())._focusOnClasses();
  514. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToClassesCommand)})},
  515. args: [],
  516. source: "execute\x0a\x09self model focusOnClasses",
  517. messageSends: ["focusOnClasses", "model"],
  518. referencedClasses: []
  519. }),
  520. smalltalk.HLGoToClassesCommand);
  521. smalltalk.addMethod(
  522. "_key",
  523. smalltalk.method({
  524. selector: "key",
  525. category: 'accessing',
  526. fn: function (){
  527. var self=this;
  528. return smalltalk.withContext(function($ctx1) {
  529. return (67);
  530. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToClassesCommand.klass)})},
  531. args: [],
  532. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  533. messageSends: [],
  534. referencedClasses: []
  535. }),
  536. smalltalk.HLGoToClassesCommand.klass);
  537. smalltalk.addMethod(
  538. "_label",
  539. smalltalk.method({
  540. selector: "label",
  541. category: 'accessing',
  542. fn: function (){
  543. var self=this;
  544. return smalltalk.withContext(function($ctx1) {
  545. return "Classes";
  546. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToClassesCommand.klass)})},
  547. args: [],
  548. source: "label\x0a\x09^ 'Classes'",
  549. messageSends: [],
  550. referencedClasses: []
  551. }),
  552. smalltalk.HLGoToClassesCommand.klass);
  553. smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  554. smalltalk.addMethod(
  555. "_execute",
  556. smalltalk.method({
  557. selector: "execute",
  558. category: 'executing',
  559. fn: function (){
  560. var self=this;
  561. return smalltalk.withContext(function($ctx1) {
  562. _st(_st(self)._model())._focusOnMethods();
  563. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToMethodsCommand)})},
  564. args: [],
  565. source: "execute\x0a\x09self model focusOnMethods",
  566. messageSends: ["focusOnMethods", "model"],
  567. referencedClasses: []
  568. }),
  569. smalltalk.HLGoToMethodsCommand);
  570. smalltalk.addMethod(
  571. "_key",
  572. smalltalk.method({
  573. selector: "key",
  574. category: 'accessing',
  575. fn: function (){
  576. var self=this;
  577. return smalltalk.withContext(function($ctx1) {
  578. return (77);
  579. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToMethodsCommand.klass)})},
  580. args: [],
  581. source: "key\x0a\x09\x22m\x22\x0a \x0a\x09^ 77",
  582. messageSends: [],
  583. referencedClasses: []
  584. }),
  585. smalltalk.HLGoToMethodsCommand.klass);
  586. smalltalk.addMethod(
  587. "_label",
  588. smalltalk.method({
  589. selector: "label",
  590. category: 'accessing',
  591. fn: function (){
  592. var self=this;
  593. return smalltalk.withContext(function($ctx1) {
  594. return "Methods";
  595. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToMethodsCommand.klass)})},
  596. args: [],
  597. source: "label\x0a\x09^ 'Methods'",
  598. messageSends: [],
  599. referencedClasses: []
  600. }),
  601. smalltalk.HLGoToMethodsCommand.klass);
  602. smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  603. smalltalk.addMethod(
  604. "_execute",
  605. smalltalk.method({
  606. selector: "execute",
  607. category: 'executing',
  608. fn: function (){
  609. var self=this;
  610. return smalltalk.withContext(function($ctx1) {
  611. _st(_st(self)._model())._focusOnPackages();
  612. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToPackagesCommand)})},
  613. args: [],
  614. source: "execute\x0a\x09self model focusOnPackages",
  615. messageSends: ["focusOnPackages", "model"],
  616. referencedClasses: []
  617. }),
  618. smalltalk.HLGoToPackagesCommand);
  619. smalltalk.addMethod(
  620. "_key",
  621. smalltalk.method({
  622. selector: "key",
  623. category: 'accessing',
  624. fn: function (){
  625. var self=this;
  626. return smalltalk.withContext(function($ctx1) {
  627. return (80);
  628. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToPackagesCommand.klass)})},
  629. args: [],
  630. source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 80",
  631. messageSends: [],
  632. referencedClasses: []
  633. }),
  634. smalltalk.HLGoToPackagesCommand.klass);
  635. smalltalk.addMethod(
  636. "_label",
  637. smalltalk.method({
  638. selector: "label",
  639. category: 'accessing',
  640. fn: function (){
  641. var self=this;
  642. return smalltalk.withContext(function($ctx1) {
  643. return "Packages";
  644. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToPackagesCommand.klass)})},
  645. args: [],
  646. source: "label\x0a\x09^ 'Packages'",
  647. messageSends: [],
  648. referencedClasses: []
  649. }),
  650. smalltalk.HLGoToPackagesCommand.klass);
  651. smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  652. smalltalk.addMethod(
  653. "_execute",
  654. smalltalk.method({
  655. selector: "execute",
  656. category: 'executing',
  657. fn: function (){
  658. var self=this;
  659. return smalltalk.withContext(function($ctx1) {
  660. _st(_st(self)._model())._focusOnProtocols();
  661. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToProtocolsCommand)})},
  662. args: [],
  663. source: "execute\x0a\x09self model focusOnProtocols",
  664. messageSends: ["focusOnProtocols", "model"],
  665. referencedClasses: []
  666. }),
  667. smalltalk.HLGoToProtocolsCommand);
  668. smalltalk.addMethod(
  669. "_key",
  670. smalltalk.method({
  671. selector: "key",
  672. category: 'accessing',
  673. fn: function (){
  674. var self=this;
  675. return smalltalk.withContext(function($ctx1) {
  676. return (84);
  677. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  678. args: [],
  679. source: "key\x0a\x09\x22p\x22\x0a \x0a\x09^ 84",
  680. messageSends: [],
  681. referencedClasses: []
  682. }),
  683. smalltalk.HLGoToProtocolsCommand.klass);
  684. smalltalk.addMethod(
  685. "_label",
  686. smalltalk.method({
  687. selector: "label",
  688. category: 'accessing',
  689. fn: function (){
  690. var self=this;
  691. return smalltalk.withContext(function($ctx1) {
  692. return "Protocols";
  693. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  694. args: [],
  695. source: "label\x0a\x09^ 'Protocols'",
  696. messageSends: [],
  697. referencedClasses: []
  698. }),
  699. smalltalk.HLGoToProtocolsCommand.klass);
  700. smalltalk.addClass('HLGoToSourceCodeCommand', smalltalk.HLGoToCommand, [], 'Helios-Commands');
  701. smalltalk.addMethod(
  702. "_execute",
  703. smalltalk.method({
  704. selector: "execute",
  705. category: 'executing',
  706. fn: function (){
  707. var self=this;
  708. return smalltalk.withContext(function($ctx1) {
  709. _st(_st(self)._model())._focusOnSourceCode();
  710. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToSourceCodeCommand)})},
  711. args: [],
  712. source: "execute\x0a\x09self model focusOnSourceCode",
  713. messageSends: ["focusOnSourceCode", "model"],
  714. referencedClasses: []
  715. }),
  716. smalltalk.HLGoToSourceCodeCommand);
  717. smalltalk.addMethod(
  718. "_key",
  719. smalltalk.method({
  720. selector: "key",
  721. category: 'accessing',
  722. fn: function (){
  723. var self=this;
  724. return smalltalk.withContext(function($ctx1) {
  725. return (83);
  726. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  727. args: [],
  728. source: "key\x0a\x09\x22s\x22\x0a \x0a\x09^ 83",
  729. messageSends: [],
  730. referencedClasses: []
  731. }),
  732. smalltalk.HLGoToSourceCodeCommand.klass);
  733. smalltalk.addMethod(
  734. "_label",
  735. smalltalk.method({
  736. selector: "label",
  737. category: 'accessing',
  738. fn: function (){
  739. var self=this;
  740. return smalltalk.withContext(function($ctx1) {
  741. return "Source code";
  742. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  743. args: [],
  744. source: "label\x0a\x09^ 'Source code'",
  745. messageSends: [],
  746. referencedClasses: []
  747. }),
  748. smalltalk.HLGoToSourceCodeCommand.klass);
  749. smalltalk.addClass('HLMoveToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands');
  750. smalltalk.addMethod(
  751. "_key",
  752. smalltalk.method({
  753. selector: "key",
  754. category: 'accessing',
  755. fn: function (){
  756. var self=this;
  757. return smalltalk.withContext(function($ctx1) {
  758. return (77);
  759. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
  760. args: [],
  761. source: "key\x0a\x09^ 77",
  762. messageSends: [],
  763. referencedClasses: []
  764. }),
  765. smalltalk.HLMoveToCommand.klass);
  766. smalltalk.addMethod(
  767. "_label",
  768. smalltalk.method({
  769. selector: "label",
  770. category: 'accessing',
  771. fn: function (){
  772. var self=this;
  773. return smalltalk.withContext(function($ctx1) {
  774. return "Move";
  775. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
  776. args: [],
  777. source: "label\x0a\x09^ 'Move'",
  778. messageSends: [],
  779. referencedClasses: []
  780. }),
  781. smalltalk.HLMoveToCommand.klass);
  782. smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands');
  783. smalltalk.addMethod(
  784. "_key",
  785. smalltalk.method({
  786. selector: "key",
  787. category: 'accessing',
  788. fn: function (){
  789. var self=this;
  790. return smalltalk.withContext(function($ctx1) {
  791. return (77);
  792. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
  793. args: [],
  794. source: "key\x0a\x09^ 77",
  795. messageSends: [],
  796. referencedClasses: []
  797. }),
  798. smalltalk.HLMoveMethodToCommand.klass);
  799. smalltalk.addMethod(
  800. "_label",
  801. smalltalk.method({
  802. selector: "label",
  803. category: 'accessing',
  804. fn: function (){
  805. var self=this;
  806. return smalltalk.withContext(function($ctx1) {
  807. return "Method";
  808. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
  809. args: [],
  810. source: "label\x0a\x09^ 'Method'",
  811. messageSends: [],
  812. referencedClasses: []
  813. }),
  814. smalltalk.HLMoveMethodToCommand.klass);
  815. smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands');
  816. smalltalk.addMethod(
  817. "_execute",
  818. smalltalk.method({
  819. selector: "execute",
  820. category: 'executing',
  821. fn: function (){
  822. var self=this;
  823. return smalltalk.withContext(function($ctx1) {
  824. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
  825. args: [],
  826. source: "execute",
  827. messageSends: [],
  828. referencedClasses: []
  829. }),
  830. smalltalk.HLMoveMethodToClassCommand);
  831. smalltalk.addMethod(
  832. "_key",
  833. smalltalk.method({
  834. selector: "key",
  835. category: 'accessing',
  836. fn: function (){
  837. var self=this;
  838. return smalltalk.withContext(function($ctx1) {
  839. return (67);
  840. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  841. args: [],
  842. source: "key\x0a\x09^ 67",
  843. messageSends: [],
  844. referencedClasses: []
  845. }),
  846. smalltalk.HLMoveMethodToClassCommand.klass);
  847. smalltalk.addMethod(
  848. "_label",
  849. smalltalk.method({
  850. selector: "label",
  851. category: 'accessing',
  852. fn: function (){
  853. var self=this;
  854. return smalltalk.withContext(function($ctx1) {
  855. return "to class";
  856. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  857. args: [],
  858. source: "label\x09\x0a\x09^ 'to class'",
  859. messageSends: [],
  860. referencedClasses: []
  861. }),
  862. smalltalk.HLMoveMethodToClassCommand.klass);
  863. smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands');
  864. smalltalk.addMethod(
  865. "_execute",
  866. smalltalk.method({
  867. selector: "execute",
  868. category: 'executing',
  869. fn: function (){
  870. var self=this;
  871. return smalltalk.withContext(function($ctx1) {
  872. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  873. args: [],
  874. source: "execute",
  875. messageSends: [],
  876. referencedClasses: []
  877. }),
  878. smalltalk.HLMoveMethodToProtocolCommand);
  879. smalltalk.addMethod(
  880. "_key",
  881. smalltalk.method({
  882. selector: "key",
  883. category: 'accessing',
  884. fn: function (){
  885. var self=this;
  886. return smalltalk.withContext(function($ctx1) {
  887. return (84);
  888. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  889. args: [],
  890. source: "key\x0a\x09^ 84",
  891. messageSends: [],
  892. referencedClasses: []
  893. }),
  894. smalltalk.HLMoveMethodToProtocolCommand.klass);
  895. smalltalk.addMethod(
  896. "_label",
  897. smalltalk.method({
  898. selector: "label",
  899. category: 'accessing',
  900. fn: function (){
  901. var self=this;
  902. return smalltalk.withContext(function($ctx1) {
  903. return "to protocol";
  904. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  905. args: [],
  906. source: "label\x0a\x09^ 'to protocol'",
  907. messageSends: [],
  908. referencedClasses: []
  909. }),
  910. smalltalk.HLMoveMethodToProtocolCommand.klass);
  911. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands');
  912. smalltalk.addMethod(
  913. "_key",
  914. smalltalk.method({
  915. selector: "key",
  916. category: 'accessing',
  917. fn: function (){
  918. var self=this;
  919. return smalltalk.withContext(function($ctx1) {
  920. return (84);
  921. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
  922. args: [],
  923. source: "key\x0a\x09^ 84",
  924. messageSends: [],
  925. referencedClasses: []
  926. }),
  927. smalltalk.HLToggleCommand.klass);
  928. smalltalk.addMethod(
  929. "_label",
  930. smalltalk.method({
  931. selector: "label",
  932. category: 'accessing',
  933. fn: function (){
  934. var self=this;
  935. return smalltalk.withContext(function($ctx1) {
  936. return "Toggle";
  937. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
  938. args: [],
  939. source: "label\x0a\x09^ 'Toggle'",
  940. messageSends: [],
  941. referencedClasses: []
  942. }),
  943. smalltalk.HLToggleCommand.klass);
  944. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands');
  945. smalltalk.addMethod(
  946. "_execute",
  947. smalltalk.method({
  948. selector: "execute",
  949. category: 'executing',
  950. fn: function (){
  951. var self=this;
  952. return smalltalk.withContext(function($ctx1) {
  953. _st(_st(self)._model())._showInstance_(false);
  954. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
  955. args: [],
  956. source: "execute\x0a\x09self model showInstance: false",
  957. messageSends: ["showInstance:", "model"],
  958. referencedClasses: []
  959. }),
  960. smalltalk.HLToggleClassSideCommand);
  961. smalltalk.addMethod(
  962. "_key",
  963. smalltalk.method({
  964. selector: "key",
  965. category: 'accessing',
  966. fn: function (){
  967. var self=this;
  968. return smalltalk.withContext(function($ctx1) {
  969. return (67);
  970. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
  971. args: [],
  972. source: "key\x0a\x09\x22c\x22\x0a \x0a\x09^ 67",
  973. messageSends: [],
  974. referencedClasses: []
  975. }),
  976. smalltalk.HLToggleClassSideCommand.klass);
  977. smalltalk.addMethod(
  978. "_label",
  979. smalltalk.method({
  980. selector: "label",
  981. category: 'accessing',
  982. fn: function (){
  983. var self=this;
  984. return smalltalk.withContext(function($ctx1) {
  985. return "Class side";
  986. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
  987. args: [],
  988. source: "label\x0a\x09^ 'Class side'",
  989. messageSends: [],
  990. referencedClasses: []
  991. }),
  992. smalltalk.HLToggleClassSideCommand.klass);
  993. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands');
  994. smalltalk.addMethod(
  995. "_execute",
  996. smalltalk.method({
  997. selector: "execute",
  998. category: 'executing',
  999. fn: function (){
  1000. var self=this;
  1001. return smalltalk.withContext(function($ctx1) {
  1002. _st(_st(self)._model())._showInstance_(true);
  1003. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
  1004. args: [],
  1005. source: "execute\x0a\x09self model showInstance: true",
  1006. messageSends: ["showInstance:", "model"],
  1007. referencedClasses: []
  1008. }),
  1009. smalltalk.HLToggleInstanceSideCommand);
  1010. smalltalk.addMethod(
  1011. "_key",
  1012. smalltalk.method({
  1013. selector: "key",
  1014. category: 'accessing',
  1015. fn: function (){
  1016. var self=this;
  1017. return smalltalk.withContext(function($ctx1) {
  1018. return (73);
  1019. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1020. args: [],
  1021. source: "key\x0a\x09\x22i\x22\x0a \x0a\x09^ 73",
  1022. messageSends: [],
  1023. referencedClasses: []
  1024. }),
  1025. smalltalk.HLToggleInstanceSideCommand.klass);
  1026. smalltalk.addMethod(
  1027. "_label",
  1028. smalltalk.method({
  1029. selector: "label",
  1030. category: 'accessing',
  1031. fn: function (){
  1032. var self=this;
  1033. return smalltalk.withContext(function($ctx1) {
  1034. return "Instance side";
  1035. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1036. args: [],
  1037. source: "label\x0a\x09^ 'Instance side'",
  1038. messageSends: [],
  1039. referencedClasses: []
  1040. }),
  1041. smalltalk.HLToggleInstanceSideCommand.klass);
  1042. smalltalk.addClass('HLOpenCommand', smalltalk.HLCommand, [], 'Helios-Commands');
  1043. smalltalk.addMethod(
  1044. "_key",
  1045. smalltalk.method({
  1046. selector: "key",
  1047. category: 'accessing',
  1048. fn: function (){
  1049. var self=this;
  1050. return smalltalk.withContext(function($ctx1) {
  1051. return (79);
  1052. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLOpenCommand.klass)})},
  1053. args: [],
  1054. source: "key\x0a\x09^ 79",
  1055. messageSends: [],
  1056. referencedClasses: []
  1057. }),
  1058. smalltalk.HLOpenCommand.klass);
  1059. smalltalk.addMethod(
  1060. "_label",
  1061. smalltalk.method({
  1062. selector: "label",
  1063. category: 'accessing',
  1064. fn: function (){
  1065. var self=this;
  1066. return smalltalk.withContext(function($ctx1) {
  1067. return "Open";
  1068. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLOpenCommand.klass)})},
  1069. args: [],
  1070. source: "label\x0a\x09^ 'Open'",
  1071. messageSends: [],
  1072. referencedClasses: []
  1073. }),
  1074. smalltalk.HLOpenCommand.klass);
  1075. smalltalk.addClass('HLOpenBrowserCommand', smalltalk.HLOpenCommand, [], 'Helios-Commands');
  1076. smalltalk.addMethod(
  1077. "_execute",
  1078. smalltalk.method({
  1079. selector: "execute",
  1080. category: 'executing',
  1081. fn: function (){
  1082. var self=this;
  1083. return smalltalk.withContext(function($ctx1) {
  1084. var $1;
  1085. $1=_st((smalltalk.HLBrowser || HLBrowser))._openAsTab();
  1086. return $1;
  1087. }, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLOpenBrowserCommand)})},
  1088. args: [],
  1089. source: "execute\x0a\x09^ HLBrowser openAsTab",
  1090. messageSends: ["openAsTab"],
  1091. referencedClasses: ["HLBrowser"]
  1092. }),
  1093. smalltalk.HLOpenBrowserCommand);
  1094. smalltalk.addMethod(
  1095. "_key",
  1096. smalltalk.method({
  1097. selector: "key",
  1098. category: 'accessing',
  1099. fn: function (){
  1100. var self=this;
  1101. return smalltalk.withContext(function($ctx1) {
  1102. return (66);
  1103. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenBrowserCommand.klass)})},
  1104. args: [],
  1105. source: "key\x0a\x09^ 66",
  1106. messageSends: [],
  1107. referencedClasses: []
  1108. }),
  1109. smalltalk.HLOpenBrowserCommand.klass);
  1110. smalltalk.addMethod(
  1111. "_label",
  1112. smalltalk.method({
  1113. selector: "label",
  1114. category: 'accessing',
  1115. fn: function (){
  1116. var self=this;
  1117. return smalltalk.withContext(function($ctx1) {
  1118. return "Browser";
  1119. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenBrowserCommand.klass)})},
  1120. args: [],
  1121. source: "label\x0a\x09^ 'Browser'",
  1122. messageSends: [],
  1123. referencedClasses: []
  1124. }),
  1125. smalltalk.HLOpenBrowserCommand.klass);
  1126. smalltalk.addClass('HLOpenTranscriptCommand', smalltalk.HLOpenCommand, [], 'Helios-Commands');
  1127. smalltalk.addMethod(
  1128. "_execute",
  1129. smalltalk.method({
  1130. selector: "execute",
  1131. category: 'executing',
  1132. fn: function (){
  1133. var self=this;
  1134. return smalltalk.withContext(function($ctx1) {
  1135. var $1;
  1136. $1=_st((smalltalk.HLTranscript || HLTranscript))._openAsTab();
  1137. return $1;
  1138. }, function($ctx1) {$ctx1.fill(self,"execute",{}, smalltalk.HLOpenTranscriptCommand)})},
  1139. args: [],
  1140. source: "execute\x0a\x09^ HLTranscript openAsTab",
  1141. messageSends: ["openAsTab"],
  1142. referencedClasses: ["HLTranscript"]
  1143. }),
  1144. smalltalk.HLOpenTranscriptCommand);
  1145. smalltalk.addMethod(
  1146. "_key",
  1147. smalltalk.method({
  1148. selector: "key",
  1149. category: 'accessing',
  1150. fn: function (){
  1151. var self=this;
  1152. return smalltalk.withContext(function($ctx1) {
  1153. return (84);
  1154. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenTranscriptCommand.klass)})},
  1155. args: [],
  1156. source: "key\x0a\x09^ 84",
  1157. messageSends: [],
  1158. referencedClasses: []
  1159. }),
  1160. smalltalk.HLOpenTranscriptCommand.klass);
  1161. smalltalk.addMethod(
  1162. "_label",
  1163. smalltalk.method({
  1164. selector: "label",
  1165. category: 'accessing',
  1166. fn: function (){
  1167. var self=this;
  1168. return smalltalk.withContext(function($ctx1) {
  1169. return "Transcript";
  1170. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenTranscriptCommand.klass)})},
  1171. args: [],
  1172. source: "label\x0a\x09^ 'Transcript'",
  1173. messageSends: [],
  1174. referencedClasses: []
  1175. }),
  1176. smalltalk.HLOpenTranscriptCommand.klass);
  1177. smalltalk.addClass('HLOpenWorkspaceCommand', smalltalk.HLOpenCommand, [], 'Helios-Commands');
  1178. smalltalk.addMethod(
  1179. "_execute",
  1180. smalltalk.method({
  1181. selector: "execute",
  1182. category: 'executing',
  1183. fn: function (){
  1184. var self=this;
  1185. return smalltalk.withContext(function($ctx1) {
  1186. var $1;
  1187. $1=_st((smalltalk.HLCodeWidget || HLCodeWidget))._openAsTab();
  1188. return $1;
  1189. }, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLOpenWorkspaceCommand)})},
  1190. args: [],
  1191. source: "execute\x0a\x09^ HLCodeWidget openAsTab",
  1192. messageSends: ["openAsTab"],
  1193. referencedClasses: ["HLCodeWidget"]
  1194. }),
  1195. smalltalk.HLOpenWorkspaceCommand);
  1196. smalltalk.addMethod(
  1197. "_key",
  1198. smalltalk.method({
  1199. selector: "key",
  1200. category: 'accessing',
  1201. fn: function (){
  1202. var self=this;
  1203. return smalltalk.withContext(function($ctx1) {
  1204. return (87);
  1205. }, function($ctx1) {$ctx1.fill(self,"key",{}, smalltalk.HLOpenWorkspaceCommand.klass)})},
  1206. args: [],
  1207. source: "key\x0a\x09^ 87",
  1208. messageSends: [],
  1209. referencedClasses: []
  1210. }),
  1211. smalltalk.HLOpenWorkspaceCommand.klass);
  1212. smalltalk.addMethod(
  1213. "_label",
  1214. smalltalk.method({
  1215. selector: "label",
  1216. category: 'accessing',
  1217. fn: function (){
  1218. var self=this;
  1219. return smalltalk.withContext(function($ctx1) {
  1220. return "Workspace";
  1221. }, function($ctx1) {$ctx1.fill(self,"label",{}, smalltalk.HLOpenWorkspaceCommand.klass)})},
  1222. args: [],
  1223. source: "label\x0a\x09^ 'Workspace'",
  1224. messageSends: [],
  1225. referencedClasses: []
  1226. }),
  1227. smalltalk.HLOpenWorkspaceCommand.klass);
  1228. smalltalk.addClass('HLViewCommand', smalltalk.HLCommand, [], 'Helios-Commands');
  1229. smalltalk.addMethod(
  1230. "_label",
  1231. smalltalk.method({
  1232. selector: "label",
  1233. category: 'accessing',
  1234. fn: function (){
  1235. var self=this;
  1236. return smalltalk.withContext(function($ctx1) {
  1237. return "View";
  1238. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLViewCommand.klass)})},
  1239. args: [],
  1240. source: "label\x0a\x09^ 'View'",
  1241. messageSends: [],
  1242. referencedClasses: []
  1243. }),
  1244. smalltalk.HLViewCommand.klass);
  1245. });