1
0

Helios-Announcements.deploy.js 11 KB

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