ActivityNotification.st
changeset 23222 5bcfeacda179
parent 11194 0525f26f3b14
equal deleted inserted replaced
23221:637fe0932dff 23222:5bcfeacda179
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 2003 by eXept Software AG
     4  COPYRIGHT (c) 2003 by eXept Software AG
     3               All Rights Reserved
     5               All Rights Reserved
     4 
     6 
     5  This software is furnished under a license and may be used
     7  This software is furnished under a license and may be used
     8  be provided or otherwise made available to, or used by, any
    10  be provided or otherwise made available to, or used by, any
     9  other person.  No title to or ownership of the software is
    11  other person.  No title to or ownership of the software is
    10  hereby transferred.
    12  hereby transferred.
    11 "
    13 "
    12 "{ Package: 'stx:libbasic' }"
    14 "{ Package: 'stx:libbasic' }"
       
    15 
       
    16 "{ NameSpace: Smalltalk }"
    13 
    17 
    14 UserNotification subclass:#ActivityNotification
    18 UserNotification subclass:#ActivityNotification
    15 	instanceVariableNames:''
    19 	instanceVariableNames:''
    16 	classVariableNames:''
    20 	classVariableNames:''
    17 	poolDictionaries:''
    21 	poolDictionaries:''
    38 "    
    42 "    
    39     ActivityNotification can be raised from deeply nested methods, which are going to perform
    43     ActivityNotification can be raised from deeply nested methods, which are going to perform
    40     some long-time activity.
    44     some long-time activity.
    41 
    45 
    42     If there is a handler for the ActivityNotification, that one is called,
    46     If there is a handler for the ActivityNotification, that one is called,
    43     passing the argument. The handler should show this message whereever it likes,
    47     passing the argument. The handler should show this message wherever it likes,
    44     and proceed. If there is no handler, ActivityNotification is simply ignored.
    48     and proceed. 
       
    49     If there is no handler, ActivityNotification is simply ignored.
    45 
    50 
    46     This is very useful to pass busy messages up to some higher level (typically a view)
    51     This is very useful to pass busy messages up to some higher level (typically a view)
    47     which likes to display that message in its label or a busy-box.
    52     which likes to display that message in its label or a busy-box.
    48     It could also be put into some logfile or printed on the standard output/error.
    53     It could also be put into some logfile or printed on the standard output/error.
    49 
    54 
    72 ! !
    77 ! !
    73 
    78 
    74 !ActivityNotification class methodsFor:'documentation'!
    79 !ActivityNotification class methodsFor:'documentation'!
    75 
    80 
    76 version
    81 version
    77     ^ '$Header: /cvs/stx/stx/libbasic/ActivityNotification.st,v 1.4 2008-10-04 08:42:14 cg Exp $'
    82     ^ '$Header$'
    78 ! !
    83 ! !
    79 
    84 
       
    85 
    80 ActivityNotification initialize!
    86 ActivityNotification initialize!