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.4 date: 2008/10/04 08:42:14
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 whereever 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.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 26 May 2019 13:10:04 GMT