author | Claus Gittinger <cg@exept.de> |
Thu, 21 Nov 2002 10:21:20 +0100 | |
changeset 6879 | bf378225d452 |
parent 6878 | 3fffe99cc074 |
child 7588 | 1819a1c408f3 |
permissions | -rw-r--r-- |
6876 | 1 |
"{ Package: 'stx:libbasic' }" |
2 |
||
6878
3fffe99cc074
avoid AbortSignal to handle AbortAllSignal
Claus Gittinger <cg@exept.de>
parents:
6876
diff
changeset
|
3 |
ControlRequest subclass:#AbortAllOperationRequest |
6876 | 4 |
instanceVariableNames:'' |
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'Kernel-Exceptions-Control' |
|
8 |
! |
|
9 |
||
10 |
!AbortAllOperationRequest class methodsFor:'documentation'! |
|
11 |
||
12 |
documentation |
|
13 |
" |
|
14 |
Raised by some dialogs 'Cancel All' button. |
|
15 |
||
6879 | 16 |
If unhandled, this is equivalent to raising the AbortOperationRequest. |
17 |
However, some applications catch this signal when performing an operation |
|
6876 | 18 |
on multiple objects (such as a fileBrowser, when deleting multiple files). |
6879 | 19 |
In these situations, Abort is typically cought to cancel a single |
20 |
operation, while AbortAll is used to cancel the whole action. |
|
21 |
" |
|
22 |
! ! |
|
6876 | 23 |
|
6879 | 24 |
!AbortAllOperationRequest methodsFor:'default actions'! |
25 |
||
26 |
defaultAction |
|
27 |
AbortSignal raise |
|
6876 | 28 |
! ! |
29 |
||
30 |
!AbortAllOperationRequest class methodsFor:'documentation'! |
|
31 |
||
32 |
version |
|
6879 | 33 |
^ '$Header: /cvs/stx/stx/libbasic/AbortAllOperationRequest.st,v 1.3 2002-11-21 09:21:20 cg Exp $' |
6876 | 34 |
! ! |