Helios-Announcements.st 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. Smalltalk current createPackage: 'Helios-Announcements'!
  2. Object subclass: #HLAboutToChange
  3. instanceVariableNames: 'actionBlock'
  4. package: 'Helios-Announcements'!
  5. !HLAboutToChange methodsFor: 'accessing'!
  6. actionBlock
  7. ^ actionBlock
  8. !
  9. actionBlock: aBlock
  10. actionBlock := aBlock
  11. ! !
  12. Object subclass: #HLAnnouncement
  13. instanceVariableNames: ''
  14. package: 'Helios-Announcements'!
  15. HLAnnouncement subclass: #HLCodeHandled
  16. instanceVariableNames: 'code'
  17. package: 'Helios-Announcements'!
  18. !HLCodeHandled methodsFor: 'accessing'!
  19. code
  20. ^ code
  21. !
  22. code: aModel
  23. code := aModel
  24. ! !
  25. !HLCodeHandled class methodsFor: 'actions'!
  26. on: aCodeModel
  27. ^ self new
  28. code: aCodeModel;
  29. yourself
  30. ! !
  31. HLCodeHandled subclass: #HLDoItExecuted
  32. instanceVariableNames: ''
  33. package: 'Helios-Announcements'!
  34. HLCodeHandled subclass: #HLDoItRequested
  35. instanceVariableNames: ''
  36. package: 'Helios-Announcements'!
  37. HLCodeHandled subclass: #HLInspectItRequested
  38. instanceVariableNames: ''
  39. package: 'Helios-Announcements'!
  40. HLCodeHandled subclass: #HLPrintItRequested
  41. instanceVariableNames: ''
  42. package: 'Helios-Announcements'!
  43. HLAnnouncement subclass: #HLDiveRequested
  44. instanceVariableNames: ''
  45. package: 'Helios-Announcements'!
  46. HLAnnouncement subclass: #HLErrorRaised
  47. instanceVariableNames: 'error'
  48. package: 'Helios-Announcements'!
  49. !HLErrorRaised methodsFor: 'accessing'!
  50. error
  51. ^ error
  52. !
  53. error: anError
  54. error := anError
  55. ! !
  56. HLErrorRaised subclass: #HLCompileErrorRaised
  57. instanceVariableNames: ''
  58. package: 'Helios-Announcements'!
  59. HLErrorRaised subclass: #HLParseErrorRaised
  60. instanceVariableNames: 'line column message'
  61. package: 'Helios-Announcements'!
  62. !HLParseErrorRaised methodsFor: 'accessing'!
  63. column
  64. ^ column
  65. !
  66. column: anInteger
  67. column := anInteger
  68. !
  69. line
  70. ^ line
  71. !
  72. line: anInteger
  73. line := anInteger
  74. !
  75. message
  76. ^ message
  77. !
  78. message: aString
  79. message := aString
  80. ! !
  81. HLErrorRaised subclass: #HLUnknownVariableErrorRaised
  82. instanceVariableNames: ''
  83. package: 'Helios-Announcements'!
  84. HLAnnouncement subclass: #HLFocusRequested
  85. instanceVariableNames: ''
  86. package: 'Helios-Announcements'!
  87. HLFocusRequested subclass: #HLClassesFocusRequested
  88. instanceVariableNames: ''
  89. package: 'Helios-Announcements'!
  90. HLFocusRequested subclass: #HLMethodsFocusRequested
  91. instanceVariableNames: ''
  92. package: 'Helios-Announcements'!
  93. HLFocusRequested subclass: #HLPackagesFocusRequested
  94. instanceVariableNames: ''
  95. package: 'Helios-Announcements'!
  96. HLFocusRequested subclass: #HLProtocolsFocusRequested
  97. instanceVariableNames: ''
  98. package: 'Helios-Announcements'!
  99. HLFocusRequested subclass: #HLSourceCodeFocusRequested
  100. instanceVariableNames: ''
  101. package: 'Helios-Announcements'!
  102. HLAnnouncement subclass: #HLInstVarAdded
  103. instanceVariableNames: 'theClass variableName'
  104. package: 'Helios-Announcements'!
  105. !HLInstVarAdded methodsFor: 'accessing'!
  106. theClass
  107. ^ theClass
  108. !
  109. theClass: aClass
  110. theClass := aClass
  111. !
  112. variableName
  113. ^ variableName
  114. !
  115. variableName: aString
  116. variableName := aString
  117. ! !
  118. HLAnnouncement subclass: #HLItemSelected
  119. instanceVariableNames: 'item'
  120. package: 'Helios-Announcements'!
  121. !HLItemSelected methodsFor: 'accessing'!
  122. item
  123. ^ item
  124. !
  125. item: anObject
  126. item := anObject
  127. ! !
  128. !HLItemSelected class methodsFor: 'instance creation'!
  129. on: anItem
  130. ^ self new
  131. item: anItem;
  132. yourself
  133. ! !
  134. HLItemSelected subclass: #HLClassSelected
  135. instanceVariableNames: ''
  136. package: 'Helios-Announcements'!
  137. HLItemSelected subclass: #HLInstanceVariableSelected
  138. instanceVariableNames: ''
  139. package: 'Helios-Announcements'!
  140. HLItemSelected subclass: #HLMethodSelected
  141. instanceVariableNames: ''
  142. package: 'Helios-Announcements'!
  143. HLItemSelected subclass: #HLPackageSelected
  144. instanceVariableNames: ''
  145. package: 'Helios-Announcements'!
  146. HLItemSelected subclass: #HLProtocolSelected
  147. instanceVariableNames: ''
  148. package: 'Helios-Announcements'!
  149. HLAnnouncement subclass: #HLRefreshRequested
  150. instanceVariableNames: ''
  151. package: 'Helios-Announcements'!
  152. HLAnnouncement subclass: #HLSaveSourceCode
  153. instanceVariableNames: ''
  154. package: 'Helios-Announcements'!
  155. HLAnnouncement subclass: #HLSearchReferences
  156. instanceVariableNames: 'searchString'
  157. package: 'Helios-Announcements'!
  158. !HLSearchReferences methodsFor: 'accessing'!
  159. searchString
  160. ^ searchString
  161. !
  162. searchString: aString
  163. searchString := aString
  164. ! !
  165. HLAnnouncement subclass: #HLShowCommentToggled
  166. instanceVariableNames: ''
  167. package: 'Helios-Announcements'!
  168. HLAnnouncement subclass: #HLShowInstanceToggled
  169. instanceVariableNames: ''
  170. package: 'Helios-Announcements'!
  171. HLAnnouncement subclass: #HLSourceCodeSaved
  172. instanceVariableNames: ''
  173. package: 'Helios-Announcements'!