equal
deleted
inserted
replaced
9 other person. No title to or ownership of the software is |
9 other person. No title to or ownership of the software is |
10 hereby transferred. |
10 hereby transferred. |
11 " |
11 " |
12 "{ Package: 'stx:libbasic' }" |
12 "{ Package: 'stx:libbasic' }" |
13 |
13 |
14 UserNotification subclass:#UserConfirmation |
14 Notification subclass:#UserConfirmation |
15 instanceVariableNames:'canCancel defaultAnswerInDialog defaultAnswer' |
15 instanceVariableNames:'canCancel defaultAnswerInDialog defaultAnswer' |
16 classVariableNames:'' |
16 classVariableNames:'' |
17 poolDictionaries:'' |
17 poolDictionaries:'' |
18 category:'Kernel-Exceptions-Notifications' |
18 category:'Kernel-Exceptions-Notifications' |
19 ! |
19 ! |
48 passing additional 'doConfirm' arguments down from the high level caller |
48 passing additional 'doConfirm' arguments down from the high level caller |
49 keeping the doConfirm settings in a passed down flag object |
49 keeping the doConfirm settings in a passed down flag object |
50 keeping the flag in a global (very bad) |
50 keeping the flag in a global (very bad) |
51 keeping it in a class var (almost as bad) |
51 keeping it in a class var (almost as bad) |
52 |
52 |
53 Notice: thats one of the nice consequences of proceedable exceptions. |
53 Notice: that's one of the nice consequences of proceedable exceptions. |
54 |
54 |
55 [authors:] |
55 [authors:] |
56 Stefan Vogel |
56 Stefan Vogel |
57 Claus Gittinger |
57 Claus Gittinger |
58 |
58 |
59 [see also:] |
59 [see also:] |
60 Query Notification Exception |
60 Query Notification Exception |
61 " |
61 " |
62 ! ! |
62 ! ! |
|
63 |
63 |
64 |
64 !UserConfirmation methodsFor:'accessing'! |
65 !UserConfirmation methodsFor:'accessing'! |
65 |
66 |
66 aspect |
67 aspect |
67 "the aspect the user is asked. Set this to a symbol. |
68 "the aspect the user is asked. Set this to a symbol. |
101 Specifies, which answer of the three (yes/no/cancel) should be the return-key-default. |
102 Specifies, which answer of the three (yes/no/cancel) should be the return-key-default. |
102 If not specified, the cancel-key will be the default" |
103 If not specified, the cancel-key will be the default" |
103 |
104 |
104 defaultAnswer := aBooleanOrNil |
105 defaultAnswer := aBooleanOrNil |
105 ! ! |
106 ! ! |
|
107 |
106 |
108 |
107 !UserConfirmation methodsFor:'default actions'! |
109 !UserConfirmation methodsFor:'default actions'! |
108 |
110 |
109 defaultAction |
111 defaultAction |
110 "Default action for confirmations: open a info box with description. |
112 "Default action for confirmations: open a info box with description. |
148 " |
150 " |
149 UserConfirmation raiseRequestErrorString:'Please click yes or no!!' |
151 UserConfirmation raiseRequestErrorString:'Please click yes or no!!' |
150 " |
152 " |
151 ! ! |
153 ! ! |
152 |
154 |
|
155 |
153 !UserConfirmation class methodsFor:'documentation'! |
156 !UserConfirmation class methodsFor:'documentation'! |
154 |
157 |
155 version |
158 version |
156 ^ '$Header: /cvs/stx/stx/libbasic/UserConfirmation.st,v 1.5 2008/11/22 10:53:08 cg Exp $' |
159 ^ '$Header: /cvs/stx/stx/libbasic/UserConfirmation.st,v 1.7 2013-03-25 14:00:49 cg Exp $' |
|
160 ! |
|
161 |
|
162 version_CVS |
|
163 ^ '$Header: /cvs/stx/stx/libbasic/UserConfirmation.st,v 1.7 2013-03-25 14:00:49 cg Exp $' |
157 ! |
164 ! |
158 |
165 |
159 version_SVN |
166 version_SVN |
160 ^ '$Id: UserConfirmation.st 10761 2012-01-19 11:46:00Z vranyj1 $' |
167 ^ '$Id: UserConfirmation.st 10761 2012-01-19 11:46:00Z vranyj1 $' |
161 ! ! |
168 ! ! |
162 |
169 |
163 |
|
164 |
|