Helios-Commands-Tools.js 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376
  1. smalltalk.addPackage('Helios-Commands-Tools');
  2. smalltalk.addClass('HLBrowserCommand', smalltalk.HLModelCommand, [], 'Helios-Commands-Tools');
  3. smalltalk.addMethod(
  4. smalltalk.method({
  5. selector: "category",
  6. category: 'accessing',
  7. fn: function (){
  8. var self=this;
  9. return smalltalk.withContext(function($ctx1) {
  10. return nil;
  11. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLBrowserCommand)})},
  12. args: [],
  13. source: "category\x0a\x09^ nil",
  14. messageSends: [],
  15. referencedClasses: []
  16. }),
  17. smalltalk.HLBrowserCommand);
  18. smalltalk.addMethod(
  19. smalltalk.method({
  20. selector: "for:",
  21. category: 'instance creation',
  22. fn: function (aToolModel){
  23. var self=this;
  24. return smalltalk.withContext(function($ctx1) {
  25. var $2,$3,$1;
  26. $2=_st(self)._new();
  27. _st($2)._model_(aToolModel);
  28. $3=_st($2)._yourself();
  29. $1=$3;
  30. return $1;
  31. }, function($ctx1) {$ctx1.fill(self,"for:",{aToolModel:aToolModel},smalltalk.HLBrowserCommand.klass)})},
  32. args: ["aToolModel"],
  33. source: "for: aToolModel\x0a\x09^ self new\x0a \x09model: aToolModel;\x0a yourself",
  34. messageSends: ["model:", "new", "yourself"],
  35. referencedClasses: []
  36. }),
  37. smalltalk.HLBrowserCommand.klass);
  38. smalltalk.addMethod(
  39. smalltalk.method({
  40. selector: "isValidFor:",
  41. category: 'testing',
  42. fn: function (aModel){
  43. var self=this;
  44. return smalltalk.withContext(function($ctx1) {
  45. var $1;
  46. $1=_st(aModel)._isToolModel();
  47. return $1;
  48. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{aModel:aModel},smalltalk.HLBrowserCommand.klass)})},
  49. args: ["aModel"],
  50. source: "isValidFor: aModel\x0a\x09^ aModel isToolModel",
  51. messageSends: ["isToolModel"],
  52. referencedClasses: []
  53. }),
  54. smalltalk.HLBrowserCommand.klass);
  55. smalltalk.addClass('HLBrowserGoToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  56. smalltalk.addMethod(
  57. smalltalk.method({
  58. selector: "isValidFor:",
  59. category: 'testing',
  60. fn: function (aModel){
  61. var self=this;
  62. return smalltalk.withContext(function($ctx1) {
  63. var $1;
  64. $1=_st(aModel)._isBrowserModel();
  65. return $1;
  66. }, function($ctx1) {$ctx1.fill(self,"isValidFor:",{aModel:aModel},smalltalk.HLBrowserGoToCommand.klass)})},
  67. args: ["aModel"],
  68. source: "isValidFor: aModel\x0a\x09^ aModel isBrowserModel",
  69. messageSends: ["isBrowserModel"],
  70. referencedClasses: []
  71. }),
  72. smalltalk.HLBrowserGoToCommand.klass);
  73. smalltalk.addMethod(
  74. smalltalk.method({
  75. selector: "key",
  76. category: 'accessing',
  77. fn: function (){
  78. var self=this;
  79. return smalltalk.withContext(function($ctx1) {
  80. return "g";
  81. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLBrowserGoToCommand.klass)})},
  82. args: [],
  83. source: "key\x0a\x09^ 'g'",
  84. messageSends: [],
  85. referencedClasses: []
  86. }),
  87. smalltalk.HLBrowserGoToCommand.klass);
  88. smalltalk.addMethod(
  89. smalltalk.method({
  90. selector: "label",
  91. category: 'accessing',
  92. fn: function (){
  93. var self=this;
  94. return smalltalk.withContext(function($ctx1) {
  95. return "Go to";
  96. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLBrowserGoToCommand.klass)})},
  97. args: [],
  98. source: "label\x0a\x09^ 'Go to'",
  99. messageSends: [],
  100. referencedClasses: []
  101. }),
  102. smalltalk.HLBrowserGoToCommand.klass);
  103. smalltalk.addClass('HLGoToClassesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  104. smalltalk.addMethod(
  105. smalltalk.method({
  106. selector: "execute",
  107. category: 'executing',
  108. fn: function (){
  109. var self=this;
  110. return smalltalk.withContext(function($ctx1) {
  111. _st(_st(self)._model())._focusOnClasses();
  112. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToClassesCommand)})},
  113. args: [],
  114. source: "execute\x0a\x09self model focusOnClasses",
  115. messageSends: ["focusOnClasses", "model"],
  116. referencedClasses: []
  117. }),
  118. smalltalk.HLGoToClassesCommand);
  119. smalltalk.addMethod(
  120. smalltalk.method({
  121. selector: "key",
  122. category: 'accessing',
  123. fn: function (){
  124. var self=this;
  125. return smalltalk.withContext(function($ctx1) {
  126. return "c";
  127. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToClassesCommand.klass)})},
  128. args: [],
  129. source: "key\x0a\x09^ 'c'",
  130. messageSends: [],
  131. referencedClasses: []
  132. }),
  133. smalltalk.HLGoToClassesCommand.klass);
  134. smalltalk.addMethod(
  135. smalltalk.method({
  136. selector: "label",
  137. category: 'accessing',
  138. fn: function (){
  139. var self=this;
  140. return smalltalk.withContext(function($ctx1) {
  141. return "Classes";
  142. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToClassesCommand.klass)})},
  143. args: [],
  144. source: "label\x0a\x09^ 'Classes'",
  145. messageSends: [],
  146. referencedClasses: []
  147. }),
  148. smalltalk.HLGoToClassesCommand.klass);
  149. smalltalk.addClass('HLGoToMethodsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  150. smalltalk.addMethod(
  151. smalltalk.method({
  152. selector: "execute",
  153. category: 'executing',
  154. fn: function (){
  155. var self=this;
  156. return smalltalk.withContext(function($ctx1) {
  157. _st(_st(self)._model())._focusOnMethods();
  158. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToMethodsCommand)})},
  159. args: [],
  160. source: "execute\x0a\x09self model focusOnMethods",
  161. messageSends: ["focusOnMethods", "model"],
  162. referencedClasses: []
  163. }),
  164. smalltalk.HLGoToMethodsCommand);
  165. smalltalk.addMethod(
  166. smalltalk.method({
  167. selector: "key",
  168. category: 'accessing',
  169. fn: function (){
  170. var self=this;
  171. return smalltalk.withContext(function($ctx1) {
  172. return "m";
  173. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToMethodsCommand.klass)})},
  174. args: [],
  175. source: "key\x0a\x09^ 'm'",
  176. messageSends: [],
  177. referencedClasses: []
  178. }),
  179. smalltalk.HLGoToMethodsCommand.klass);
  180. smalltalk.addMethod(
  181. smalltalk.method({
  182. selector: "label",
  183. category: 'accessing',
  184. fn: function (){
  185. var self=this;
  186. return smalltalk.withContext(function($ctx1) {
  187. return "Methods";
  188. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToMethodsCommand.klass)})},
  189. args: [],
  190. source: "label\x0a\x09^ 'Methods'",
  191. messageSends: [],
  192. referencedClasses: []
  193. }),
  194. smalltalk.HLGoToMethodsCommand.klass);
  195. smalltalk.addClass('HLGoToPackagesCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  196. smalltalk.addMethod(
  197. smalltalk.method({
  198. selector: "execute",
  199. category: 'executing',
  200. fn: function (){
  201. var self=this;
  202. return smalltalk.withContext(function($ctx1) {
  203. _st(_st(self)._model())._focusOnPackages();
  204. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToPackagesCommand)})},
  205. args: [],
  206. source: "execute\x0a\x09self model focusOnPackages",
  207. messageSends: ["focusOnPackages", "model"],
  208. referencedClasses: []
  209. }),
  210. smalltalk.HLGoToPackagesCommand);
  211. smalltalk.addMethod(
  212. smalltalk.method({
  213. selector: "key",
  214. category: 'accessing',
  215. fn: function (){
  216. var self=this;
  217. return smalltalk.withContext(function($ctx1) {
  218. return "p";
  219. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToPackagesCommand.klass)})},
  220. args: [],
  221. source: "key\x0a\x09^ 'p'",
  222. messageSends: [],
  223. referencedClasses: []
  224. }),
  225. smalltalk.HLGoToPackagesCommand.klass);
  226. smalltalk.addMethod(
  227. smalltalk.method({
  228. selector: "label",
  229. category: 'accessing',
  230. fn: function (){
  231. var self=this;
  232. return smalltalk.withContext(function($ctx1) {
  233. return "Packages";
  234. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToPackagesCommand.klass)})},
  235. args: [],
  236. source: "label\x0a\x09^ 'Packages'",
  237. messageSends: [],
  238. referencedClasses: []
  239. }),
  240. smalltalk.HLGoToPackagesCommand.klass);
  241. smalltalk.addClass('HLGoToProtocolsCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  242. smalltalk.addMethod(
  243. smalltalk.method({
  244. selector: "execute",
  245. category: 'executing',
  246. fn: function (){
  247. var self=this;
  248. return smalltalk.withContext(function($ctx1) {
  249. _st(_st(self)._model())._focusOnProtocols();
  250. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToProtocolsCommand)})},
  251. args: [],
  252. source: "execute\x0a\x09self model focusOnProtocols",
  253. messageSends: ["focusOnProtocols", "model"],
  254. referencedClasses: []
  255. }),
  256. smalltalk.HLGoToProtocolsCommand);
  257. smalltalk.addMethod(
  258. smalltalk.method({
  259. selector: "key",
  260. category: 'accessing',
  261. fn: function (){
  262. var self=this;
  263. return smalltalk.withContext(function($ctx1) {
  264. return "t";
  265. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  266. args: [],
  267. source: "key\x0a\x09^ 't'",
  268. messageSends: [],
  269. referencedClasses: []
  270. }),
  271. smalltalk.HLGoToProtocolsCommand.klass);
  272. smalltalk.addMethod(
  273. smalltalk.method({
  274. selector: "label",
  275. category: 'accessing',
  276. fn: function (){
  277. var self=this;
  278. return smalltalk.withContext(function($ctx1) {
  279. return "Protocols";
  280. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToProtocolsCommand.klass)})},
  281. args: [],
  282. source: "label\x0a\x09^ 'Protocols'",
  283. messageSends: [],
  284. referencedClasses: []
  285. }),
  286. smalltalk.HLGoToProtocolsCommand.klass);
  287. smalltalk.addClass('HLGoToSourceCodeCommand', smalltalk.HLBrowserGoToCommand, [], 'Helios-Commands-Tools');
  288. smalltalk.addMethod(
  289. smalltalk.method({
  290. selector: "execute",
  291. category: 'executing',
  292. fn: function (){
  293. var self=this;
  294. return smalltalk.withContext(function($ctx1) {
  295. _st(_st(self)._model())._focusOnSourceCode();
  296. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLGoToSourceCodeCommand)})},
  297. args: [],
  298. source: "execute\x0a\x09self model focusOnSourceCode",
  299. messageSends: ["focusOnSourceCode", "model"],
  300. referencedClasses: []
  301. }),
  302. smalltalk.HLGoToSourceCodeCommand);
  303. smalltalk.addMethod(
  304. smalltalk.method({
  305. selector: "key",
  306. category: 'accessing',
  307. fn: function (){
  308. var self=this;
  309. return smalltalk.withContext(function($ctx1) {
  310. return "s";
  311. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  312. args: [],
  313. source: "key\x0a\x09^ 's'",
  314. messageSends: [],
  315. referencedClasses: []
  316. }),
  317. smalltalk.HLGoToSourceCodeCommand.klass);
  318. smalltalk.addMethod(
  319. smalltalk.method({
  320. selector: "label",
  321. category: 'accessing',
  322. fn: function (){
  323. var self=this;
  324. return smalltalk.withContext(function($ctx1) {
  325. return "Source code";
  326. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLGoToSourceCodeCommand.klass)})},
  327. args: [],
  328. source: "label\x0a\x09^ 'Source code'",
  329. messageSends: [],
  330. referencedClasses: []
  331. }),
  332. smalltalk.HLGoToSourceCodeCommand.klass);
  333. smalltalk.addClass('HLCommitPackageCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  334. smalltalk.addMethod(
  335. smalltalk.method({
  336. selector: "category",
  337. category: 'accessing',
  338. fn: function (){
  339. var self=this;
  340. return smalltalk.withContext(function($ctx1) {
  341. return "Packages";
  342. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLCommitPackageCommand)})},
  343. args: [],
  344. source: "category\x0a\x09^ 'Packages'",
  345. messageSends: [],
  346. referencedClasses: []
  347. }),
  348. smalltalk.HLCommitPackageCommand);
  349. smalltalk.addMethod(
  350. smalltalk.method({
  351. selector: "execute",
  352. category: 'executing',
  353. fn: function (){
  354. var self=this;
  355. return smalltalk.withContext(function($ctx1) {
  356. _st(_st(self)._model())._commitPackage();
  357. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLCommitPackageCommand)})},
  358. args: [],
  359. source: "execute\x0a\x09self model commitPackage",
  360. messageSends: ["commitPackage", "model"],
  361. referencedClasses: []
  362. }),
  363. smalltalk.HLCommitPackageCommand);
  364. smalltalk.addMethod(
  365. smalltalk.method({
  366. selector: "isActive",
  367. category: 'testing',
  368. fn: function (){
  369. var self=this;
  370. return smalltalk.withContext(function($ctx1) {
  371. return true;
  372. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLCommitPackageCommand)})},
  373. args: [],
  374. source: "isActive\x0a\x09^ true\x0a\x09\x22 slf model isPackageDirty\x22",
  375. messageSends: [],
  376. referencedClasses: []
  377. }),
  378. smalltalk.HLCommitPackageCommand);
  379. smalltalk.addMethod(
  380. smalltalk.method({
  381. selector: "key",
  382. category: 'accessing',
  383. fn: function (){
  384. var self=this;
  385. return smalltalk.withContext(function($ctx1) {
  386. return "k";
  387. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCommitPackageCommand.klass)})},
  388. args: [],
  389. source: "key\x0a\x09^ 'k'",
  390. messageSends: [],
  391. referencedClasses: []
  392. }),
  393. smalltalk.HLCommitPackageCommand.klass);
  394. smalltalk.addMethod(
  395. smalltalk.method({
  396. selector: "label",
  397. category: 'accessing',
  398. fn: function (){
  399. var self=this;
  400. return smalltalk.withContext(function($ctx1) {
  401. return "Commit";
  402. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCommitPackageCommand.klass)})},
  403. args: [],
  404. source: "label\x0a\x09^ 'Commit'",
  405. messageSends: [],
  406. referencedClasses: []
  407. }),
  408. smalltalk.HLCommitPackageCommand.klass);
  409. smalltalk.addClass('HLCopyCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  410. smalltalk.addMethod(
  411. smalltalk.method({
  412. selector: "key",
  413. category: 'accessing',
  414. fn: function (){
  415. var self=this;
  416. return smalltalk.withContext(function($ctx1) {
  417. return "c";
  418. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCopyCommand.klass)})},
  419. args: [],
  420. source: "key\x0a\x09^ 'c'",
  421. messageSends: [],
  422. referencedClasses: []
  423. }),
  424. smalltalk.HLCopyCommand.klass);
  425. smalltalk.addMethod(
  426. smalltalk.method({
  427. selector: "label",
  428. category: 'accessing',
  429. fn: function (){
  430. var self=this;
  431. return smalltalk.withContext(function($ctx1) {
  432. return "Copy";
  433. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCopyCommand.klass)})},
  434. args: [],
  435. source: "label\x0a\x09^ 'Copy'",
  436. messageSends: [],
  437. referencedClasses: []
  438. }),
  439. smalltalk.HLCopyCommand.klass);
  440. smalltalk.addClass('HLCopyClassCommand', smalltalk.HLCopyCommand, [], 'Helios-Commands-Tools');
  441. smalltalk.addMethod(
  442. smalltalk.method({
  443. selector: "category",
  444. category: 'accessing',
  445. fn: function (){
  446. var self=this;
  447. return smalltalk.withContext(function($ctx1) {
  448. return "Classes";
  449. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLCopyClassCommand)})},
  450. args: [],
  451. source: "category\x0a\x09^ 'Classes'",
  452. messageSends: [],
  453. referencedClasses: []
  454. }),
  455. smalltalk.HLCopyClassCommand);
  456. smalltalk.addMethod(
  457. smalltalk.method({
  458. selector: "defaultInput",
  459. category: 'defaults',
  460. fn: function (){
  461. var self=this;
  462. return smalltalk.withContext(function($ctx1) {
  463. var $1;
  464. $1=_st(_st(_st(self)._model())._selectedClass())._name();
  465. return $1;
  466. }, function($ctx1) {$ctx1.fill(self,"defaultInput",{},smalltalk.HLCopyClassCommand)})},
  467. args: [],
  468. source: "defaultInput\x0a\x09^ self model selectedClass name",
  469. messageSends: ["name", "selectedClass", "model"],
  470. referencedClasses: []
  471. }),
  472. smalltalk.HLCopyClassCommand);
  473. smalltalk.addMethod(
  474. smalltalk.method({
  475. selector: "displayLabel",
  476. category: 'accessing',
  477. fn: function (){
  478. var self=this;
  479. return smalltalk.withContext(function($ctx1) {
  480. return "New class name:";
  481. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLCopyClassCommand)})},
  482. args: [],
  483. source: "displayLabel\x0a\x09^ 'New class name:'",
  484. messageSends: [],
  485. referencedClasses: []
  486. }),
  487. smalltalk.HLCopyClassCommand);
  488. smalltalk.addMethod(
  489. smalltalk.method({
  490. selector: "execute",
  491. category: 'executing',
  492. fn: function (){
  493. var self=this;
  494. return smalltalk.withContext(function($ctx1) {
  495. _st(_st(self)._model())._copyClassTo_(_st(self)._input());
  496. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLCopyClassCommand)})},
  497. args: [],
  498. source: "execute\x0a\x09self model copyClassTo: self input",
  499. messageSends: ["copyClassTo:", "input", "model"],
  500. referencedClasses: []
  501. }),
  502. smalltalk.HLCopyClassCommand);
  503. smalltalk.addMethod(
  504. smalltalk.method({
  505. selector: "isActive",
  506. category: 'testing',
  507. fn: function (){
  508. var self=this;
  509. return smalltalk.withContext(function($ctx1) {
  510. var $1;
  511. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  512. return $1;
  513. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLCopyClassCommand)})},
  514. args: [],
  515. source: "isActive\x0a\x09^ self model selectedClass notNil",
  516. messageSends: ["notNil", "selectedClass", "model"],
  517. referencedClasses: []
  518. }),
  519. smalltalk.HLCopyClassCommand);
  520. smalltalk.addMethod(
  521. smalltalk.method({
  522. selector: "isInputRequired",
  523. category: 'testing',
  524. fn: function (){
  525. var self=this;
  526. return smalltalk.withContext(function($ctx1) {
  527. return true;
  528. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLCopyClassCommand)})},
  529. args: [],
  530. source: "isInputRequired\x0a\x09^ true",
  531. messageSends: [],
  532. referencedClasses: []
  533. }),
  534. smalltalk.HLCopyClassCommand);
  535. smalltalk.addMethod(
  536. smalltalk.method({
  537. selector: "key",
  538. category: 'accessing',
  539. fn: function (){
  540. var self=this;
  541. return smalltalk.withContext(function($ctx1) {
  542. return "c";
  543. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLCopyClassCommand.klass)})},
  544. args: [],
  545. source: "key\x0a\x09^ 'c'",
  546. messageSends: [],
  547. referencedClasses: []
  548. }),
  549. smalltalk.HLCopyClassCommand.klass);
  550. smalltalk.addMethod(
  551. smalltalk.method({
  552. selector: "label",
  553. category: 'accessing',
  554. fn: function (){
  555. var self=this;
  556. return smalltalk.withContext(function($ctx1) {
  557. return "Class";
  558. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLCopyClassCommand.klass)})},
  559. args: [],
  560. source: "label\x0a\x09^ 'Class'",
  561. messageSends: [],
  562. referencedClasses: []
  563. }),
  564. smalltalk.HLCopyClassCommand.klass);
  565. smalltalk.addMethod(
  566. smalltalk.method({
  567. selector: "menuLabel",
  568. category: 'accessing',
  569. fn: function (){
  570. var self=this;
  571. return smalltalk.withContext(function($ctx1) {
  572. return "Copy class...";
  573. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLCopyClassCommand.klass)})},
  574. args: [],
  575. source: "menuLabel\x0a\x09^ 'Copy class...'",
  576. messageSends: [],
  577. referencedClasses: []
  578. }),
  579. smalltalk.HLCopyClassCommand.klass);
  580. smalltalk.addClass('HLFindCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  581. smalltalk.addMethod(
  582. smalltalk.method({
  583. selector: "key",
  584. category: 'accessing',
  585. fn: function (){
  586. var self=this;
  587. return smalltalk.withContext(function($ctx1) {
  588. return "f";
  589. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindCommand.klass)})},
  590. args: [],
  591. source: "key\x0a\x09^ 'f'",
  592. messageSends: [],
  593. referencedClasses: []
  594. }),
  595. smalltalk.HLFindCommand.klass);
  596. smalltalk.addMethod(
  597. smalltalk.method({
  598. selector: "label",
  599. category: 'accessing',
  600. fn: function (){
  601. var self=this;
  602. return smalltalk.withContext(function($ctx1) {
  603. return "Find";
  604. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindCommand.klass)})},
  605. args: [],
  606. source: "label\x0a\x09^ 'Find'",
  607. messageSends: [],
  608. referencedClasses: []
  609. }),
  610. smalltalk.HLFindCommand.klass);
  611. smalltalk.addClass('HLFindClassCommand', smalltalk.HLFindCommand, [], 'Helios-Commands-Tools');
  612. smalltalk.addMethod(
  613. smalltalk.method({
  614. selector: "displayLabel",
  615. category: 'accessing',
  616. fn: function (){
  617. var self=this;
  618. return smalltalk.withContext(function($ctx1) {
  619. return "select a class";
  620. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLFindClassCommand)})},
  621. args: [],
  622. source: "displayLabel\x0a\x09^ 'select a class'",
  623. messageSends: [],
  624. referencedClasses: []
  625. }),
  626. smalltalk.HLFindClassCommand);
  627. smalltalk.addMethod(
  628. smalltalk.method({
  629. selector: "execute",
  630. category: 'executing',
  631. fn: function (){
  632. var self=this;
  633. return smalltalk.withContext(function($ctx1) {
  634. _st(_st(self)._model())._openClassNamed_(_st(self)._input());
  635. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLFindClassCommand)})},
  636. args: [],
  637. source: "execute\x0a\x09self model openClassNamed: self input",
  638. messageSends: ["openClassNamed:", "input", "model"],
  639. referencedClasses: []
  640. }),
  641. smalltalk.HLFindClassCommand);
  642. smalltalk.addMethod(
  643. smalltalk.method({
  644. selector: "inputCompletion",
  645. category: 'accessing',
  646. fn: function (){
  647. var self=this;
  648. return smalltalk.withContext(function($ctx1) {
  649. var $1;
  650. $1=_st(_st(self)._model())._availableClassNames();
  651. return $1;
  652. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLFindClassCommand)})},
  653. args: [],
  654. source: "inputCompletion\x0a\x09^ self model availableClassNames",
  655. messageSends: ["availableClassNames", "model"],
  656. referencedClasses: []
  657. }),
  658. smalltalk.HLFindClassCommand);
  659. smalltalk.addMethod(
  660. smalltalk.method({
  661. selector: "inputLabel",
  662. category: 'accessing',
  663. fn: function (){
  664. var self=this;
  665. return smalltalk.withContext(function($ctx1) {
  666. return "Find a class";
  667. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLFindClassCommand)})},
  668. args: [],
  669. source: "inputLabel\x0a\x09^ 'Find a class'",
  670. messageSends: [],
  671. referencedClasses: []
  672. }),
  673. smalltalk.HLFindClassCommand);
  674. smalltalk.addMethod(
  675. smalltalk.method({
  676. selector: "isInputRequired",
  677. category: 'testing',
  678. fn: function (){
  679. var self=this;
  680. return smalltalk.withContext(function($ctx1) {
  681. return true;
  682. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLFindClassCommand)})},
  683. args: [],
  684. source: "isInputRequired\x0a\x09^ true",
  685. messageSends: [],
  686. referencedClasses: []
  687. }),
  688. smalltalk.HLFindClassCommand);
  689. smalltalk.addMethod(
  690. smalltalk.method({
  691. selector: "key",
  692. category: 'accessing',
  693. fn: function (){
  694. var self=this;
  695. return smalltalk.withContext(function($ctx1) {
  696. return "c";
  697. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindClassCommand.klass)})},
  698. args: [],
  699. source: "key\x0a\x09^ 'c'",
  700. messageSends: [],
  701. referencedClasses: []
  702. }),
  703. smalltalk.HLFindClassCommand.klass);
  704. smalltalk.addMethod(
  705. smalltalk.method({
  706. selector: "label",
  707. category: 'accessing',
  708. fn: function (){
  709. var self=this;
  710. return smalltalk.withContext(function($ctx1) {
  711. return "Class";
  712. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindClassCommand.klass)})},
  713. args: [],
  714. source: "label\x0a\x09^ 'Class'",
  715. messageSends: [],
  716. referencedClasses: []
  717. }),
  718. smalltalk.HLFindClassCommand.klass);
  719. smalltalk.addClass('HLFindReferencesCommand', smalltalk.HLFindCommand, [], 'Helios-Commands-Tools');
  720. smalltalk.addMethod(
  721. smalltalk.method({
  722. selector: "defaultInput",
  723. category: 'defaults',
  724. fn: function (){
  725. var self=this;
  726. return smalltalk.withContext(function($ctx1) {
  727. var $2,$3,$1;
  728. $2=_st(_st(self)._model())._selectedMethod();
  729. if(($receiver = $2) == nil || $receiver == undefined){
  730. $3=_st(_st(self)._model())._selectedClass();
  731. if(($receiver = $3) == nil || $receiver == undefined){
  732. $1="";
  733. } else {
  734. var class_;
  735. class_=$receiver;
  736. $1=_st(class_)._name();
  737. };
  738. } else {
  739. var method;
  740. method=$receiver;
  741. $1=_st(method)._selector();
  742. };
  743. return $1;
  744. }, function($ctx1) {$ctx1.fill(self,"defaultInput",{},smalltalk.HLFindReferencesCommand)})},
  745. args: [],
  746. source: "defaultInput\x0a\x09^ self model selectedMethod \x0a\x09\x09ifNil: [\x0a\x09\x09\x09self model selectedClass\x0a\x09\x09\x09\x09ifNil: [ '' ]\x0a\x09\x09\x09\x09ifNotNil: [ :class | class name ] ]\x0a\x09\x09ifNotNil: [ :method | method selector ] ",
  747. messageSends: ["ifNil:ifNotNil:", "name", "selectedClass", "model", "selector", "selectedMethod"],
  748. referencedClasses: []
  749. }),
  750. smalltalk.HLFindReferencesCommand);
  751. smalltalk.addMethod(
  752. smalltalk.method({
  753. selector: "displayLabel",
  754. category: 'accessing',
  755. fn: function (){
  756. var self=this;
  757. return smalltalk.withContext(function($ctx1) {
  758. return "find references";
  759. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLFindReferencesCommand)})},
  760. args: [],
  761. source: "displayLabel\x0a\x09^ 'find references'",
  762. messageSends: [],
  763. referencedClasses: []
  764. }),
  765. smalltalk.HLFindReferencesCommand);
  766. smalltalk.addMethod(
  767. smalltalk.method({
  768. selector: "execute",
  769. category: 'executing',
  770. fn: function (){
  771. var self=this;
  772. function $HLReferences(){return smalltalk.HLReferences||(typeof HLReferences=="undefined"?nil:HLReferences)}
  773. return smalltalk.withContext(function($ctx1) {
  774. var $1,$2;
  775. $1=_st($HLReferences())._new();
  776. _st($1)._open();
  777. $2=_st($1)._search_(_st(self)._input());
  778. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLFindReferencesCommand)})},
  779. args: [],
  780. source: "execute\x0a\x09HLReferences new \x0a\x09\x09open;\x0a\x09\x09search: self input",
  781. messageSends: ["open", "new", "search:", "input"],
  782. referencedClasses: ["HLReferences"]
  783. }),
  784. smalltalk.HLFindReferencesCommand);
  785. smalltalk.addMethod(
  786. smalltalk.method({
  787. selector: "inputCompletion",
  788. category: 'accessing',
  789. fn: function (){
  790. var self=this;
  791. return smalltalk.withContext(function($ctx1) {
  792. var $1;
  793. $1=_st(_st(_st(self)._model())._availableClassNames()).__comma(_st(_st(self)._model())._allSelectors());
  794. return $1;
  795. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLFindReferencesCommand)})},
  796. args: [],
  797. source: "inputCompletion\x0a\x09^ self model availableClassNames, self model allSelectors",
  798. messageSends: [",", "allSelectors", "model", "availableClassNames"],
  799. referencedClasses: []
  800. }),
  801. smalltalk.HLFindReferencesCommand);
  802. smalltalk.addMethod(
  803. smalltalk.method({
  804. selector: "inputLabel",
  805. category: 'accessing',
  806. fn: function (){
  807. var self=this;
  808. return smalltalk.withContext(function($ctx1) {
  809. return "Find references of";
  810. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLFindReferencesCommand)})},
  811. args: [],
  812. source: "inputLabel\x0a\x09^ 'Find references of'",
  813. messageSends: [],
  814. referencedClasses: []
  815. }),
  816. smalltalk.HLFindReferencesCommand);
  817. smalltalk.addMethod(
  818. smalltalk.method({
  819. selector: "isInputRequired",
  820. category: 'testing',
  821. fn: function (){
  822. var self=this;
  823. return smalltalk.withContext(function($ctx1) {
  824. return true;
  825. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLFindReferencesCommand)})},
  826. args: [],
  827. source: "isInputRequired\x0a\x09^ true",
  828. messageSends: [],
  829. referencedClasses: []
  830. }),
  831. smalltalk.HLFindReferencesCommand);
  832. smalltalk.addMethod(
  833. smalltalk.method({
  834. selector: "key",
  835. category: 'accessing',
  836. fn: function (){
  837. var self=this;
  838. return smalltalk.withContext(function($ctx1) {
  839. return "r";
  840. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLFindReferencesCommand.klass)})},
  841. args: [],
  842. source: "key\x0a\x09^ 'r'",
  843. messageSends: [],
  844. referencedClasses: []
  845. }),
  846. smalltalk.HLFindReferencesCommand.klass);
  847. smalltalk.addMethod(
  848. smalltalk.method({
  849. selector: "label",
  850. category: 'accessing',
  851. fn: function (){
  852. var self=this;
  853. return smalltalk.withContext(function($ctx1) {
  854. return "References";
  855. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLFindReferencesCommand.klass)})},
  856. args: [],
  857. source: "label\x0a\x09^ 'References'",
  858. messageSends: [],
  859. referencedClasses: []
  860. }),
  861. smalltalk.HLFindReferencesCommand.klass);
  862. smalltalk.addClass('HLMoveToCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  863. smalltalk.addMethod(
  864. smalltalk.method({
  865. selector: "key",
  866. category: 'accessing',
  867. fn: function (){
  868. var self=this;
  869. return smalltalk.withContext(function($ctx1) {
  870. return "m";
  871. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveToCommand.klass)})},
  872. args: [],
  873. source: "key\x0a\x09^ 'm'",
  874. messageSends: [],
  875. referencedClasses: []
  876. }),
  877. smalltalk.HLMoveToCommand.klass);
  878. smalltalk.addMethod(
  879. smalltalk.method({
  880. selector: "label",
  881. category: 'accessing',
  882. fn: function (){
  883. var self=this;
  884. return smalltalk.withContext(function($ctx1) {
  885. return "Move";
  886. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveToCommand.klass)})},
  887. args: [],
  888. source: "label\x0a\x09^ 'Move'",
  889. messageSends: [],
  890. referencedClasses: []
  891. }),
  892. smalltalk.HLMoveToCommand.klass);
  893. smalltalk.addClass('HLMoveClassToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Tools');
  894. smalltalk.addMethod(
  895. smalltalk.method({
  896. selector: "isActive",
  897. category: 'testing',
  898. fn: function (){
  899. var self=this;
  900. return smalltalk.withContext(function($ctx1) {
  901. var $1;
  902. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  903. return $1;
  904. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveClassToCommand)})},
  905. args: [],
  906. source: "isActive\x0a\x09^ self model selectedClass notNil",
  907. messageSends: ["notNil", "selectedClass", "model"],
  908. referencedClasses: []
  909. }),
  910. smalltalk.HLMoveClassToCommand);
  911. smalltalk.addMethod(
  912. smalltalk.method({
  913. selector: "key",
  914. category: 'accessing',
  915. fn: function (){
  916. var self=this;
  917. return smalltalk.withContext(function($ctx1) {
  918. return "c";
  919. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveClassToCommand.klass)})},
  920. args: [],
  921. source: "key\x0a\x09^ 'c'",
  922. messageSends: [],
  923. referencedClasses: []
  924. }),
  925. smalltalk.HLMoveClassToCommand.klass);
  926. smalltalk.addMethod(
  927. smalltalk.method({
  928. selector: "label",
  929. category: 'accessing',
  930. fn: function (){
  931. var self=this;
  932. return smalltalk.withContext(function($ctx1) {
  933. return "Class";
  934. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveClassToCommand.klass)})},
  935. args: [],
  936. source: "label\x0a\x09^ 'Class'",
  937. messageSends: [],
  938. referencedClasses: []
  939. }),
  940. smalltalk.HLMoveClassToCommand.klass);
  941. smalltalk.addClass('HLMoveClassToPackageCommand', smalltalk.HLMoveClassToCommand, [], 'Helios-Commands-Tools');
  942. smalltalk.addMethod(
  943. smalltalk.method({
  944. selector: "category",
  945. category: 'accessing',
  946. fn: function (){
  947. var self=this;
  948. return smalltalk.withContext(function($ctx1) {
  949. return "Classes";
  950. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLMoveClassToPackageCommand)})},
  951. args: [],
  952. source: "category\x0a\x09^ 'Classes'",
  953. messageSends: [],
  954. referencedClasses: []
  955. }),
  956. smalltalk.HLMoveClassToPackageCommand);
  957. smalltalk.addMethod(
  958. smalltalk.method({
  959. selector: "displayLabel",
  960. category: 'accessing',
  961. fn: function (){
  962. var self=this;
  963. return smalltalk.withContext(function($ctx1) {
  964. return "select a package";
  965. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveClassToPackageCommand)})},
  966. args: [],
  967. source: "displayLabel\x0a\x09^ 'select a package'",
  968. messageSends: [],
  969. referencedClasses: []
  970. }),
  971. smalltalk.HLMoveClassToPackageCommand);
  972. smalltalk.addMethod(
  973. smalltalk.method({
  974. selector: "execute",
  975. category: 'executing',
  976. fn: function (){
  977. var self=this;
  978. return smalltalk.withContext(function($ctx1) {
  979. _st(_st(self)._model())._moveClassToPackage_(_st(self)._input());
  980. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveClassToPackageCommand)})},
  981. args: [],
  982. source: "execute\x0a\x09self model moveClassToPackage: self input",
  983. messageSends: ["moveClassToPackage:", "input", "model"],
  984. referencedClasses: []
  985. }),
  986. smalltalk.HLMoveClassToPackageCommand);
  987. smalltalk.addMethod(
  988. smalltalk.method({
  989. selector: "inputCompletion",
  990. category: 'accessing',
  991. fn: function (){
  992. var self=this;
  993. return smalltalk.withContext(function($ctx1) {
  994. var $1;
  995. $1=_st(_st(self)._model())._availablePackageNames();
  996. return $1;
  997. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveClassToPackageCommand)})},
  998. args: [],
  999. source: "inputCompletion\x0a\x09^ self model availablePackageNames",
  1000. messageSends: ["availablePackageNames", "model"],
  1001. referencedClasses: []
  1002. }),
  1003. smalltalk.HLMoveClassToPackageCommand);
  1004. smalltalk.addMethod(
  1005. smalltalk.method({
  1006. selector: "inputLabel",
  1007. category: 'accessing',
  1008. fn: function (){
  1009. var self=this;
  1010. return smalltalk.withContext(function($ctx1) {
  1011. return "Move class to package:";
  1012. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveClassToPackageCommand)})},
  1013. args: [],
  1014. source: "inputLabel\x0a\x09^ 'Move class to package:'",
  1015. messageSends: [],
  1016. referencedClasses: []
  1017. }),
  1018. smalltalk.HLMoveClassToPackageCommand);
  1019. smalltalk.addMethod(
  1020. smalltalk.method({
  1021. selector: "isInputRequired",
  1022. category: 'testing',
  1023. fn: function (){
  1024. var self=this;
  1025. return smalltalk.withContext(function($ctx1) {
  1026. return true;
  1027. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveClassToPackageCommand)})},
  1028. args: [],
  1029. source: "isInputRequired\x0a\x09^ true",
  1030. messageSends: [],
  1031. referencedClasses: []
  1032. }),
  1033. smalltalk.HLMoveClassToPackageCommand);
  1034. smalltalk.addMethod(
  1035. smalltalk.method({
  1036. selector: "key",
  1037. category: 'accessing',
  1038. fn: function (){
  1039. var self=this;
  1040. return smalltalk.withContext(function($ctx1) {
  1041. return "p";
  1042. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveClassToPackageCommand.klass)})},
  1043. args: [],
  1044. source: "key\x0a\x09^ 'p'",
  1045. messageSends: [],
  1046. referencedClasses: []
  1047. }),
  1048. smalltalk.HLMoveClassToPackageCommand.klass);
  1049. smalltalk.addMethod(
  1050. smalltalk.method({
  1051. selector: "label",
  1052. category: 'accessing',
  1053. fn: function (){
  1054. var self=this;
  1055. return smalltalk.withContext(function($ctx1) {
  1056. return "to package";
  1057. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveClassToPackageCommand.klass)})},
  1058. args: [],
  1059. source: "label\x0a\x09^ 'to package'",
  1060. messageSends: [],
  1061. referencedClasses: []
  1062. }),
  1063. smalltalk.HLMoveClassToPackageCommand.klass);
  1064. smalltalk.addMethod(
  1065. smalltalk.method({
  1066. selector: "menuLabel",
  1067. category: 'accessing',
  1068. fn: function (){
  1069. var self=this;
  1070. return smalltalk.withContext(function($ctx1) {
  1071. return "Move to package...";
  1072. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveClassToPackageCommand.klass)})},
  1073. args: [],
  1074. source: "menuLabel\x09\x0a\x09^ 'Move to package...'",
  1075. messageSends: [],
  1076. referencedClasses: []
  1077. }),
  1078. smalltalk.HLMoveClassToPackageCommand.klass);
  1079. smalltalk.addClass('HLMoveMethodToCommand', smalltalk.HLMoveToCommand, [], 'Helios-Commands-Tools');
  1080. smalltalk.addMethod(
  1081. smalltalk.method({
  1082. selector: "category",
  1083. category: 'accessing',
  1084. fn: function (){
  1085. var self=this;
  1086. return smalltalk.withContext(function($ctx1) {
  1087. return "Methods";
  1088. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLMoveMethodToCommand)})},
  1089. args: [],
  1090. source: "category\x0a\x09^ 'Methods'",
  1091. messageSends: [],
  1092. referencedClasses: []
  1093. }),
  1094. smalltalk.HLMoveMethodToCommand);
  1095. smalltalk.addMethod(
  1096. smalltalk.method({
  1097. selector: "isActive",
  1098. category: 'testing',
  1099. fn: function (){
  1100. var self=this;
  1101. return smalltalk.withContext(function($ctx1) {
  1102. var $1;
  1103. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  1104. return $1;
  1105. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLMoveMethodToCommand)})},
  1106. args: [],
  1107. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  1108. messageSends: ["notNil", "selectedMethod", "model"],
  1109. referencedClasses: []
  1110. }),
  1111. smalltalk.HLMoveMethodToCommand);
  1112. smalltalk.addMethod(
  1113. smalltalk.method({
  1114. selector: "key",
  1115. category: 'accessing',
  1116. fn: function (){
  1117. var self=this;
  1118. return smalltalk.withContext(function($ctx1) {
  1119. return "m";
  1120. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToCommand.klass)})},
  1121. args: [],
  1122. source: "key\x0a\x09^ 'm'",
  1123. messageSends: [],
  1124. referencedClasses: []
  1125. }),
  1126. smalltalk.HLMoveMethodToCommand.klass);
  1127. smalltalk.addMethod(
  1128. smalltalk.method({
  1129. selector: "label",
  1130. category: 'accessing',
  1131. fn: function (){
  1132. var self=this;
  1133. return smalltalk.withContext(function($ctx1) {
  1134. return "Method";
  1135. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToCommand.klass)})},
  1136. args: [],
  1137. source: "label\x0a\x09^ 'Method'",
  1138. messageSends: [],
  1139. referencedClasses: []
  1140. }),
  1141. smalltalk.HLMoveMethodToCommand.klass);
  1142. smalltalk.addClass('HLMoveMethodToClassCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Tools');
  1143. smalltalk.addMethod(
  1144. smalltalk.method({
  1145. selector: "displayLabel",
  1146. category: 'accessing',
  1147. fn: function (){
  1148. var self=this;
  1149. return smalltalk.withContext(function($ctx1) {
  1150. return "select a class";
  1151. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  1152. args: [],
  1153. source: "displayLabel\x0a\x09^ 'select a class'",
  1154. messageSends: [],
  1155. referencedClasses: []
  1156. }),
  1157. smalltalk.HLMoveMethodToClassCommand);
  1158. smalltalk.addMethod(
  1159. smalltalk.method({
  1160. selector: "execute",
  1161. category: 'executing',
  1162. fn: function (){
  1163. var self=this;
  1164. return smalltalk.withContext(function($ctx1) {
  1165. _st(_st(self)._model())._moveMethodToClass_(_st(self)._input());
  1166. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToClassCommand)})},
  1167. args: [],
  1168. source: "execute\x0a\x09self model moveMethodToClass: self input",
  1169. messageSends: ["moveMethodToClass:", "input", "model"],
  1170. referencedClasses: []
  1171. }),
  1172. smalltalk.HLMoveMethodToClassCommand);
  1173. smalltalk.addMethod(
  1174. smalltalk.method({
  1175. selector: "inputCompletion",
  1176. category: 'accessing',
  1177. fn: function (){
  1178. var self=this;
  1179. return smalltalk.withContext(function($ctx1) {
  1180. var $1;
  1181. $1=_st(_st(self)._model())._availableClassNames();
  1182. return $1;
  1183. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToClassCommand)})},
  1184. args: [],
  1185. source: "inputCompletion\x0a\x09^ self model availableClassNames",
  1186. messageSends: ["availableClassNames", "model"],
  1187. referencedClasses: []
  1188. }),
  1189. smalltalk.HLMoveMethodToClassCommand);
  1190. smalltalk.addMethod(
  1191. smalltalk.method({
  1192. selector: "inputLabel",
  1193. category: 'accessing',
  1194. fn: function (){
  1195. var self=this;
  1196. return smalltalk.withContext(function($ctx1) {
  1197. return "Move method to class:";
  1198. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToClassCommand)})},
  1199. args: [],
  1200. source: "inputLabel\x0a\x09^ 'Move method to class:'",
  1201. messageSends: [],
  1202. referencedClasses: []
  1203. }),
  1204. smalltalk.HLMoveMethodToClassCommand);
  1205. smalltalk.addMethod(
  1206. smalltalk.method({
  1207. selector: "isInputRequired",
  1208. category: 'testing',
  1209. fn: function (){
  1210. var self=this;
  1211. return smalltalk.withContext(function($ctx1) {
  1212. return true;
  1213. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToClassCommand)})},
  1214. args: [],
  1215. source: "isInputRequired\x0a\x09^ true",
  1216. messageSends: [],
  1217. referencedClasses: []
  1218. }),
  1219. smalltalk.HLMoveMethodToClassCommand);
  1220. smalltalk.addMethod(
  1221. smalltalk.method({
  1222. selector: "key",
  1223. category: 'accessing',
  1224. fn: function (){
  1225. var self=this;
  1226. return smalltalk.withContext(function($ctx1) {
  1227. return "c";
  1228. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  1229. args: [],
  1230. source: "key\x0a\x09^ 'c'",
  1231. messageSends: [],
  1232. referencedClasses: []
  1233. }),
  1234. smalltalk.HLMoveMethodToClassCommand.klass);
  1235. smalltalk.addMethod(
  1236. smalltalk.method({
  1237. selector: "label",
  1238. category: 'accessing',
  1239. fn: function (){
  1240. var self=this;
  1241. return smalltalk.withContext(function($ctx1) {
  1242. return "to class";
  1243. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  1244. args: [],
  1245. source: "label\x09\x0a\x09^ 'to class'",
  1246. messageSends: [],
  1247. referencedClasses: []
  1248. }),
  1249. smalltalk.HLMoveMethodToClassCommand.klass);
  1250. smalltalk.addMethod(
  1251. smalltalk.method({
  1252. selector: "menuLabel",
  1253. category: 'accessing',
  1254. fn: function (){
  1255. var self=this;
  1256. return smalltalk.withContext(function($ctx1) {
  1257. return "Move to class...";
  1258. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToClassCommand.klass)})},
  1259. args: [],
  1260. source: "menuLabel\x09\x0a\x09^ 'Move to class...'",
  1261. messageSends: [],
  1262. referencedClasses: []
  1263. }),
  1264. smalltalk.HLMoveMethodToClassCommand.klass);
  1265. smalltalk.addClass('HLMoveMethodToProtocolCommand', smalltalk.HLMoveMethodToCommand, [], 'Helios-Commands-Tools');
  1266. smalltalk.addMethod(
  1267. smalltalk.method({
  1268. selector: "displayLabel",
  1269. category: 'accessing',
  1270. fn: function (){
  1271. var self=this;
  1272. return smalltalk.withContext(function($ctx1) {
  1273. return "select a protocol";
  1274. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  1275. args: [],
  1276. source: "displayLabel\x0a\x09^ 'select a protocol'",
  1277. messageSends: [],
  1278. referencedClasses: []
  1279. }),
  1280. smalltalk.HLMoveMethodToProtocolCommand);
  1281. smalltalk.addMethod(
  1282. smalltalk.method({
  1283. selector: "execute",
  1284. category: 'executing',
  1285. fn: function (){
  1286. var self=this;
  1287. return smalltalk.withContext(function($ctx1) {
  1288. _st(_st(self)._model())._moveMethodToProtocol_(_st(self)._input());
  1289. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  1290. args: [],
  1291. source: "execute\x0a\x09self model moveMethodToProtocol: self input",
  1292. messageSends: ["moveMethodToProtocol:", "input", "model"],
  1293. referencedClasses: []
  1294. }),
  1295. smalltalk.HLMoveMethodToProtocolCommand);
  1296. smalltalk.addMethod(
  1297. smalltalk.method({
  1298. selector: "inputCompletion",
  1299. category: 'accessing',
  1300. fn: function (){
  1301. var self=this;
  1302. return smalltalk.withContext(function($ctx1) {
  1303. var $1;
  1304. $1=_st(_st(self)._model())._availableProtocols();
  1305. return $1;
  1306. }, function($ctx1) {$ctx1.fill(self,"inputCompletion",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  1307. args: [],
  1308. source: "inputCompletion\x0a\x09^ self model availableProtocols",
  1309. messageSends: ["availableProtocols", "model"],
  1310. referencedClasses: []
  1311. }),
  1312. smalltalk.HLMoveMethodToProtocolCommand);
  1313. smalltalk.addMethod(
  1314. smalltalk.method({
  1315. selector: "inputLabel",
  1316. category: 'accessing',
  1317. fn: function (){
  1318. var self=this;
  1319. return smalltalk.withContext(function($ctx1) {
  1320. return "Move method to a protocol:";
  1321. }, function($ctx1) {$ctx1.fill(self,"inputLabel",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  1322. args: [],
  1323. source: "inputLabel\x0a\x09^ 'Move method to a protocol:'",
  1324. messageSends: [],
  1325. referencedClasses: []
  1326. }),
  1327. smalltalk.HLMoveMethodToProtocolCommand);
  1328. smalltalk.addMethod(
  1329. smalltalk.method({
  1330. selector: "isInputRequired",
  1331. category: 'testing',
  1332. fn: function (){
  1333. var self=this;
  1334. return smalltalk.withContext(function($ctx1) {
  1335. return true;
  1336. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLMoveMethodToProtocolCommand)})},
  1337. args: [],
  1338. source: "isInputRequired\x0a\x09^ true",
  1339. messageSends: [],
  1340. referencedClasses: []
  1341. }),
  1342. smalltalk.HLMoveMethodToProtocolCommand);
  1343. smalltalk.addMethod(
  1344. smalltalk.method({
  1345. selector: "key",
  1346. category: 'accessing',
  1347. fn: function (){
  1348. var self=this;
  1349. return smalltalk.withContext(function($ctx1) {
  1350. return "t";
  1351. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  1352. args: [],
  1353. source: "key\x0a\x09^ 't'",
  1354. messageSends: [],
  1355. referencedClasses: []
  1356. }),
  1357. smalltalk.HLMoveMethodToProtocolCommand.klass);
  1358. smalltalk.addMethod(
  1359. smalltalk.method({
  1360. selector: "label",
  1361. category: 'accessing',
  1362. fn: function (){
  1363. var self=this;
  1364. return smalltalk.withContext(function($ctx1) {
  1365. return "to protocol";
  1366. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  1367. args: [],
  1368. source: "label\x0a\x09^ 'to protocol'",
  1369. messageSends: [],
  1370. referencedClasses: []
  1371. }),
  1372. smalltalk.HLMoveMethodToProtocolCommand.klass);
  1373. smalltalk.addMethod(
  1374. smalltalk.method({
  1375. selector: "menuLabel",
  1376. category: 'accessing',
  1377. fn: function (){
  1378. var self=this;
  1379. return smalltalk.withContext(function($ctx1) {
  1380. return "Move to protocol...";
  1381. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLMoveMethodToProtocolCommand.klass)})},
  1382. args: [],
  1383. source: "menuLabel\x0a\x09^ 'Move to protocol...'",
  1384. messageSends: [],
  1385. referencedClasses: []
  1386. }),
  1387. smalltalk.HLMoveMethodToProtocolCommand.klass);
  1388. smalltalk.addClass('HLRemoveCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  1389. smalltalk.addMethod(
  1390. smalltalk.method({
  1391. selector: "key",
  1392. category: 'accessing',
  1393. fn: function (){
  1394. var self=this;
  1395. return smalltalk.withContext(function($ctx1) {
  1396. return "x";
  1397. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveCommand.klass)})},
  1398. args: [],
  1399. source: "key\x0a\x09^ 'x'",
  1400. messageSends: [],
  1401. referencedClasses: []
  1402. }),
  1403. smalltalk.HLRemoveCommand.klass);
  1404. smalltalk.addMethod(
  1405. smalltalk.method({
  1406. selector: "label",
  1407. category: 'accessing',
  1408. fn: function (){
  1409. var self=this;
  1410. return smalltalk.withContext(function($ctx1) {
  1411. return "Remove";
  1412. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveCommand.klass)})},
  1413. args: [],
  1414. source: "label\x0a\x09^ 'Remove'",
  1415. messageSends: [],
  1416. referencedClasses: []
  1417. }),
  1418. smalltalk.HLRemoveCommand.klass);
  1419. smalltalk.addClass('HLRemoveClassCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Tools');
  1420. smalltalk.addMethod(
  1421. smalltalk.method({
  1422. selector: "category",
  1423. category: 'accessing',
  1424. fn: function (){
  1425. var self=this;
  1426. return smalltalk.withContext(function($ctx1) {
  1427. return "Classes";
  1428. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRemoveClassCommand)})},
  1429. args: [],
  1430. source: "category\x0a\x09^ 'Classes'",
  1431. messageSends: [],
  1432. referencedClasses: []
  1433. }),
  1434. smalltalk.HLRemoveClassCommand);
  1435. smalltalk.addMethod(
  1436. smalltalk.method({
  1437. selector: "execute",
  1438. category: 'executing',
  1439. fn: function (){
  1440. var self=this;
  1441. return smalltalk.withContext(function($ctx1) {
  1442. _st(_st(self)._model())._removeClass();
  1443. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveClassCommand)})},
  1444. args: [],
  1445. source: "execute\x0a\x09self model removeClass",
  1446. messageSends: ["removeClass", "model"],
  1447. referencedClasses: []
  1448. }),
  1449. smalltalk.HLRemoveClassCommand);
  1450. smalltalk.addMethod(
  1451. smalltalk.method({
  1452. selector: "isActive",
  1453. category: 'testing',
  1454. fn: function (){
  1455. var self=this;
  1456. return smalltalk.withContext(function($ctx1) {
  1457. var $1;
  1458. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  1459. return $1;
  1460. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveClassCommand)})},
  1461. args: [],
  1462. source: "isActive\x0a\x09^ self model selectedClass notNil",
  1463. messageSends: ["notNil", "selectedClass", "model"],
  1464. referencedClasses: []
  1465. }),
  1466. smalltalk.HLRemoveClassCommand);
  1467. smalltalk.addMethod(
  1468. smalltalk.method({
  1469. selector: "key",
  1470. category: 'accessing',
  1471. fn: function (){
  1472. var self=this;
  1473. return smalltalk.withContext(function($ctx1) {
  1474. return "c";
  1475. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveClassCommand.klass)})},
  1476. args: [],
  1477. source: "key\x0a\x09^ 'c'",
  1478. messageSends: [],
  1479. referencedClasses: []
  1480. }),
  1481. smalltalk.HLRemoveClassCommand.klass);
  1482. smalltalk.addMethod(
  1483. smalltalk.method({
  1484. selector: "label",
  1485. category: 'accessing',
  1486. fn: function (){
  1487. var self=this;
  1488. return smalltalk.withContext(function($ctx1) {
  1489. return "Class";
  1490. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveClassCommand.klass)})},
  1491. args: [],
  1492. source: "label\x0a\x09^ 'Class'",
  1493. messageSends: [],
  1494. referencedClasses: []
  1495. }),
  1496. smalltalk.HLRemoveClassCommand.klass);
  1497. smalltalk.addMethod(
  1498. smalltalk.method({
  1499. selector: "menuLabel",
  1500. category: 'accessing',
  1501. fn: function (){
  1502. var self=this;
  1503. return smalltalk.withContext(function($ctx1) {
  1504. return "Remove class";
  1505. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveClassCommand.klass)})},
  1506. args: [],
  1507. source: "menuLabel\x0a\x09^ 'Remove class'",
  1508. messageSends: [],
  1509. referencedClasses: []
  1510. }),
  1511. smalltalk.HLRemoveClassCommand.klass);
  1512. smalltalk.addClass('HLRemoveMethodCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Tools');
  1513. smalltalk.addMethod(
  1514. smalltalk.method({
  1515. selector: "category",
  1516. category: 'accessing',
  1517. fn: function (){
  1518. var self=this;
  1519. return smalltalk.withContext(function($ctx1) {
  1520. return "Methods";
  1521. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRemoveMethodCommand)})},
  1522. args: [],
  1523. source: "category\x0a\x09^ 'Methods'",
  1524. messageSends: [],
  1525. referencedClasses: []
  1526. }),
  1527. smalltalk.HLRemoveMethodCommand);
  1528. smalltalk.addMethod(
  1529. smalltalk.method({
  1530. selector: "execute",
  1531. category: 'executing',
  1532. fn: function (){
  1533. var self=this;
  1534. return smalltalk.withContext(function($ctx1) {
  1535. _st(_st(self)._model())._removeMethod();
  1536. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveMethodCommand)})},
  1537. args: [],
  1538. source: "execute\x0a\x09self model removeMethod",
  1539. messageSends: ["removeMethod", "model"],
  1540. referencedClasses: []
  1541. }),
  1542. smalltalk.HLRemoveMethodCommand);
  1543. smalltalk.addMethod(
  1544. smalltalk.method({
  1545. selector: "isActive",
  1546. category: 'testing',
  1547. fn: function (){
  1548. var self=this;
  1549. return smalltalk.withContext(function($ctx1) {
  1550. var $1;
  1551. $1=_st(_st(_st(self)._model())._selectedMethod())._notNil();
  1552. return $1;
  1553. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveMethodCommand)})},
  1554. args: [],
  1555. source: "isActive\x0a\x09^ self model selectedMethod notNil",
  1556. messageSends: ["notNil", "selectedMethod", "model"],
  1557. referencedClasses: []
  1558. }),
  1559. smalltalk.HLRemoveMethodCommand);
  1560. smalltalk.addMethod(
  1561. smalltalk.method({
  1562. selector: "key",
  1563. category: 'accessing',
  1564. fn: function (){
  1565. var self=this;
  1566. return smalltalk.withContext(function($ctx1) {
  1567. return "m";
  1568. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1569. args: [],
  1570. source: "key\x0a\x09^ 'm'",
  1571. messageSends: [],
  1572. referencedClasses: []
  1573. }),
  1574. smalltalk.HLRemoveMethodCommand.klass);
  1575. smalltalk.addMethod(
  1576. smalltalk.method({
  1577. selector: "label",
  1578. category: 'accessing',
  1579. fn: function (){
  1580. var self=this;
  1581. return smalltalk.withContext(function($ctx1) {
  1582. return "Method";
  1583. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1584. args: [],
  1585. source: "label\x0a\x09^ 'Method'",
  1586. messageSends: [],
  1587. referencedClasses: []
  1588. }),
  1589. smalltalk.HLRemoveMethodCommand.klass);
  1590. smalltalk.addMethod(
  1591. smalltalk.method({
  1592. selector: "menuLabel",
  1593. category: 'accessing',
  1594. fn: function (){
  1595. var self=this;
  1596. return smalltalk.withContext(function($ctx1) {
  1597. return "Remove method";
  1598. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveMethodCommand.klass)})},
  1599. args: [],
  1600. source: "menuLabel\x0a\x09^ 'Remove method'",
  1601. messageSends: [],
  1602. referencedClasses: []
  1603. }),
  1604. smalltalk.HLRemoveMethodCommand.klass);
  1605. smalltalk.addClass('HLRemoveProtocolCommand', smalltalk.HLRemoveCommand, [], 'Helios-Commands-Tools');
  1606. smalltalk.addMethod(
  1607. smalltalk.method({
  1608. selector: "category",
  1609. category: 'accessing',
  1610. fn: function (){
  1611. var self=this;
  1612. return smalltalk.withContext(function($ctx1) {
  1613. return "Protocols";
  1614. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRemoveProtocolCommand)})},
  1615. args: [],
  1616. source: "category\x0a\x09^ 'Protocols'",
  1617. messageSends: [],
  1618. referencedClasses: []
  1619. }),
  1620. smalltalk.HLRemoveProtocolCommand);
  1621. smalltalk.addMethod(
  1622. smalltalk.method({
  1623. selector: "execute",
  1624. category: 'executing',
  1625. fn: function (){
  1626. var self=this;
  1627. return smalltalk.withContext(function($ctx1) {
  1628. _st(_st(self)._model())._removeProtocol();
  1629. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRemoveProtocolCommand)})},
  1630. args: [],
  1631. source: "execute\x0a\x09self model removeProtocol",
  1632. messageSends: ["removeProtocol", "model"],
  1633. referencedClasses: []
  1634. }),
  1635. smalltalk.HLRemoveProtocolCommand);
  1636. smalltalk.addMethod(
  1637. smalltalk.method({
  1638. selector: "isActive",
  1639. category: 'testing',
  1640. fn: function (){
  1641. var self=this;
  1642. return smalltalk.withContext(function($ctx1) {
  1643. var $1;
  1644. $1=_st(_st(_st(self)._model())._selectedProtocol())._notNil();
  1645. return $1;
  1646. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRemoveProtocolCommand)})},
  1647. args: [],
  1648. source: "isActive\x0a\x09^ self model selectedProtocol notNil",
  1649. messageSends: ["notNil", "selectedProtocol", "model"],
  1650. referencedClasses: []
  1651. }),
  1652. smalltalk.HLRemoveProtocolCommand);
  1653. smalltalk.addMethod(
  1654. smalltalk.method({
  1655. selector: "key",
  1656. category: 'accessing',
  1657. fn: function (){
  1658. var self=this;
  1659. return smalltalk.withContext(function($ctx1) {
  1660. return "t";
  1661. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRemoveProtocolCommand.klass)})},
  1662. args: [],
  1663. source: "key\x0a\x09^ 't'",
  1664. messageSends: [],
  1665. referencedClasses: []
  1666. }),
  1667. smalltalk.HLRemoveProtocolCommand.klass);
  1668. smalltalk.addMethod(
  1669. smalltalk.method({
  1670. selector: "label",
  1671. category: 'accessing',
  1672. fn: function (){
  1673. var self=this;
  1674. return smalltalk.withContext(function($ctx1) {
  1675. return "Protocol";
  1676. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRemoveProtocolCommand.klass)})},
  1677. args: [],
  1678. source: "label\x0a\x09^ 'Protocol'",
  1679. messageSends: [],
  1680. referencedClasses: []
  1681. }),
  1682. smalltalk.HLRemoveProtocolCommand.klass);
  1683. smalltalk.addMethod(
  1684. smalltalk.method({
  1685. selector: "menuLabel",
  1686. category: 'accessing',
  1687. fn: function (){
  1688. var self=this;
  1689. return smalltalk.withContext(function($ctx1) {
  1690. return "Remove protocol";
  1691. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRemoveProtocolCommand.klass)})},
  1692. args: [],
  1693. source: "menuLabel\x0a\x09^ 'Remove protocol'",
  1694. messageSends: [],
  1695. referencedClasses: []
  1696. }),
  1697. smalltalk.HLRemoveProtocolCommand.klass);
  1698. smalltalk.addClass('HLRenameCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  1699. smalltalk.addMethod(
  1700. smalltalk.method({
  1701. selector: "key",
  1702. category: 'accessing',
  1703. fn: function (){
  1704. var self=this;
  1705. return smalltalk.withContext(function($ctx1) {
  1706. return "r";
  1707. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRenameCommand.klass)})},
  1708. args: [],
  1709. source: "key\x0a\x09^ 'r'",
  1710. messageSends: [],
  1711. referencedClasses: []
  1712. }),
  1713. smalltalk.HLRenameCommand.klass);
  1714. smalltalk.addMethod(
  1715. smalltalk.method({
  1716. selector: "label",
  1717. category: 'accessing',
  1718. fn: function (){
  1719. var self=this;
  1720. return smalltalk.withContext(function($ctx1) {
  1721. return "Rename";
  1722. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRenameCommand.klass)})},
  1723. args: [],
  1724. source: "label\x0a\x09^ 'Rename'",
  1725. messageSends: [],
  1726. referencedClasses: []
  1727. }),
  1728. smalltalk.HLRenameCommand.klass);
  1729. smalltalk.addClass('HLRenameClassCommand', smalltalk.HLRenameCommand, [], 'Helios-Commands-Tools');
  1730. smalltalk.addMethod(
  1731. smalltalk.method({
  1732. selector: "category",
  1733. category: 'accessing',
  1734. fn: function (){
  1735. var self=this;
  1736. return smalltalk.withContext(function($ctx1) {
  1737. return "Classes";
  1738. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRenameClassCommand)})},
  1739. args: [],
  1740. source: "category\x0a\x09^ 'Classes'",
  1741. messageSends: [],
  1742. referencedClasses: []
  1743. }),
  1744. smalltalk.HLRenameClassCommand);
  1745. smalltalk.addMethod(
  1746. smalltalk.method({
  1747. selector: "defaultInput",
  1748. category: 'defaults',
  1749. fn: function (){
  1750. var self=this;
  1751. return smalltalk.withContext(function($ctx1) {
  1752. var $1;
  1753. $1=_st(_st(_st(self)._model())._selectedClass())._name();
  1754. return $1;
  1755. }, function($ctx1) {$ctx1.fill(self,"defaultInput",{},smalltalk.HLRenameClassCommand)})},
  1756. args: [],
  1757. source: "defaultInput\x0a\x09^ self model selectedClass name",
  1758. messageSends: ["name", "selectedClass", "model"],
  1759. referencedClasses: []
  1760. }),
  1761. smalltalk.HLRenameClassCommand);
  1762. smalltalk.addMethod(
  1763. smalltalk.method({
  1764. selector: "displayLabel",
  1765. category: 'accessing',
  1766. fn: function (){
  1767. var self=this;
  1768. return smalltalk.withContext(function($ctx1) {
  1769. return "Rename class to:";
  1770. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLRenameClassCommand)})},
  1771. args: [],
  1772. source: "displayLabel\x0a\x09^ 'Rename class to:'",
  1773. messageSends: [],
  1774. referencedClasses: []
  1775. }),
  1776. smalltalk.HLRenameClassCommand);
  1777. smalltalk.addMethod(
  1778. smalltalk.method({
  1779. selector: "execute",
  1780. category: 'executing',
  1781. fn: function (){
  1782. var self=this;
  1783. return smalltalk.withContext(function($ctx1) {
  1784. _st(_st(self)._model())._renameClassTo_(_st(self)._input());
  1785. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRenameClassCommand)})},
  1786. args: [],
  1787. source: "execute\x0a\x09self model renameClassTo: self input",
  1788. messageSends: ["renameClassTo:", "input", "model"],
  1789. referencedClasses: []
  1790. }),
  1791. smalltalk.HLRenameClassCommand);
  1792. smalltalk.addMethod(
  1793. smalltalk.method({
  1794. selector: "isActive",
  1795. category: 'testing',
  1796. fn: function (){
  1797. var self=this;
  1798. return smalltalk.withContext(function($ctx1) {
  1799. var $1;
  1800. $1=_st(_st(_st(self)._model())._selectedClass())._notNil();
  1801. return $1;
  1802. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRenameClassCommand)})},
  1803. args: [],
  1804. source: "isActive\x0a\x09^ self model selectedClass notNil",
  1805. messageSends: ["notNil", "selectedClass", "model"],
  1806. referencedClasses: []
  1807. }),
  1808. smalltalk.HLRenameClassCommand);
  1809. smalltalk.addMethod(
  1810. smalltalk.method({
  1811. selector: "isInputRequired",
  1812. category: 'testing',
  1813. fn: function (){
  1814. var self=this;
  1815. return smalltalk.withContext(function($ctx1) {
  1816. return true;
  1817. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLRenameClassCommand)})},
  1818. args: [],
  1819. source: "isInputRequired\x0a\x09^ true",
  1820. messageSends: [],
  1821. referencedClasses: []
  1822. }),
  1823. smalltalk.HLRenameClassCommand);
  1824. smalltalk.addMethod(
  1825. smalltalk.method({
  1826. selector: "key",
  1827. category: 'accessing',
  1828. fn: function (){
  1829. var self=this;
  1830. return smalltalk.withContext(function($ctx1) {
  1831. return "c";
  1832. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRenameClassCommand.klass)})},
  1833. args: [],
  1834. source: "key\x0a\x09^ 'c'",
  1835. messageSends: [],
  1836. referencedClasses: []
  1837. }),
  1838. smalltalk.HLRenameClassCommand.klass);
  1839. smalltalk.addMethod(
  1840. smalltalk.method({
  1841. selector: "label",
  1842. category: 'accessing',
  1843. fn: function (){
  1844. var self=this;
  1845. return smalltalk.withContext(function($ctx1) {
  1846. return "Class";
  1847. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRenameClassCommand.klass)})},
  1848. args: [],
  1849. source: "label\x0a\x09^ 'Class'",
  1850. messageSends: [],
  1851. referencedClasses: []
  1852. }),
  1853. smalltalk.HLRenameClassCommand.klass);
  1854. smalltalk.addMethod(
  1855. smalltalk.method({
  1856. selector: "menuLabel",
  1857. category: 'accessing',
  1858. fn: function (){
  1859. var self=this;
  1860. return smalltalk.withContext(function($ctx1) {
  1861. return "Rename class...";
  1862. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRenameClassCommand.klass)})},
  1863. args: [],
  1864. source: "menuLabel\x0a\x09^ 'Rename class...'",
  1865. messageSends: [],
  1866. referencedClasses: []
  1867. }),
  1868. smalltalk.HLRenameClassCommand.klass);
  1869. smalltalk.addClass('HLRenameProtocolCommand', smalltalk.HLRenameCommand, [], 'Helios-Commands-Tools');
  1870. smalltalk.addMethod(
  1871. smalltalk.method({
  1872. selector: "category",
  1873. category: 'accessing',
  1874. fn: function (){
  1875. var self=this;
  1876. return smalltalk.withContext(function($ctx1) {
  1877. return "Protocols";
  1878. }, function($ctx1) {$ctx1.fill(self,"category",{},smalltalk.HLRenameProtocolCommand)})},
  1879. args: [],
  1880. source: "category\x0a\x09^ 'Protocols'",
  1881. messageSends: [],
  1882. referencedClasses: []
  1883. }),
  1884. smalltalk.HLRenameProtocolCommand);
  1885. smalltalk.addMethod(
  1886. smalltalk.method({
  1887. selector: "defaultInput",
  1888. category: 'defaults',
  1889. fn: function (){
  1890. var self=this;
  1891. return smalltalk.withContext(function($ctx1) {
  1892. var $1;
  1893. $1=_st(_st(self)._model())._selectedProtocol();
  1894. return $1;
  1895. }, function($ctx1) {$ctx1.fill(self,"defaultInput",{},smalltalk.HLRenameProtocolCommand)})},
  1896. args: [],
  1897. source: "defaultInput\x0a\x09^ self model selectedProtocol",
  1898. messageSends: ["selectedProtocol", "model"],
  1899. referencedClasses: []
  1900. }),
  1901. smalltalk.HLRenameProtocolCommand);
  1902. smalltalk.addMethod(
  1903. smalltalk.method({
  1904. selector: "displayLabel",
  1905. category: 'accessing',
  1906. fn: function (){
  1907. var self=this;
  1908. return smalltalk.withContext(function($ctx1) {
  1909. return "Rename protocol to:";
  1910. }, function($ctx1) {$ctx1.fill(self,"displayLabel",{},smalltalk.HLRenameProtocolCommand)})},
  1911. args: [],
  1912. source: "displayLabel\x0a\x09^ 'Rename protocol to:'",
  1913. messageSends: [],
  1914. referencedClasses: []
  1915. }),
  1916. smalltalk.HLRenameProtocolCommand);
  1917. smalltalk.addMethod(
  1918. smalltalk.method({
  1919. selector: "execute",
  1920. category: 'executing',
  1921. fn: function (){
  1922. var self=this;
  1923. return smalltalk.withContext(function($ctx1) {
  1924. _st(_st(self)._model())._renameProtocolTo_(_st(self)._input());
  1925. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLRenameProtocolCommand)})},
  1926. args: [],
  1927. source: "execute\x0a\x09self model renameProtocolTo: self input",
  1928. messageSends: ["renameProtocolTo:", "input", "model"],
  1929. referencedClasses: []
  1930. }),
  1931. smalltalk.HLRenameProtocolCommand);
  1932. smalltalk.addMethod(
  1933. smalltalk.method({
  1934. selector: "isActive",
  1935. category: 'testing',
  1936. fn: function (){
  1937. var self=this;
  1938. return smalltalk.withContext(function($ctx1) {
  1939. var $1;
  1940. $1=_st(_st(_st(self)._model())._selectedProtocol())._notNil();
  1941. return $1;
  1942. }, function($ctx1) {$ctx1.fill(self,"isActive",{},smalltalk.HLRenameProtocolCommand)})},
  1943. args: [],
  1944. source: "isActive\x0a\x09^ self model selectedProtocol notNil",
  1945. messageSends: ["notNil", "selectedProtocol", "model"],
  1946. referencedClasses: []
  1947. }),
  1948. smalltalk.HLRenameProtocolCommand);
  1949. smalltalk.addMethod(
  1950. smalltalk.method({
  1951. selector: "isInputRequired",
  1952. category: 'testing',
  1953. fn: function (){
  1954. var self=this;
  1955. return smalltalk.withContext(function($ctx1) {
  1956. return true;
  1957. }, function($ctx1) {$ctx1.fill(self,"isInputRequired",{},smalltalk.HLRenameProtocolCommand)})},
  1958. args: [],
  1959. source: "isInputRequired\x0a\x09^ true",
  1960. messageSends: [],
  1961. referencedClasses: []
  1962. }),
  1963. smalltalk.HLRenameProtocolCommand);
  1964. smalltalk.addMethod(
  1965. smalltalk.method({
  1966. selector: "key",
  1967. category: 'accessing',
  1968. fn: function (){
  1969. var self=this;
  1970. return smalltalk.withContext(function($ctx1) {
  1971. return "t";
  1972. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLRenameProtocolCommand.klass)})},
  1973. args: [],
  1974. source: "key\x0a\x09^ 't'",
  1975. messageSends: [],
  1976. referencedClasses: []
  1977. }),
  1978. smalltalk.HLRenameProtocolCommand.klass);
  1979. smalltalk.addMethod(
  1980. smalltalk.method({
  1981. selector: "label",
  1982. category: 'accessing',
  1983. fn: function (){
  1984. var self=this;
  1985. return smalltalk.withContext(function($ctx1) {
  1986. return "Protocol";
  1987. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLRenameProtocolCommand.klass)})},
  1988. args: [],
  1989. source: "label\x0a\x09^ 'Protocol'",
  1990. messageSends: [],
  1991. referencedClasses: []
  1992. }),
  1993. smalltalk.HLRenameProtocolCommand.klass);
  1994. smalltalk.addMethod(
  1995. smalltalk.method({
  1996. selector: "menuLabel",
  1997. category: 'accessing',
  1998. fn: function (){
  1999. var self=this;
  2000. return smalltalk.withContext(function($ctx1) {
  2001. return "Rename protocol...";
  2002. }, function($ctx1) {$ctx1.fill(self,"menuLabel",{},smalltalk.HLRenameProtocolCommand.klass)})},
  2003. args: [],
  2004. source: "menuLabel\x0a\x09^ 'Rename protocol...'",
  2005. messageSends: [],
  2006. referencedClasses: []
  2007. }),
  2008. smalltalk.HLRenameProtocolCommand.klass);
  2009. smalltalk.addClass('HLToggleCommand', smalltalk.HLBrowserCommand, [], 'Helios-Commands-Tools');
  2010. smalltalk.addMethod(
  2011. smalltalk.method({
  2012. selector: "key",
  2013. category: 'accessing',
  2014. fn: function (){
  2015. var self=this;
  2016. return smalltalk.withContext(function($ctx1) {
  2017. return "t";
  2018. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleCommand.klass)})},
  2019. args: [],
  2020. source: "key\x0a\x09^ 't'",
  2021. messageSends: [],
  2022. referencedClasses: []
  2023. }),
  2024. smalltalk.HLToggleCommand.klass);
  2025. smalltalk.addMethod(
  2026. smalltalk.method({
  2027. selector: "label",
  2028. category: 'accessing',
  2029. fn: function (){
  2030. var self=this;
  2031. return smalltalk.withContext(function($ctx1) {
  2032. return "Toggle";
  2033. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleCommand.klass)})},
  2034. args: [],
  2035. source: "label\x0a\x09^ 'Toggle'",
  2036. messageSends: [],
  2037. referencedClasses: []
  2038. }),
  2039. smalltalk.HLToggleCommand.klass);
  2040. smalltalk.addClass('HLToggleClassCommentCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Tools');
  2041. smalltalk.addMethod(
  2042. smalltalk.method({
  2043. selector: "execute",
  2044. category: 'executing',
  2045. fn: function (){
  2046. var self=this;
  2047. return smalltalk.withContext(function($ctx1) {
  2048. _st(_st(self)._model())._showComment_(true);
  2049. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassCommentCommand)})},
  2050. args: [],
  2051. source: "execute\x0a\x09self model showComment: true",
  2052. messageSends: ["showComment:", "model"],
  2053. referencedClasses: []
  2054. }),
  2055. smalltalk.HLToggleClassCommentCommand);
  2056. smalltalk.addMethod(
  2057. smalltalk.method({
  2058. selector: "key",
  2059. category: 'accessing',
  2060. fn: function (){
  2061. var self=this;
  2062. return smalltalk.withContext(function($ctx1) {
  2063. return "d";
  2064. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassCommentCommand.klass)})},
  2065. args: [],
  2066. source: "key\x0a\x09^ 'd'",
  2067. messageSends: [],
  2068. referencedClasses: []
  2069. }),
  2070. smalltalk.HLToggleClassCommentCommand.klass);
  2071. smalltalk.addMethod(
  2072. smalltalk.method({
  2073. selector: "label",
  2074. category: 'accessing',
  2075. fn: function (){
  2076. var self=this;
  2077. return smalltalk.withContext(function($ctx1) {
  2078. return "Documentation";
  2079. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassCommentCommand.klass)})},
  2080. args: [],
  2081. source: "label\x0a\x09^ 'Documentation'",
  2082. messageSends: [],
  2083. referencedClasses: []
  2084. }),
  2085. smalltalk.HLToggleClassCommentCommand.klass);
  2086. smalltalk.addClass('HLToggleClassSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Tools');
  2087. smalltalk.addMethod(
  2088. smalltalk.method({
  2089. selector: "execute",
  2090. category: 'executing',
  2091. fn: function (){
  2092. var self=this;
  2093. return smalltalk.withContext(function($ctx1) {
  2094. _st(_st(self)._model())._showInstance_(false);
  2095. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleClassSideCommand)})},
  2096. args: [],
  2097. source: "execute\x0a\x09self model showInstance: false",
  2098. messageSends: ["showInstance:", "model"],
  2099. referencedClasses: []
  2100. }),
  2101. smalltalk.HLToggleClassSideCommand);
  2102. smalltalk.addMethod(
  2103. smalltalk.method({
  2104. selector: "key",
  2105. category: 'accessing',
  2106. fn: function (){
  2107. var self=this;
  2108. return smalltalk.withContext(function($ctx1) {
  2109. return "c";
  2110. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleClassSideCommand.klass)})},
  2111. args: [],
  2112. source: "key\x0a\x09^ 'c'",
  2113. messageSends: [],
  2114. referencedClasses: []
  2115. }),
  2116. smalltalk.HLToggleClassSideCommand.klass);
  2117. smalltalk.addMethod(
  2118. smalltalk.method({
  2119. selector: "label",
  2120. category: 'accessing',
  2121. fn: function (){
  2122. var self=this;
  2123. return smalltalk.withContext(function($ctx1) {
  2124. return "Class side";
  2125. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleClassSideCommand.klass)})},
  2126. args: [],
  2127. source: "label\x0a\x09^ 'Class side'",
  2128. messageSends: [],
  2129. referencedClasses: []
  2130. }),
  2131. smalltalk.HLToggleClassSideCommand.klass);
  2132. smalltalk.addClass('HLToggleInstanceSideCommand', smalltalk.HLToggleCommand, [], 'Helios-Commands-Tools');
  2133. smalltalk.addMethod(
  2134. smalltalk.method({
  2135. selector: "execute",
  2136. category: 'executing',
  2137. fn: function (){
  2138. var self=this;
  2139. return smalltalk.withContext(function($ctx1) {
  2140. _st(_st(self)._model())._showInstance_(true);
  2141. return self}, function($ctx1) {$ctx1.fill(self,"execute",{},smalltalk.HLToggleInstanceSideCommand)})},
  2142. args: [],
  2143. source: "execute\x0a\x09self model showInstance: true",
  2144. messageSends: ["showInstance:", "model"],
  2145. referencedClasses: []
  2146. }),
  2147. smalltalk.HLToggleInstanceSideCommand);
  2148. smalltalk.addMethod(
  2149. smalltalk.method({
  2150. selector: "key",
  2151. category: 'accessing',
  2152. fn: function (){
  2153. var self=this;
  2154. return smalltalk.withContext(function($ctx1) {
  2155. return "i";
  2156. }, function($ctx1) {$ctx1.fill(self,"key",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  2157. args: [],
  2158. source: "key\x0a\x09^ 'i'",
  2159. messageSends: [],
  2160. referencedClasses: []
  2161. }),
  2162. smalltalk.HLToggleInstanceSideCommand.klass);
  2163. smalltalk.addMethod(
  2164. smalltalk.method({
  2165. selector: "label",
  2166. category: 'accessing',
  2167. fn: function (){
  2168. var self=this;
  2169. return smalltalk.withContext(function($ctx1) {
  2170. return "Instance side";
  2171. }, function($ctx1) {$ctx1.fill(self,"label",{},smalltalk.HLToggleInstanceSideCommand.klass)})},
  2172. args: [],
  2173. source: "label\x0a\x09^ 'Instance side'",
  2174. messageSends: [],
  2175. referencedClasses: []
  2176. }),
  2177. smalltalk.HLToggleInstanceSideCommand.klass);