2
0

Helios-Announcements.deploy.js 12 KB

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