Helios-Announcements.deploy.js 11 KB

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