Helios-Announcements.deploy.js 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. smalltalk.addPackage('Helios-Announcements');
  2. smalltalk.addClass('HLAnnouncement', smalltalk.Object, [], 'Helios-Announcements');
  3. smalltalk.addClass('HLCodeHandled', smalltalk.HLAnnouncement, ['code'], 'Helios-Announcements');
  4. smalltalk.addMethod(
  5. smalltalk.method({
  6. selector: "code",
  7. fn: function (){
  8. var self=this;
  9. return smalltalk.withContext(function($ctx1) {
  10. var $1;
  11. $1=self["@code"];
  12. return $1;
  13. }, function($ctx1) {$ctx1.fill(self,"code",{},smalltalk.HLCodeHandled)})},
  14. messageSends: []}),
  15. smalltalk.HLCodeHandled);
  16. smalltalk.addMethod(
  17. smalltalk.method({
  18. selector: "code:",
  19. fn: function (aModel){
  20. var self=this;
  21. return smalltalk.withContext(function($ctx1) {
  22. self["@code"]=aModel;
  23. return self}, function($ctx1) {$ctx1.fill(self,"code:",{aModel:aModel},smalltalk.HLCodeHandled)})},
  24. messageSends: []}),
  25. smalltalk.HLCodeHandled);
  26. smalltalk.addMethod(
  27. smalltalk.method({
  28. selector: "on:",
  29. fn: function (aCodeModel){
  30. var self=this;
  31. return smalltalk.withContext(function($ctx1) {
  32. var $2,$3,$1;
  33. $2=_st(self)._new();
  34. _st($2)._code_(aCodeModel);
  35. $3=_st($2)._yourself();
  36. $1=$3;
  37. return $1;
  38. }, function($ctx1) {$ctx1.fill(self,"on:",{aCodeModel:aCodeModel},smalltalk.HLCodeHandled.klass)})},
  39. messageSends: ["code:", "new", "yourself"]}),
  40. smalltalk.HLCodeHandled.klass);
  41. smalltalk.addClass('HLDoItExecuted', smalltalk.HLCodeHandled, [], 'Helios-Announcements');
  42. smalltalk.addClass('HLDoItRequested', smalltalk.HLCodeHandled, [], 'Helios-Announcements');
  43. smalltalk.addClass('HLInspectItRequested', smalltalk.HLCodeHandled, [], 'Helios-Announcements');
  44. smalltalk.addClass('HLPrintItRequested', smalltalk.HLCodeHandled, [], 'Helios-Announcements');
  45. smalltalk.addClass('HLDiveRequested', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  46. smalltalk.addClass('HLErrorRaised', smalltalk.HLAnnouncement, ['error'], 'Helios-Announcements');
  47. smalltalk.addMethod(
  48. smalltalk.method({
  49. selector: "error",
  50. fn: function (){
  51. var self=this;
  52. return smalltalk.withContext(function($ctx1) {
  53. var $1;
  54. $1=self["@error"];
  55. return $1;
  56. }, function($ctx1) {$ctx1.fill(self,"error",{},smalltalk.HLErrorRaised)})},
  57. messageSends: []}),
  58. smalltalk.HLErrorRaised);
  59. smalltalk.addMethod(
  60. smalltalk.method({
  61. selector: "error:",
  62. fn: function (anError){
  63. var self=this;
  64. return smalltalk.withContext(function($ctx1) {
  65. self["@error"]=anError;
  66. return self}, function($ctx1) {$ctx1.fill(self,"error:",{anError:anError},smalltalk.HLErrorRaised)})},
  67. messageSends: []}),
  68. smalltalk.HLErrorRaised);
  69. smalltalk.addClass('HLCompileErrorRaised', smalltalk.HLErrorRaised, [], 'Helios-Announcements');
  70. smalltalk.addClass('HLParseErrorRaised', smalltalk.HLErrorRaised, ['line', 'column', 'message'], 'Helios-Announcements');
  71. smalltalk.addMethod(
  72. smalltalk.method({
  73. selector: "column",
  74. fn: function (){
  75. var self=this;
  76. return smalltalk.withContext(function($ctx1) {
  77. var $1;
  78. $1=self["@column"];
  79. return $1;
  80. }, function($ctx1) {$ctx1.fill(self,"column",{},smalltalk.HLParseErrorRaised)})},
  81. messageSends: []}),
  82. smalltalk.HLParseErrorRaised);
  83. smalltalk.addMethod(
  84. smalltalk.method({
  85. selector: "column:",
  86. fn: function (anInteger){
  87. var self=this;
  88. return smalltalk.withContext(function($ctx1) {
  89. self["@column"]=anInteger;
  90. return self}, function($ctx1) {$ctx1.fill(self,"column:",{anInteger:anInteger},smalltalk.HLParseErrorRaised)})},
  91. messageSends: []}),
  92. smalltalk.HLParseErrorRaised);
  93. smalltalk.addMethod(
  94. smalltalk.method({
  95. selector: "line",
  96. fn: function (){
  97. var self=this;
  98. return smalltalk.withContext(function($ctx1) {
  99. var $1;
  100. $1=self["@line"];
  101. return $1;
  102. }, function($ctx1) {$ctx1.fill(self,"line",{},smalltalk.HLParseErrorRaised)})},
  103. messageSends: []}),
  104. smalltalk.HLParseErrorRaised);
  105. smalltalk.addMethod(
  106. smalltalk.method({
  107. selector: "line:",
  108. fn: function (anInteger){
  109. var self=this;
  110. return smalltalk.withContext(function($ctx1) {
  111. self["@line"]=anInteger;
  112. return self}, function($ctx1) {$ctx1.fill(self,"line:",{anInteger:anInteger},smalltalk.HLParseErrorRaised)})},
  113. messageSends: []}),
  114. smalltalk.HLParseErrorRaised);
  115. smalltalk.addMethod(
  116. smalltalk.method({
  117. selector: "message",
  118. fn: function (){
  119. var self=this;
  120. return smalltalk.withContext(function($ctx1) {
  121. var $1;
  122. $1=self["@message"];
  123. return $1;
  124. }, function($ctx1) {$ctx1.fill(self,"message",{},smalltalk.HLParseErrorRaised)})},
  125. messageSends: []}),
  126. smalltalk.HLParseErrorRaised);
  127. smalltalk.addMethod(
  128. smalltalk.method({
  129. selector: "message:",
  130. fn: function (aString){
  131. var self=this;
  132. return smalltalk.withContext(function($ctx1) {
  133. self["@message"]=aString;
  134. return self}, function($ctx1) {$ctx1.fill(self,"message:",{aString:aString},smalltalk.HLParseErrorRaised)})},
  135. messageSends: []}),
  136. smalltalk.HLParseErrorRaised);
  137. smalltalk.addClass('HLUnknownVariableErrorRaised', smalltalk.HLErrorRaised, [], 'Helios-Announcements');
  138. smalltalk.addClass('HLFocusRequested', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  139. smalltalk.addClass('HLClassesFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  140. smalltalk.addClass('HLMethodsFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  141. smalltalk.addClass('HLPackagesFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  142. smalltalk.addClass('HLProtocolsFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  143. smalltalk.addClass('HLSourceCodeFocusRequested', smalltalk.HLFocusRequested, [], 'Helios-Announcements');
  144. smalltalk.addClass('HLInstVarAdded', smalltalk.HLAnnouncement, ['theClass', 'variableName'], 'Helios-Announcements');
  145. smalltalk.addMethod(
  146. smalltalk.method({
  147. selector: "theClass",
  148. fn: function (){
  149. var self=this;
  150. return smalltalk.withContext(function($ctx1) {
  151. var $1;
  152. $1=self["@theClass"];
  153. return $1;
  154. }, function($ctx1) {$ctx1.fill(self,"theClass",{},smalltalk.HLInstVarAdded)})},
  155. messageSends: []}),
  156. smalltalk.HLInstVarAdded);
  157. smalltalk.addMethod(
  158. smalltalk.method({
  159. selector: "theClass:",
  160. fn: function (aClass){
  161. var self=this;
  162. return smalltalk.withContext(function($ctx1) {
  163. self["@theClass"]=aClass;
  164. return self}, function($ctx1) {$ctx1.fill(self,"theClass:",{aClass:aClass},smalltalk.HLInstVarAdded)})},
  165. messageSends: []}),
  166. smalltalk.HLInstVarAdded);
  167. smalltalk.addMethod(
  168. smalltalk.method({
  169. selector: "variableName",
  170. fn: function (){
  171. var self=this;
  172. return smalltalk.withContext(function($ctx1) {
  173. var $1;
  174. $1=self["@variableName"];
  175. return $1;
  176. }, function($ctx1) {$ctx1.fill(self,"variableName",{},smalltalk.HLInstVarAdded)})},
  177. messageSends: []}),
  178. smalltalk.HLInstVarAdded);
  179. smalltalk.addMethod(
  180. smalltalk.method({
  181. selector: "variableName:",
  182. fn: function (aString){
  183. var self=this;
  184. return smalltalk.withContext(function($ctx1) {
  185. self["@variableName"]=aString;
  186. return self}, function($ctx1) {$ctx1.fill(self,"variableName:",{aString:aString},smalltalk.HLInstVarAdded)})},
  187. messageSends: []}),
  188. smalltalk.HLInstVarAdded);
  189. smalltalk.addClass('HLItemSelected', smalltalk.HLAnnouncement, ['item'], 'Helios-Announcements');
  190. smalltalk.addMethod(
  191. smalltalk.method({
  192. selector: "item",
  193. fn: function (){
  194. var self=this;
  195. return smalltalk.withContext(function($ctx1) {
  196. var $1;
  197. $1=self["@item"];
  198. return $1;
  199. }, function($ctx1) {$ctx1.fill(self,"item",{},smalltalk.HLItemSelected)})},
  200. messageSends: []}),
  201. smalltalk.HLItemSelected);
  202. smalltalk.addMethod(
  203. smalltalk.method({
  204. selector: "item:",
  205. fn: function (anObject){
  206. var self=this;
  207. return smalltalk.withContext(function($ctx1) {
  208. self["@item"]=anObject;
  209. return self}, function($ctx1) {$ctx1.fill(self,"item:",{anObject:anObject},smalltalk.HLItemSelected)})},
  210. messageSends: []}),
  211. smalltalk.HLItemSelected);
  212. smalltalk.addMethod(
  213. smalltalk.method({
  214. selector: "on:",
  215. fn: function (anItem){
  216. var self=this;
  217. return smalltalk.withContext(function($ctx1) {
  218. var $2,$3,$1;
  219. $2=_st(self)._new();
  220. _st($2)._item_(anItem);
  221. $3=_st($2)._yourself();
  222. $1=$3;
  223. return $1;
  224. }, function($ctx1) {$ctx1.fill(self,"on:",{anItem:anItem},smalltalk.HLItemSelected.klass)})},
  225. messageSends: ["item:", "new", "yourself"]}),
  226. smalltalk.HLItemSelected.klass);
  227. smalltalk.addClass('HLClassSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  228. smalltalk.addClass('HLInstanceVariableSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  229. smalltalk.addClass('HLMethodSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  230. smalltalk.addClass('HLPackageSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  231. smalltalk.addClass('HLProtocolSelected', smalltalk.HLItemSelected, [], 'Helios-Announcements');
  232. smalltalk.addClass('HLRefreshRequested', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  233. smalltalk.addClass('HLSaveSourceCode', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  234. smalltalk.addClass('HLShowCommentToggled', smalltalk.HLAnnouncement, [], 'Helios-Announcements');
  235. smalltalk.addClass('HLShowInstanceToggled', smalltalk.HLAnnouncement, [], 'Helios-Announcements');