20
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1994 by Claus Gittinger
|
59
|
3 |
All Rights Reserved
|
20
|
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 |
|
126
|
13 |
'From Smalltalk/X, Version:2.10.5 on 9-may-1995 at 12:06:03 pm'!
|
105
|
14 |
|
20
|
15 |
Button subclass:#PopUpList
|
126
|
16 |
instanceVariableNames:'menu menuAction values useIndex listMsg'
|
59
|
17 |
classVariableNames:''
|
|
18 |
poolDictionaries:''
|
|
19 |
category:'Views-Interactors'
|
20
|
20 |
!
|
|
21 |
|
|
22 |
PopUpList comment:'
|
|
23 |
COPYRIGHT (c) 1994 by Claus Gittinger
|
59
|
24 |
All Rights Reserved
|
20
|
25 |
|
135
|
26 |
$Header: /cvs/stx/stx/libwidg/PopUpList.st,v 1.16 1995-08-03 01:35:22 claus Exp $
|
38
|
27 |
'!
|
|
28 |
|
|
29 |
!PopUpList class methodsFor:'documentation'!
|
|
30 |
|
|
31 |
copyright
|
|
32 |
"
|
|
33 |
COPYRIGHT (c) 1994 by Claus Gittinger
|
59
|
34 |
All Rights Reserved
|
38
|
35 |
|
|
36 |
This software is furnished under a license and may be used
|
|
37 |
only in accordance with the terms of that license and with the
|
|
38 |
inclusion of the above copyright notice. This software may not
|
|
39 |
be provided or otherwise made available to, or used by, any
|
|
40 |
other person. No title to or ownership of the software is
|
|
41 |
hereby transferred.
|
|
42 |
"
|
|
43 |
!
|
|
44 |
|
|
45 |
version
|
|
46 |
"
|
135
|
47 |
$Header: /cvs/stx/stx/libwidg/PopUpList.st,v 1.16 1995-08-03 01:35:22 claus Exp $
|
38
|
48 |
"
|
|
49 |
!
|
20
|
50 |
|
38
|
51 |
documentation
|
|
52 |
"
|
|
53 |
a PopUpList is basically a button with a popup menu.
|
|
54 |
The PopUpLists label is showing the current selection from the
|
|
55 |
list.
|
121
|
56 |
When an entry is selected, an actionBlock (if nonNil) is evaluated
|
|
57 |
and (if nonNil), the model is notified via the changeMessage.
|
125
|
58 |
|
121
|
59 |
The default changeMessage used is #selection:, which allows a
|
|
60 |
PopUpList to be used with a SelectionInList as model.
|
|
61 |
(if used with some other model, either use an adaptor, or set the
|
125
|
62 |
changeMessage to something else ..)
|
|
63 |
|
|
64 |
Instance variables:
|
|
65 |
|
|
66 |
menu helpers for the popup menu
|
|
67 |
menuAction
|
|
68 |
values
|
|
69 |
|
|
70 |
useIndex <Boolean> if true, the index of the selected entry
|
|
71 |
is passed to the action block and the
|
|
72 |
model in a change-message.
|
|
73 |
If false (the default), the value is passed.
|
|
74 |
Notice that the default changeMessage is
|
|
75 |
#selection:, which is not ok to be used
|
|
76 |
with useIndex:true and a selectionInList model.
|
|
77 |
(set the changeMessage to #selectionIndex: then)
|
|
78 |
|
|
79 |
listMsg <Symbol> message to aquire a new list from the
|
|
80 |
model. Default is #list.
|
63
|
81 |
"
|
|
82 |
!
|
38
|
83 |
|
63
|
84 |
examples
|
|
85 |
"
|
38
|
86 |
example use:
|
|
87 |
|
|
88 |
|p|
|
|
89 |
p := PopUpList label:'healthy fruit'.
|
119
|
90 |
p list:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
38
|
91 |
p open
|
|
92 |
|
|
93 |
|
|
94 |
with an initial selection:
|
|
95 |
|
|
96 |
|p|
|
|
97 |
p := PopUpList label:'dummy'.
|
119
|
98 |
p list:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
38
|
99 |
p selection:'apples'.
|
|
100 |
p open
|
|
101 |
|
|
102 |
|
|
103 |
with separating lines:
|
|
104 |
|
|
105 |
|p|
|
119
|
106 |
p := PopUpList label:'fruit'.
|
|
107 |
p list:#('apples' 'bananas' 'grape' 'lemon' '-' 'margaritas').
|
38
|
108 |
p selection:'apples'.
|
|
109 |
p open
|
77
|
110 |
|
|
111 |
|
|
112 |
with an action:
|
|
113 |
|
|
114 |
|p|
|
|
115 |
p := PopUpList label:'dummy'.
|
119
|
116 |
p list:#('apples' 'bananas' 'grape' 'lemon' '-' 'margaritas').
|
77
|
117 |
p selection:'apples'.
|
|
118 |
p action:[:what | Transcript showCr:'you selected: ' , what].
|
|
119 |
p open
|
|
120 |
|
|
121 |
|
119
|
122 |
sometimes, you may like the index instead of the value:
|
|
123 |
(notice, that the separating line counts, so you have take care ...)
|
|
124 |
|
|
125 |
|p|
|
|
126 |
p := PopUpList label:'dummy'.
|
|
127 |
p list:#('apples' 'bananas' 'grape' 'lemon' '-' 'margaritas').
|
|
128 |
p selection:'apples'.
|
|
129 |
p action:[:what | Transcript show:'you selected: '; showCr:what].
|
|
130 |
p useIndex:true.
|
|
131 |
p open
|
|
132 |
|
|
133 |
|
|
134 |
since the list is actually a popupMenu, you can add double-separators:
|
|
135 |
|
|
136 |
|p|
|
|
137 |
p := PopUpList label:'dummy'.
|
|
138 |
p list:#('apples' 'bananas' 'grape' 'lemon'
|
127
|
139 |
'='
|
|
140 |
'margaritas' 'pina colada'
|
|
141 |
'='
|
|
142 |
'smalltalk' 'c++' 'eiffel').
|
119
|
143 |
p values:#(apples bananas grape lemon
|
127
|
144 |
nil
|
|
145 |
'mhmh - so good' 'makes headache'
|
|
146 |
nil
|
|
147 |
'great' 'another headache' 'no bad').
|
119
|
148 |
p selection:'apples'.
|
|
149 |
p action:[:what | Transcript show:'you selected: '; showCr:what].
|
|
150 |
p open
|
|
151 |
|
|
152 |
|
77
|
153 |
with values different from the label strings:
|
|
154 |
|
|
155 |
|p|
|
|
156 |
p := PopUpList label:'dummy'.
|
119
|
157 |
p list:#('apples' 'bananas' 'grape' 'lemon' '-' 'margaritas').
|
77
|
158 |
p selection:'apples'.
|
|
159 |
p values:#(10 20 30 40 nil 50).
|
|
160 |
p action:[:what | Transcript show:'you selected: '; showCr:what].
|
|
161 |
p open
|
119
|
162 |
|
121
|
163 |
|
119
|
164 |
with a model:
|
|
165 |
|
|
166 |
|p model|
|
|
167 |
|
|
168 |
model := SelectionInList with:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
|
169 |
|
|
170 |
p := PopUpList label:'healthy fruit'.
|
|
171 |
p model:model.
|
|
172 |
p open.
|
121
|
173 |
model selectionIndexHolder inspect
|
|
174 |
|
20
|
175 |
|
121
|
176 |
with a model (using numeric selection values):
|
20
|
177 |
|
121
|
178 |
|p model|
|
|
179 |
|
|
180 |
model := SelectionInList with:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
20
|
181 |
|
121
|
182 |
p := PopUpList label:'healthy fruit'.
|
125
|
183 |
p model:model; useIndex:true; change:#selectionIndex:.
|
121
|
184 |
p open.
|
|
185 |
model selectionIndexHolder inspect
|
20
|
186 |
|
|
187 |
|
125
|
188 |
a popupList and a SelectionInListView on the same model:
|
|
189 |
|
|
190 |
|p slv model|
|
|
191 |
|
|
192 |
model := SelectionInList with:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
|
193 |
model selection:'apples'.
|
|
194 |
|
|
195 |
p := PopUpList on:model.
|
126
|
196 |
p useIndex:true; aspect:#selectionIndex; change:#selectionIndex:.
|
125
|
197 |
p open.
|
|
198 |
|
|
199 |
slv := SelectionInListView on:model.
|
|
200 |
slv open.
|
|
201 |
|
126
|
202 |
p inspect.
|
125
|
203 |
model selectionIndexHolder inspect
|
|
204 |
|
|
205 |
|
127
|
206 |
two PopUpLists on the same model, different aspects:
|
121
|
207 |
|
|
208 |
|top panel p model|
|
20
|
209 |
|
121
|
210 |
model := Plug new.
|
|
211 |
model respondTo:#eat: with:[:val | Transcript showCr:'eat: ' , val].
|
|
212 |
model respondTo:#drink: with:[:val | Transcript showCr:'drink: ' , val].
|
|
213 |
model respondTo:#meals with:[#(taco burrito enchilada)].
|
|
214 |
model respondTo:#drinks with:[#(margarita water beer)].
|
20
|
215 |
|
121
|
216 |
top := StandardSystemView new.
|
|
217 |
top extent:(100@100).
|
|
218 |
panel := VerticalPanelView origin:0.0@0.0 corner:1.0@1.0 in:top.
|
|
219 |
panel horizontalLayout:#fitSpace.
|
77
|
220 |
|
121
|
221 |
p := PopUpList label:'meals'.
|
126
|
222 |
p model:model; listMessage:#meals; aspect:nil; change:#eat:.
|
121
|
223 |
panel add:p.
|
119
|
224 |
|
121
|
225 |
p := PopUpList label:'drinks'.
|
126
|
226 |
p model:model; listMessage:#drinks; aspect:nil; change:#drink:.
|
121
|
227 |
panel add:p.
|
77
|
228 |
|
121
|
229 |
top open
|
|
230 |
"
|
20
|
231 |
! !
|
|
232 |
|
125
|
233 |
!PopUpList class methodsFor:'defaults'!
|
|
234 |
|
|
235 |
defaultAspectMessage
|
|
236 |
^ #selection
|
|
237 |
!
|
|
238 |
|
|
239 |
defaultListMessage
|
|
240 |
^ #list
|
|
241 |
!
|
|
242 |
|
|
243 |
defaultChangeMessage
|
|
244 |
^ #selection:
|
|
245 |
! !
|
|
246 |
|
20
|
247 |
!PopUpList methodsFor:'private'!
|
|
248 |
|
125
|
249 |
realize
|
|
250 |
super realize.
|
|
251 |
model notNil ifTrue:[
|
127
|
252 |
self getListFromModel.
|
|
253 |
self getSelectionFromModel.
|
125
|
254 |
].
|
|
255 |
!
|
|
256 |
|
20
|
257 |
computeLabelSize
|
|
258 |
"compute the extent needed to hold the label plus the mark"
|
|
259 |
|
|
260 |
|mmH mmV savedLogo longest longestWidth|
|
|
261 |
|
|
262 |
menu isNil ifTrue:[
|
59
|
263 |
super computeLabelSize
|
20
|
264 |
] ifFalse:[
|
59
|
265 |
"hack: simulate logo change to longest menu entry"
|
20
|
266 |
|
59
|
267 |
font := font on:device.
|
|
268 |
longest := logo.
|
|
269 |
longestWidth := font widthOf:logo.
|
|
270 |
menu labels do:[:entry |
|
|
271 |
|this|
|
20
|
272 |
|
59
|
273 |
this := font widthOf:entry printString.
|
|
274 |
this > longestWidth ifTrue:[
|
|
275 |
longest := entry.
|
|
276 |
longestWidth := this
|
|
277 |
].
|
|
278 |
].
|
|
279 |
savedLogo := logo.
|
|
280 |
logo := longest.
|
|
281 |
super computeLabelSize.
|
|
282 |
logo := savedLogo.
|
38
|
283 |
"self halt. "
|
20
|
284 |
].
|
|
285 |
mmH := device horizontalPixelPerMillimeter.
|
|
286 |
mmV := device verticalPixelPerMillimeter.
|
|
287 |
labelWidth := labelWidth + hSpace + (mmH * 2.5) rounded + hSpace.
|
|
288 |
labelHeight := labelHeight max: (mmV * 2) rounded
|
121
|
289 |
!
|
|
290 |
|
|
291 |
createMenuFor:aList
|
|
292 |
menu := PopUpMenu
|
|
293 |
labels:aList
|
|
294 |
selectors:#select:
|
|
295 |
args:(1 to:aList size)
|
|
296 |
receiver:self
|
|
297 |
for:self.
|
126
|
298 |
! !
|
121
|
299 |
|
126
|
300 |
!PopUpList methodsFor:'drawing'!
|
|
301 |
|
128
|
302 |
showActive
|
|
303 |
"no need to redraw - will pop menu ontop of me anyway ..."
|
|
304 |
|
|
305 |
^ self
|
|
306 |
!
|
|
307 |
|
|
308 |
showPassive
|
|
309 |
"no need to redraw - will redraw from unpopped menu anyway ..."
|
|
310 |
|
|
311 |
^ self
|
|
312 |
!
|
|
313 |
|
126
|
314 |
drawWith:fgColor and:bgColor
|
|
315 |
|mmH mmV mW mH|
|
121
|
316 |
|
126
|
317 |
controller pressed ifTrue:[
|
|
318 |
super drawWith:enteredFgColor and:enteredBgColor
|
|
319 |
] ifFalse:[
|
|
320 |
super drawWith:fgColor and:bgColor.
|
121
|
321 |
].
|
126
|
322 |
mmH := device horizontalPixelPerMillimeter rounded.
|
|
323 |
mmV := device verticalPixelPerMillimeter rounded.
|
|
324 |
mW := (device horizontalPixelPerMillimeter * 2.5) rounded.
|
|
325 |
mH := (device verticalPixelPerMillimeter * 1.5) rounded.
|
|
326 |
|
|
327 |
self drawEdgesForX:(width - mW - (hSpace*2)) y:(height - mmV // 2)
|
|
328 |
width:mW height:mH level:2
|
121
|
329 |
! !
|
|
330 |
|
|
331 |
!PopUpList methodsFor:'event handling'!
|
|
332 |
|
|
333 |
popMenu
|
128
|
334 |
|org mv w|
|
121
|
335 |
|
|
336 |
menu notNil ifTrue:[
|
125
|
337 |
self turnOffWithoutRedraw.
|
|
338 |
menu font:font.
|
121
|
339 |
|
125
|
340 |
"
|
|
341 |
adjust the menus width to my current width
|
|
342 |
"
|
|
343 |
mv := menu menuView.
|
|
344 |
mv create. "/ stupid: it resizes itself upon first create
|
128
|
345 |
w := mv width. "/ to its preferred size.
|
|
346 |
w := w max:(self width - (2 * menu margin) - (menu borderWidth*2)).
|
|
347 |
mv width:w.
|
125
|
348 |
mv level:0; borderWidth:0.
|
121
|
349 |
|
125
|
350 |
"
|
|
351 |
the popupMenu wants Display coordinates in its showAt: method
|
|
352 |
"
|
|
353 |
org := device translatePoint:0@0
|
|
354 |
from:(self id)
|
|
355 |
to:(DisplayRootView new id).
|
121
|
356 |
|
125
|
357 |
menu showAt:org "resizing:false"
|
121
|
358 |
].
|
|
359 |
! !
|
|
360 |
|
|
361 |
!PopUpList methodsFor:'accessing'!
|
|
362 |
|
125
|
363 |
selection:indexOrString
|
|
364 |
"set (force) a selection - usually done to set
|
|
365 |
an initial selection without updating others"
|
|
366 |
|
127
|
367 |
|index wasFix|
|
|
368 |
|
|
369 |
index := menu indexOf:indexOrString.
|
|
370 |
index == 0 ifTrue:[^ self].
|
125
|
371 |
|
127
|
372 |
"kludge: dont want label to resize ..."
|
|
373 |
wasFix := fixSize. fixSize := true.
|
|
374 |
self label:(menu labels at:index).
|
|
375 |
fixSize := wasFix
|
121
|
376 |
|
|
377 |
"
|
|
378 |
|p|
|
125
|
379 |
p := PopUpList label:'what fruit ?'.
|
121
|
380 |
p list:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
125
|
381 |
p selection:'grape'.
|
|
382 |
p open
|
|
383 |
|
121
|
384 |
|p|
|
125
|
385 |
p := PopUpList label:'what fruit ?'.
|
121
|
386 |
p list:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
125
|
387 |
p selection:'blabla'.
|
|
388 |
p open
|
121
|
389 |
"
|
|
390 |
!
|
|
391 |
|
|
392 |
list:aList
|
|
393 |
"set the list - i.e. the values shown in the pop-up list"
|
|
394 |
|
|
395 |
self createMenuFor:aList.
|
|
396 |
realized ifTrue:[
|
|
397 |
self computeLabelSize
|
|
398 |
]
|
|
399 |
|
|
400 |
"
|
|
401 |
|p|
|
|
402 |
p := PopUpList label:'fruit ?'.
|
|
403 |
p list:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
|
404 |
p action:[:val | Transcript showCr:'selected: ' , val printString].
|
|
405 |
p open
|
|
406 |
"
|
|
407 |
!
|
|
408 |
|
|
409 |
action:aOneArgBlock
|
|
410 |
"set the action to be performed on selection changes;
|
|
411 |
the argument, aOneArgBlock will be evaluated with the
|
|
412 |
selection-value as argument"
|
|
413 |
|
|
414 |
menuAction := aOneArgBlock
|
|
415 |
!
|
|
416 |
|
125
|
417 |
useIndex:aBoolean
|
|
418 |
"tell the popuplist to pass the index (instead of the value)
|
|
419 |
to both the actionBlock and model. Notice, that if you use a model,
|
|
420 |
the default changeSelector is not ok for using index and a SelectionInList"
|
|
421 |
|
|
422 |
useIndex := aBoolean
|
|
423 |
|
|
424 |
"
|
|
425 |
|p|
|
|
426 |
p := PopUpList label:'fruit ?'.
|
|
427 |
p list:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
|
428 |
p action:[:val | Transcript showCr:'selected: ' , val printString].
|
|
429 |
p open.
|
|
430 |
"
|
|
431 |
"
|
|
432 |
|p|
|
|
433 |
p := PopUpList label:'fruit ?'.
|
|
434 |
p list:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
|
435 |
p action:[:val | Transcript showCr:'selected: ' , val printString].
|
|
436 |
p useIndex:true.
|
|
437 |
p open.
|
|
438 |
"
|
|
439 |
!
|
|
440 |
|
121
|
441 |
contents
|
|
442 |
^ self label
|
|
443 |
!
|
|
444 |
|
|
445 |
contents:con
|
|
446 |
^ self selection:con
|
|
447 |
|
|
448 |
!
|
|
449 |
|
|
450 |
list
|
|
451 |
"return the list - i.e. the values shown in the pop-up list"
|
|
452 |
|
|
453 |
^ menu labels
|
|
454 |
!
|
|
455 |
|
|
456 |
values:aList
|
|
457 |
"set a value list - these are reported via the action or changeSymbol instead of
|
|
458 |
the labe strings."
|
|
459 |
|
|
460 |
values := aList.
|
|
461 |
menu args:(1 to:aList size).
|
|
462 |
|
|
463 |
"
|
|
464 |
|p|
|
|
465 |
p := PopUpList label:'fruit ?'.
|
|
466 |
p list:#('apples' 'bananas' 'grape' 'lemon' 'margaritas').
|
|
467 |
p values:#(1 2 3 4 'mhmh - good').
|
|
468 |
p action:[:val | Transcript showCr:'selected: ' , val printString].
|
|
469 |
p open.
|
|
470 |
"
|
126
|
471 |
! !
|
|
472 |
|
|
473 |
!PopUpList methodsFor:'accessing-mvc'!
|
|
474 |
|
|
475 |
getListFromModel
|
|
476 |
"if I have a model and a listMsg, get my list from it"
|
|
477 |
|
|
478 |
(model notNil
|
|
479 |
and:[listMsg notNil]) ifTrue:[
|
|
480 |
self list:(model perform:listMsg).
|
|
481 |
].
|
|
482 |
!
|
|
483 |
|
|
484 |
getSelectionFromModel
|
|
485 |
"if I have a model and an aspectMsg, get my current value from it"
|
|
486 |
|
|
487 |
(model notNil
|
|
488 |
and:[aspectMsg notNil]) ifTrue:[
|
|
489 |
self selection:(model perform:aspectMsg).
|
|
490 |
].
|
121
|
491 |
!
|
|
492 |
|
|
493 |
listMessage:aSelector
|
|
494 |
"set the selector by which we ask the model for the list.
|
|
495 |
Default is #list."
|
|
496 |
|
|
497 |
listMsg := aSelector
|
125
|
498 |
!
|
|
499 |
|
126
|
500 |
addModelInterfaceTo:aDictionary
|
|
501 |
"see comment in View>>modelInterface"
|
|
502 |
|
|
503 |
super addModelInterfaceTo:aDictionary.
|
|
504 |
aDictionary at:#listMessage put:listMsg
|
|
505 |
!
|
|
506 |
|
125
|
507 |
listMessage
|
|
508 |
"return the selector by which we ask the model for the list.
|
|
509 |
Default is #list."
|
|
510 |
|
|
511 |
^ listMsg
|
|
512 |
! !
|
|
513 |
|
|
514 |
!PopUpList methodsFor:'initialization'!
|
|
515 |
|
|
516 |
initialize
|
|
517 |
super initialize.
|
126
|
518 |
|
125
|
519 |
controller beTriggerOnDown.
|
|
520 |
controller action:[self popMenu].
|
|
521 |
self adjust:#left.
|
|
522 |
useIndex := false.
|
126
|
523 |
self label:'popup'.
|
125
|
524 |
listMsg := self class defaultListMessage.
|
|
525 |
|
|
526 |
onLevel := offLevel.
|
20
|
527 |
! !
|
|
528 |
|
|
529 |
!PopUpList methodsFor:'user actions'!
|
|
530 |
|
|
531 |
select:anEntry
|
119
|
532 |
"this is sent from the popupmenu when an entry was selected"
|
|
533 |
|
77
|
534 |
|value label|
|
|
535 |
|
119
|
536 |
label := menu labels at:anEntry.
|
77
|
537 |
values isNil ifTrue:[
|
125
|
538 |
value := anEntry.
|
|
539 |
useIndex ifFalse:[
|
|
540 |
value := menu labels at:anEntry.
|
|
541 |
]
|
77
|
542 |
] ifFalse:[
|
125
|
543 |
value := values at:anEntry
|
77
|
544 |
].
|
|
545 |
|
20
|
546 |
menuAction notNil ifTrue:[
|
125
|
547 |
menuAction value:value.
|
20
|
548 |
].
|
|
549 |
self sizeFixed:true.
|
77
|
550 |
self label:label printString.
|
119
|
551 |
"
|
121
|
552 |
tell my model - if any
|
119
|
553 |
"
|
95
|
554 |
self sendChangeMessageWith:value
|
20
|
555 |
! !
|
121
|
556 |
|
|
557 |
!PopUpList methodsFor:'change & update'!
|
|
558 |
|
|
559 |
update:something with:aParameter from:changedObject
|
125
|
560 |
changedObject == model ifTrue:[
|
135
|
561 |
(something == aspectMsg
|
|
562 |
or:[something == #selectionIndex]) ifTrue:[
|
125
|
563 |
self getSelectionFromModel.
|
|
564 |
^ self
|
|
565 |
].
|
|
566 |
something == listMsg ifTrue:[
|
|
567 |
self getListFromModel.
|
|
568 |
].
|
|
569 |
^ self
|
121
|
570 |
].
|
|
571 |
super update:something with:aParameter from:changedObject
|
|
572 |
! !
|
|
573 |
|