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.11 date: 2019/03/12 17:21:44
user: stefan
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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 29 Mar 2024 12:49:34 GMT