Helios-Announcements.deploy.js 9.6 KB

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