542
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1997 by Claus Gittinger / 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 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
View subclass:#DataSetView
|
|
17 |
instanceVariableNames:'columnView labelView listHolder useIndex'
|
|
18 |
classVariableNames:''
|
|
19 |
poolDictionaries:''
|
|
20 |
category:'Views-DataSet'
|
|
21 |
!
|
|
22 |
|
|
23 |
!DataSetView class methodsFor:'documentation'!
|
|
24 |
|
|
25 |
copyright
|
|
26 |
"
|
|
27 |
COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG
|
|
28 |
All Rights Reserved
|
|
29 |
|
|
30 |
This software is furnished under a license and may be used
|
|
31 |
only in accordance with the terms of that license and with the
|
|
32 |
inclusion of the above copyright notice. This software may not
|
|
33 |
be provided or otherwise made available to, or used by, any
|
|
34 |
other person. No title to or ownership of the software is
|
|
35 |
hereby transferred.
|
|
36 |
"
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
!
|
|
41 |
|
|
42 |
documentation
|
|
43 |
"
|
|
44 |
This class implements a selection list view based on rows and columns.
|
|
45 |
It allows for the dynamic editing of this information.
|
|
46 |
|
|
47 |
[author:]
|
|
48 |
Claus Atzkern
|
|
49 |
|
|
50 |
[see also:]
|
|
51 |
DataSetColumnSpec
|
|
52 |
DataSetColumn
|
|
53 |
DSVColumnView
|
|
54 |
"
|
|
55 |
!
|
|
56 |
|
|
57 |
examples
|
|
58 |
"
|
|
59 |
|
|
60 |
example 1
|
|
61 |
[exBegin]
|
|
62 |
|top scr clDc rows slct list idx bool|
|
|
63 |
|
|
64 |
top := StandardSystemView new label:'select'; extent:700@440.
|
|
65 |
scr := DataSetView origin:(0.0 @ 0.0) corner:(1.0 @ 1.0) in:top.
|
|
66 |
|
|
67 |
clDc := OrderedCollection new.
|
|
68 |
rows := OrderedCollection new.
|
|
69 |
list := #( 'Text ' 'Field ' 'C-Box ' 'C-List ' true #( 'foo' 'bar' 'baz' ) ).
|
|
70 |
slct := #( #text #field #cbox #clist #toggle #choices ).
|
|
71 |
idx := 11.
|
|
72 |
bool := true.
|
|
73 |
|
|
74 |
20 timesRepeat:[ |values|
|
|
75 |
values := list collect:[:n|
|
|
76 |
n isString ifTrue:[n, idx printString]
|
|
77 |
ifFalse:[n == true ifTrue:[bool] ifFalse:[n]]
|
|
78 |
].
|
|
79 |
rows add:(Structure newWith:slct values:values).
|
|
80 |
bool := bool not.
|
|
81 |
idx := idx + 1.
|
|
82 |
].
|
|
83 |
clDc add:( DataSetColumnSpec label:'Text' editorType:#None selector:#text ).
|
|
84 |
clDc add:( DataSetColumnSpec label:'Text' editorType:#None selector:#text ).
|
|
85 |
clDc add:( DataSetColumnSpec label:'Field' editorType:#InputField selector:#field ).
|
|
86 |
clDc add:( DataSetColumnSpec label:'C-Box' editorType:#ComboBox selector:#cbox ).
|
|
87 |
clDc last choices:#choices.
|
|
88 |
clDc add:( DataSetColumnSpec label:'C-List' editorType:#ComboList selector:#clist ).
|
|
89 |
clDc last choices:#choices.
|
|
90 |
clDc add:( DataSetColumnSpec label:'Toggle' editorType:#CheckToggle selector:#toggle ).
|
|
91 |
|
|
92 |
scr has3Dsepartors:true.
|
|
93 |
scr columnDescriptors:clDc.
|
|
94 |
scr list:rows.
|
|
95 |
top open.
|
|
96 |
[exEnd]
|
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
101 |
example 2: add a row selector
|
|
102 |
[exBegin]
|
|
103 |
|top scr clDc rows slct list idx bool|
|
|
104 |
|
|
105 |
top := StandardSystemView new label:'select'; extent:700@440.
|
|
106 |
scr := DataSetView origin:(0.0 @ 0.0) corner:(1.0 @ 1.0) in:top.
|
|
107 |
|
|
108 |
clDc := OrderedCollection new.
|
|
109 |
rows := OrderedCollection new.
|
|
110 |
list := #( 'Text ' 'Field ' 'C-Box ' 'C-List ' true #( 'foo' 'bar' 'baz' ) ).
|
|
111 |
slct := #( #text #field #cbox #clist #toggle #choices ).
|
|
112 |
idx := 11.
|
|
113 |
bool := true.
|
|
114 |
|
|
115 |
20 timesRepeat:[ |values|
|
|
116 |
values := list collect:[:n|
|
|
117 |
n isString ifTrue:[n, idx printString]
|
|
118 |
ifFalse:[n == true ifTrue:[bool] ifFalse:[n]]
|
|
119 |
].
|
|
120 |
rows add:(Structure newWith:slct values:values).
|
|
121 |
bool := bool not.
|
|
122 |
idx := idx + 1.
|
|
123 |
].
|
|
124 |
clDc add:( DataSetColumnSpec rowSelector ).
|
|
125 |
clDc add:( DataSetColumnSpec label:'Text' editorType:#None selector:#text ).
|
|
126 |
clDc add:( DataSetColumnSpec label:'Text' editorType:#None selector:#text ).
|
|
127 |
clDc add:( DataSetColumnSpec label:'Field' editorType:#InputField selector:#field ).
|
|
128 |
clDc add:( DataSetColumnSpec label:'C-Box' editorType:#ComboBox selector:#cbox ).
|
|
129 |
clDc last choices:#choices.
|
|
130 |
clDc add:( DataSetColumnSpec label:'C-List' editorType:#ComboList selector:#clist ).
|
|
131 |
clDc last choices:#choices.
|
|
132 |
clDc add:( DataSetColumnSpec label:'Toggle' editorType:#CheckToggle selector:#toggle ).
|
|
133 |
|
|
134 |
scr has3Dsepartors:true.
|
|
135 |
scr columnDescriptors:clDc.
|
|
136 |
scr list:rows.
|
|
137 |
top open.
|
|
138 |
[exEnd]
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
example 3: performance test
|
|
144 |
[exBegin]
|
|
145 |
|t1 top scr clDc rows slct list bool tmArr listModel|
|
|
146 |
|
|
147 |
top := StandardSystemView new label:'select'; extent:600@440.
|
|
148 |
scr := DataSetView origin:(0.0 @ 0.0) corner:(1.0 @ 1.0) in:top.
|
|
149 |
|
|
150 |
clDc := OrderedCollection new.
|
|
151 |
rows := OrderedCollection new.
|
|
152 |
list := #( 'Text ' 'Field ' 'C-Box ' 'C-List ' true ).
|
|
153 |
slct := #( #text #field #cbox #clist #toggle ).
|
|
154 |
bool := true.
|
|
155 |
|
|
156 |
clDc add:( DataSetColumnSpec label:'Text' editorType:#None selector:#text ).
|
|
157 |
clDc add:( DataSetColumnSpec label:'Field' editorType:#InputField selector:#field ).
|
|
158 |
clDc add:( DataSetColumnSpec label:'C-Box' editorType:#ComboBox selector:#cbox ).
|
|
159 |
clDc add:( DataSetColumnSpec label:'C-List' editorType:#ComboList selector:#clist ).
|
|
160 |
clDc add:( DataSetColumnSpec label:'Toggle' editorType:#CheckToggle selector:#toggle ).
|
|
161 |
|
|
162 |
scr columnDescriptors:clDc.
|
|
163 |
scr beDependentOfRows:false.
|
|
164 |
scr has3Dsepartors:false.
|
|
165 |
|
|
166 |
top openAndWait.
|
|
167 |
tmArr := Array new:4.
|
|
168 |
listModel := List new.
|
|
169 |
scr listHolder:listModel.
|
|
170 |
|
|
171 |
(1 to:tmArr size) do:[:i|
|
|
172 |
listModel removeAll.
|
|
173 |
|
|
174 |
t1 := Time millisecondsToRun:[
|
|
175 |
1 to:200 do:[:i| |values|
|
|
176 |
values := list collect:[:n|
|
|
177 |
n isString ifTrue:[n, i printString]
|
|
178 |
ifFalse:[n == true ifTrue:[bool] ifFalse:[n]]
|
|
179 |
].
|
|
180 |
listModel add:(Structure newWith:slct values:values).
|
|
181 |
bool := bool not.
|
|
182 |
|
|
183 |
i even ifTrue:[
|
|
184 |
listModel removeFirst
|
|
185 |
]
|
|
186 |
].
|
|
187 |
].
|
|
188 |
tmArr at:i put:t1
|
|
189 |
].
|
|
190 |
t1 := 0.
|
|
191 |
|
|
192 |
Transcript showCR:'----------'.
|
|
193 |
tmArr do:[:t|
|
|
194 |
t1 := t1 + t.
|
|
195 |
Transcript showCR:'TIME : ', t printString.
|
|
196 |
].
|
|
197 |
Transcript showCR:'----------'.
|
|
198 |
Transcript showCR:'DIFF : ', (t1 // tmArr size) printString.
|
|
199 |
[exEnd]
|
|
200 |
|
|
201 |
|
|
202 |
|
|
203 |
example 4: images as label
|
|
204 |
[exBegin]
|
|
205 |
|
|
206 |
|lbl top scr clDc rows slct list idx bool|
|
|
207 |
|
|
208 |
top := StandardSystemView new label:'select'; extent:400@440.
|
|
209 |
scr := DataSetView origin:(0.0 @ 0.0) corner:(1.0 @ 1.0) in:top.
|
|
210 |
|
|
211 |
clDc := OrderedCollection new.
|
|
212 |
rows := OrderedCollection new.
|
|
213 |
list := #( 'Text ' 'Field ' 'C-Box ' 'C-List ' true #( 'foo' 'bar' 'baz' ) ).
|
|
214 |
slct := #( #text #field #cbox #clist #toggle #choices ).
|
|
215 |
idx := 11.
|
|
216 |
bool := true.
|
|
217 |
|
|
218 |
20 timesRepeat:[ |values|
|
|
219 |
values := list collect:[:n|
|
|
220 |
n isString ifTrue:[n, idx printString]
|
|
221 |
ifFalse:[n == true ifTrue:[bool] ifFalse:[n]]
|
|
222 |
].
|
|
223 |
rows add:(Structure newWith:slct values:values).
|
|
224 |
bool := bool not.
|
|
225 |
idx := idx + 1.
|
|
226 |
].
|
|
227 |
lbl := Image fromFile:('gifImages/nexthand.gif' ).
|
|
228 |
|
|
229 |
clDc add:( DataSetColumnSpec label:lbl editorType:#None selector:#text ).
|
|
230 |
clDc add:( DataSetColumnSpec label:'Text' editorType:#None selector:#text ).
|
|
231 |
clDc add:( DataSetColumnSpec label:'Field' editorType:#InputField selector:#field ).
|
|
232 |
|
|
233 |
lbl := Image fromFile:('xpmBitmaps/misc_tools/box_full.xpm' ).
|
|
234 |
clDc add:( DataSetColumnSpec label:lbl editorType:#ComboBox selector:#cbox ).
|
|
235 |
clDc last choices:#choices.
|
|
236 |
clDc add:( DataSetColumnSpec label:'C-List' editorType:#ComboList selector:#clist ).
|
|
237 |
clDc last choices:#choices.
|
|
238 |
clDc add:( DataSetColumnSpec label:'Toggle' editorType:#CheckToggle selector:#toggle ).
|
|
239 |
|
|
240 |
scr has3Dsepartors:true.
|
|
241 |
scr columnDescriptors:clDc.
|
|
242 |
scr list:rows.
|
|
243 |
top open.
|
|
244 |
[exEnd]
|
|
245 |
|
|
246 |
|
|
247 |
|
|
248 |
"
|
|
249 |
! !
|
|
250 |
|
|
251 |
!DataSetView methodsFor:'accessing'!
|
|
252 |
|
|
253 |
columnDescriptors:colDesc
|
|
254 |
"compute height of baseline
|
|
255 |
"
|
|
256 |
|h label|
|
|
257 |
|
|
258 |
columnView columnDescriptors:colDesc.
|
|
259 |
h := 0.
|
|
260 |
|
|
261 |
columnView numberOfColumns ~~ 0 ifTrue:[
|
|
262 |
columnView columnsDo:[:aCol|
|
|
263 |
(label := aCol label) notNil ifTrue:[
|
|
264 |
h := (label heightOn:self) max:h
|
|
265 |
]
|
|
266 |
]
|
|
267 |
].
|
|
268 |
h := h + 8.
|
|
269 |
labelView corner:( 1.0 @ h ).
|
|
270 |
columnView superView origin:( 0.0 @ h ).
|
|
271 |
!
|
|
272 |
|
|
273 |
useIndex
|
|
274 |
^ useIndex
|
|
275 |
!
|
|
276 |
|
|
277 |
useIndex:aBool
|
|
278 |
useIndex := aBool
|
|
279 |
! !
|
|
280 |
|
|
281 |
!DataSetView methodsFor:'accessing menus'!
|
|
282 |
|
|
283 |
menuHolder:anObject
|
|
284 |
"set the menu holder in the column view too
|
|
285 |
"
|
|
286 |
super menuHolder:anObject.
|
|
287 |
columnView menuHolder:anObject.
|
|
288 |
labelView menuHolder:anObject.
|
|
289 |
|
|
290 |
!
|
|
291 |
|
|
292 |
menuMessage:aSymbol
|
|
293 |
"set the menu message in the column view too
|
|
294 |
"
|
|
295 |
super menuMessage:aSymbol.
|
|
296 |
columnView menuMessage:aSymbol.
|
|
297 |
labelView menuMessage:aSymbol.
|
|
298 |
|
|
299 |
!
|
|
300 |
|
|
301 |
menuPerformer:anObject
|
|
302 |
"set the performer in the column view too
|
|
303 |
"
|
|
304 |
super menuPerformer:anObject.
|
|
305 |
columnView menuPerformer:anObject.
|
|
306 |
labelView menuPerformer:anObject.
|
|
307 |
|
|
308 |
! !
|
|
309 |
|
|
310 |
!DataSetView methodsFor:'accessing visibility'!
|
|
311 |
|
|
312 |
font:aFont
|
|
313 |
columnView font:aFont
|
|
314 |
!
|
|
315 |
|
|
316 |
horizontalMini:aBool
|
|
317 |
^ columnView superView horizontalMini:aBool
|
|
318 |
!
|
|
319 |
|
|
320 |
horizontalScrollable:aBool
|
|
321 |
^ columnView superView horizontalScrollable:aBool
|
|
322 |
!
|
|
323 |
|
|
324 |
isHorizontalScrollable
|
|
325 |
^ columnView superView isHorizontalScrollable
|
|
326 |
!
|
|
327 |
|
|
328 |
isVerticalScrollable
|
|
329 |
^ columnView superView isVerticalScrollable
|
|
330 |
!
|
|
331 |
|
|
332 |
verticalMini:aBool
|
|
333 |
columnView superView verticalMini:aBool.
|
|
334 |
!
|
|
335 |
|
|
336 |
verticalScrollable:aBool
|
|
337 |
columnView superView verticalScrollable:aBool.
|
|
338 |
|
|
339 |
!
|
|
340 |
|
|
341 |
viewBackground
|
|
342 |
"get the background color of the rows
|
|
343 |
"
|
|
344 |
^ columnView backgroundColor.
|
|
345 |
|
|
346 |
|
|
347 |
!
|
|
348 |
|
|
349 |
viewBackground:aColor
|
|
350 |
"set the background color of the rows
|
|
351 |
"
|
|
352 |
^ columnView backgroundColor:aColor.
|
|
353 |
|
|
354 |
|
|
355 |
! !
|
|
356 |
|
|
357 |
!DataSetView methodsFor:'adding & removing rows'!
|
|
358 |
|
|
359 |
add:aRow
|
|
360 |
"add a row; reimplemented caused by add in base class
|
|
361 |
"
|
|
362 |
^ columnView add:aRow
|
|
363 |
! !
|
|
364 |
|
|
365 |
!DataSetView methodsFor:'change & update'!
|
|
366 |
|
|
367 |
listHolder:aListHolder
|
|
368 |
"set listholder and update list.
|
|
369 |
"
|
|
370 |
|list|
|
|
371 |
|
|
372 |
listHolder notNil ifTrue:[
|
|
373 |
listHolder removeDependent:self
|
|
374 |
].
|
|
375 |
(listHolder := aListHolder) notNil ifTrue:[
|
|
376 |
listHolder addDependent:self
|
|
377 |
].
|
|
378 |
|
|
379 |
(list := listHolder value) notNil ifTrue:[
|
|
380 |
columnView list:(list collect:[:el| el ])
|
|
381 |
] ifFalse:[
|
|
382 |
columnView list:nil.
|
|
383 |
].
|
|
384 |
!
|
|
385 |
|
|
386 |
model:aModel
|
|
387 |
"update model and list holder (derived from model).
|
|
388 |
"
|
|
389 |
(model respondsTo:#list) ifTrue:[
|
|
390 |
(model list == listHolder) ifTrue:[
|
|
391 |
self listHolder:nil
|
|
392 |
]
|
|
393 |
].
|
|
394 |
super model:aModel.
|
|
395 |
|
|
396 |
aModel notNil ifTrue:[
|
|
397 |
(aModel respondsTo:#list) ifTrue:[
|
|
398 |
self listHolder:model list
|
|
399 |
]
|
|
400 |
]
|
|
401 |
!
|
|
402 |
|
|
403 |
update:what with:aPara from:chgObj
|
|
404 |
"one of my models changed
|
|
405 |
"
|
|
406 |
|val|
|
|
407 |
|
|
408 |
chgObj == columnView ifFalse:[
|
|
409 |
chgObj == model ifTrue:[
|
|
410 |
(what == #selectionIndex or:[what == #selection]) ifTrue:[
|
|
411 |
^ columnView selectRowIndex:(model selectionIndex)
|
|
412 |
].
|
|
413 |
what == #list ifTrue:[
|
|
414 |
^ self listHolder:model list
|
|
415 |
].
|
|
416 |
model == listHolder ifFalse:[
|
|
417 |
what == #value ifTrue:[
|
|
418 |
(val := model value) isNumber ifTrue:[
|
|
419 |
columnView selectRowIndex:val
|
|
420 |
] ifFalse:[
|
|
421 |
columnView selectRow:val
|
|
422 |
]
|
|
423 |
].
|
|
424 |
^ self
|
|
425 |
].
|
|
426 |
].
|
|
427 |
"/ listHolder and model could be the same
|
|
428 |
|
|
429 |
chgObj == listHolder ifTrue:[
|
|
430 |
what == #at ifTrue:[
|
|
431 |
columnView at:aPara put:(listHolder at:aPara)
|
|
432 |
] ifFalse:[
|
|
433 |
self perform:what with:aPara
|
|
434 |
]
|
|
435 |
].
|
|
436 |
^ self
|
|
437 |
].
|
|
438 |
|
|
439 |
what == #selection ifTrue:[
|
|
440 |
model notNil ifTrue:[
|
|
441 |
val := columnView selectedRowIndex.
|
|
442 |
|
|
443 |
(model respondsTo:#selectionIndex:) ifTrue:[
|
|
444 |
model selectionIndex:val
|
|
445 |
] ifFalse:[
|
|
446 |
useIndex ifFalse:[val := columnView selectedRow].
|
|
447 |
model value:val
|
|
448 |
]
|
|
449 |
].
|
|
450 |
^ self
|
|
451 |
].
|
|
452 |
! !
|
|
453 |
|
|
454 |
!DataSetView methodsFor:'change & update model'!
|
|
455 |
|
|
456 |
insert:anIndex
|
|
457 |
"raised from listHolder: insert row derived from listHolder at anIndex
|
|
458 |
"
|
|
459 |
|list|
|
|
460 |
|
|
461 |
list := listHolder value.
|
|
462 |
columnView add:(list at:anIndex) beforeIndex:anIndex
|
|
463 |
|
|
464 |
|
|
465 |
!
|
|
466 |
|
|
467 |
insertCollection:anArray
|
|
468 |
"raised from listHolder: insert collection of rows derived from listHolder
|
|
469 |
from start (anArray at:1) to stop (anArray at:2).
|
|
470 |
"
|
|
471 |
|start size list|
|
|
472 |
|
|
473 |
list := listHolder value.
|
|
474 |
start := anArray first.
|
|
475 |
size := anArray last.
|
|
476 |
|
|
477 |
size timesRepeat:[
|
|
478 |
columnView add:(list at:start) beforeIndex:start.
|
|
479 |
start := start + 1
|
|
480 |
]
|
|
481 |
|
|
482 |
|
|
483 |
!
|
|
484 |
|
|
485 |
remove:anIndex
|
|
486 |
"raised from listHolder: remove row at anIndex
|
|
487 |
"
|
|
488 |
columnView removeIndex:anIndex
|
|
489 |
|
|
490 |
|
|
491 |
!
|
|
492 |
|
|
493 |
removeFrom:anArray
|
|
494 |
"raised from listHolder: remove rows from start (anArray at:1)
|
|
495 |
to stop (anArray at:2).
|
|
496 |
"
|
|
497 |
|start stop|
|
|
498 |
|
|
499 |
start := anArray first.
|
|
500 |
stop := anArray last.
|
|
501 |
|
|
502 |
(start == 1 and:[stop == columnView size]) ifTrue:[
|
|
503 |
columnView list:nil
|
|
504 |
] ifFalse:[
|
|
505 |
(stop - start + 1) timesRepeat:[
|
|
506 |
columnView removeIndex:start
|
|
507 |
]
|
|
508 |
]
|
|
509 |
!
|
|
510 |
|
|
511 |
replace:anArray
|
|
512 |
"raised from listHolder: replace collection of rows derived from listHolder
|
|
513 |
from start (anArray at:1) to stop (anArray at:2).
|
|
514 |
"
|
|
515 |
|start stop list|
|
|
516 |
|
|
517 |
start := anArray first.
|
|
518 |
stop := anArray last.
|
|
519 |
list := listHolder value.
|
|
520 |
|
|
521 |
start to:stop do:[:anIndex|
|
|
522 |
columnView at:anIndex put:(list at:anIndex)
|
|
523 |
].
|
|
524 |
|
|
525 |
! !
|
|
526 |
|
|
527 |
!DataSetView methodsFor:'error handling'!
|
|
528 |
|
|
529 |
doesNotUnderstand:aMessage
|
|
530 |
^ aMessage sendTo:columnView
|
|
531 |
! !
|
|
532 |
|
|
533 |
!DataSetView methodsFor:'initialize'!
|
|
534 |
|
|
535 |
destroy
|
|
536 |
"remove dependencies
|
|
537 |
"
|
|
538 |
listHolder notNil ifTrue:[
|
|
539 |
listHolder removeDependent:self
|
|
540 |
].
|
|
541 |
super destroy
|
|
542 |
|
|
543 |
|
|
544 |
|
|
545 |
!
|
|
546 |
|
|
547 |
initialize
|
|
548 |
"set column area
|
|
549 |
"
|
|
550 |
super initialize.
|
|
551 |
|
|
552 |
columnView := HVScrollableView for:DSVColumnView
|
|
553 |
miniScrollerH:true
|
|
554 |
miniScrollerV:false
|
|
555 |
origin:(0.0 @ 0.0)
|
|
556 |
corner:(1.0 @ 1.0)
|
|
557 |
in:self.
|
|
558 |
|
|
559 |
labelView := DSVLabelView origin:(0.0 @ 0.0)
|
|
560 |
corner:(1.0 @ 0.0)
|
|
561 |
in:self.
|
|
562 |
useIndex := true.
|
|
563 |
columnView := columnView scrolledView.
|
|
564 |
labelView columnView:columnView.
|
|
565 |
columnView borderWidth:0.
|
|
566 |
columnView addDependent:self.
|
|
567 |
!
|
|
568 |
|
|
569 |
realize
|
|
570 |
super realize.
|
|
571 |
self bitGravity:#NorthWest.
|
|
572 |
|
|
573 |
! !
|
|
574 |
|
|
575 |
!DataSetView methodsFor:'queries'!
|
|
576 |
|
|
577 |
specClass
|
|
578 |
^ DataSetSpec
|
|
579 |
! !
|
|
580 |
|
|
581 |
!DataSetView class methodsFor:'documentation'!
|
|
582 |
|
|
583 |
version
|
|
584 |
^ '$Header: /cvs/stx/stx/libwidg2/DataSetView.st,v 1.1 1997-10-10 13:38:51 ca Exp $'
|
|
585 |
! !
|