author | Stefan Vogel <sv@exept.de> |
Mon, 11 Aug 2008 07:45:12 +0200 | |
changeset 2530 | a40d597a31ed |
parent 1815 | 5f6fb98a3479 |
child 2760 | 653b3c3fd7a7 |
permissions | -rw-r--r-- |
145 | 1 |
" |
2 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
158 | 3 |
All Rights Reserved |
145 | 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 |
" |
|
1665 | 12 |
"{ Package: 'stx:libview2' }" |
13 |
||
145 | 14 |
ValueModel subclass:#BlockValue |
15 |
instanceVariableNames:'cachedValue arguments block' |
|
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
16 |
classVariableNames:'NeverComputed' |
145 | 17 |
poolDictionaries:'' |
18 |
category:'Interface-Support-Models' |
|
19 |
! |
|
20 |
||
21 |
!BlockValue class methodsFor:'documentation'! |
|
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
158 | 26 |
All Rights Reserved |
145 | 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 |
||
38 |
documentation |
|
39 |
" |
|
40 |
BlockValues depend on multiple other objects (typically valueHolders) |
|
41 |
and recompute a value whenever one of them changes. |
|
42 |
If the new value is different, it triggers itself a change to its dependents. |
|
43 |
||
44 |
Example use is to base an enableChannels value on multiple other boolean values. |
|
45 |
(See example for how this is done) |
|
223 | 46 |
|
231 | 47 |
Notice: |
48 |
this class was implemented using protocol information |
|
49 |
from alpha testers - it may not be complete or compatible to |
|
50 |
the corresponding ST-80 class. |
|
51 |
If you encounter any incompatibilities, please forward a note |
|
52 |
describing the incompatibility verbal (i.e. no code) to the ST/X team. |
|
53 |
||
223 | 54 |
[author:] |
55 |
Claus Gittinger |
|
145 | 56 |
" |
57 |
||
58 |
! |
|
59 |
||
60 |
examples |
|
61 |
" |
|
155 | 62 |
checkToggle 3 shows the value of toggle1 AND toggle2 |
231 | 63 |
[exBegin] |
64 |
|val1 val2 both box| |
|
155 | 65 |
|
231 | 66 |
val1 := false asValue. |
67 |
val2 := false asValue. |
|
68 |
both := BlockValue |
|
69 |
with:[:v1 :v2 | |
|
268 | 70 |
Transcript showCR:'evaluating ...'. |
231 | 71 |
v1 value and:[v2 value] |
72 |
] |
|
73 |
arguments:(Array with:val1 with:val2). |
|
155 | 74 |
|
231 | 75 |
box := Dialog new. |
76 |
box addCheckBox:'one' on:val1. |
|
77 |
box addCheckBox:'two' on:val2. |
|
78 |
box addHorizontalLine. |
|
79 |
box addCheckBox:'both' on:both. |
|
911 | 80 |
box addOkButton. |
231 | 81 |
box open |
82 |
[exEnd] |
|
155 | 83 |
|
84 |
the same, using a convenient instance creation message: |
|
231 | 85 |
[exBegin] |
86 |
|val1 val2 both box| |
|
155 | 87 |
|
231 | 88 |
val1 := false asValue. |
89 |
val2 := false asValue. |
|
90 |
both := BlockValue forLogical:val1 and:val2. |
|
145 | 91 |
|
231 | 92 |
box := Dialog new. |
93 |
box addCheckBox:'one' on:val1. |
|
94 |
box addCheckBox:'two' on:val2. |
|
95 |
box addHorizontalLine. |
|
911 | 96 |
(box addCheckBox:'both' on:both) disable. |
97 |
box addOkButton. |
|
231 | 98 |
box open |
99 |
[exEnd] |
|
155 | 100 |
|
101 |
logical or: |
|
231 | 102 |
[exBegin] |
103 |
|val1 val2 both box| |
|
155 | 104 |
|
231 | 105 |
val1 := false asValue. |
106 |
val2 := false asValue. |
|
107 |
both := BlockValue forLogical:val1 or:val2. |
|
145 | 108 |
|
231 | 109 |
box := Dialog new. |
110 |
box addCheckBox:'one' on:val1. |
|
111 |
box addCheckBox:'two' on:val2. |
|
112 |
box addHorizontalLine. |
|
113 |
box addCheckBox:'both' on:both. |
|
911 | 114 |
box addOkButton. |
231 | 115 |
box open |
116 |
[exEnd] |
|
155 | 117 |
|
118 |
example use: enabling an element depending on two others: |
|
231 | 119 |
[exBegin] |
120 |
|val1 val2 enabler val3 box| |
|
155 | 121 |
|
231 | 122 |
val1 := false asValue. |
123 |
val2 := false asValue. |
|
124 |
val3 := false asValue. |
|
125 |
enabler := BlockValue forLogical:val1 and:val2. |
|
155 | 126 |
|
231 | 127 |
box := Dialog new. |
128 |
box addCheckBox:'one' on:val1. |
|
129 |
box addCheckBox:'two' on:val2. |
|
130 |
box addHorizontalLine. |
|
911 | 131 |
(box addCheckBox:'three (both of the above)' on:val3) enableChannel:enabler. |
132 |
box addOkButton. |
|
231 | 133 |
box open |
134 |
[exEnd] |
|
382 | 135 |
|
136 |
||
137 |
like above, using a logical-or block: |
|
138 |
[exBegin] |
|
139 |
|val1 val2 enabler val3 box| |
|
140 |
||
141 |
val1 := false asValue. |
|
142 |
val2 := false asValue. |
|
143 |
val3 := false asValue. |
|
144 |
enabler := BlockValue forLogical:val1 or:val2. |
|
145 |
||
146 |
box := Dialog new. |
|
147 |
box addCheckBox:'one' on:val1. |
|
148 |
box addCheckBox:'two' on:val2. |
|
149 |
box addHorizontalLine. |
|
911 | 150 |
(box addCheckBox:'three (any of the above)' on:val3) enableChannel:enabler. |
151 |
box addOkButton. |
|
382 | 152 |
box open |
153 |
[exEnd] |
|
154 |
||
155 |
||
156 |
like above, using a bunch of toggles: |
|
157 |
[exBegin] |
|
158 |
|values anyValue box| |
|
159 |
||
160 |
values := (1 to:10) collect:[:i | false asValue]. |
|
161 |
anyValue := BlockValue forLogicalOrAll:values. |
|
162 |
anyValue onChangeSend:#value to:[Transcript showCR:'any is true']. |
|
163 |
||
164 |
box := Dialog new. |
|
165 |
values keysAndValuesDo:[:index :aValueHolder | |
|
166 |
box addCheckBox:index printString on:aValueHolder. |
|
167 |
]. |
|
168 |
box addHorizontalLine. |
|
911 | 169 |
(box addOkButton) enableChannel:anyValue. |
382 | 170 |
box open |
171 |
[exEnd] |
|
145 | 172 |
" |
173 |
! ! |
|
174 |
||
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
175 |
!BlockValue class methodsFor:'initialization'! |
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
176 |
|
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
177 |
initialize |
158 | 178 |
NeverComputed isNil ifTrue:[ |
179 |
NeverComputed := Object new. |
|
180 |
] |
|
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
181 |
! ! |
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
182 |
|
145 | 183 |
!BlockValue class methodsFor:'instance creation'! |
184 |
||
979
cd28a5d673c9
added #block:arguments: for ST80 compatibility.
Claus Gittinger <cg@exept.de>
parents:
911
diff
changeset
|
185 |
block:aBlock arguments:aCollectionOfArguments |
cd28a5d673c9
added #block:arguments: for ST80 compatibility.
Claus Gittinger <cg@exept.de>
parents:
911
diff
changeset
|
186 |
"return a new BlockValue computing aBlock. |
cd28a5d673c9
added #block:arguments: for ST80 compatibility.
Claus Gittinger <cg@exept.de>
parents:
911
diff
changeset
|
187 |
Same as #with:arguments: for ST80 compatibility" |
cd28a5d673c9
added #block:arguments: for ST80 compatibility.
Claus Gittinger <cg@exept.de>
parents:
911
diff
changeset
|
188 |
|
cd28a5d673c9
added #block:arguments: for ST80 compatibility.
Claus Gittinger <cg@exept.de>
parents:
911
diff
changeset
|
189 |
^ self with:aBlock arguments:aCollectionOfArguments |
cd28a5d673c9
added #block:arguments: for ST80 compatibility.
Claus Gittinger <cg@exept.de>
parents:
911
diff
changeset
|
190 |
|
cd28a5d673c9
added #block:arguments: for ST80 compatibility.
Claus Gittinger <cg@exept.de>
parents:
911
diff
changeset
|
191 |
"Created: / 20.6.1998 / 14:00:16 / cg" |
cd28a5d673c9
added #block:arguments: for ST80 compatibility.
Claus Gittinger <cg@exept.de>
parents:
911
diff
changeset
|
192 |
! |
cd28a5d673c9
added #block:arguments: for ST80 compatibility.
Claus Gittinger <cg@exept.de>
parents:
911
diff
changeset
|
193 |
|
155 | 194 |
forLogical:arg1 and:arg2 |
1326 | 195 |
"return a new BlockValue computing the logical AND of its args |
196 |
(which are usually other valueHolders)" |
|
155 | 197 |
|
1815 | 198 |
^ (self new) |
1326 | 199 |
setBlock:[:a :b | a value and:[b value]] |
200 |
arguments:(Array with:arg1 with:arg2) |
|
155 | 201 |
|
1326 | 202 |
"Created: / 16.12.1995 / 19:20:14 / cg" |
203 |
"Modified: / 30.1.2000 / 23:24:50 / cg" |
|
155 | 204 |
! |
205 |
||
206 |
forLogical:arg1 or:arg2 |
|
1326 | 207 |
"return a new BlockValue computing the logical OR of its args |
208 |
(which are usually other valueHolders)" |
|
155 | 209 |
|
1815 | 210 |
^ (self new) |
1326 | 211 |
setBlock:[:a :b | a value or:[b value]] |
212 |
arguments:(Array with:arg1 with:arg2) |
|
155 | 213 |
|
1326 | 214 |
"Created: / 16.12.1995 / 19:20:14 / cg" |
215 |
"Modified: / 30.1.2000 / 23:24:46 / cg" |
|
155 | 216 |
! |
217 |
||
382 | 218 |
forLogicalAndAll:argArray |
219 |
"return a new BlockValue computing the logical OR of all elements |
|
1326 | 220 |
in the passed argArray (which are usually other valueHolders)" |
382 | 221 |
|
1815 | 222 |
^ (self new) |
382 | 223 |
setBlock:[:a | (argArray findFirst:[:a | a value not]) == 0] |
911 | 224 |
argumentArray:argArray asArray |
382 | 225 |
|
911 | 226 |
"Created: / 22.1.1997 / 19:12:44 / cg" |
227 |
"Modified: / 28.4.1998 / 20:16:38 / ca" |
|
1326 | 228 |
"Modified: / 30.1.2000 / 23:24:40 / cg" |
382 | 229 |
! |
230 |
||
1045 | 231 |
forLogicalNot:arg |
1326 | 232 |
"return a new BlockValue computing the logical NOT of its arg |
233 |
(which is usually another valueHolder)" |
|
1045 | 234 |
|
1815 | 235 |
^ (self new) |
1045 | 236 |
setBlock:[:a | a value not] |
237 |
arguments:(Array with:arg) |
|
238 |
||
239 |
"Created: / 17.8.1998 / 10:06:41 / cg" |
|
1326 | 240 |
"Modified: / 30.1.2000 / 23:24:18 / cg" |
1045 | 241 |
! |
242 |
||
382 | 243 |
forLogicalOrAll:argArray |
244 |
"return a new BlockValue computing the logical OR of all elements |
|
1326 | 245 |
in the passed argArray (which are usually other valueHolders)" |
382 | 246 |
|
1815 | 247 |
^ (self new) |
606 | 248 |
setBlock:[:arg | (arg findFirst:[:el | el value]) ~~ 0] |
911 | 249 |
argumentArray:argArray asArray |
382 | 250 |
|
911 | 251 |
"Created: / 22.1.1997 / 19:13:01 / cg" |
252 |
"Modified: / 28.4.1998 / 20:20:09 / ca" |
|
1326 | 253 |
"Modified: / 30.1.2000 / 23:24:34 / cg" |
382 | 254 |
! |
255 |
||
145 | 256 |
with:aBlock |
257 |
"return a new BlockValue computing aBlock" |
|
258 |
||
1815 | 259 |
^ (self new) setBlock:aBlock |
145 | 260 |
|
261 |
"Created: 16.12.1995 / 19:16:33 / cg" |
|
262 |
! |
|
263 |
||
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
264 |
with:aBlock argument:anArgument |
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
265 |
"return a new BlockValue computing aBlock" |
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
266 |
|
1815 | 267 |
^ (self new) |
1352 | 268 |
setBlock:aBlock |
269 |
arguments:(Array with:anArgument) |
|
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
270 |
|
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
271 |
"Created: 16.12.1995 / 19:20:14 / cg" |
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
272 |
! |
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
273 |
|
1255 | 274 |
with:aBlock argument:anArgument1 argument:anArgument2 |
275 |
"return a new BlockValue computing aBlock" |
|
276 |
||
1815 | 277 |
^ (self new) |
1352 | 278 |
setBlock:aBlock |
279 |
arguments:(Array with:anArgument1 with:anArgument2) |
|
1255 | 280 |
|
281 |
"Created: 16.12.1995 / 19:20:14 / cg" |
|
282 |
! |
|
283 |
||
1352 | 284 |
with:aBlock argument:anArgument1 argument:anArgument2 argument:anArgument3 |
285 |
"return a new BlockValue computing aBlock" |
|
286 |
||
1815 | 287 |
^ (self new) |
1352 | 288 |
setBlock:aBlock |
289 |
arguments:(Array with:anArgument1 with:anArgument2 with:anArgument3) |
|
1815 | 290 |
! |
1352 | 291 |
|
1815 | 292 |
with:aBlock argument:anArgument1 argument:anArgument2 argument:anArgument3 argument:anArgument4 |
293 |
"return a new BlockValue computing aBlock" |
|
294 |
||
295 |
^ (self new) |
|
296 |
setBlock:aBlock |
|
297 |
arguments:(Array with:anArgument1 with:anArgument2 with:anArgument3 with:anArgument4) |
|
1352 | 298 |
! |
299 |
||
145 | 300 |
with:aBlock arguments:aCollectionOfArguments |
301 |
"return a new BlockValue computing aBlock" |
|
302 |
||
1815 | 303 |
^ (self new) |
1352 | 304 |
setBlock:aBlock |
305 |
arguments:aCollectionOfArguments |
|
145 | 306 |
|
307 |
"Created: 16.12.1995 / 19:20:14 / cg" |
|
308 |
! ! |
|
309 |
||
310 |
!BlockValue methodsFor:'accessing'! |
|
311 |
||
312 |
setBlock:aBlock |
|
382 | 313 |
"set the receivers action block" |
314 |
||
145 | 315 |
block := aBlock. |
316 |
arguments notNil ifTrue:[ |
|
382 | 317 |
self release |
145 | 318 |
]. |
319 |
arguments := nil. |
|
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
320 |
cachedValue := NeverComputed. |
145 | 321 |
|
322 |
"Created: 16.12.1995 / 19:16:59 / cg" |
|
382 | 323 |
"Modified: 22.1.1997 / 19:05:54 / cg" |
324 |
! |
|
325 |
||
326 |
setBlock:aBlock argumentArray:anArgumentCollection |
|
327 |
"set the receivers action block, and define an arguments collection |
|
328 |
to be passed to it. |
|
329 |
A change in any element of the collection will force reevaluation of the |
|
330 |
action block (passing the collection as a single argument) |
|
331 |
- possibly generating another change from myself" |
|
332 |
||
333 |
block := aBlock. |
|
334 |
arguments notNil ifTrue:[ |
|
335 |
self release |
|
336 |
]. |
|
337 |
arguments := Array with:anArgumentCollection. |
|
338 |
anArgumentCollection do:[:arg | |
|
2530 | 339 |
arg notNil ifTrue:[ |
340 |
arg addDependent:self |
|
341 |
]. |
|
382 | 342 |
]. |
343 |
cachedValue := NeverComputed. |
|
344 |
||
345 |
"Modified: 22.1.1997 / 19:08:51 / cg" |
|
346 |
"Created: 22.1.1997 / 19:22:13 / cg" |
|
145 | 347 |
! |
348 |
||
349 |
setBlock:aBlock arguments:aCollectionOfArguments |
|
382 | 350 |
"set the receivers action block, and define arguments to be passed to it. |
351 |
A change in any of the arguments will force reevaluation of the action |
|
352 |
block - possibly generating another change from myself" |
|
353 |
||
145 | 354 |
block := aBlock. |
355 |
arguments notNil ifTrue:[ |
|
382 | 356 |
self release |
145 | 357 |
]. |
358 |
arguments := aCollectionOfArguments. |
|
359 |
arguments do:[:arg | |
|
2530 | 360 |
"arg maybe some constant..." |
361 |
arg notNil ifTrue:[ |
|
362 |
arg addDependent:self |
|
363 |
]. |
|
145 | 364 |
]. |
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
365 |
cachedValue := NeverComputed. |
145 | 366 |
|
367 |
"Created: 16.12.1995 / 19:21:41 / cg" |
|
382 | 368 |
"Modified: 22.1.1997 / 19:08:51 / cg" |
145 | 369 |
! |
370 |
||
155 | 371 |
setValue:newValue |
372 |
"physically set my value, without change notifications. |
|
373 |
This is a noop here, since my value is computed." |
|
374 |
||
375 |
^ self |
|
376 |
||
377 |
||
378 |
! |
|
379 |
||
145 | 380 |
value |
382 | 381 |
"retrieve my value - this does not always evaluate the action block, |
382 |
since the returned value is cached internally" |
|
383 |
||
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
384 |
cachedValue == NeverComputed ifTrue:[ |
491 | 385 |
cachedValue := self computeValue |
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
386 |
]. |
145 | 387 |
^ cachedValue |
388 |
||
389 |
"Created: 16.12.1995 / 19:23:26 / cg" |
|
382 | 390 |
"Modified: 22.1.1997 / 19:06:59 / cg" |
145 | 391 |
! ! |
392 |
||
347 | 393 |
!BlockValue methodsFor:'change & update'! |
145 | 394 |
|
1788 | 395 |
recomputeValue |
396 |
"reevaluate my actionBlock, and possibly send a change notification to my dependents" |
|
382 | 397 |
|
145 | 398 |
|oldValue| |
399 |
||
400 |
oldValue := cachedValue. |
|
491 | 401 |
cachedValue := self computeValue. |
145 | 402 |
oldValue ~~ cachedValue ifTrue:[ |
382 | 403 |
self changed:#value |
145 | 404 |
]. |
1788 | 405 |
! |
406 |
||
407 |
update:something with:aParameter from:someone |
|
408 |
"the one I depend on has changed - reevaluate my actionBlock, |
|
409 |
and possibly send a change notification to my dependents" |
|
410 |
||
411 |
self recomputeValue |
|
145 | 412 |
|
413 |
"Created: 16.12.1995 / 19:22:54 / cg" |
|
382 | 414 |
"Modified: 22.1.1997 / 19:07:39 / cg" |
145 | 415 |
! ! |
416 |
||
1788 | 417 |
!BlockValue methodsFor:'misc'! |
418 |
||
419 |
computeValue |
|
420 |
"evaluate the receivers action block" |
|
421 |
||
422 |
|sz arg1 arg2 argValues| |
|
423 |
||
424 |
arguments isNil ifTrue:[ |
|
425 |
^ block value |
|
426 |
]. |
|
427 |
sz := arguments size. |
|
428 |
sz == 0 ifTrue:[ |
|
429 |
^ block value |
|
430 |
]. |
|
431 |
arg1 := (arguments at:1) value. |
|
432 |
sz == 1 ifTrue:[ |
|
433 |
^ block value:arg1 |
|
434 |
]. |
|
435 |
arg2 := (arguments at:2) value. |
|
436 |
sz == 2 ifTrue:[ |
|
437 |
^ block value:arg1 value:arg2 |
|
438 |
]. |
|
439 |
"/ do not evaluate arg[1-2] twice |
|
440 |
argValues := Array new:arguments size. |
|
441 |
argValues at:1 put:arg1. "/ do not evaluate twice |
|
442 |
argValues at:2 put:arg2. "/ do not evaluate twice |
|
443 |
3 to:arguments size do:[:i | argValues at:i put:(arguments at:i) value]. |
|
444 |
||
445 |
^ block valueWithArguments:argValues |
|
446 |
||
447 |
"Created: 16.12.1995 / 19:27:40 / cg" |
|
448 |
"Modified: 22.1.1997 / 19:05:57 / cg" |
|
449 |
! |
|
450 |
||
451 |
dependOn:someObject |
|
452 |
"arrange for the blockValue to be reevaluated, whenever someObject |
|
453 |
changes (i.e. sends a change notification)" |
|
454 |
||
455 |
arguments isNil ifTrue:[ |
|
456 |
arguments := Array with:someObject |
|
457 |
] ifFalse:[ |
|
458 |
arguments := arguments copyWith:someObject |
|
459 |
]. |
|
460 |
someObject addDependent:self |
|
461 |
||
462 |
"Modified: 22.1.1997 / 19:05:26 / cg" |
|
463 |
! |
|
464 |
||
465 |
resetValue |
|
466 |
"evaluate the receivers action block" |
|
467 |
||
468 |
cachedValue := self computeValue |
|
469 |
! ! |
|
470 |
||
145 | 471 |
!BlockValue methodsFor:'release'! |
472 |
||
473 |
release |
|
382 | 474 |
"release any dependencies upon the arguments" |
475 |
||
145 | 476 |
arguments notNil ifTrue:[ |
382 | 477 |
arguments do:[:arg | arg removeDependent:self]. |
145 | 478 |
]. |
479 |
||
382 | 480 |
"Modified: 22.1.1997 / 19:08:06 / cg" |
145 | 481 |
! ! |
482 |
||
483 |
!BlockValue class methodsFor:'documentation'! |
|
484 |
||
485 |
version |
|
2530 | 486 |
^ '$Header: /cvs/stx/stx/libview2/BlockValue.st,v 1.22 2008-08-11 05:45:12 stefan Exp $' |
145 | 487 |
! ! |
1665 | 488 |
|
146
9603cec98ac2
oops change notification was wrong
Claus Gittinger <cg@exept.de>
parents:
145
diff
changeset
|
489 |
BlockValue initialize! |