1
0

Helios-Announcements.deploy.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. smalltalk.addPackage('Helios-Announcements');
  2. smalltalk.addClass('HLAboutToChange', smalltalk.Object, ['actionBlock'], 'Helios-Announcements');
  3. smalltalk.addMethod(
  4. smalltalk.method({
  5. selector: "actionBlock",
  6. fn: function (){
  7. var self=this;
  8. return smalltalk.withContext(function($ctx1) {
  9. var $1;
  10. $1=self["@actionBlock"];
  11. return $1;
  12. }, function($ctx1) {$ctx1.fill(self,"actionBlock",{},smalltalk.HLAboutToChange)})},
  13. messageSends: []}),
  14. smalltalk.HLAboutToChange);
  15. smalltalk.addMethod(
  16. smalltalk.method({
  17. selector: "actionBlock:",
  18. fn: function (aBlock){
  19. var self=this;
  20. return smalltalk.withContext(function($ctx1) {
  21. self["@actionBlock"]=aBlock;
  22. return self}, function($ctx1) {$ctx1.fill(self,"actionBlock:",{aBlock:aBlock},smalltalk.HLAboutToChange)})},
  23. messageSends: []}),
  24. smalltalk.HLAboutToChange);
  25. smalltalk.addClass('HLAnnouncement', smalltalk.Object, [], 'Helios-Announcements');
  26. smalltalk.addMethod(
  27. smalltalk.method({
  28. selector: "heliosClass",
  29. fn: function (){
  30. var self=this;
  31. return smalltalk.withContext(function($ctx1) {
  32. return "announcement";
  33. }, function($ctx1) {$ctx1.fill(self,"heliosClass",{},smalltalk.HLAnnouncement.klass)})},
  34. messageSends: []}),
  35. smalltalk.HLAnnouncement.klass);
  36. smalltalk.addClass('HLCodeHandled', smalltalk.HLAnnouncement, ['code'], 'Helios-Announcements');
  37. smalltalk.addMethod(
  38. smalltalk.method({
  39. selector: "code",
  40. fn: function (){
  41. var self=this;
  42. return smalltalk.withContext(function($ctx1) {
  43. var $1;
  44. $1=self["@code"];
  45. return $1;
  46. }, function($ctx1) {$ctx1.fill(self,"code",{},smalltalk.HLCodeHandled)})},
  47. messageSends: []}),
  48. smalltalk.HLCodeHandled);
  49. smalltalk.addMethod(
  50. smalltalk.method({
  51. selector: "code:",
  52. fn: function (aModel){
  53. var self=this;
  54. return smalltalk.withContext(function($ctx1) {
  55. self["@code"]=aModel;
  56. return self}, function($ctx1) {$ctx1.fill(self,"code:",{aModel:aModel},smalltalk.HLCodeHandled)})},
  57. messageSends: []}),
  58. smalltalk.HLCodeHandled);
  59. smalltalk.addMethod(
  60. smalltalk.method({
  61. selector: "on:",
  62. fn: function (aCodeModel){
  63. var self=this;
  64. return smalltalk.withContext(function($ctx1) {
  65. var $2,$3,$1;
  66. $2=_st(self)._new();
  67. _st($2)._code_(aCodeModel);
  68. $3=_st($2)._yourself();
  69. $1=$3;
  70. return $1;
  71. }, function($ctx1) {$ctx1.fill(self,"on:",{aCodeModel:aCodeModel},smalltalk.HLCodeHandled.klass)})},
  72. messageSends: ["code:", "new", "yourself"]}),
  73. smalltalk.HLCodeHandled.klass);
  74. smalltalk.addClass('HLDoItExecuted', smalltalk.HLCodeHandled, [], 'Helios-Announcements');
  75. smalltalk.addClass('HLDoItRequested', smalltalk.HLCodeHandled, [], 'Helios-Announcements');
  76. smalltalk.addClass('HLInspectItRequested', smalltalk.HLCodeHandled, [], 'Helios-Announcements');
  77. smalltalk.addClass('HLPrintItRequested', smalltalk.HLCodeHandled, [], 'Helios-Announcements');
  78. smalltalk.addClass('HLDebuggerContextSelected', smalltalk.HLAnnouncement, ['context'], 'Helios-Announcements');
  79. smalltalk.addMethod(
  80. smalltalk.method({
  81. selector: "context",
  82. fn: function (){
  83. var self=this;
  84. return smalltalk.withContext(function($ctx1) {
  85. var $1;
  86. $1=self["@context"];
  87. return $1;
  88. }, function($ctx1) {$ctx1.fill(self,"context",{},smalltalk.HLDebuggerContextSelected)})},
  89. messageSends: []}),
  90. smalltalk.HLDebuggerContextSelected);
  91. smalltalk.addMethod(
  92. smalltalk.method({
  93. selector: "context:",
  94. fn: function (aContext){
  95. var self=this;
  96. return smalltalk.withContext(function($ctx1) {
  97. self["@context"]=aContext;
  98. return self}, function($ctx1) {$ctx1.fill(self,"context:",{aContext:aContext},smalltalk.HLDebuggerContextSelected)})},
  99. messageSends: []}),
  100. smalltalk.HLDebuggerContextSelected);
  101. smalltalk.addClass('HLDiveRequested', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  102. smalltalk.addClass('HLEditComment', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  103. smalltalk.addClass('HLErrorRaised', smalltalk.HLAnnouncement, ['error'], 'Helios-Announcements');
  104. smalltalk.addMethod(
  105. smalltalk.method({
  106. selector: "error",
  107. fn: function (){
  108. var self=this;
  109. return smalltalk.withContext(function($ctx1) {
  110. var $1;
  111. $1=self["@error"];
  112. return $1;
  113. }, function($ctx1) {$ctx1.fill(self,"error",{},smalltalk.HLErrorRaised)})},
  114. messageSends: []}),
  115. smalltalk.HLErrorRaised);
  116. smalltalk.addMethod(
  117. smalltalk.method({
  118. selector: "error:",
  119. fn: function (anError){
  120. var self=this;
  121. return smalltalk.withContext(function($ctx1) {
  122. self["@error"]=anError;
  123. return self}, function($ctx1) {$ctx1.fill(self,"error:",{anError:anError},smalltalk.HLErrorRaised)})},
  124. messageSends: []}),
  125. smalltalk.HLErrorRaised);
  126. smalltalk.addClass('HLCompileErrorRaised', smalltalk.HLErrorRaised, [], 'Helios-Announcements');
  127. smalltalk.addClass('HLParseErrorRaised', smalltalk.HLErrorRaised, ['line', 'column', 'message'], 'Helios-Announcements');
  128. smalltalk.addMethod(
  129. smalltalk.method({
  130. selector: "column",
  131. fn: function (){
  132. var self=this;
  133. return smalltalk.withContext(function($ctx1) {
  134. var $1;
  135. $1=self["@column"];
  136. return $1;
  137. }, function($ctx1) {$ctx1.fill(self,"column",{},smalltalk.HLParseErrorRaised)})},
  138. messageSends: []}),
  139. smalltalk.HLParseErrorRaised);
  140. smalltalk.addMethod(
  141. smalltalk.method({
  142. selector: "column:",
  143. fn: function (anInteger){
  144. var self=this;
  145. return smalltalk.withContext(function($ctx1) {
  146. self["@column"]=anInteger;
  147. return self}, function($ctx1) {$ctx1.fill(self,"column:",{anInteger:anInteger},smalltalk.HLParseErrorRaised)})},
  148. messageSends: []}),
  149. smalltalk.HLParseErrorRaised);
  150. smalltalk.addMethod(
  151. smalltalk.method({
  152. selector: "line",
  153. fn: function (){
  154. var self=this;
  155. return smalltalk.withContext(function($ctx1) {
  156. var $1;
  157. $1=self["@line"];
  158. return $1;
  159. }, function($ctx1) {$ctx1.fill(self,"line",{},smalltalk.HLParseErrorRaised)})},
  160. messageSends: []}),
  161. smalltalk.HLParseErrorRaised);
  162. smalltalk.addMethod(
  163. smalltalk.method({
  164. selector: "line:",
  165. fn: function (anInteger){
  166. var self=this;
  167. return smalltalk.withContext(function($ctx1) {
  168. self["@line"]=anInteger;
  169. return self}, function($ctx1) {$ctx1.fill(self,"line:",{anInteger:anInteger},smalltalk.HLParseErrorRaised)})},
  170. messageSends: []}),
  171. smalltalk.HLParseErrorRaised);
  172. smalltalk.addMethod(
  173. smalltalk.method({
  174. selector: "message",
  175. fn: function (){
  176. var self=this;
  177. return smalltalk.withContext(function($ctx1) {
  178. var $1;
  179. $1=self["@message"];
  180. return $1;
  181. }, function($ctx1) {$ctx1.fill(self,"message",{},smalltalk.HLParseErrorRaised)})},
  182. messageSends: []}),
  183. smalltalk.HLParseErrorRaised);
  184. smalltalk.addMethod(
  185. smalltalk.method({
  186. selector: "message:",
  187. fn: function (aString){
  188. var self=this;
  189. return smalltalk.withContext(function($ctx1) {
  190. self["@message"]=aString;
  191. return self}, function($ctx1) {$ctx1.fill(self,"message:",{aString:aString},smalltalk.HLParseErrorRaised)})},
  192. messageSends: []}),
  193. smalltalk.HLParseErrorRaised);
  194. smalltalk.addClass('HLUnknownVariableErrorRaised', smalltalk.HLErrorRaised, [], 'Helios-Announcements');
  195. smalltalk.addClass('HLFocusRequested', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  196. smalltalk.addClass('HLClassesFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  197. smalltalk.addClass('HLMethodsFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  198. smalltalk.addClass('HLPackagesFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  199. smalltalk.addClass('HLProtocolsFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  200. smalltalk.addClass('HLSourceCodeFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  201. smalltalk.addClass('HLInstVarAdded', smalltalk.HLAnnouncement, ['theClass', 'variableName'], 'Helios-Announcements');
  202. smalltalk.addMethod(
  203. smalltalk.method({
  204. selector: "theClass",
  205. fn: function (){
  206. var self=this;
  207. return smalltalk.withContext(function($ctx1) {
  208. var $1;
  209. $1=self["@theClass"];
  210. return $1;
  211. }, function($ctx1) {$ctx1.fill(self,"theClass",{},smalltalk.HLInstVarAdded)})},
  212. messageSends: []}),
  213. smalltalk.HLInstVarAdded);
  214. smalltalk.addMethod(
  215. smalltalk.method({
  216. selector: "theClass:",
  217. fn: function (aClass){
  218. var self=this;
  219. return smalltalk.withContext(function($ctx1) {
  220. self["@theClass"]=aClass;
  221. return self}, function($ctx1) {$ctx1.fill(self,"theClass:",{aClass:aClass},smalltalk.HLInstVarAdded)})},
  222. messageSends: []}),
  223. smalltalk.HLInstVarAdded);
  224. smalltalk.addMethod(
  225. smalltalk.method({
  226. selector: "variableName",
  227. fn: function (){
  228. var self=this;
  229. return smalltalk.withContext(function($ctx1) {
  230. var $1;
  231. $1=self["@variableName"];
  232. return $1;
  233. }, function($ctx1) {$ctx1.fill(self,"variableName",{},smalltalk.HLInstVarAdded)})},
  234. messageSends: []}),
  235. smalltalk.HLInstVarAdded);
  236. smalltalk.addMethod(
  237. smalltalk.method({
  238. selector: "variableName:",
  239. fn: function (aString){
  240. var self=this;
  241. return smalltalk.withContext(function($ctx1) {
  242. self["@variableName"]=aString;
  243. return self}, function($ctx1) {$ctx1.fill(self,"variableName:",{aString:aString},smalltalk.HLInstVarAdded)})},
  244. messageSends: []}),
  245. smalltalk.HLInstVarAdded);
  246. smalltalk.addClass('HLItemSelected', smalltalk.HLAnnouncement, ['item'], 'Helios-Announcements');
  247. smalltalk.addMethod(
  248. smalltalk.method({
  249. selector: "item",
  250. fn: function (){
  251. var self=this;
  252. return smalltalk.withContext(function($ctx1) {
  253. var $1;
  254. $1=self["@item"];
  255. return $1;
  256. }, function($ctx1) {$ctx1.fill(self,"item",{},smalltalk.HLItemSelected)})},
  257. messageSends: []}),
  258. smalltalk.HLItemSelected);
  259. smalltalk.addMethod(
  260. smalltalk.method({
  261. selector: "item:",
  262. fn: function (anObject){
  263. var self=this;
  264. return smalltalk.withContext(function($ctx1) {
  265. self["@item"]=anObject;
  266. return self}, function($ctx1) {$ctx1.fill(self,"item:",{anObject:anObject},smalltalk.HLItemSelected)})},
  267. messageSends: []}),
  268. smalltalk.HLItemSelected);
  269. smalltalk.addMethod(
  270. smalltalk.method({
  271. selector: "on:",
  272. fn: function (anItem){
  273. var self=this;
  274. return smalltalk.withContext(function($ctx1) {
  275. var $2,$3,$1;
  276. $2=_st(self)._new();
  277. _st($2)._item_(anItem);
  278. $3=_st($2)._yourself();
  279. $1=$3;
  280. return $1;
  281. }, function($ctx1) {$ctx1.fill(self,"on:",{anItem:anItem},smalltalk.HLItemSelected.klass)})},
  282. messageSends: ["item:", "new", "yourself"]}),
  283. smalltalk.HLItemSelected.klass);
  284. smalltalk.addClass('HLClassSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  285. smalltalk.addClass('HLInstanceVariableSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  286. smalltalk.addClass('HLMethodSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  287. smalltalk.addClass('HLPackageSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  288. smalltalk.addClass('HLProtocolSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  289. smalltalk.addClass('HLSaveSourceCode', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  290. smalltalk.addClass('HLSearchReferences', smalltalk.HLAnnouncement, ['searchString'], 'Helios-Announcements');
  291. smalltalk.addMethod(
  292. smalltalk.method({
  293. selector: "searchString",
  294. fn: function (){
  295. var self=this;
  296. return smalltalk.withContext(function($ctx1) {
  297. var $1;
  298. $1=self["@searchString"];
  299. return $1;
  300. }, function($ctx1) {$ctx1.fill(self,"searchString",{},smalltalk.HLSearchReferences)})},
  301. messageSends: []}),
  302. smalltalk.HLSearchReferences);
  303. smalltalk.addMethod(
  304. smalltalk.method({
  305. selector: "searchString:",
  306. fn: function (aString){
  307. var self=this;
  308. return smalltalk.withContext(function($ctx1) {
  309. self["@searchString"]=aString;
  310. return self}, function($ctx1) {$ctx1.fill(self,"searchString:",{aString:aString},smalltalk.HLSearchReferences)})},
  311. messageSends: []}),
  312. smalltalk.HLSearchReferences);
  313. smalltalk.addClass('HLShowCommentToggled', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  314. smalltalk.addClass('HLShowInstanceToggled', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  315. smalltalk.addClass('HLSourceCodeSaved', smalltalk.HLAnnouncement, [], 'Helios-Announcements');