QuerySignal.st
branchjv
changeset 18091 abbcac10730e
parent 18060 3708e12e9aa8
parent 15679 1b07a85590a2
equal deleted inserted replaced
18090:a947150ba171 18091:abbcac10730e
   434 ! !
   434 ! !
   435 
   435 
   436 !QuerySignal methodsFor:'raising'!
   436 !QuerySignal methodsFor:'raising'!
   437 
   437 
   438 query
   438 query
   439     "raise the query - return the handlers value, or the default
   439     "raise the query - return the handler's value, or the default
   440      value, if there is no handler."
   440      value, if there is no handler."
   441 
   441 
   442     ^ self raiseRequest
   442     ^ self raiseRequest
   443 !
   443 !
   444 
   444 
   445 queryWith:aParameter
   445 queryWith:aParameter
   446     "raise the query passing a parameter 
   446     "raise the query passing a parameter 
   447      - return the handlers value, or the default value, if there is no handler."
   447      - return the handler's value, or the default value, if there is no handler."
   448 
   448 
   449     ^ self raiseRequestWith:aParameter
   449     ^ self raiseRequestWith:aParameter
   450 !
   450 !
   451 
   451 
   452 raise
   452 raise
   460 
   460 
   461     "Modified: / 18.3.1999 / 18:33:57 / stefan"
   461     "Modified: / 18.3.1999 / 18:33:57 / stefan"
   462 !
   462 !
   463 
   463 
   464 raiseRequest
   464 raiseRequest
   465     "raise the query - return the handlers value, or the default
   465     "raise the query - return the handler's value, or the default
   466      value, if there is no handler.
   466      value, if there is no handler.
   467      Invoking the handler is exactly the functionality of Signal>>raiseRequest,
   467      Invoking the handler is exactly the functionality of Signal>>raiseRequest,
   468      but we can do it faster here, by avoiding the creation of a full-blown
   468      but we can do it faster here, by avoiding the creation of a full-blown
   469      exception object."
   469      exception object."
   470 
   470 
   508 ! !
   508 ! !
   509 
   509 
   510 !QuerySignal class methodsFor:'documentation'!
   510 !QuerySignal class methodsFor:'documentation'!
   511 
   511 
   512 version
   512 version
   513     ^ '$Header: /cvs/stx/stx/libbasic/QuerySignal.st,v 1.47 2013-05-13 13:47:28 stefan Exp $'
   513     ^ '$Header: /cvs/stx/stx/libbasic/QuerySignal.st,v 1.48 2013-08-22 13:01:24 cg Exp $'
   514 !
   514 !
   515 
   515 
   516 version_CVS
   516 version_CVS
   517     ^ '$Header: /cvs/stx/stx/libbasic/QuerySignal.st,v 1.47 2013-05-13 13:47:28 stefan Exp $'
   517     ^ '$Header: /cvs/stx/stx/libbasic/QuerySignal.st,v 1.48 2013-08-22 13:01:24 cg Exp $'
   518 ! !
   518 ! !
   519 
   519