eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ActivityNotification':

Home

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

Class: ActivityNotification


Inheritance:

   Object
   |
   +--GenericException
      |
      +--Notification
         |
         +--UserNotification
            |
            +--ActivityNotification
               |
               +--ProgressNotification

Package:
stx:libbasic
Category:
Kernel-Exceptions-Notifications
Version:
rev: 1.5 date: 2018/07/19 16:24:34
user: cg
file: ActivityNotification.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


ActivityNotification can be raised from deeply nested methods, which are going to perform
some long-time activity.

If there is a handler for the ActivityNotification, that one is called,
passing the argument. The handler should show this message wherever it likes,
and proceed. 
If there is no handler, ActivityNotification is simply ignored.

This is very useful to pass busy messages up to some higher level (typically a view)
which likes to display that message in its label or a busy-box.
It could also be put into some logfile or printed on the standard output/error.


Related information:

    Signal

Class protocol:

initialization
o  initialize
self initialize


Instance protocol:

default actions
o  defaultAction
the default action is to do nothing



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 29 Mar 2024 06:05:18 GMT