eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AbortAllOperationRequest':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: AbortAllOperationRequest


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Exception
         |
         +--ControlRequest
            |
            +--AbortAllOperationRequest
               |
               +--AbortOperationRequest

Package:
stx:libbasic
Category:
Kernel-Exceptions-Control
Version:
rev: 1.10 date: 2017/08/03 12:40:23
user: cg
file: AbortAllOperationRequest.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


Raised by some dialog's 'Cancel All' button.

If unhandled, this is equivalent to raising the AbortOperationRequest.
However, some applications catch this signal when performing an operation
on multiple objects (such as a fileBrowser, when deleting multiple files).
In these situations, Abort is typically caught to cancel a single
operation, while AbortAll is used to cancel the whole action.


Class protocol:

initialization
o  initialize
self initialize

special handling
o  handleAndAnswerQueryIn: aBlock
evaluate aBlock, and return immediately, if the AbortAllRequest is raised.
Answer any query if AllOperationWanted with true.
usage example(s):
     AbortAllOperationRequest handleAndAnswerQueryIn:[
        AbortAllOperationWantedQuery query ifTrue:[
            self halt.
            AbortAllOperationRequest raise.
        ].
     ].



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Wed, 20 Mar 2019 23:22:26 GMT