author | convert-repo |
Fri, 20 Dec 2019 04:27:46 +0000 | |
changeset 25157 | 5801b52c6f52 |
parent 22207 | f8fd796bb5a3 |
permissions | -rw-r--r-- |
7588 | 1 |
" |
2 |
COPYRIGHT (c) 2001 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 |
" |
|
22207 | 12 |
"{ Package: 'stx:libbasic' }" |
7588 | 13 |
|
22207 | 14 |
"{ NameSpace: Smalltalk }" |
6202 | 15 |
|
8675
ceef81bb2d0c
AbortOperationRequest is now a subclass (and child-Exception) of.
Stefan Vogel <sv@exept.de>
parents:
8325
diff
changeset
|
16 |
AbortAllOperationRequest subclass:#AbortOperationRequest |
6202 | 17 |
instanceVariableNames:'' |
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
6207
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
20 |
category:'Kernel-Exceptions-Control' |
6202 | 21 |
! |
22 |
||
6207
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
23 |
!AbortOperationRequest class methodsFor:'documentation'! |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
24 |
|
7588 | 25 |
copyright |
26 |
" |
|
27 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
6207
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
39 |
documentation |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
40 |
" |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
41 |
Raised when the CTRL-y (abort operation) Key is pressed, |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
42 |
or when the 'Abort'-button is pressed in the Debugger, |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
43 |
or by many dialogs 'Cancel' key. |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
44 |
|
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
45 |
If unhandled, this is a no-op, |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
46 |
however, all windows catch this signal in their main event handling |
22207 | 47 |
loop to allow for whatever operation is ongoing to be canceled. |
6207
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
48 |
|
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
49 |
Pressing CTRL-y has the same behavior as interrupting followed by pressing |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
50 |
the debuggers 'Abort'-button. |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
51 |
" |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
52 |
! ! |
6202 | 53 |
|
8325
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
54 |
!AbortOperationRequest class methodsFor:'initialization'! |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
55 |
|
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
56 |
initialize |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
57 |
|
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
58 |
NotifierString := 'abort operation requested'. |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
59 |
|
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
60 |
" |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
61 |
self initialize |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
62 |
" |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
63 |
! ! |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
64 |
|
6202 | 65 |
!AbortOperationRequest class methodsFor:'documentation'! |
66 |
||
67 |
version |
|
22207 | 68 |
^ '$Header$' |
6202 | 69 |
! ! |
8325
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
70 |
|
22207 | 71 |
|
8325
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
72 |
AbortOperationRequest initialize! |