extensions.st
changeset 2901 31bfe7c3474d
parent 2897 3060cf059978
child 2903 80af520506e8
equal deleted inserted replaced
2900:0e8b305e9a98 2901:31bfe7c3474d
  1135     "/ In the future, a more intelligent DependencyCollection class is planned for
  1135     "/ In the future, a more intelligent DependencyCollection class is planned for
  1136 
  1136 
  1137     self retractInterestsForWhich:[:i | i aspect == aspect ]
  1137     self retractInterestsForWhich:[:i | i aspect == aspect ]
  1138 ! !
  1138 ! !
  1139 
  1139 
       
  1140 !Object methodsFor:'Compatibility-Dolphin'!
       
  1141 
       
  1142 trigger:anAspect
       
  1143     self changed:anAspect
       
  1144 ! !
       
  1145 
       
  1146 !Object methodsFor:'Compatibility-Dolphin'!
       
  1147 
       
  1148 trigger:anAspect with:anArgument
       
  1149     self changed:anAspect with:anArgument
       
  1150 ! !
       
  1151 
       
  1152 !Object methodsFor:'dependents-st/v event simulation'!
       
  1153 
       
  1154 triggerEvent:aSymbol
       
  1155     self changed:aSymbol
       
  1156 ! !
       
  1157 
  1140 !Object methodsFor:'dependents-st/v event simulation'!
  1158 !Object methodsFor:'dependents-st/v event simulation'!
  1141 
  1159 
  1142 triggerEvent:eventSymbol with:aParameter
  1160 triggerEvent:eventSymbol with:aParameter
  1143     "perform ST/V-style event triggering."
  1161     "perform ST/V-style event triggering."
  1144 
  1162 
  1205      p triggerEvent:#foo: with:987.
  1223      p triggerEvent:#foo: with:987.
  1206      p removeActionsForEvent:#foo:.
  1224      p removeActionsForEvent:#foo:.
  1207     "
  1225     "
  1208 ! !
  1226 ! !
  1209 
  1227 
       
  1228 !Object methodsFor:'Compatibility-Dolphin'!
       
  1229 
       
  1230 when:anAspect sendTo:anObject
       
  1231     self expressInterestIn:anAspect for:anObject sendBack:anAspect
       
  1232 ! !
       
  1233 
  1210 !Stream methodsFor:'stacked computing streams'!
  1234 !Stream methodsFor:'stacked computing streams'!
  1211 
  1235 
  1212 collecting:aBlock
  1236 collecting:aBlock
  1213     "return a stacked computing stream, which reads elements from the receiver,
  1237     "return a stacked computing stream, which reads elements from the receiver,
  1214      applies aBlock to each read element, and provides the results as elements to its reader."
  1238      applies aBlock to each read element, and provides the results as elements to its reader."
  1226 ! !
  1250 ! !
  1227 
  1251 
  1228 !stx_libbasic2 class methodsFor:'documentation'!
  1252 !stx_libbasic2 class methodsFor:'documentation'!
  1229 
  1253 
  1230 extensionsVersion_CVS
  1254 extensionsVersion_CVS
  1231     ^ '$Header: /cvs/stx/stx/libbasic2/extensions.st,v 1.21 2013-02-08 17:25:24 cg Exp $'
  1255     ^ '$Header: /cvs/stx/stx/libbasic2/extensions.st,v 1.22 2013-02-08 20:41:17 cg Exp $'
  1232 ! !
  1256 ! !