author | Claus Gittinger <cg@exept.de> |
Thu, 05 Mar 2009 12:58:00 +0100 | |
changeset 3649 | 88b3435ff257 |
parent 3582 | 2927b1b12e8f |
child 3763 | f31244b93a13 |
permissions | -rw-r--r-- |
1716 | 1 |
" |
2 |
COPYRIGHT (c) 1997 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 |
" |
|
1818 | 12 |
"{ Package: 'stx:libwidg2' }" |
13 |
||
1150 | 14 |
Object subclass:#DataSetLabel |
1487 | 15 |
instanceVariableNames:'label selector argument adjust font fgColor bgColor |
3649 | 16 |
preferredHeight preferredWidth description' |
1150 | 17 |
classVariableNames:'' |
18 |
poolDictionaries:'' |
|
19 |
category:'Views-DataSet' |
|
20 |
! |
|
21 |
||
1716 | 22 |
!DataSetLabel class methodsFor:'documentation'! |
23 |
||
24 |
copyright |
|
25 |
" |
|
26 |
COPYRIGHT (c) 1997 by eXept Software AG |
|
27 |
All Rights Reserved |
|
28 |
||
29 |
This software is furnished under a license and may be used |
|
30 |
only in accordance with the terms of that license and with the |
|
31 |
inclusion of the above copyright notice. This software may not |
|
32 |
be provided or otherwise made available to, or used by, any |
|
33 |
other person. No title to or ownership of the software is |
|
34 |
hereby transferred. |
|
35 |
" |
|
36 |
||
37 |
||
38 |
||
39 |
||
3649 | 40 |
! |
41 |
||
42 |
documentation |
|
43 |
" |
|
44 |
This class keeps some info about a label. |
|
45 |
||
46 |
[author:] |
|
47 |
Claus Atzkern |
|
48 |
" |
|
49 |
! ! |
|
50 |
||
51 |
!DataSetLabel class methodsFor:'image specs'! |
|
52 |
||
53 |
sortIndicator |
|
54 |
"This resource specification was automatically generated |
|
55 |
by the ImageEditor of ST/X." |
|
56 |
||
57 |
"Do not manually edit this!! If it is corrupted, |
|
58 |
the ImageEditor may not be able to read the specification." |
|
59 |
||
60 |
" |
|
61 |
self sortIndicator inspect |
|
62 |
ImageEditor openOnClass:self andSelector:#sortIndicator |
|
63 |
Icon flushCachedIcons |
|
64 |
" |
|
65 |
||
66 |
<resource: #image> |
|
67 |
||
68 |
^Icon |
|
69 |
constantNamed:'DataSetLabel class sortIndicator' |
|
70 |
ifAbsentPut:[(Depth1Image new) width: 7; height: 4; photometric:(#palette); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@B@0 @a') ; colorMapFromArray:#[0 0 0 255 255 255]; mask:((Depth1Image new) width: 7; height: 4; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'?''08D@@a') ; yourself); yourself] |
|
71 |
! |
|
72 |
||
73 |
sortReverseIndicator |
|
74 |
"This resource specification was automatically generated |
|
75 |
by the ImageEditor of ST/X." |
|
76 |
||
77 |
"Do not manually edit this!! If it is corrupted, |
|
78 |
the ImageEditor may not be able to read the specification." |
|
79 |
||
80 |
" |
|
81 |
self sortReverseIndicator inspect |
|
82 |
ImageEditor openOnClass:self andSelector:#sortReverseIndicator |
|
83 |
Icon flushCachedIcons |
|
84 |
" |
|
85 |
||
86 |
<resource: #image> |
|
87 |
||
88 |
^Icon |
|
89 |
constantNamed:'DataSetLabel class sortReverseIndicator' |
|
90 |
ifAbsentPut:[(Depth1Image new) width: 7; height: 4; photometric:(#palette); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'0(@@@@@a') ; colorMapFromArray:#[0 0 0 255 255 255]; mask:((Depth1Image new) width: 7; height: 4; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'DC!!<? @a') ; yourself); yourself] |
|
1716 | 91 |
! ! |
1150 | 92 |
|
1818 | 93 |
!DataSetLabel methodsFor:'accessing-colors'! |
1150 | 94 |
|
95 |
backgroundColor |
|
1487 | 96 |
"returns the background color or nil |
1150 | 97 |
" |
98 |
^ bgColor |
|
99 |
||
100 |
||
101 |
! |
|
102 |
||
2699 | 103 |
backgroundColor:aColor |
104 |
"set the background color or nil |
|
105 |
" |
|
106 |
bgColor := aColor |
|
107 |
! |
|
108 |
||
1150 | 109 |
foregroundColor |
1487 | 110 |
"returns the foreground color or nil |
1150 | 111 |
" |
112 |
^ fgColor |
|
113 |
||
2699 | 114 |
! |
115 |
||
116 |
foregroundColor:aColor |
|
117 |
"set the foreground color or nil |
|
118 |
" |
|
119 |
fgColor := aColor |
|
1150 | 120 |
! ! |
121 |
||
1818 | 122 |
!DataSetLabel methodsFor:'accessing-dimensions'! |
1150 | 123 |
|
1487 | 124 |
preferredHeight |
125 |
"returns my preferred height |
|
1150 | 126 |
" |
1487 | 127 |
^ preferredHeight |
1150 | 128 |
! |
129 |
||
1487 | 130 |
preferredWidth |
131 |
"returns my preferred width |
|
1150 | 132 |
" |
1487 | 133 |
^ preferredWidth |
1150 | 134 |
! ! |
135 |
||
136 |
!DataSetLabel methodsFor:'actions'! |
|
137 |
||
138 |
sendClickMsgTo:aReceiver |
|
139 |
"inform the receiver of a button release notification |
|
140 |
" |
|
141 |
(aReceiver notNil and:[selector notNil]) ifTrue:[ |
|
2068
3fcbf2422c5a
use new #perform:withOptionalArg
Claus Gittinger <cg@exept.de>
parents:
1818
diff
changeset
|
142 |
aReceiver perform:selector withOptionalArgument:argument |
1150 | 143 |
] |
144 |
! ! |
|
145 |
||
146 |
!DataSetLabel methodsFor:'drawing'! |
|
147 |
||
3649 | 148 |
redrawX:xLeft w:width h:height inset:inset on:aLabelView |
1150 | 149 |
"redraw the label; the background is cleared and the paint is set |
150 |
" |
|
3582
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
151 |
|y0 x gcFont labelWidth |
2154
cb22be939082
split strings; some refactoring
Claus Gittinger <cg@exept.de>
parents:
2144
diff
changeset
|
152 |
shownLabel prevClip mustUndoClip |
3490
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
153 |
netWidth goodLookingVerticalSpacing| |
1150 | 154 |
|
155 |
label isNil ifTrue:[ ^ self ]. |
|
156 |
||
1487 | 157 |
font notNil ifTrue:[ |
3649 | 158 |
gcFont := aLabelView font. "save original font" |
159 |
aLabelView font:font. |
|
1487 | 160 |
]. |
3582
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
161 |
|
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
162 |
y0 := (height - preferredHeight) // 2. |
3649 | 163 |
goodLookingVerticalSpacing := aLabelView font descent. |
3490
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
164 |
y0 := y0 + goodLookingVerticalSpacing. |
1150 | 165 |
|
2144 | 166 |
netWidth := width-inset-inset. |
167 |
||
1487 | 168 |
label do:[:aLabel| |
2144 | 169 |
shownLabel := aLabel. |
170 |
||
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
171 |
mustUndoClip := false. |
3649 | 172 |
labelWidth := shownLabel widthOn:aLabelView. |
2144 | 173 |
labelWidth > netWidth ifTrue:[ |
3649 | 174 |
shownLabel := DataSetColumn shortenedStringFor:aLabel on:aLabelView maxWidth:netWidth. |
175 |
labelWidth := shownLabel widthOn:aLabelView. |
|
2144 | 176 |
]. |
177 |
||
1487 | 178 |
adjust == #left ifTrue:[ |
179 |
x := xLeft + inset. |
|
180 |
] ifFalse:[ |
|
2144 | 181 |
x := width - labelWidth. |
1150 | 182 |
|
3649 | 183 |
adjust == #right ifTrue:[ |
184 |
x := x - inset |
|
185 |
] ifFalse:[ |
|
186 |
x := x // 2. "/ center |
|
187 |
]. |
|
1487 | 188 |
x := xLeft + x. |
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
189 |
|
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
190 |
"/ cg: must clip left, if string is too large |
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
191 |
x < xLeft ifTrue:[ |
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
192 |
"/ must clip ... |
3649 | 193 |
prevClip := aLabelView clippingRectangleOrNil. |
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
194 |
mustUndoClip := true. |
3649 | 195 |
aLabelView clippingRectangle:(Rectangle |
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
196 |
left:xLeft top:y0 |
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
197 |
width:width height:height). |
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
198 |
]. |
1487 | 199 |
]. |
3582
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
200 |
|
3649 | 201 |
shownLabel displayOn:aLabelView x:x y:y0 + (shownLabel ascentOn:aLabelView). |
202 |
y0 := y0 + (shownLabel heightOn:aLabelView) + goodLookingVerticalSpacing. |
|
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
203 |
|
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
204 |
mustUndoClip == true ifTrue:[ |
3649 | 205 |
aLabelView clippingRectangle:prevClip |
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
206 |
]. |
1487 | 207 |
]. |
3649 | 208 |
|
209 |
description isSortable ifTrue:[ |
|
210 |
self halt. |
|
211 |
]. |
|
212 |
||
3582
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
213 |
gcFont notNil ifTrue:[ |
3649 | 214 |
aLabelView font:gcFont "/ restore font |
2451 | 215 |
]. |
1150 | 216 |
! ! |
217 |
||
218 |
!DataSetLabel methodsFor:'instance creation'! |
|
219 |
||
1487 | 220 |
description:aDescription builder:aBuilder on:aGC |
3490
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
221 |
|device gcFont verticalSpace| |
1150 | 222 |
|
3649 | 223 |
description := aDescription. |
224 |
||
225 |
"/ stupid code - could simply access things via the description. |
|
226 |
"/ I leave it here for subclasses which depend on it (for a while). |
|
1605 | 227 |
label := self resolveLabelFromDescription:aDescription withBuilder:aBuilder. |
228 |
selector := aDescription labelActionSelector. |
|
229 |
argument := (aDescription labelActionArgument) ? label. |
|
230 |
adjust := (aDescription labelAlignment) ? #left. |
|
231 |
device := aGC device. |
|
232 |
fgColor := aDescription labelForegroundColor. |
|
233 |
bgColor := aDescription labelBackgroundColor. |
|
1150 | 234 |
|
1480 | 235 |
fgColor notNil ifTrue:[ fgColor := fgColor onDevice:device ]. |
236 |
bgColor notNil ifTrue:[ bgColor := bgColor onDevice:device ]. |
|
1150 | 237 |
|
1487 | 238 |
preferredHeight := preferredWidth := 0. |
239 |
||
3490
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
240 |
(label isEmptyOrNil) ifTrue:[ |
1487 | 241 |
label := nil. |
3490
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
242 |
^ self |
1150 | 243 |
]. |
244 |
||
3553 | 245 |
font := aDescription labelFont. |
246 |
font notNil ifTrue:[ |
|
247 |
font := aBuilder resolveFont:font. |
|
248 |
font notNil ifTrue:[ |
|
249 |
gcFont := aGC font. |
|
250 |
gcFont = font ifTrue:[ |
|
251 |
font := nil |
|
252 |
] ifFalse:[ |
|
253 |
font := font onDevice:device. |
|
254 |
aGC font:font. |
|
255 |
]. |
|
256 |
]. |
|
1487 | 257 |
]. |
1150 | 258 |
|
3490
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
259 |
label isString ifTrue:[ |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
260 |
label := Array with:label. |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
261 |
] ifFalse:[ |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
262 |
(label isSequenceable not) ifTrue:[ |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
263 |
label := Array with:label. |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
264 |
] |
1150 | 265 |
]. |
266 |
||
3490
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
267 |
verticalSpace := aGC font descent. "/ goodLookingVerticalSpacing |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
268 |
label := label |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
269 |
collect:[:el| |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
270 |
|lbl| |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
271 |
|
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
272 |
lbl := self label:el on:device. |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
273 |
preferredWidth := (lbl widthOn:aGC) max:preferredWidth. |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
274 |
preferredHeight := preferredHeight + verticalSpace + (lbl heightOn:aGC) + verticalSpace. |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
275 |
lbl |
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
276 |
]. |
1487 | 277 |
font notNil ifTrue:[aGC font:gcFont]. "/ restore font |
1150 | 278 |
! ! |
279 |
||
280 |
!DataSetLabel methodsFor:'private'! |
|
281 |
||
282 |
label:aLabel on:aDevice |
|
283 |
"returns registered label on a device |
|
284 |
" |
|
285 |
|lbl img| |
|
286 |
||
1487 | 287 |
aLabel isNil ifTrue:[^ '']. |
288 |
||
1150 | 289 |
aLabel isString ifFalse:[ |
290 |
aLabel isImageOrForm ifTrue:[ |
|
2291 | 291 |
aLabel device ~~ aDevice ifTrue:[ |
292 |
lbl := aLabel copy onDevice:aDevice |
|
293 |
] ifFalse:[ |
|
294 |
lbl := aLabel |
|
295 |
]. |
|
1150 | 296 |
lbl isImage ifTrue:[ |
297 |
lbl clearMaskedPixels |
|
298 |
]. |
|
299 |
^ lbl |
|
300 |
]. |
|
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
301 |
|
1150 | 302 |
aLabel class == LabelAndIcon ifTrue:[ |
2291 | 303 |
lbl := aLabel onDevice:aDevice. |
1150 | 304 |
(img := lbl image) isImage ifTrue:[img clearMaskedPixels]. |
305 |
(img := lbl icon) isImage ifTrue:[img clearMaskedPixels]. |
|
306 |
^ lbl |
|
307 |
] |
|
308 |
]. |
|
309 |
^ aLabel |
|
310 |
! |
|
311 |
||
312 |
resolveLabelFromDescription:aDescription withBuilder:aBuilder |
|
3468 | 313 |
|rawLabel appl resources lbl| |
1150 | 314 |
|
315 |
aBuilder isNil ifTrue:[ |
|
3468 | 316 |
rawLabel := aDescription rawLabel. |
317 |
||
318 |
rawLabel isString ifTrue:[ |
|
319 |
rawLabel isEmpty ifTrue:[^ nil ]. |
|
320 |
lbl := rawLabel asStringCollection. |
|
321 |
lbl size > 1 ifTrue:[^ lbl ]. |
|
322 |
]. |
|
323 |
^ rawLabel |
|
1150 | 324 |
]. |
3468 | 325 |
rawLabel := aDescription label. |
326 |
rawLabel isNil ifTrue:[^ nil ]. |
|
327 |
||
2779
e5b0570c2c32
also translate multi-line labels
Claus Gittinger <cg@exept.de>
parents:
2699
diff
changeset
|
328 |
aBuilder isEditing ifFalse:[ |
e5b0570c2c32
also translate multi-line labels
Claus Gittinger <cg@exept.de>
parents:
2699
diff
changeset
|
329 |
appl := aBuilder application. |
3468 | 330 |
appl notNil ifTrue:[ resources := appl resources ]. |
2779
e5b0570c2c32
also translate multi-line labels
Claus Gittinger <cg@exept.de>
parents:
2699
diff
changeset
|
331 |
]. |
e5b0570c2c32
also translate multi-line labels
Claus Gittinger <cg@exept.de>
parents:
2699
diff
changeset
|
332 |
|
3468 | 333 |
rawLabel isString ifTrue:[ |
1150 | 334 |
aDescription labelIsImage ifTrue:[ |
3468 | 335 |
(aBuilder isEditing or:[(rawLabel := aBuilder labelFor:(rawLabel asSymbol)) isNil]) ifTrue:[ |
1150 | 336 |
^ aDescription class defaultIcon |
3468 | 337 |
] |
338 |
] ifFalse:[ |
|
339 |
aDescription translateLabel == true ifTrue:[ |
|
3582
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
340 |
lbl := (aBuilder aspectAt:(rawLabel asSymbol)) value. |
1150 | 341 |
|
3468 | 342 |
(lbl isNil and:[resources notNil]) ifTrue:[ |
343 |
lbl := resources string:rawLabel default:nil. |
|
344 |
]. |
|
345 |
lbl notNil ifTrue:[ rawLabel := lbl ]. |
|
1150 | 346 |
]. |
347 |
]. |
|
3468 | 348 |
] ifFalse:[ |
349 |
rawLabel isSequenceable ifFalse:[^ rawLabel]. |
|
350 |
rawLabel isEmptyOrNil ifTrue:[^ nil ]. |
|
351 |
||
352 |
resources notNil ifTrue:[ |
|
353 |
lbl := resources string:rawLabel default:nil. |
|
354 |
||
355 |
lbl notNil ifTrue:[ |
|
356 |
rawLabel := lbl. |
|
357 |
] ifFalse:[ |
|
358 |
lbl := resources array:rawLabel. |
|
359 |
lbl notEmptyOrNil ifTrue:[ |
|
360 |
lbl size == 1 ifTrue:[ rawLabel := lbl first ] |
|
361 |
ifFalse:[ rawLabel := lbl ]. |
|
362 |
]. |
|
363 |
]. |
|
1150 | 364 |
]. |
365 |
]. |
|
3468 | 366 |
rawLabel isString ifTrue:[ |
367 |
rawLabel isEmpty ifTrue:[ ^ nil ]. |
|
368 |
lbl := rawLabel asStringCollection. |
|
369 |
lbl size > 1 ifTrue:[^ lbl ]. |
|
370 |
]. |
|
371 |
^ rawLabel |
|
1150 | 372 |
! ! |
373 |
||
374 |
!DataSetLabel methodsFor:'queries'! |
|
375 |
||
1605 | 376 |
hasSeparator |
377 |
|l| |
|
378 |
||
379 |
label size == 1 ifTrue:[ |
|
380 |
"/ ^ (label at:1) ~= 'Alarm' |
|
381 |
^ (label at:1) ~= 'Area' |
|
382 |
]. |
|
383 |
^ true |
|
384 |
! |
|
385 |
||
1150 | 386 |
isSelectable |
387 |
"returns true if the item is selectable; a valid selector |
|
388 |
to notify the receiver for a release button event exists |
|
389 |
" |
|
390 |
^ selector notNil |
|
391 |
||
392 |
||
393 |
! ! |
|
394 |
||
395 |
!DataSetLabel class methodsFor:'documentation'! |
|
396 |
||
397 |
version |
|
3649 | 398 |
^ '$Header: /cvs/stx/stx/libwidg2/DataSetLabel.st,v 1.24 2009-03-05 11:58:00 cg Exp $' |
1150 | 399 |
! ! |