Helios-Commands.js 36 KB

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