author | Claus Gittinger <cg@exept.de> |
Fri, 29 Aug 2003 21:19:07 +0200 | |
changeset 7588 | 1819a1c408f3 |
parent 6879 | bf378225d452 |
child 7632 | 767af3538c06 |
permissions | -rw-r--r-- |
7588 | 1 |
" |
2 |
COPYRIGHT (c) 2002 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
6876 | 13 |
"{ Package: 'stx:libbasic' }" |
14 |
||
6878
3fffe99cc074
avoid AbortSignal to handle AbortAllSignal
Claus Gittinger <cg@exept.de>
parents:
6876
diff
changeset
|
15 |
ControlRequest subclass:#AbortAllOperationRequest |
6876 | 16 |
instanceVariableNames:'' |
17 |
classVariableNames:'' |
|
18 |
poolDictionaries:'' |
|
19 |
category:'Kernel-Exceptions-Control' |
|
20 |
! |
|
21 |
||
22 |
!AbortAllOperationRequest class methodsFor:'documentation'! |
|
23 |
||
7588 | 24 |
copyright |
25 |
" |
|
26 |
COPYRIGHT (c) 2002 by eXept Software AG |
|
27 |
All Rights Reserved |
|
28 |
||
29 |
This software is furnished under a license and may be used |
|
30 |
only in accordance with the terms of that license and with the |
|
31 |
inclusion of the above copyright notice. This software may not |
|
32 |
be provided or otherwise made available to, or used by, any |
|
33 |
other person. No title to or ownership of the software is |
|
34 |
hereby transferred. |
|
35 |
" |
|
36 |
! |
|
37 |
||
6876 | 38 |
documentation |
39 |
" |
|
40 |
Raised by some dialogs 'Cancel All' button. |
|
41 |
||
6879 | 42 |
If unhandled, this is equivalent to raising the AbortOperationRequest. |
43 |
However, some applications catch this signal when performing an operation |
|
6876 | 44 |
on multiple objects (such as a fileBrowser, when deleting multiple files). |
6879 | 45 |
In these situations, Abort is typically cought to cancel a single |
46 |
operation, while AbortAll is used to cancel the whole action. |
|
47 |
" |
|
48 |
! ! |
|
6876 | 49 |
|
6879 | 50 |
!AbortAllOperationRequest methodsFor:'default actions'! |
51 |
||
52 |
defaultAction |
|
53 |
AbortSignal raise |
|
6876 | 54 |
! ! |
55 |
||
56 |
!AbortAllOperationRequest class methodsFor:'documentation'! |
|
57 |
||
58 |
version |
|
7588 | 59 |
^ '$Header: /cvs/stx/stx/libbasic/AbortAllOperationRequest.st,v 1.4 2003-08-29 19:18:08 cg Exp $' |
6876 | 60 |
! ! |