Helios-Commands-Browser.deploy.js 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443
  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: "isValidFor:",
  238. fn: function (anObject){
  239. var self=this;
  240. return smalltalk.withContext(function($ctx1) {
  241. var $1;
  242. $1=_st(anObject)._isPackage();
  243. return $1;
  244. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLCommitPackageCommand.klass)})},
  245. messageSends: ["isPackage"]}),
  246. smalltalk.HLCommitPackageCommand.klass);
  247. smalltalk.addMethod(
  248. smalltalk.method({
  249. selector: "key",
  250. fn: function (){
  251. var self=this;
  252. return smalltalk.withContext(function($ctx1) {
  253. return "k";
  254. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCommitPackageCommand.klass)})},
  255. messageSends: []}),
  256. smalltalk.HLCommitPackageCommand.klass);
  257. smalltalk.addMethod(
  258. smalltalk.method({
  259. selector: "label",
  260. fn: function (){
  261. var self=this;
  262. return smalltalk.withContext(function($ctx1) {
  263. return "Commit";
  264. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCommitPackageCommand.klass)})},
  265. messageSends: []}),
  266. smalltalk.HLCommitPackageCommand.klass);
  267. smalltalk.addClass('HLCopyCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  268. smalltalk.addMethod(
  269. smalltalk.method({
  270. selector: "key",
  271. fn: function (){
  272. var self=this;
  273. return smalltalk.withContext(function($ctx1) {
  274. return "c";
  275. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCopyCommand.klass)})},
  276. messageSends: []}),
  277. smalltalk.HLCopyCommand.klass);
  278. smalltalk.addMethod(
  279. smalltalk.method({
  280. selector: "label",
  281. fn: function (){
  282. var self=this;
  283. return smalltalk.withContext(function($ctx1) {
  284. return "Copy";
  285. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCopyCommand.klass)})},
  286. messageSends: []}),
  287. smalltalk.HLCopyCommand.klass);
  288. smalltalk.addClass('HLCopyClassCommand', smalltalk.HLCopyCommand, [], 'Helios-Commands-Browser');
  289. smalltalk.addMethod(
  290. smalltalk.method({
  291. selector: "category",
  292. fn: function (){
  293. var self=this;
  294. return smalltalk.withContext(function($ctx1) {
  295. return "Classes";
  296. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLCopyClassCommand)})},
  297. messageSends: []}),
  298. smalltalk.HLCopyClassCommand);
  299. smalltalk.addMethod(
  300. smalltalk.method({
  301. selector: "displayLabel",
  302. fn: function (){
  303. var self=this;
  304. return smalltalk.withContext(function($ctx1) {
  305. return "New class name:";
  306. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLCopyClassCommand)})},
  307. messageSends: []}),
  308. smalltalk.HLCopyClassCommand);
  309. smalltalk.addMethod(
  310. smalltalk.method({
  311. selector: "execute",
  312. fn: function (){
  313. var self=this;
  314. return smalltalk.withContext(function($ctx1) {
  315. _st(_st(self)._model())._copyClassTo_(_st(self)._input());
  316. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLCopyClassCommand)})},
  317. messageSends: ["copyClassTo:", "input", "model"]}),
  318. smalltalk.HLCopyClassCommand);
  319. smalltalk.addMethod(
  320. smalltalk.method({
  321. selector: "isActive",
  322. fn: function (){
  323. var self=this;
  324. return smalltalk.withContext(function($ctx1) {
  325. var $1;
  326. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  327. return $1;
  328. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLCopyClassCommand)})},
  329. messageSends: ["notNil", "selectedClass", "model"]}),
  330. smalltalk.HLCopyClassCommand);
  331. smalltalk.addMethod(
  332. smalltalk.method({
  333. selector: "isInputRequired",
  334. fn: function (){
  335. var self=this;
  336. return smalltalk.withContext(function($ctx1) {
  337. return true;
  338. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLCopyClassCommand)})},
  339. messageSends: []}),
  340. smalltalk.HLCopyClassCommand);
  341. smalltalk.addMethod(
  342. smalltalk.method({
  343. selector: "isValidFor:",
  344. fn: function (anObject){
  345. var self=this;
  346. return smalltalk.withContext(function($ctx1) {
  347. var $1;
  348. $1=_st(anObject)._isBehavior();
  349. return $1;
  350. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLCopyClassCommand.klass)})},
  351. messageSends: ["isBehavior"]}),
  352. smalltalk.HLCopyClassCommand.klass);
  353. smalltalk.addMethod(
  354. smalltalk.method({
  355. selector: "key",
  356. fn: function (){
  357. var self=this;
  358. return smalltalk.withContext(function($ctx1) {
  359. return "c";
  360. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCopyClassCommand.klass)})},
  361. messageSends: []}),
  362. smalltalk.HLCopyClassCommand.klass);
  363. smalltalk.addMethod(
  364. smalltalk.method({
  365. selector: "label",
  366. fn: function (){
  367. var self=this;
  368. return smalltalk.withContext(function($ctx1) {
  369. return "Class";
  370. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCopyClassCommand.klass)})},
  371. messageSends: []}),
  372. smalltalk.HLCopyClassCommand.klass);
  373. smalltalk.addMethod(
  374. smalltalk.method({
  375. selector: "menuLabel",
  376. fn: function (){
  377. var self=this;
  378. return smalltalk.withContext(function($ctx1) {
  379. return "Copy class...";
  380. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLCopyClassCommand.klass)})},
  381. messageSends: []}),
  382. smalltalk.HLCopyClassCommand.klass);
  383. smalltalk.addClass('HLFindCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  384. smalltalk.addMethod(
  385. smalltalk.method({
  386. selector: "key",
  387. fn: function (){
  388. var self=this;
  389. return smalltalk.withContext(function($ctx1) {
  390. return "f";
  391. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindCommand.klass)})},
  392. messageSends: []}),
  393. smalltalk.HLFindCommand.klass);
  394. smalltalk.addMethod(
  395. smalltalk.method({
  396. selector: "label",
  397. fn: function (){
  398. var self=this;
  399. return smalltalk.withContext(function($ctx1) {
  400. return "Find";
  401. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindCommand.klass)})},
  402. messageSends: []}),
  403. smalltalk.HLFindCommand.klass);
  404. smalltalk.addClass('HLFindClassCommand', smalltalk.HLFindCommand, [], 'Helios-Commands-Browser');
  405. smalltalk.addMethod(
  406. smalltalk.method({
  407. selector: "displayLabel",
  408. fn: function (){
  409. var self=this;
  410. return smalltalk.withContext(function($ctx1) {
  411. return "select a class";
  412. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLFindClassCommand)})},
  413. messageSends: []}),
  414. smalltalk.HLFindClassCommand);
  415. smalltalk.addMethod(
  416. smalltalk.method({
  417. selector: "execute",
  418. fn: function (){
  419. var self=this;
  420. return smalltalk.withContext(function($ctx1) {
  421. _st(_st(self)._model())._openClassNamed_(_st(self)._input());
  422. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLFindClassCommand)})},
  423. messageSends: ["openClassNamed:", "input", "model"]}),
  424. smalltalk.HLFindClassCommand);
  425. smalltalk.addMethod(
  426. smalltalk.method({
  427. selector: "inputCompletion",
  428. fn: function (){
  429. var self=this;
  430. return smalltalk.withContext(function($ctx1) {
  431. var $1;
  432. $1=_st(_st(self)._model())._availableClassNames();
  433. return $1;
  434. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLFindClassCommand)})},
  435. messageSends: ["availableClassNames", "model"]}),
  436. smalltalk.HLFindClassCommand);
  437. smalltalk.addMethod(
  438. smalltalk.method({
  439. selector: "inputLabel",
  440. fn: function (){
  441. var self=this;
  442. return smalltalk.withContext(function($ctx1) {
  443. return "Find a class";
  444. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLFindClassCommand)})},
  445. messageSends: []}),
  446. smalltalk.HLFindClassCommand);
  447. smalltalk.addMethod(
  448. smalltalk.method({
  449. selector: "isInputRequired",
  450. fn: function (){
  451. var self=this;
  452. return smalltalk.withContext(function($ctx1) {
  453. return true;
  454. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLFindClassCommand)})},
  455. messageSends: []}),
  456. smalltalk.HLFindClassCommand);
  457. smalltalk.addMethod(
  458. smalltalk.method({
  459. selector: "key",
  460. fn: function (){
  461. var self=this;
  462. return smalltalk.withContext(function($ctx1) {
  463. return "c";
  464. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindClassCommand.klass)})},
  465. messageSends: []}),
  466. smalltalk.HLFindClassCommand.klass);
  467. smalltalk.addMethod(
  468. smalltalk.method({
  469. selector: "label",
  470. fn: function (){
  471. var self=this;
  472. return smalltalk.withContext(function($ctx1) {
  473. return "Class";
  474. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindClassCommand.klass)})},
  475. messageSends: []}),
  476. smalltalk.HLFindClassCommand.klass);
  477. smalltalk.addClass('HLMoveToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  478. smalltalk.addMethod(
  479. smalltalk.method({
  480. selector: "key",
  481. fn: function (){
  482. var self=this;
  483. return smalltalk.withContext(function($ctx1) {
  484. return "m";
  485. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
  486. messageSends: []}),
  487. smalltalk.HLMoveToCommand.klass);
  488. smalltalk.addMethod(
  489. smalltalk.method({
  490. selector: "label",
  491. fn: function (){
  492. var self=this;
  493. return smalltalk.withContext(function($ctx1) {
  494. return "Move";
  495. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
  496. messageSends: []}),
  497. smalltalk.HLMoveToCommand.klass);
  498. smalltalk.addClass('HLMoveClassToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Browser');
  499. smalltalk.addMethod(
  500. smalltalk.method({
  501. selector: "isActive",
  502. fn: function (){
  503. var self=this;
  504. return smalltalk.withContext(function($ctx1) {
  505. var $1;
  506. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  507. return $1;
  508. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveClassToCommand)})},
  509. messageSends: ["notNil", "selectedClass", "model"]}),
  510. smalltalk.HLMoveClassToCommand);
  511. smalltalk.addMethod(
  512. smalltalk.method({
  513. selector: "key",
  514. fn: function (){
  515. var self=this;
  516. return smalltalk.withContext(function($ctx1) {
  517. return "c";
  518. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveClassToCommand.klass)})},
  519. messageSends: []}),
  520. smalltalk.HLMoveClassToCommand.klass);
  521. smalltalk.addMethod(
  522. smalltalk.method({
  523. selector: "label",
  524. fn: function (){
  525. var self=this;
  526. return smalltalk.withContext(function($ctx1) {
  527. return "Class";
  528. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveClassToCommand.klass)})},
  529. messageSends: []}),
  530. smalltalk.HLMoveClassToCommand.klass);
  531. smalltalk.addClass('HLMoveClassToPackageCommand', smalltalk.HLMoveClassToCommand, [], 'Helios-Commands-Browser');
  532. smalltalk.addMethod(
  533. smalltalk.method({
  534. selector: "category",
  535. fn: function (){
  536. var self=this;
  537. return smalltalk.withContext(function($ctx1) {
  538. return "Classes";
  539. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLMoveClassToPackageCommand)})},
  540. messageSends: []}),
  541. smalltalk.HLMoveClassToPackageCommand);
  542. smalltalk.addMethod(
  543. smalltalk.method({
  544. selector: "displayLabel",
  545. fn: function (){
  546. var self=this;
  547. return smalltalk.withContext(function($ctx1) {
  548. return "select a package";
  549. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveClassCommand)})},
  550. messageSends: []}),
  551. smalltalk.HLMoveClassToPackageCommand);
  552. smalltalk.addMethod(
  553. smalltalk.method({
  554. selector: "execute",
  555. fn: function (){
  556. var self=this;
  557. return smalltalk.withContext(function($ctx1) {
  558. _st(_st(self)._model())._moveClassToPackage_(_st(self)._input());
  559. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveClassCommand)})},
  560. messageSends: ["moveClassToPackage:", "input", "model"]}),
  561. smalltalk.HLMoveClassToPackageCommand);
  562. smalltalk.addMethod(
  563. smalltalk.method({
  564. selector: "inputCompletion",
  565. fn: function (){
  566. var self=this;
  567. return smalltalk.withContext(function($ctx1) {
  568. var $1;
  569. $1=_st(_st(self)._model())._availablePackageNames();
  570. return $1;
  571. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveClassCommand)})},
  572. messageSends: ["availablePackageNames", "model"]}),
  573. smalltalk.HLMoveClassToPackageCommand);
  574. smalltalk.addMethod(
  575. smalltalk.method({
  576. selector: "inputLabel",
  577. fn: function (){
  578. var self=this;
  579. return smalltalk.withContext(function($ctx1) {
  580. return "Move class to package:";
  581. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveClassCommand)})},
  582. messageSends: []}),
  583. smalltalk.HLMoveClassToPackageCommand);
  584. smalltalk.addMethod(
  585. smalltalk.method({
  586. selector: "isInputRequired",
  587. fn: function (){
  588. var self=this;
  589. return smalltalk.withContext(function($ctx1) {
  590. return true;
  591. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveClassCommand)})},
  592. messageSends: []}),
  593. smalltalk.HLMoveClassToPackageCommand);
  594. smalltalk.addMethod(
  595. smalltalk.method({
  596. selector: "isValidFor:",
  597. fn: function (anObject){
  598. var self=this;
  599. return smalltalk.withContext(function($ctx1) {
  600. var $1;
  601. $1=_st(anObject)._isBehavior();
  602. return $1;
  603. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveClassCommand.klass)})},
  604. messageSends: ["isBehavior"]}),
  605. smalltalk.HLMoveClassToPackageCommand.klass);
  606. smalltalk.addMethod(
  607. smalltalk.method({
  608. selector: "key",
  609. fn: function (){
  610. var self=this;
  611. return smalltalk.withContext(function($ctx1) {
  612. return "p";
  613. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveClassCommand.klass)})},
  614. messageSends: []}),
  615. smalltalk.HLMoveClassToPackageCommand.klass);
  616. smalltalk.addMethod(
  617. smalltalk.method({
  618. selector: "label",
  619. fn: function (){
  620. var self=this;
  621. return smalltalk.withContext(function($ctx1) {
  622. return "to package";
  623. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveClassCommand.klass)})},
  624. messageSends: []}),
  625. smalltalk.HLMoveClassToPackageCommand.klass);
  626. smalltalk.addMethod(
  627. smalltalk.method({
  628. selector: "menuLabel",
  629. fn: function (){
  630. var self=this;
  631. return smalltalk.withContext(function($ctx1) {
  632. return "Move to package...";
  633. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveClassCommand.klass)})},
  634. messageSends: []}),
  635. smalltalk.HLMoveClassToPackageCommand.klass);
  636. smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Browser');
  637. smalltalk.addMethod(
  638. smalltalk.method({
  639. selector: "category",
  640. fn: function (){
  641. var self=this;
  642. return smalltalk.withContext(function($ctx1) {
  643. return "Methods";
  644. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLMoveMethodToCommand)})},
  645. messageSends: []}),
  646. smalltalk.HLMoveMethodToCommand);
  647. smalltalk.addMethod(
  648. smalltalk.method({
  649. selector: "isActive",
  650. fn: function (){
  651. var self=this;
  652. return smalltalk.withContext(function($ctx1) {
  653. var $1;
  654. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  655. return $1;
  656. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveMethodToCommand)})},
  657. messageSends: ["notNil", "selectedMethod", "model"]}),
  658. smalltalk.HLMoveMethodToCommand);
  659. smalltalk.addMethod(
  660. smalltalk.method({
  661. selector: "key",
  662. fn: function (){
  663. var self=this;
  664. return smalltalk.withContext(function($ctx1) {
  665. return "m";
  666. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
  667. messageSends: []}),
  668. smalltalk.HLMoveMethodToCommand.klass);
  669. smalltalk.addMethod(
  670. smalltalk.method({
  671. selector: "label",
  672. fn: function (){
  673. var self=this;
  674. return smalltalk.withContext(function($ctx1) {
  675. return "Method";
  676. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
  677. messageSends: []}),
  678. smalltalk.HLMoveMethodToCommand.klass);
  679. smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  680. smalltalk.addMethod(
  681. smalltalk.method({
  682. selector: "displayLabel",
  683. fn: function (){
  684. var self=this;
  685. return smalltalk.withContext(function($ctx1) {
  686. return "select a class";
  687. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  688. messageSends: []}),
  689. smalltalk.HLMoveMethodToClassCommand);
  690. smalltalk.addMethod(
  691. smalltalk.method({
  692. selector: "execute",
  693. fn: function (){
  694. var self=this;
  695. return smalltalk.withContext(function($ctx1) {
  696. _st(_st(self)._model())._moveMethodToClass_(_st(self)._input());
  697. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
  698. messageSends: ["moveMethodToClass:", "input", "model"]}),
  699. smalltalk.HLMoveMethodToClassCommand);
  700. smalltalk.addMethod(
  701. smalltalk.method({
  702. selector: "inputCompletion",
  703. fn: function (){
  704. var self=this;
  705. return smalltalk.withContext(function($ctx1) {
  706. var $1;
  707. $1=_st(_st(self)._model())._availableClassNames();
  708. return $1;
  709. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToClassCommand)})},
  710. messageSends: ["availableClassNames", "model"]}),
  711. smalltalk.HLMoveMethodToClassCommand);
  712. smalltalk.addMethod(
  713. smalltalk.method({
  714. selector: "inputLabel",
  715. fn: function (){
  716. var self=this;
  717. return smalltalk.withContext(function($ctx1) {
  718. return "Move method to class:";
  719. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  720. messageSends: []}),
  721. smalltalk.HLMoveMethodToClassCommand);
  722. smalltalk.addMethod(
  723. smalltalk.method({
  724. selector: "isInputRequired",
  725. fn: function (){
  726. var self=this;
  727. return smalltalk.withContext(function($ctx1) {
  728. return true;
  729. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToClassCommand)})},
  730. messageSends: []}),
  731. smalltalk.HLMoveMethodToClassCommand);
  732. smalltalk.addMethod(
  733. smalltalk.method({
  734. selector: "isValidFor:",
  735. fn: function (anObject){
  736. var self=this;
  737. return smalltalk.withContext(function($ctx1) {
  738. var $1;
  739. $1=_st(anObject)._isCompiledMethod();
  740. return $1;
  741. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveMethodToClassCommand.klass)})},
  742. messageSends: ["isCompiledMethod"]}),
  743. smalltalk.HLMoveMethodToClassCommand.klass);
  744. smalltalk.addMethod(
  745. smalltalk.method({
  746. selector: "key",
  747. fn: function (){
  748. var self=this;
  749. return smalltalk.withContext(function($ctx1) {
  750. return "c";
  751. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  752. messageSends: []}),
  753. smalltalk.HLMoveMethodToClassCommand.klass);
  754. smalltalk.addMethod(
  755. smalltalk.method({
  756. selector: "label",
  757. fn: function (){
  758. var self=this;
  759. return smalltalk.withContext(function($ctx1) {
  760. return "to class";
  761. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  762. messageSends: []}),
  763. smalltalk.HLMoveMethodToClassCommand.klass);
  764. smalltalk.addMethod(
  765. smalltalk.method({
  766. selector: "menuLabel",
  767. fn: function (){
  768. var self=this;
  769. return smalltalk.withContext(function($ctx1) {
  770. return "Move to class...";
  771. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  772. messageSends: []}),
  773. smalltalk.HLMoveMethodToClassCommand.klass);
  774. smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Browser');
  775. smalltalk.addMethod(
  776. smalltalk.method({
  777. selector: "displayLabel",
  778. fn: function (){
  779. var self=this;
  780. return smalltalk.withContext(function($ctx1) {
  781. return "select a protocol";
  782. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  783. messageSends: []}),
  784. smalltalk.HLMoveMethodToProtocolCommand);
  785. smalltalk.addMethod(
  786. smalltalk.method({
  787. selector: "execute",
  788. fn: function (){
  789. var self=this;
  790. return smalltalk.withContext(function($ctx1) {
  791. _st(_st(self)._model())._moveMethodToProtocol_(_st(self)._input());
  792. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  793. messageSends: ["moveMethodToProtocol:", "input", "model"]}),
  794. smalltalk.HLMoveMethodToProtocolCommand);
  795. smalltalk.addMethod(
  796. smalltalk.method({
  797. selector: "inputCompletion",
  798. fn: function (){
  799. var self=this;
  800. return smalltalk.withContext(function($ctx1) {
  801. var $1;
  802. $1=_st(_st(self)._model())._availableProtocols();
  803. return $1;
  804. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  805. messageSends: ["availableProtocols", "model"]}),
  806. smalltalk.HLMoveMethodToProtocolCommand);
  807. smalltalk.addMethod(
  808. smalltalk.method({
  809. selector: "inputLabel",
  810. fn: function (){
  811. var self=this;
  812. return smalltalk.withContext(function($ctx1) {
  813. return "Move method to a protocol:";
  814. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  815. messageSends: []}),
  816. smalltalk.HLMoveMethodToProtocolCommand);
  817. smalltalk.addMethod(
  818. smalltalk.method({
  819. selector: "isInputRequired",
  820. fn: function (){
  821. var self=this;
  822. return smalltalk.withContext(function($ctx1) {
  823. return true;
  824. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  825. messageSends: []}),
  826. smalltalk.HLMoveMethodToProtocolCommand);
  827. smalltalk.addMethod(
  828. smalltalk.method({
  829. selector: "isValidFor:",
  830. fn: function (anObject){
  831. var self=this;
  832. return smalltalk.withContext(function($ctx1) {
  833. var $1;
  834. $1=_st(anObject)._isCompiledMethod();
  835. return $1;
  836. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  837. messageSends: ["isCompiledMethod"]}),
  838. smalltalk.HLMoveMethodToProtocolCommand.klass);
  839. smalltalk.addMethod(
  840. smalltalk.method({
  841. selector: "key",
  842. fn: function (){
  843. var self=this;
  844. return smalltalk.withContext(function($ctx1) {
  845. return "t";
  846. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  847. messageSends: []}),
  848. smalltalk.HLMoveMethodToProtocolCommand.klass);
  849. smalltalk.addMethod(
  850. smalltalk.method({
  851. selector: "label",
  852. fn: function (){
  853. var self=this;
  854. return smalltalk.withContext(function($ctx1) {
  855. return "to protocol";
  856. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  857. messageSends: []}),
  858. smalltalk.HLMoveMethodToProtocolCommand.klass);
  859. smalltalk.addMethod(
  860. smalltalk.method({
  861. selector: "menuLabel",
  862. fn: function (){
  863. var self=this;
  864. return smalltalk.withContext(function($ctx1) {
  865. return "Move to protocol...";
  866. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  867. messageSends: []}),
  868. smalltalk.HLMoveMethodToProtocolCommand.klass);
  869. smalltalk.addClass('HLRemoveCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  870. smalltalk.addMethod(
  871. smalltalk.method({
  872. selector: "key",
  873. fn: function (){
  874. var self=this;
  875. return smalltalk.withContext(function($ctx1) {
  876. return "x";
  877. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveCommand.klass)})},
  878. messageSends: []}),
  879. smalltalk.HLRemoveCommand.klass);
  880. smalltalk.addMethod(
  881. smalltalk.method({
  882. selector: "label",
  883. fn: function (){
  884. var self=this;
  885. return smalltalk.withContext(function($ctx1) {
  886. return "Remove";
  887. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveCommand.klass)})},
  888. messageSends: []}),
  889. smalltalk.HLRemoveCommand.klass);
  890. smalltalk.addClass('HLRemoveClassCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Browser');
  891. smalltalk.addMethod(
  892. smalltalk.method({
  893. selector: "category",
  894. fn: function (){
  895. var self=this;
  896. return smalltalk.withContext(function($ctx1) {
  897. return "Classes";
  898. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRemoveClassCommand)})},
  899. messageSends: []}),
  900. smalltalk.HLRemoveClassCommand);
  901. smalltalk.addMethod(
  902. smalltalk.method({
  903. selector: "execute",
  904. fn: function (){
  905. var self=this;
  906. return smalltalk.withContext(function($ctx1) {
  907. _st(_st(self)._model())._removeClass();
  908. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveClassCommand)})},
  909. messageSends: ["removeClass", "model"]}),
  910. smalltalk.HLRemoveClassCommand);
  911. smalltalk.addMethod(
  912. smalltalk.method({
  913. selector: "isActive",
  914. fn: function (){
  915. var self=this;
  916. return smalltalk.withContext(function($ctx1) {
  917. var $1;
  918. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  919. return $1;
  920. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveClassCommand)})},
  921. messageSends: ["notNil", "selectedClass", "model"]}),
  922. smalltalk.HLRemoveClassCommand);
  923. smalltalk.addMethod(
  924. smalltalk.method({
  925. selector: "isValidFor:",
  926. fn: function (anObject){
  927. var self=this;
  928. return smalltalk.withContext(function($ctx1) {
  929. var $1;
  930. $1=_st(anObject)._isBehavior();
  931. return $1;
  932. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLRemoveClassCommand.klass)})},
  933. messageSends: ["isBehavior"]}),
  934. smalltalk.HLRemoveClassCommand.klass);
  935. smalltalk.addMethod(
  936. smalltalk.method({
  937. selector: "key",
  938. fn: function (){
  939. var self=this;
  940. return smalltalk.withContext(function($ctx1) {
  941. return "c";
  942. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveClassCommand.klass)})},
  943. messageSends: []}),
  944. smalltalk.HLRemoveClassCommand.klass);
  945. smalltalk.addMethod(
  946. smalltalk.method({
  947. selector: "label",
  948. fn: function (){
  949. var self=this;
  950. return smalltalk.withContext(function($ctx1) {
  951. return "Class";
  952. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveClassCommand.klass)})},
  953. messageSends: []}),
  954. smalltalk.HLRemoveClassCommand.klass);
  955. smalltalk.addMethod(
  956. smalltalk.method({
  957. selector: "menuLabel",
  958. fn: function (){
  959. var self=this;
  960. return smalltalk.withContext(function($ctx1) {
  961. return "Remove class";
  962. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveClassCommand.klass)})},
  963. messageSends: []}),
  964. smalltalk.HLRemoveClassCommand.klass);
  965. smalltalk.addClass('HLRemoveMethodCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Browser');
  966. smalltalk.addMethod(
  967. smalltalk.method({
  968. selector: "category",
  969. fn: function (){
  970. var self=this;
  971. return smalltalk.withContext(function($ctx1) {
  972. return "Methods";
  973. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRemoveMethodCommand)})},
  974. messageSends: []}),
  975. smalltalk.HLRemoveMethodCommand);
  976. smalltalk.addMethod(
  977. smalltalk.method({
  978. selector: "execute",
  979. fn: function (){
  980. var self=this;
  981. return smalltalk.withContext(function($ctx1) {
  982. _st(_st(self)._model())._removeMethod();
  983. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveMethodCommand)})},
  984. messageSends: ["removeMethod", "model"]}),
  985. smalltalk.HLRemoveMethodCommand);
  986. smalltalk.addMethod(
  987. smalltalk.method({
  988. selector: "isActive",
  989. fn: function (){
  990. var self=this;
  991. return smalltalk.withContext(function($ctx1) {
  992. var $1;
  993. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  994. return $1;
  995. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveMethodCommand)})},
  996. messageSends: ["notNil", "selectedMethod", "model"]}),
  997. smalltalk.HLRemoveMethodCommand);
  998. smalltalk.addMethod(
  999. smalltalk.method({
  1000. selector: "isValidFor:",
  1001. fn: function (anObject){
  1002. var self=this;
  1003. return smalltalk.withContext(function($ctx1) {
  1004. var $1;
  1005. $1=_st(anObject)._isCompiledMethod();
  1006. return $1;
  1007. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLRemoveMethodCommand.klass)})},
  1008. messageSends: ["isCompiledMethod"]}),
  1009. smalltalk.HLRemoveMethodCommand.klass);
  1010. smalltalk.addMethod(
  1011. smalltalk.method({
  1012. selector: "key",
  1013. fn: function (){
  1014. var self=this;
  1015. return smalltalk.withContext(function($ctx1) {
  1016. return "m";
  1017. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1018. messageSends: []}),
  1019. smalltalk.HLRemoveMethodCommand.klass);
  1020. smalltalk.addMethod(
  1021. smalltalk.method({
  1022. selector: "label",
  1023. fn: function (){
  1024. var self=this;
  1025. return smalltalk.withContext(function($ctx1) {
  1026. return "Method";
  1027. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1028. messageSends: []}),
  1029. smalltalk.HLRemoveMethodCommand.klass);
  1030. smalltalk.addMethod(
  1031. smalltalk.method({
  1032. selector: "menuLabel",
  1033. fn: function (){
  1034. var self=this;
  1035. return smalltalk.withContext(function($ctx1) {
  1036. return "Remove method";
  1037. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1038. messageSends: []}),
  1039. smalltalk.HLRemoveMethodCommand.klass);
  1040. smalltalk.addClass('HLRenameCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  1041. smalltalk.addMethod(
  1042. smalltalk.method({
  1043. selector: "key",
  1044. fn: function (){
  1045. var self=this;
  1046. return smalltalk.withContext(function($ctx1) {
  1047. return "r";
  1048. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRenameCommand.klass)})},
  1049. messageSends: []}),
  1050. smalltalk.HLRenameCommand.klass);
  1051. smalltalk.addMethod(
  1052. smalltalk.method({
  1053. selector: "label",
  1054. fn: function (){
  1055. var self=this;
  1056. return smalltalk.withContext(function($ctx1) {
  1057. return "Rename";
  1058. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRenameCommand.klass)})},
  1059. messageSends: []}),
  1060. smalltalk.HLRenameCommand.klass);
  1061. smalltalk.addClass('HLRenameClassCommand', smalltalk.HLRenameCommand, [], 'Helios-Commands-Browser');
  1062. smalltalk.addMethod(
  1063. smalltalk.method({
  1064. selector: "category",
  1065. fn: function (){
  1066. var self=this;
  1067. return smalltalk.withContext(function($ctx1) {
  1068. return "Classes";
  1069. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRenameClassCommand)})},
  1070. messageSends: []}),
  1071. smalltalk.HLRenameClassCommand);
  1072. smalltalk.addMethod(
  1073. smalltalk.method({
  1074. selector: "displayLabel",
  1075. fn: function (){
  1076. var self=this;
  1077. return smalltalk.withContext(function($ctx1) {
  1078. return "Rename class to:";
  1079. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLRenameClassCommand)})},
  1080. messageSends: []}),
  1081. smalltalk.HLRenameClassCommand);
  1082. smalltalk.addMethod(
  1083. smalltalk.method({
  1084. selector: "execute",
  1085. fn: function (){
  1086. var self=this;
  1087. return smalltalk.withContext(function($ctx1) {
  1088. _st(_st(self)._model())._renameClassTo_(_st(self)._input());
  1089. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRenameClassCommand)})},
  1090. messageSends: ["renameClassTo:", "input", "model"]}),
  1091. smalltalk.HLRenameClassCommand);
  1092. smalltalk.addMethod(
  1093. smalltalk.method({
  1094. selector: "isActive",
  1095. fn: function (){
  1096. var self=this;
  1097. return smalltalk.withContext(function($ctx1) {
  1098. var $1;
  1099. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  1100. return $1;
  1101. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRenameClassCommand)})},
  1102. messageSends: ["notNil", "selectedClass", "model"]}),
  1103. smalltalk.HLRenameClassCommand);
  1104. smalltalk.addMethod(
  1105. smalltalk.method({
  1106. selector: "isInputRequired",
  1107. fn: function (){
  1108. var self=this;
  1109. return smalltalk.withContext(function($ctx1) {
  1110. return true;
  1111. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLRenameClassCommand)})},
  1112. messageSends: []}),
  1113. smalltalk.HLRenameClassCommand);
  1114. smalltalk.addMethod(
  1115. smalltalk.method({
  1116. selector: "isValidFor:",
  1117. fn: function (anObject){
  1118. var self=this;
  1119. return smalltalk.withContext(function($ctx1) {
  1120. var $1;
  1121. $1=_st(anObject)._isBehavior();
  1122. return $1;
  1123. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{anObject:anObject},smalltalk.HLRenameClassCommand.klass)})},
  1124. messageSends: ["isBehavior"]}),
  1125. smalltalk.HLRenameClassCommand.klass);
  1126. smalltalk.addMethod(
  1127. smalltalk.method({
  1128. selector: "key",
  1129. fn: function (){
  1130. var self=this;
  1131. return smalltalk.withContext(function($ctx1) {
  1132. return "m";
  1133. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRenameClassCommand.klass)})},
  1134. messageSends: []}),
  1135. smalltalk.HLRenameClassCommand.klass);
  1136. smalltalk.addMethod(
  1137. smalltalk.method({
  1138. selector: "label",
  1139. fn: function (){
  1140. var self=this;
  1141. return smalltalk.withContext(function($ctx1) {
  1142. return "Class";
  1143. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRenameClassCommand.klass)})},
  1144. messageSends: []}),
  1145. smalltalk.HLRenameClassCommand.klass);
  1146. smalltalk.addMethod(
  1147. smalltalk.method({
  1148. selector: "menuLabel",
  1149. fn: function (){
  1150. var self=this;
  1151. return smalltalk.withContext(function($ctx1) {
  1152. return "Rename class...";
  1153. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRenameClassCommand.klass)})},
  1154. messageSends: []}),
  1155. smalltalk.HLRenameClassCommand.klass);
  1156. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Browser');
  1157. smalltalk.addMethod(
  1158. smalltalk.method({
  1159. selector: "key",
  1160. fn: function (){
  1161. var self=this;
  1162. return smalltalk.withContext(function($ctx1) {
  1163. return "t";
  1164. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
  1165. messageSends: []}),
  1166. smalltalk.HLToggleCommand.klass);
  1167. smalltalk.addMethod(
  1168. smalltalk.method({
  1169. selector: "label",
  1170. fn: function (){
  1171. var self=this;
  1172. return smalltalk.withContext(function($ctx1) {
  1173. return "Toggle";
  1174. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
  1175. messageSends: []}),
  1176. smalltalk.HLToggleCommand.klass);
  1177. smalltalk.addClass('HLToggleClassCommentCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1178. smalltalk.addMethod(
  1179. smalltalk.method({
  1180. selector: "execute",
  1181. fn: function (){
  1182. var self=this;
  1183. return smalltalk.withContext(function($ctx1) {
  1184. _st(_st(self)._model())._showComment_(true);
  1185. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassCommentCommand)})},
  1186. messageSends: ["showComment:", "model"]}),
  1187. smalltalk.HLToggleClassCommentCommand);
  1188. smalltalk.addMethod(
  1189. smalltalk.method({
  1190. selector: "key",
  1191. fn: function (){
  1192. var self=this;
  1193. return smalltalk.withContext(function($ctx1) {
  1194. return "d";
  1195. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassCommentCommand.klass)})},
  1196. messageSends: []}),
  1197. smalltalk.HLToggleClassCommentCommand.klass);
  1198. smalltalk.addMethod(
  1199. smalltalk.method({
  1200. selector: "label",
  1201. fn: function (){
  1202. var self=this;
  1203. return smalltalk.withContext(function($ctx1) {
  1204. return "Documentation";
  1205. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassCommentCommand.klass)})},
  1206. messageSends: []}),
  1207. smalltalk.HLToggleClassCommentCommand.klass);
  1208. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1209. smalltalk.addMethod(
  1210. smalltalk.method({
  1211. selector: "execute",
  1212. fn: function (){
  1213. var self=this;
  1214. return smalltalk.withContext(function($ctx1) {
  1215. _st(_st(self)._model())._showInstance_(false);
  1216. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
  1217. messageSends: ["showInstance:", "model"]}),
  1218. smalltalk.HLToggleClassSideCommand);
  1219. smalltalk.addMethod(
  1220. smalltalk.method({
  1221. selector: "key",
  1222. fn: function (){
  1223. var self=this;
  1224. return smalltalk.withContext(function($ctx1) {
  1225. return "c";
  1226. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1227. messageSends: []}),
  1228. smalltalk.HLToggleClassSideCommand.klass);
  1229. smalltalk.addMethod(
  1230. smalltalk.method({
  1231. selector: "label",
  1232. fn: function (){
  1233. var self=this;
  1234. return smalltalk.withContext(function($ctx1) {
  1235. return "Class side";
  1236. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
  1237. messageSends: []}),
  1238. smalltalk.HLToggleClassSideCommand.klass);
  1239. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Browser');
  1240. smalltalk.addMethod(
  1241. smalltalk.method({
  1242. selector: "execute",
  1243. fn: function (){
  1244. var self=this;
  1245. return smalltalk.withContext(function($ctx1) {
  1246. _st(_st(self)._model())._showInstance_(true);
  1247. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
  1248. messageSends: ["showInstance:", "model"]}),
  1249. smalltalk.HLToggleInstanceSideCommand);
  1250. smalltalk.addMethod(
  1251. smalltalk.method({
  1252. selector: "key",
  1253. fn: function (){
  1254. var self=this;
  1255. return smalltalk.withContext(function($ctx1) {
  1256. return "i";
  1257. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1258. messageSends: []}),
  1259. smalltalk.HLToggleInstanceSideCommand.klass);
  1260. smalltalk.addMethod(
  1261. smalltalk.method({
  1262. selector: "label",
  1263. fn: function (){
  1264. var self=this;
  1265. return smalltalk.withContext(function($ctx1) {
  1266. return "Instance side";
  1267. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  1268. messageSends: []}),
  1269. smalltalk.HLToggleInstanceSideCommand.klass);