author | Stefan Vogel <sv@exept.de> |
Fri, 27 Oct 2017 16:14:37 +0200 | |
branch | expecco_2_11_1_branch |
changeset 22329 | 20662662693b |
parent 8675 | ceef81bb2d0c |
child 17711 | 39faaaf888b4 |
child 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 |
" |
|
12 |
||
6202 | 13 |
"{ Package: 'stx:libbasic' }" |
14 |
||
8675
ceef81bb2d0c
AbortOperationRequest is now a subclass (and child-Exception) of.
Stefan Vogel <sv@exept.de>
parents:
8325
diff
changeset
|
15 |
AbortAllOperationRequest subclass:#AbortOperationRequest |
6202 | 16 |
instanceVariableNames:'' |
17 |
classVariableNames:'' |
|
18 |
poolDictionaries:'' |
|
6207
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
19 |
category:'Kernel-Exceptions-Control' |
6202 | 20 |
! |
21 |
||
6207
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
22 |
!AbortOperationRequest class methodsFor:'documentation'! |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
23 |
|
7588 | 24 |
copyright |
25 |
" |
|
26 |
COPYRIGHT (c) 2001 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 |
||
6207
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
38 |
documentation |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
39 |
" |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
40 |
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
|
41 |
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
|
42 |
or by many dialogs 'Cancel' key. |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
43 |
|
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
44 |
If unhandled, this is a no-op, |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
45 |
however, all windows catch this signal in their main event handling |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
46 |
loop to allow for whatever operation is ongoing to be cancelled. |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
47 |
|
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
48 |
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
|
49 |
the debuggers 'Abort'-button. |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
50 |
" |
b53b64413b40
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
6202
diff
changeset
|
51 |
! ! |
6202 | 52 |
|
8325
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
53 |
!AbortOperationRequest class methodsFor:'initialization'! |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
54 |
|
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
55 |
initialize |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
56 |
|
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
57 |
NotifierString := 'abort operation requested'. |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
58 |
|
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 |
self initialize |
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
61 |
" |
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 |
|
6202 | 64 |
!AbortOperationRequest class methodsFor:'documentation'! |
65 |
||
66 |
version |
|
8675
ceef81bb2d0c
AbortOperationRequest is now a subclass (and child-Exception) of.
Stefan Vogel <sv@exept.de>
parents:
8325
diff
changeset
|
67 |
^ '$Header: /cvs/stx/stx/libbasic/AbortOperationRequest.st,v 1.5 2005-01-11 17:04:57 stefan Exp $' |
6202 | 68 |
! ! |
8325
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
69 |
|
ad394527946b
Convert more instance based exceptions to class based exceptions
Stefan Vogel <sv@exept.de>
parents:
7588
diff
changeset
|
70 |
AbortOperationRequest initialize! |