ProgressNotification.st
author Stefan Vogel <sv@exept.de>
Wed, 12 Dec 2012 15:30:26 +0100
changeset 4157 67226e0d3d71
parent 4138 e65b7c94ed2f
child 5304 4b50bec89cd5
permissions -rw-r--r--
class: ProgressNotification changed: #notify:progress:

"
 COPYRIGHT (c) 2008 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
"{ Package: 'stx:libwidg2' }"

ActivityNotification subclass:#ProgressNotification
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Notifications'
!

!ProgressNotification class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2008 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
! !

!ProgressNotification class methodsFor:'notification'!

notify: message progress: progress
    ^ self new
        messageText: message;
        parameter: progress;
        raiseRequest

    "Created: / 31-07-2012 / 16:13:54 / cg"
!

progressPercentage:aPercentageNumber
    self raiseRequestWith:aPercentageNumber
! !

!ProgressNotification methodsFor:'instance creation'!

progressValue
    ^ parameter
! !

!ProgressNotification class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libwidg2/ProgressNotification.st,v 1.5 2012-12-12 14:30:26 stefan Exp $'
! !