InterestConverterWithParameters.st
author Claus Gittinger <cg@exept.de>
Mon, 25 Mar 2002 18:17:57 +0100
changeset 1032 a70571746782
child 1614 3beb63c77ddd
permissions -rw-r--r--
initial checkin

"
 COPYRIGHT (c) 2002 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:libbasic2' }"

InterestConverter subclass:#InterestConverterWithParameters
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Interface-Support-Models'
!

!InterestConverterWithParameters class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2002 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.
"
!

documentation
"
    like a normal interestconverter, but passes the change parameter(s).
    Especially useful to simulate the dolphin event trigger mechanism.

    [author:]
        Claus Gittinger
"
! !

!InterestConverterWithParameters methodsFor:'change & update'!

update:something with:parameters from:someObject
    (aspect isNil or:[aspect == something]) ifTrue:[
"/        selector numArgs == 0 ifTrue:[
"/            destination perform:selector.
"/            ^ self
"/        ].
        destination perform:selector withArguments:parameters
    ]
! !

!InterestConverterWithParameters class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libbasic2/InterestConverterWithParameters.st,v 1.1 2002-03-25 17:17:57 cg Exp $'
! !