class: UserConfirmation
authorClaus Gittinger <cg@exept.de>
Mon, 25 Mar 2013 15:00:19 +0100
changeset 14950 98ea43c237ae
parent 14949 db71d89dd7f3
child 14951 c0fd00efb042
class: UserConfirmation class definition inheritance changed: a UserConfirmation is not a UserNotification, and should not inherit, as programmers might handle Notifications (showing the message somewhere), and not care for a confirmation. Heppened in sUnit browser, where UserNotiications were cought without a proper answer, leading to an imposisble-to-close debugger, when an error occurred inside the smallLint check.
UserConfirmation.st
--- a/UserConfirmation.st	Mon Mar 25 14:58:12 2013 +0100
+++ b/UserConfirmation.st	Mon Mar 25 15:00:19 2013 +0100
@@ -11,7 +11,7 @@
 "
 "{ Package: 'stx:libbasic' }"
 
-UserNotification subclass:#UserConfirmation
+Notification subclass:#UserConfirmation
 	instanceVariableNames:'canCancel defaultAnswerInDialog defaultAnswer'
 	classVariableNames:''
 	poolDictionaries:''
@@ -153,5 +153,6 @@
 !UserConfirmation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UserConfirmation.st,v 1.5 2008-11-22 10:53:08 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UserConfirmation.st,v 1.6 2013-03-25 14:00:19 cg Exp $'
 ! !
+