--- a/QuerySignal.st Wed Oct 13 14:25:40 1999 +0200
+++ b/QuerySignal.st Wed Oct 13 14:27:39 1999 +0200
@@ -390,13 +390,18 @@
query
"raise the query - return the handlers value, or the default
- value, if there is no handler.
- Invoking the handler is exactly the functionality of Signal>>raiseRequest,
- but we can do it faster here."
+ value, if there is no handler."
^ self raiseRequest
!
+queryWith:aParameter
+ "raise the query passing a parameter
+ - return the handlers value, or the default value, if there is no handler."
+
+ ^ self raiseRequestWith:aParameter
+!
+
raise
"QuerySignals are proceedable by definition,
so they should be raised with #query or #raiseRequest"
@@ -463,5 +468,5 @@
!QuerySignal class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/QuerySignal.st,v 1.32 1999-08-04 14:13:30 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/QuerySignal.st,v 1.33 1999-10-13 12:27:39 cg Exp $'
! !