author | ca |
Mon, 16 Jun 1997 18:53:35 +0200 | |
changeset 600 | 885bd39df8df |
parent 598 | 52fee9e520b8 |
child 608 | 1cd72d2d7e3b |
permissions | -rw-r--r-- |
89 | 1 |
" |
2 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
434 | 3 |
All Rights Reserved |
89 | 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 |
||
100 | 13 |
Object subclass:#WindowBuilder |
480 | 14 |
instanceVariableNames:'window windowView application bindings visuals focusSequence |
600 | 15 |
namedComponents helpKeys componentCreationHook applicationClass |
502 | 16 |
keyboardProcessor subCanvasSpecs' |
436 | 17 |
classVariableNames:'' |
18 |
poolDictionaries:'' |
|
19 |
category:'Interface-Support-UI' |
|
66 | 20 |
! |
21 |
||
22 |
!WindowBuilder class methodsFor:'documentation'! |
|
23 |
||
89 | 24 |
copyright |
25 |
" |
|
26 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
434 | 27 |
All Rights Reserved |
89 | 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 |
||
66 | 38 |
documentation |
39 |
" |
|
69 | 40 |
a no-op class, for systems which do not use the UIBuilder. |
66 | 41 |
Concrete subclasses know how to create a view (with components) from |
42 |
some interface spec. Currently, an experimantal version of UIBuilder exists, |
|
43 |
and more may be added in the future (for example, to parse different UI |
|
44 |
specs - thinking of motifs UIL specs etc). |
|
223 | 45 |
|
46 |
[author:] |
|
47 |
Claus Gittinger |
|
66 | 48 |
" |
49 |
! ! |
|
50 |
||
51 |
!WindowBuilder methodsFor:'accessing'! |
|
52 |
||
463 | 53 |
addBindings:moreBindings |
54 |
"used with subDialogs, which provide local bindings. |
|
55 |
All bindings from moreBindings overwrite any local bindings." |
|
56 |
||
57 |
moreBindings notNil ifTrue:[ |
|
58 |
moreBindings keysAndValuesDo:[:aKey :aValue | |
|
59 |
bindings at:aKey put:aValue |
|
60 |
] |
|
61 |
] |
|
62 |
||
63 |
"Created: 28.2.1997 / 14:14:33 / cg" |
|
64 |
! |
|
65 |
||
100 | 66 |
application |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
67 |
"return the application (an ApplicationModel), |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
68 |
for which the view is built. |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
69 |
This one is supposed to provide the aspects, menus etc." |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
70 |
|
100 | 71 |
^ application |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
72 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
73 |
"Modified: 17.1.1997 / 19:04:40 / cg" |
66 | 74 |
! |
75 |
||
125 | 76 |
application:anApplicationModel |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
77 |
"set the application (an ApplicationModel), |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
78 |
for which the view is built. |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
79 |
This one is supposed to provide the aspects, menus etc." |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
80 |
|
125 | 81 |
application := anApplicationModel |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
82 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
83 |
"Modified: 17.1.1997 / 19:04:47 / cg" |
66 | 84 |
! |
85 |
||
422 | 86 |
applicationClass:something |
87 |
"set the value of the instance variable 'applicationClass' (automatically generated)" |
|
88 |
||
89 |
applicationClass := something.! |
|
90 |
||
66 | 91 |
aspectAt:aSymbol |
433 | 92 |
|b| |
93 |
||
473 | 94 |
aSymbol notNil ifTrue:[ |
95 |
bindings notNil ifTrue:[ |
|
96 |
b := bindings at:aSymbol ifAbsent:nil. |
|
97 |
b notNil ifTrue:[^ b]. |
|
98 |
]. |
|
434 | 99 |
|
473 | 100 |
application notNil ifTrue:[ |
577 | 101 |
Object messageNotUnderstoodSignal handle:[:ex | |
102 |
Transcript showCR:'not understood: ' , aSymbol. |
|
103 |
] do:[ |
|
473 | 104 |
^ application aspectFor:aSymbol |
105 |
] |
|
450 | 106 |
] |
433 | 107 |
]. |
108 |
^ nil |
|
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
109 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
110 |
"Modified: 17.1.1997 / 19:28:32 / cg" |
66 | 111 |
! |
112 |
||
125 | 113 |
aspectAt:aSymbol put:aModel |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
114 |
bindings isNil ifTrue:[ |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
115 |
bindings := IdentityDictionary new |
125 | 116 |
]. |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
117 |
^ bindings at:aSymbol put:aModel |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
118 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
119 |
"Modified: 17.1.1997 / 19:28:37 / cg" |
100 | 120 |
! |
121 |
||
450 | 122 |
bindingAt:aSymbol |
123 |
bindings notNil ifTrue:[ |
|
124 |
^ bindings at:aSymbol ifAbsent:nil. |
|
125 |
]. |
|
126 |
^ nil |
|
127 |
! |
|
128 |
||
100 | 129 |
bindings |
130 |
^ bindings |
|
131 |
! |
|
132 |
||
133 |
bindings:aDictionary |
|
134 |
bindings := aDictionary |
|
135 |
! |
|
136 |
||
125 | 137 |
componentAt:name |
450 | 138 |
namedComponents isNil ifTrue:[^ nil]. |
139 |
^ namedComponents at:name asSymbol ifAbsent:nil |
|
125 | 140 |
! |
141 |
||
100 | 142 |
componentAt:name put:aComponent |
450 | 143 |
namedComponents isNil ifTrue:[ |
144 |
namedComponents := IdentityDictionary new. |
|
100 | 145 |
]. |
450 | 146 |
namedComponents at:name asSymbol put:aComponent |
100 | 147 |
! |
148 |
||
410 | 149 |
componentCreationHook:something |
150 |
"set the value of the instance variable 'componentCreationHook' (automatically generated)" |
|
151 |
||
152 |
componentCreationHook := something.! |
|
153 |
||
125 | 154 |
focusSequence |
155 |
^ focusSequence |
|
66 | 156 |
! |
157 |
||
600 | 158 |
helpKeyFor:aComponent |
159 |
|v key| |
|
160 |
||
161 |
helpKeys isNil ifTrue:[^ nil]. |
|
595 | 162 |
|
600 | 163 |
v := aComponent. |
164 |
[v notNil] whileTrue:[ |
|
165 |
(key := helpKeys at:v ifAbsent:nil) notNil ifTrue:[ |
|
166 |
^ key |
|
167 |
]. |
|
168 |
v := v superView |
|
169 |
]. |
|
595 | 170 |
^ nil |
600 | 171 |
! |
595 | 172 |
|
600 | 173 |
helpKeyFor:aComponent put:aKey |
595 | 174 |
|
600 | 175 |
aKey isNil ifTrue:[ |
176 |
helpKeys isNil ifFalse:[ |
|
177 |
helpKeys removeKey:aComponent ifAbsent:nil |
|
178 |
] |
|
179 |
] ifFalse:[ |
|
180 |
helpKeys isNil ifTrue:[ |
|
181 |
helpKeys := IdentityDictionary new |
|
182 |
]. |
|
183 |
helpKeys at:aComponent put:aKey |
|
184 |
] |
|
595 | 185 |
|
186 |
! |
|
187 |
||
477 | 188 |
keyboardProcessor |
189 |
keyboardProcessor isNil ifTrue:[ |
|
190 |
keyboardProcessor := KeyboardProcessor new |
|
191 |
]. |
|
192 |
^ keyboardProcessor |
|
193 |
||
194 |
"Created: 3.3.1997 / 18:31:37 / cg" |
|
195 |
"Modified: 3.3.1997 / 18:32:27 / cg" |
|
196 |
! |
|
197 |
||
86 | 198 |
namedComponents |
450 | 199 |
^ namedComponents |
86 | 200 |
! |
201 |
||
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
202 |
source |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
203 |
"same as #application, for ST-80 compatibility" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
204 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
205 |
^ application |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
206 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
207 |
"Created: 17.1.1997 / 19:03:51 / cg" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
208 |
! |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
209 |
|
125 | 210 |
source:anApplicationModel |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
211 |
"same as #application:, for ST-80 compatibility" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
212 |
|
125 | 213 |
application := anApplicationModel |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
214 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
215 |
"Modified: 17.1.1997 / 19:03:57 / cg" |
125 | 216 |
! |
217 |
||
502 | 218 |
subCanvasAt:majorKey at:minorKey |
586 | 219 |
"get the subCanvas specification from major and minor key |
220 |
" |
|
221 |
|spec cls dict dkey| |
|
502 | 222 |
|
223 |
subCanvasSpecs notNil ifTrue:[ |
|
586 | 224 |
dkey := majorKey ? #NoMajorKey. |
225 |
dict := subCanvasSpecs at:dkey ifAbsent:nil. |
|
226 |
||
227 |
dict notNil ifTrue:[ |
|
228 |
spec := dict at:minorKey ifAbsent:nil. |
|
502 | 229 |
spec notNil ifTrue:[^ spec]. |
230 |
]. |
|
231 |
]. |
|
586 | 232 |
|
502 | 233 |
majorKey isNil ifTrue:[ |
586 | 234 |
spec := self safelyPerform:#specificationFor: with:minorKey. |
235 |
||
236 |
spec isNil ifTrue:[ |
|
237 |
spec := self safelyPerform:minorKey |
|
238 |
] |
|
502 | 239 |
] ifFalse:[ |
240 |
cls := Smalltalk at:majorKey ifAbsent:nil. |
|
586 | 241 |
(cls notNil and:[cls respondsTo:minorKey]) ifTrue:[ |
502 | 242 |
spec := cls perform:minorKey |
243 |
] |
|
244 |
]. |
|
586 | 245 |
^ spec |
246 |
||
502 | 247 |
! |
248 |
||
249 |
subCanvasAt:majorKey at:minorKey put:aSpec |
|
250 |
|dict key| |
|
251 |
||
252 |
key := majorKey ? #NoMajorKey. |
|
253 |
dict := subCanvasSpecs at:key ifAbsent:nil. |
|
254 |
dict isNil ifTrue:[ |
|
255 |
dict := IdentityDictionary new. |
|
256 |
subCanvasSpecs at:key put:dict |
|
257 |
]. |
|
258 |
dict at:minorKey put:aSpec |
|
259 |
||
260 |
! |
|
261 |
||
475
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
262 |
visualAt:name |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
263 |
visuals isNil ifTrue:[^ nil]. |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
264 |
^ visuals at:name asSymbol ifAbsent:nil |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
265 |
|
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
266 |
"Created: 3.3.1997 / 16:24:17 / cg" |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
267 |
! |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
268 |
|
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
269 |
visualAt:name put:aVisual |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
270 |
visuals isNil ifTrue:[ |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
271 |
visuals := IdentityDictionary new. |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
272 |
]. |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
273 |
visuals at:name asSymbol put:aVisual |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
274 |
|
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
275 |
"Created: 3.3.1997 / 16:24:41 / cg" |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
276 |
! |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
277 |
|
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
278 |
visuals |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
279 |
^ visuals |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
280 |
|
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
281 |
"Created: 3.3.1997 / 16:24:00 / cg" |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
282 |
! |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
283 |
|
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
284 |
visuals:aDictionary |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
285 |
visuals := aDictionary |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
286 |
|
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
287 |
"Created: 3.3.1997 / 16:24:06 / cg" |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
288 |
! |
fd94f2bc8b9e
added #visuals, #visualAt: and #visualAt:put:
Claus Gittinger <cg@exept.de>
parents:
473
diff
changeset
|
289 |
|
125 | 290 |
window |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
291 |
"return the top window (view), for which an interface |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
292 |
is (being) built" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
293 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
294 |
^ window |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
295 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
296 |
"Modified: 17.1.1997 / 19:30:00 / cg" |
125 | 297 |
! |
298 |
||
299 |
window:aView |
|
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
300 |
"set the top window (view), for which an interface |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
301 |
is (being) built" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
302 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
303 |
window := aView |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
304 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
305 |
"Modified: 17.1.1997 / 19:30:22 / cg" |
66 | 306 |
! |
307 |
||
308 |
windowGroup |
|
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
309 |
self halt. |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
310 |
^ window windowGroup |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
311 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
312 |
"Modified: 17.1.1997 / 19:30:26 / cg" |
66 | 313 |
! ! |
314 |
||
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
315 |
!WindowBuilder methodsFor:'building'! |
66 | 316 |
|
125 | 317 |
buildFromSpec:aSpec |
176 | 318 |
^ self subclassResponsibility |
408 | 319 |
! |
320 |
||
321 |
makeTabable:aComponent |
|
322 |
focusSequence isNil ifTrue:[ |
|
323 |
focusSequence := OrderedCollection new. |
|
324 |
]. |
|
325 |
focusSequence add:aComponent |
|
66 | 326 |
! ! |
100 | 327 |
|
586 | 328 |
!WindowBuilder methodsFor:'message sending'! |
329 |
||
330 |
safelyPerform:aSelector |
|
331 |
"send the message aSelector to the receiver self or application; |
|
332 |
the result returned from the send or nil is returned |
|
333 |
" |
|
334 |
|res| |
|
335 |
||
595 | 336 |
aSelector isSymbol ifTrue:[ |
337 |
Object messageNotUnderstoodSignal handle:[:ex | |
|
338 |
] do:[ |
|
339 |
(res := self perform:aSelector) notNil ifTrue:[^ res] |
|
340 |
]. |
|
341 |
||
342 |
application notNil ifTrue:[ |
|
343 |
Object messageNotUnderstoodSignal handle:[:ex | |
|
344 |
] do:[ |
|
345 |
(res := application perform:aSelector) notNil ifTrue:[^ res] |
|
346 |
] |
|
586 | 347 |
] |
348 |
]. |
|
595 | 349 |
^ nil |
586 | 350 |
! |
351 |
||
352 |
safelyPerform:aSelector with:anArgument |
|
353 |
"send the one-arg-message aSelector to the receiver self or application; |
|
354 |
the result returned from the send or nil is returned |
|
355 |
" |
|
356 |
|res| |
|
357 |
||
595 | 358 |
aSelector isSymbol ifTrue:[ |
359 |
Object messageNotUnderstoodSignal handle:[:ex | |
|
360 |
] do:[ |
|
361 |
(res := self perform:aSelector with:anArgument) notNil ifTrue:[^ res] |
|
362 |
]. |
|
363 |
||
364 |
application notNil ifTrue:[ |
|
365 |
Object messageNotUnderstoodSignal handle:[:ex | |
|
366 |
] do:[ |
|
367 |
(res := application perform:aSelector with:anArgument) notNil ifTrue:[^ res] |
|
368 |
] |
|
586 | 369 |
] |
370 |
]. |
|
595 | 371 |
^ nil |
586 | 372 |
! ! |
373 |
||
422 | 374 |
!WindowBuilder methodsFor:'spec creation aspect fetch'! |
100 | 375 |
|
374 | 376 |
actionFor:aKey |
450 | 377 |
"return an action for aKey. This is invoked during window building |
378 |
(by the builder) to ask for an ActionButtons actionBlock. |
|
379 |
Here, first the local bindings are searched, then the application and |
|
380 |
finally the applications class is asked for a corresponding action. |
|
381 |
The returned object is typically a block." |
|
382 |
||
434 | 383 |
|b| |
384 |
||
385 |
bindings notNil ifTrue:[ |
|
386 |
b := bindings at:aKey ifAbsent:nil. |
|
387 |
b notNil ifTrue:[^ b]. |
|
388 |
]. |
|
389 |
||
374 | 390 |
application notNil ifTrue:[ |
577 | 391 |
Object messageNotUnderstoodSignal handle:[:ex | |
392 |
Transcript showCR:'not understood: ' , aKey. |
|
393 |
] do:[ |
|
450 | 394 |
^ application actionFor:aKey |
395 |
] |
|
374 | 396 |
]. |
422 | 397 |
applicationClass notNil ifTrue:[ |
424 | 398 |
(applicationClass respondsTo:#actionFor:) ifTrue:[ |
399 |
^ applicationClass actionFor:aKey |
|
400 |
] |
|
422 | 401 |
]. |
402 |
^ [] |
|
374 | 403 |
|
404 |
"Created: 17.1.1997 / 21:08:22 / cg" |
|
405 |
! |
|
406 |
||
407 |
aspectFor:aKey |
|
450 | 408 |
"return a model for aKey. This is invoked during window building |
409 |
(by the builder) to ask for an Editfields, a Toggles etc. model. |
|
410 |
Here, first the local bindings are searched, then the application and |
|
411 |
finally the applications class is asked for a corresponding action. |
|
412 |
The returned object is typically a valueHolder." |
|
413 |
||
434 | 414 |
|b| |
415 |
||
416 |
bindings notNil ifTrue:[ |
|
417 |
b := bindings at:aKey ifAbsent:nil. |
|
418 |
b notNil ifTrue:[^ b]. |
|
419 |
]. |
|
420 |
||
374 | 421 |
application notNil ifTrue:[ |
577 | 422 |
Object messageNotUnderstoodSignal handle:[:ex | |
423 |
Transcript showCR:'not understood: ' , aKey. |
|
424 |
] do:[ |
|
450 | 425 |
^ application aspectFor:aKey |
426 |
] |
|
374 | 427 |
]. |
422 | 428 |
applicationClass notNil ifTrue:[ |
424 | 429 |
(applicationClass respondsTo:#aspectFor:) ifTrue:[ |
430 |
^ applicationClass aspectFor:aKey |
|
431 |
] |
|
422 | 432 |
]. |
374 | 433 |
^ self aspectAt:aKey |
434 |
||
435 |
"Created: 17.1.1997 / 21:06:16 / cg" |
|
436 |
! |
|
437 |
||
423 | 438 |
componentFor:aKey |
450 | 439 |
"return a component for aKey. This is invoked during window building |
440 |
(by the builder) to ask for an ArbitraryComponents view. |
|
441 |
Here, first the local bindings are searched, then the application and |
|
442 |
finally the applications class is asked for a corresponding action. |
|
443 |
The returned object is typically a view." |
|
444 |
||
423 | 445 |
|cls| |
446 |
||
447 |
application notNil ifTrue:[ |
|
577 | 448 |
Object messageNotUnderstoodSignal handle:[:ex | |
449 |
Transcript showCR:'not understood: ' , aKey. |
|
450 |
] do:[ |
|
450 | 451 |
^ application componentFor:aKey |
452 |
] |
|
423 | 453 |
]. |
454 |
applicationClass notNil ifTrue:[ |
|
424 | 455 |
(applicationClass respondsTo:#componentFor:) ifTrue:[ |
456 |
^ applicationClass componentFor:aKey |
|
457 |
] |
|
423 | 458 |
]. |
459 |
^ self aspectAt:aKey |
|
460 |
||
461 |
! |
|
462 |
||
422 | 463 |
labelFor:aKey |
450 | 464 |
"return a label for aKey. This is invoked during window building |
465 |
(by the builder) to ask for a ???'s label. |
|
466 |
Here, first the local bindings are searched, then the application and |
|
467 |
finally the applications class is asked for a corresponding action. |
|
468 |
The returned object is typically a string." |
|
469 |
||
422 | 470 |
|cls| |
471 |
||
472 |
application notNil ifTrue:[ |
|
577 | 473 |
Object messageNotUnderstoodSignal handle:[:ex | |
474 |
Transcript showCR:'not understood: ' , aKey. |
|
475 |
] do:[ |
|
450 | 476 |
^ application labelFor:aKey |
477 |
] |
|
422 | 478 |
]. |
479 |
applicationClass notNil ifTrue:[ |
|
424 | 480 |
(applicationClass respondsTo:#labelFor:) ifTrue:[ |
481 |
^ applicationClass labelFor:aKey |
|
482 |
] |
|
422 | 483 |
]. |
484 |
^ self aspectAt:aKey |
|
485 |
||
486 |
! |
|
487 |
||
488 |
listFor:aKey |
|
450 | 489 |
"return a list for aKey. This is invoked during window building |
490 |
(by the builder) to ask for a ???'s label. |
|
491 |
Here, first the local bindings are searched, then the application and |
|
492 |
finally the applications class is asked for a corresponding action. |
|
493 |
The returned object is typically a list." |
|
494 |
||
422 | 495 |
application notNil ifTrue:[ |
577 | 496 |
Object messageNotUnderstoodSignal handle:[:ex | |
497 |
Transcript showCR:'not understood: ' , aKey. |
|
498 |
] do:[ |
|
450 | 499 |
^ application listFor:aKey |
500 |
] |
|
422 | 501 |
]. |
502 |
applicationClass notNil ifTrue:[ |
|
424 | 503 |
(applicationClass respondsTo:#listFor:) ifTrue:[ |
504 |
^ applicationClass listFor:aKey |
|
505 |
] |
|
422 | 506 |
]. |
507 |
^ self aspectAt:aKey |
|
508 |
||
509 |
"Created: 17.1.1997 / 21:08:45 / cg" |
|
510 |
! ! |
|
511 |
||
512 |
!WindowBuilder methodsFor:'spec creation callbacks'! |
|
513 |
||
100 | 514 |
createdComponent:aView forSpec:spec |
410 | 515 |
componentCreationHook notNil ifTrue:[ |
516 |
componentCreationHook value:aView value:spec value:self |
|
517 |
] |
|
100 | 518 |
|
519 |
"Modified: 5.9.1995 / 21:42:54 / claus" |
|
520 |
! ! |
|
521 |
||
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
522 |
!WindowBuilder methodsFor:'startup'! |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
523 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
524 |
closeRequest |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
525 |
window destroy |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
526 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
527 |
"Modified: 17.1.1997 / 19:30:32 / cg" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
528 |
! |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
529 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
530 |
open |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
531 |
"open my topView, as previously created" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
532 |
|
477 | 533 |
|type| |
534 |
||
535 |
application isNil ifTrue:[ |
|
536 |
type := #normal |
|
537 |
] ifFalse:[ |
|
538 |
type := application defaultWindowType |
|
539 |
]. |
|
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
540 |
self |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
541 |
openWithExtent:nil |
477 | 542 |
andType:type |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
543 |
|
477 | 544 |
"Modified: 3.3.1997 / 19:43:57 / cg" |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
545 |
! |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
546 |
|
428 | 547 |
openAt:aPoint |
548 |
"open my topView at some location" |
|
549 |
||
550 |
self |
|
467 | 551 |
openAt:aPoint |
552 |
withExtent:nil |
|
428 | 553 |
andType:(application defaultWindowType) |
554 |
||
555 |
"Created: 14.2.1997 / 20:21:57 / cg" |
|
467 | 556 |
"Modified: 28.2.1997 / 22:50:29 / cg" |
428 | 557 |
! |
558 |
||
436 | 559 |
openAt:origin withExtent:ext andType:type |
428 | 560 |
"open my window, as previously created, optionally defining the |
561 |
windows origin and/or extent. |
|
562 |
The type argument may be #dialog or #normal, and specifies if the view |
|
563 |
should be opened as a modal view, blocking interaction to the currently |
|
564 |
active view, or as a normal view." |
|
565 |
||
480 | 566 |
|mainSubView| |
567 |
||
428 | 568 |
origin notNil ifTrue:[ |
569 |
window origin:origin |
|
570 |
]. |
|
571 |
ext notNil ifTrue:[ |
|
480 | 572 |
window extent:ext. |
573 |
] ifFalse:[ |
|
574 |
type == #dialog ifTrue:[ |
|
575 |
window fixSize |
|
576 |
] |
|
577 |
]. |
|
578 |
||
579 |
(windowView notNil and:[windowView ~~ window]) ifTrue:[ |
|
580 |
windowView extent:(window extent). |
|
428 | 581 |
]. |
582 |
||
583 |
type == #dialog ifTrue:[ |
|
467 | 584 |
window fixPosition:(window device pointerPosition - window positionOffset). |
428 | 585 |
window openModal. |
586 |
^ self |
|
587 |
]. |
|
588 |
||
589 |
type == #normal ifTrue:[ |
|
480 | 590 |
window isNil ifTrue:[ |
591 |
self setupWindowFor:(StandardSystemView new). |
|
592 |
]. |
|
593 |
||
428 | 594 |
window open. |
595 |
^ self |
|
596 |
]. |
|
597 |
||
598 |
type == #popUp ifTrue:[ |
|
467 | 599 |
window fixPosition:(window device pointerPosition). |
600 |
window openAsPopUp. |
|
428 | 601 |
^ self |
602 |
]. |
|
603 |
||
604 |
" |
|
605 |
if ST-80 supports more types - these may be added later |
|
606 |
" |
|
607 |
self halt:'unimplemented' |
|
608 |
||
609 |
"Created: 14.2.1997 / 20:22:24 / cg" |
|
480 | 610 |
"Modified: 3.3.1997 / 22:27:52 / cg" |
428 | 611 |
! |
612 |
||
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
613 |
openDialog |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
614 |
"open my topView, as previously created as a modal view, |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
615 |
blocking interaction to the currently active view." |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
616 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
617 |
self |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
618 |
openWithExtent:nil |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
619 |
andType:#dialog |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
620 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
621 |
"Modified: 17.1.1997 / 19:59:29 / cg" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
622 |
! |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
623 |
|
428 | 624 |
openDialogAt:aPoint withExtent:ext |
625 |
"open my topView, as previously created as a modal view, |
|
626 |
blocking interaction to the currently active view." |
|
627 |
||
628 |
self |
|
629 |
openAt:aPoint withExtent:ext |
|
630 |
andType:#dialog |
|
631 |
||
632 |
"Modified: 17.1.1997 / 19:59:36 / cg" |
|
633 |
"Created: 14.2.1997 / 20:24:19 / cg" |
|
634 |
! |
|
635 |
||
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
636 |
openDialogWithExtent:ext |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
637 |
"open my topView, as previously created as a modal view, |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
638 |
blocking interaction to the currently active view." |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
639 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
640 |
self |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
641 |
openWithExtent:ext |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
642 |
andType:#dialog |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
643 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
644 |
"Modified: 17.1.1997 / 19:59:36 / cg" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
645 |
! |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
646 |
|
428 | 647 |
openPopUpAt:aPoint |
648 |
"open my topView, as previously created as a popUp view, |
|
649 |
blocking interaction to the currently active view." |
|
650 |
||
651 |
self |
|
652 |
openAt:aPoint withExtent:nil |
|
653 |
andType:#popUp |
|
654 |
||
655 |
"Modified: 17.1.1997 / 19:59:29 / cg" |
|
656 |
"Created: 14.2.1997 / 20:24:38 / cg" |
|
657 |
! |
|
658 |
||
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
659 |
openPopUpIn:aRectangle |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
660 |
"open my topView, as previously created as a popUp view, |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
661 |
blocking interaction to the currently active view." |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
662 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
663 |
self |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
664 |
openWithExtent:nil |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
665 |
andType:#popUp |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
666 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
667 |
"Modified: 17.1.1997 / 19:59:29 / cg" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
668 |
"Created: 17.1.1997 / 20:01:24 / cg" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
669 |
! |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
670 |
|
587 | 671 |
openWindowAt:aPoint |
672 |
"open my topView at some location" |
|
673 |
||
674 |
self openAt:aPoint |
|
675 |
! |
|
676 |
||
677 |
openWindowAt:origin withExtent:ext andType:type |
|
678 |
"open my window, as previously created, optionally defining the |
|
679 |
windows origin and/or extent. |
|
680 |
The type argument may be #dialog or #normal, and specifies if the view |
|
681 |
should be opened as a modal view, blocking interaction to the currently |
|
682 |
active view, or as a normal view." |
|
683 |
||
684 |
^ self openAt:origin withExtent:ext andType:type |
|
685 |
! |
|
686 |
||
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
687 |
openWithExtent:aPoint |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
688 |
"open my topView, as previously created, but override |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
689 |
the extent." |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
690 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
691 |
self |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
692 |
openWithExtent:aPoint |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
693 |
andType:(application defaultWindowType) |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
694 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
695 |
"Modified: 17.1.1997 / 19:58:48 / cg" |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
696 |
! |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
697 |
|
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
698 |
openWithExtent:ext andType:type |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
699 |
"open my window, as previously created. The type argument |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
700 |
may be #dialog or #normal, and specifies if the view should |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
701 |
be opened as a modal view, blocking interaction to the currently |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
702 |
active view, or as a normal view." |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
703 |
|
428 | 704 |
^ self openAt:nil withExtent:ext andType:type |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
705 |
|
428 | 706 |
"Modified: 14.2.1997 / 20:22:47 / cg" |
372
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
707 |
! ! |
6d7718f3d298
more ST-80 compatibility stuff
Claus Gittinger <cg@exept.de>
parents:
223
diff
changeset
|
708 |
|
132 | 709 |
!WindowBuilder class methodsFor:'documentation'! |
710 |
||
711 |
version |
|
600 | 712 |
^ '$Header: /cvs/stx/stx/libview2/WindowBuilder.st,v 1.39 1997-06-16 16:53:35 ca Exp $' |
132 | 713 |
! ! |