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