Helios-Commands.js 36 KB

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