Helios-Commands.deploy.js 28 KB

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