eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ActivityNotification':

Home

everywhere
www.exept.de
for:
[back]

Class: ActivityNotification


Inheritance:

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

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


Instance protocol:

default actions
o  defaultAction
the default action is to do nothing



ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 07:44:34 GMT