author | Stefan Vogel <sv@exept.de> |
Fri, 03 Apr 2020 18:50:48 +0200 | |
changeset 5471 | 0bee7a5e40e8 |
parent 2898 | beaeff8d99df |
permissions | -rw-r--r-- |
1032 | 1 |
" |
2 |
COPYRIGHT (c) 2002 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
"{ Package: 'stx:libbasic2' }" |
|
13 |
||
14 |
InterestConverter subclass:#InterestConverterWithParameters |
|
2898
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
15 |
instanceVariableNames:'defaultParameters' |
1032 | 16 |
classVariableNames:'' |
17 |
poolDictionaries:'' |
|
18 |
category:'Interface-Support-Models' |
|
19 |
! |
|
20 |
||
21 |
!InterestConverterWithParameters class methodsFor:'documentation'! |
|
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2002 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
37 |
documentation |
|
38 |
" |
|
39 |
like a normal interestconverter, but passes the change parameter(s). |
|
40 |
Especially useful to simulate the dolphin event trigger mechanism. |
|
41 |
||
42 |
[author:] |
|
43 |
Claus Gittinger |
|
44 |
" |
|
45 |
! ! |
|
46 |
||
2898
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
47 |
!InterestConverterWithParameters methodsFor:'accessing'! |
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
48 |
|
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
49 |
defaultParameters:something |
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
50 |
defaultParameters := something. |
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
51 |
! ! |
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
52 |
|
1032 | 53 |
!InterestConverterWithParameters methodsFor:'change & update'! |
54 |
||
55 |
update:something with:parameters from:someObject |
|
56 |
(aspect isNil or:[aspect == something]) ifTrue:[ |
|
2898
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
57 |
destination perform:selector withArguments:(parameters ? defaultParameters) |
1032 | 58 |
] |
59 |
! ! |
|
60 |
||
61 |
!InterestConverterWithParameters class methodsFor:'documentation'! |
|
62 |
||
63 |
version |
|
2898
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
64 |
^ '$Header: /cvs/stx/stx/libbasic2/InterestConverterWithParameters.st,v 1.3 2013-02-08 17:25:44 cg Exp $' |
1032 | 65 |
! ! |
2898
beaeff8d99df
class: InterestConverterWithParameters
Claus Gittinger <cg@exept.de>
parents:
1614
diff
changeset
|
66 |