Helios-Commands-Browser.deploy.js 41 KB

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