InterestConverterWithParameters.st
changeset 1032 a70571746782
child 1614 3beb63c77ddd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/InterestConverterWithParameters.st	Mon Mar 25 18:17:57 2002 +0100
@@ -0,0 +1,64 @@
+"
+ 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 $'
+! !