author | tz |
Wed, 11 Mar 1998 01:41:25 +0100 | |
changeset 720 | 7f228c9cde2e |
parent 711 | e88e6d2e2809 |
child 726 | 2a09f1934fa5 |
permissions | -rw-r--r-- |
93 | 1 |
" |
182 | 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 |
ApplicationModel subclass:#UISelectionPanel |
|
16 |
instanceVariableNames:'userClass userSpecs userLabels majorSelection clipBoardSpec' |
|
17 |
classVariableNames:'UserClass UserSpecs UserLabels' |
|
18 |
poolDictionaries:'' |
|
19 |
category:'Interface-UIPainter' |
|
20 |
! |
|
21 |
||
387
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
22 |
Object subclass:#UserDefinedGallery |
207
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
23 |
instanceVariableNames:'' |
387
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
24 |
classVariableNames:'LabelList SelectorList HolderList NextUniqueNumber' |
207
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
25 |
poolDictionaries:'' |
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
26 |
privateIn:UISelectionPanel |
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
27 |
! |
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
28 |
|
182 | 29 |
!UISelectionPanel class methodsFor:'documentation'! |
30 |
||
31 |
copyright |
|
32 |
" |
|
33 |
COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG |
|
93 | 34 |
All Rights Reserved |
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 |
! |
|
46 |
||
47 |
documentation |
|
48 |
" |
|
49 |
implements a selection panel, keeping widgets which could be placed |
|
50 |
into the UIPainter by drag & drop. |
|
51 |
||
182 | 52 |
[start with:] |
53 |
UISelectionPanel open |
|
54 |
||
93 | 55 |
[author:] |
182 | 56 |
Claus Gittinger |
93 | 57 |
Claus Atzkern |
58 |
||
59 |
[see also:] |
|
60 |
TabView |
|
182 | 61 |
NoteBookView |
62 |
UIGalleryView |
|
93 | 63 |
UIPainter |
104 | 64 |
|
93 | 65 |
" |
66 |
||
67 |
! ! |
|
68 |
||
207
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
69 |
!UISelectionPanel class methodsFor:'initialization'! |
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
70 |
|
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
71 |
initialize |
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
72 |
super initialize. |
387
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
73 |
UserClass := UISelectionPanel::UserDefinedGallery. |
207
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
74 |
UserSpecs := #listOfSelectors. |
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
75 |
UserLabels := #listOfLabels. |
387
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
76 |
|
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
77 |
"Modified: / 8.12.1997 / 18:53:06 / cg" |
207
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
78 |
! ! |
a31cc933368a
set user defined specification during initialization of class
ca
parents:
190
diff
changeset
|
79 |
|
182 | 80 |
!UISelectionPanel class methodsFor:'accessing'! |
93 | 81 |
|
182 | 82 |
specifications |
112 | 83 |
|
182 | 84 |
^ #( |
190 | 85 |
#( 'Standards' #( |
677 | 86 |
#('Buttons' standardButtons) |
87 |
#('Menus' standardMenus) |
|
88 |
#('Texts' standardTexts) |
|
89 |
#('Lists' standardLists) |
|
90 |
#('Groups' standardGroups) |
|
91 |
#('Misc' standardMisc) |
|
182 | 92 |
) |
93 |
) |
|
93 | 94 |
|
671 | 95 |
#( 'Clipboard' #( |
182 | 96 |
#('Copy & Paste Buffer' clipBoardSpec) |
97 |
) |
|
98 |
) |
|
135 | 99 |
|
302 | 100 |
#( 'User Def.' #userDefined ) |
182 | 101 |
) |
387
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
102 |
! |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
103 |
|
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
104 |
userClass |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
105 |
"return the class which provides the user defined gallery specs." |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
106 |
|
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
107 |
^ UserClass |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
108 |
|
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
109 |
"Created: / 5.12.1997 / 15:12:50 / cg" |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
110 |
! |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
111 |
|
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
112 |
userClass:aClass specSelector:aSpecAccessSelector labelSelector:aLabelListAccessSelector |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
113 |
"change the class which provides the user defined gallery specs." |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
114 |
|
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
115 |
UserClass := aClass. |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
116 |
UserSpecs := aSpecAccessSelector. |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
117 |
UserLabels := aLabelListAccessSelector. |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
118 |
|
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
119 |
" |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
120 |
UISelectionPanel |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
121 |
userClass:UISelectionPanel::VariableUserDefinedGallery |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
122 |
specSelector:#listOfSelectors |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
123 |
labelSelector:#listOfLabels |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
124 |
" |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
125 |
|
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
126 |
"Modified: / 5.12.1997 / 13:54:47 / cg" |
8fa6afe1b929
allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents:
359
diff
changeset
|
127 |
"Created: / 5.12.1997 / 13:56:10 / cg" |
93 | 128 |
! ! |
129 |
||
182 | 130 |
!UISelectionPanel class methodsFor:'interface specification'! |
93 | 131 |
|
182 | 132 |
nameAndSelectorSpec |
93 | 133 |
"this window spec was automatically generated by the ST/X UIPainter" |
134 |
||
135 |
"do not manually edit this - the painter/builder may not be able to |
|
136 |
handle the specification if its corrupted." |
|
137 |
||
138 |
" |
|
182 | 139 |
UIPainter new openOnClass:UISelectionPanel andSelector:#nameAndSelectorSpec |
140 |
UISelectionPanel new openInterface:#nameAndSelectorSpec |
|
141 |
" |
|
142 |
||
143 |
<resource: #canvas> |
|
144 |
||
145 |
^ |
|
146 |
||
147 |
#(#FullSpec |
|
658 | 148 |
#window: |
182 | 149 |
#(#WindowSpec |
658 | 150 |
#name: 'uIPainterView' |
151 |
#layout: #(#LayoutFrame 110 0 366 0 424 0 581 0) |
|
152 |
#label: 'Painter' |
|
153 |
#min: #(#Point 10 10) |
|
154 |
#max: #(#Point 1280 1024) |
|
155 |
#bounds: #(#Rectangle 110 366 425 582) |
|
156 |
#usePreferredExtent: false |
|
182 | 157 |
) |
658 | 158 |
#component: |
182 | 159 |
#(#SpecCollection |
658 | 160 |
#collection: |
182 | 161 |
#( |
162 |
#(#LabelSpec |
|
658 | 163 |
#name: 'title' |
164 |
#layout: #(#Point 5 10) |
|
165 |
#label: 'Class & selectors to access user specs:' |
|
166 |
#adjust: #left |
|
167 |
#resizeForLabel: true |
|
182 | 168 |
) |
169 |
#(#LabelSpec |
|
658 | 170 |
#name: 'classLabel' |
171 |
#layout: #(#AlignmentOrigin 68 0.11 51 0 1 0.5) |
|
172 |
#label: 'Class:' |
|
173 |
#adjust: #right |
|
174 |
#resizeForLabel: true |
|
182 | 175 |
) |
176 |
#(#InputFieldSpec |
|
658 | 177 |
#name: 'classField' |
178 |
#layout: #(#LayoutFrame 74 0.11 39 0 -5 1.0 61 0) |
|
179 |
#tabable: true |
|
180 |
#model: #className |
|
181 |
#type: #string |
|
182 | 182 |
) |
183 |
#(#LabelSpec |
|
658 | 184 |
#name: 'labelsLabel' |
185 |
#layout: #(#AlignmentOrigin 68 0.11 74 0 1 0.5) |
|
186 |
#label: 'Labels:' |
|
187 |
#adjust: #right |
|
188 |
#resizeForLabel: true |
|
182 | 189 |
) |
190 |
#(#InputFieldSpec |
|
658 | 191 |
#name: 'labelsField' |
192 |
#layout: #(#LayoutFrame 74 0.11 64 0 -5 1.0 86 0) |
|
193 |
#tabable: true |
|
194 |
#model: #labelsKey |
|
195 |
#type: #symbolOrNil |
|
196 |
) |
|
197 |
#(#LabelSpec |
|
198 |
#name: 'specsLabel' |
|
199 |
#layout: #(#AlignmentOrigin 68 0.11 99 0 1 0.5) |
|
200 |
#label: 'Specifications:' |
|
201 |
#adjust: #right |
|
202 |
#resizeForLabel: true |
|
203 |
) |
|
204 |
#(#InputFieldSpec |
|
205 |
#name: 'specsField' |
|
206 |
#layout: #(#LayoutFrame 74 0.11 89 0 -5 1.0 111 0) |
|
207 |
#tabable: true |
|
208 |
#model: #specsKey |
|
209 |
#type: #symbolOrNil |
|
182 | 210 |
) |
211 |
#(#HorizontalPanelViewSpec |
|
658 | 212 |
#name: 'commitPanel' |
213 |
#layout: #(#LayoutFrame 0 0.0 -23 1.0 0 1.0 0 1.0) |
|
214 |
#component: |
|
182 | 215 |
#(#SpecCollection |
658 | 216 |
#collection: |
182 | 217 |
#( |
218 |
#(#ActionButtonSpec |
|
658 | 219 |
#name: 'cancel' |
220 |
#label: 'cancel' |
|
221 |
#tabable: true |
|
222 |
#model: #cancel |
|
223 |
#extent: #(#Point 153 23) |
|
182 | 224 |
) |
225 |
#(#ActionButtonSpec |
|
658 | 226 |
#name: 'accept' |
227 |
#label: 'ok' |
|
228 |
#tabable: true |
|
229 |
#model: #accept |
|
230 |
#isDefault: true |
|
231 |
#extent: #(#Point 153 23) |
|
182 | 232 |
) |
233 |
) |
|
234 |
) |
|
658 | 235 |
#horizontalLayout: #fitSpace |
236 |
#verticalLayout: #fit |
|
237 |
#horizontalSpace: 3 |
|
238 |
#verticalSpace: 3 |
|
182 | 239 |
) |
240 |
#(#CheckBoxSpec |
|
658 | 241 |
#name: 'updateDefaultResources' |
242 |
#layout: #(#Point 5 133) |
|
243 |
#model: #updateDefaultResources |
|
244 |
#label: 'Update Default Resources' |
|
182 | 245 |
) |
246 |
) |
|
247 |
) |
|
248 |
) |
|
249 |
! |
|
250 |
||
251 |
windowSpec |
|
252 |
"this window spec was automatically generated by the ST/X UIPainter" |
|
253 |
||
254 |
"do not manually edit this - the painter/builder may not be able to |
|
255 |
handle the specification if its corrupted." |
|
256 |
||
257 |
" |
|
258 |
UIPainter new openOnClass:UISelectionPanel andSelector:#windowSpec |
|
259 |
UISelectionPanel new openInterface:#windowSpec |
|
260 |
" |
|
261 |
"UISelectionPanel open" |
|
262 |
||
263 |
<resource: #canvas> |
|
264 |
||
265 |
^ |
|
266 |
||
267 |
#(#FullSpec |
|
268 |
#'window:' |
|
269 |
#(#WindowSpec |
|
671 | 270 |
#'name:' 'Widget Gallery' |
302 | 271 |
#'layout:' #(#LayoutFrame 78 0 70 0 598 0 352 0) |
671 | 272 |
#'label:' 'Widget Gallery' |
302 | 273 |
#'min:' #(#Point 100 280) |
274 |
#'max:' #(#Point 1160 870) |
|
275 |
#'bounds:' #(#Rectangle 78 70 599 353) |
|
182 | 276 |
) |
277 |
#'component:' |
|
278 |
#(#SpecCollection |
|
279 |
#'collection:' |
|
280 |
#( |
|
281 |
#(#UIGalleryViewSpec |
|
282 |
#'name:' 'gallery' |
|
283 |
#'layout:' #(#LayoutFrame 0 0.0 0 0.0 -40 1.0 0 1.0) |
|
284 |
#'tabable:' true |
|
285 |
#'menu:' #galleryList |
|
286 |
#'style:' |
|
287 |
#(#FontDescription |
|
288 |
#helvetica #medium |
|
289 |
#roman #'10' |
|
290 |
) |
|
291 |
#'model:' #galleryModel |
|
302 | 292 |
#'useIndex:' true |
182 | 293 |
#'minorKeys:' #minorKeys |
294 |
#'clientSpec:' #clientSpec |
|
295 |
#'raiseMenu:' #raiseMenu |
|
296 |
) |
|
297 |
#(#TabViewSpec |
|
298 |
#'name:' 'major' |
|
299 |
#'layout:' #(#LayoutFrame -40 1.0 30 0.0 0 1.0 0 1.0) |
|
300 |
#'menu:' #majorList |
|
301 |
#'style:' |
|
302 |
#(#FontDescription |
|
303 |
#helvetica #medium |
|
304 |
#roman #'10' |
|
305 |
) |
|
306 |
#'model:' #majorChannel |
|
307 |
#'direction:' #right |
|
308 |
#'useIndex:' true |
|
309 |
) |
|
310 |
) |
|
311 |
) |
|
312 |
) |
|
313 |
! ! |
|
314 |
||
315 |
!UISelectionPanel class methodsFor:'menus'! |
|
316 |
||
317 |
menuSelected |
|
359 | 318 |
|
319 |
<resource: #menu> |
|
320 |
||
182 | 321 |
^ #(#Menu #( |
322 |
#(#MenuItem |
|
323 |
#'label:' 'copy' |
|
324 |
#'value:' #copy |
|
325 |
) |
|
326 |
#(#MenuItem |
|
327 |
#'label:' 'cut' |
|
328 |
#'value:' #cut |
|
329 |
) |
|
330 |
) |
|
331 |
nil |
|
332 |
nil |
|
333 |
) |
|
334 |
||
359 | 335 |
"Modified: / 29.10.1997 / 03:20:30 / cg" |
182 | 336 |
! |
337 |
||
338 |
menuUnselected |
|
359 | 339 |
<resource: #menu> |
340 |
||
182 | 341 |
^ #(#Menu #( |
342 |
#(#MenuItem |
|
343 |
#'label:' 'paste' |
|
344 |
#'value:' #paste |
|
345 |
) |
|
346 |
) |
|
347 |
nil |
|
348 |
nil |
|
349 |
) |
|
350 |
||
359 | 351 |
"Modified: / 29.10.1997 / 03:20:38 / cg" |
182 | 352 |
! ! |
353 |
||
190 | 354 |
!UISelectionPanel class methodsFor:'standard specifications'! |
182 | 355 |
|
677 | 356 |
standardButtons |
182 | 357 |
"this window spec was automatically generated by the ST/X UIPainter" |
358 |
||
359 |
"do not manually edit this - the painter/builder may not be able to |
|
360 |
handle the specification if its corrupted." |
|
361 |
||
362 |
" |
|
677 | 363 |
UIPainter new openOnClass:UISelectionPanel andSelector:#standardButtons |
364 |
UISelectionPanel new openInterface:#standardButtons |
|
658 | 365 |
" |
366 |
||
367 |
<resource: #canvas> |
|
368 |
||
369 |
^ |
|
370 |
||
371 |
#(#FullSpec |
|
372 |
#window: |
|
373 |
#(#WindowSpec |
|
677 | 374 |
#name: 'Buttons' |
711 | 375 |
#layout: #(#LayoutFrame 72 0 301 0 550 0 504 0) |
677 | 376 |
#label: 'Buttons' |
377 |
#min: #(#Point 10 10) |
|
378 |
#max: #(#Point 1280 1024) |
|
711 | 379 |
#bounds: #(#Rectangle 72 301 551 505) |
677 | 380 |
#usePreferredExtent: false |
381 |
) |
|
382 |
#component: |
|
383 |
#(#SpecCollection |
|
384 |
#collection: |
|
385 |
#( |
|
386 |
#(#ActionButtonSpec |
|
387 |
#name: 'Button' |
|
388 |
#layout: #(#LayoutFrame 15 0 15 0 140 0 37 0) |
|
389 |
#label: 'Button' |
|
390 |
) |
|
391 |
#(#ActionButtonSpec |
|
392 |
#name: 'Button - OK' |
|
393 |
#layout: #(#LayoutFrame 15 0 47 0 140 0 69 0) |
|
394 |
#label: 'OK' |
|
395 |
#model: #accept |
|
396 |
) |
|
397 |
#(#ActionButtonSpec |
|
398 |
#name: 'Button - Cancel' |
|
399 |
#layout: #(#LayoutFrame 15 0 79 0 140 0 101 0) |
|
400 |
#label: 'Cancel' |
|
401 |
#model: #cancel |
|
402 |
) |
|
403 |
#(#ActionButtonSpec |
|
404 |
#name: 'Button - Help' |
|
405 |
#layout: #(#LayoutFrame 15 0 111 0 140 0 133 0) |
|
406 |
#label: 'Help' |
|
407 |
#model: #help |
|
408 |
) |
|
409 |
#(#ActionButtonSpec |
|
410 |
#name: 'Button - Close' |
|
411 |
#layout: #(#LayoutFrame 15 0 143 0 140 0 165 0) |
|
412 |
#label: 'Close' |
|
413 |
#model: #closeRequest |
|
414 |
) |
|
415 |
#(#ToggleSpec |
|
416 |
#name: 'Toggle' |
|
417 |
#layout: #(#LayoutFrame 157 0 15 0 293 0 37 0) |
|
418 |
#label: 'Toggle' |
|
419 |
#isTriggerOnDown: true |
|
420 |
#showLamp: true |
|
421 |
#lampColor: #(#Color 100.0 100.0 0.0) |
|
422 |
) |
|
423 |
#(#RadioButtonSpec |
|
424 |
#name: 'RadioButton' |
|
425 |
#layout: #(#LayoutFrame 157 0.0 47 0 293 0 69 0) |
|
711 | 426 |
#label: 'Radio Button' |
677 | 427 |
#isTriggerOnDown: true |
428 |
#showLamp: true |
|
429 |
#lampColor: #(#Color 100.0 100.0 0.0) |
|
430 |
) |
|
431 |
#(#CheckBoxSpec |
|
432 |
#name: 'CheckBox' |
|
433 |
#layout: #(#LayoutFrame 157 0 79 0 293 0 101 0) |
|
711 | 434 |
#label: 'Check Box' |
677 | 435 |
) |
436 |
#(#CheckToggleSpec |
|
437 |
#name: 'CheckToggle' |
|
438 |
#layout: #(#LayoutFrame 157 0 111 0 176 0 130 0) |
|
439 |
#isTriggerOnDown: true |
|
440 |
#showLamp: false |
|
441 |
#lampColor: #(#Color 100.0 100.0 0.0) |
|
442 |
) |
|
443 |
#(#LabelSpec |
|
444 |
#name: 'CheckToggleLabel' |
|
445 |
#layout: #(#AlignmentOrigin 182 0 115 0 0 0) |
|
711 | 446 |
#label: 'Check Toggle' |
677 | 447 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
448 |
#adjust: #left |
|
449 |
#resizeForLabel: true |
|
450 |
#canUIDrag: false |
|
451 |
) |
|
452 |
#(#ButtonSpec |
|
711 | 453 |
#name: 'Model Button' |
677 | 454 |
#layout: #(#LayoutFrame 309 0 15 0 444 0 37 0) |
711 | 455 |
#label: 'Model Button' |
677 | 456 |
) |
457 |
#(#LabelSpec |
|
458 |
#name: 'UpDownButtonLabel' |
|
459 |
#layout: #(#AlignmentOrigin 309 0 54 0 0 0) |
|
711 | 460 |
#label: 'UpDown Button' |
677 | 461 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
462 |
#adjust: #left |
|
463 |
#resizeForLabel: true |
|
464 |
#canUIDrag: false |
|
465 |
) |
|
466 |
#(#UpDownButtonSpec |
|
467 |
#name: 'UpDownButton' |
|
681 | 468 |
#layout: #(#LayoutFrame 422 0 47 0 444 0 91 0) |
677 | 469 |
) |
470 |
#(#LabelSpec |
|
471 |
#name: 'ArrowButtonsLabel' |
|
472 |
#layout: #(#AlignmentOrigin 309 0 86 0 0 0) |
|
711 | 473 |
#label: 'Arrow Buttons' |
677 | 474 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
475 |
#adjust: #left |
|
476 |
#resizeForLabel: true |
|
477 |
#canUIDrag: false |
|
478 |
) |
|
479 |
#(#ArrowButtonSpec |
|
480 |
#name: 'ArrowButton - Up' |
|
481 |
#layout: #(#LayoutFrame 309 0 111 0 331 0 133 0) |
|
482 |
#isTriggerOnDown: true |
|
483 |
#direction: #up |
|
484 |
) |
|
485 |
#(#ArrowButtonSpec |
|
486 |
#name: 'ArrowButton - Down' |
|
487 |
#layout: #(#LayoutFrame 347 0 111 0 369 0 133 0) |
|
488 |
#isTriggerOnDown: true |
|
489 |
#direction: #down |
|
490 |
) |
|
491 |
#(#ArrowButtonSpec |
|
492 |
#name: 'ArrowButton - Left' |
|
493 |
#layout: #(#LayoutFrame 385 0 111 0 407 0 133 0) |
|
494 |
#isTriggerOnDown: true |
|
495 |
#direction: #left |
|
496 |
) |
|
497 |
#(#ArrowButtonSpec |
|
498 |
#name: 'ArrowButton - Right' |
|
499 |
#layout: #(#LayoutFrame 422 0 111 0 444 0 133 0) |
|
500 |
#isTriggerOnDown: true |
|
501 |
#direction: #right |
|
502 |
) |
|
503 |
) |
|
504 |
) |
|
505 |
) |
|
506 |
! |
|
507 |
||
508 |
standardGraphs |
|
509 |
"this window spec was automatically generated by the ST/X UIPainter" |
|
510 |
||
511 |
"do not manually edit this - the painter/builder may not be able to |
|
512 |
handle the specification if its corrupted." |
|
513 |
||
514 |
" |
|
515 |
UIPainter new openOnClass:UISelectionPanel andSelector:#standardGraphs |
|
516 |
UISelectionPanel new openInterface:#standardGraphs |
|
517 |
" |
|
518 |
||
519 |
<resource: #canvas> |
|
520 |
||
521 |
^ |
|
522 |
||
523 |
#(#FullSpec |
|
524 |
#window: |
|
525 |
#(#WindowSpec |
|
526 |
#name: 'Graphs' |
|
527 |
#layout: #(#LayoutFrame 114 0 373 0 583 0 615 0) |
|
528 |
#label: 'Graphs' |
|
529 |
#min: #(#Point 10 10) |
|
530 |
#max: #(#Point 1280 1024) |
|
531 |
#bounds: #(#Rectangle 114 373 584 616) |
|
532 |
#usePreferredExtent: false |
|
533 |
) |
|
534 |
#component: |
|
535 |
#(#SpecCollection |
|
536 |
#collection: |
|
537 |
#( |
|
538 |
#(#GraphColumnView2DSpec |
|
539 |
#name: 'GraphColumnView2D' |
|
540 |
#layout: #(#LayoutFrame 15 0 15 0 220 0 110 0) |
|
541 |
#gridX: 0 |
|
542 |
#gridY: 0 |
|
543 |
) |
|
544 |
#(#LabelSpec |
|
545 |
#name: 'GraphColumnView2DLabel' |
|
546 |
#layout: #(#AlignmentOrigin 19 0 19 0 0 0) |
|
547 |
#label: 'GraphColumnViewView2D' |
|
548 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
|
549 |
#adjust: #left |
|
550 |
#resizeForLabel: true |
|
551 |
#canUIDrag: false |
|
552 |
) |
|
553 |
#(#GraphColumnView3DSpec |
|
554 |
#name: 'GraphColumnView3D' |
|
555 |
#layout: #(#LayoutFrame 240 0 15 0 445 0 110 0) |
|
556 |
) |
|
557 |
#(#LabelSpec |
|
558 |
#name: 'GraphColumnView3DLabel' |
|
559 |
#layout: #(#AlignmentOrigin 244 0 19 0 0 0) |
|
560 |
#label: 'GraphColumnViewView3D' |
|
561 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
|
562 |
#adjust: #left |
|
563 |
#resizeForLabel: true |
|
564 |
#canUIDrag: false |
|
565 |
) |
|
566 |
) |
|
567 |
) |
|
568 |
) |
|
569 |
! |
|
570 |
||
571 |
standardGroups |
|
572 |
"this window spec was automatically generated by the ST/X UIPainter" |
|
573 |
||
574 |
"do not manually edit this - the painter/builder may not be able to |
|
575 |
handle the specification if its corrupted." |
|
576 |
||
577 |
" |
|
578 |
UIPainter new openOnClass:UISelectionPanel andSelector:#standardGroups |
|
579 |
UISelectionPanel new openInterface:#standardGroups |
|
580 |
" |
|
581 |
||
582 |
<resource: #canvas> |
|
583 |
||
584 |
^ |
|
585 |
||
586 |
#(#FullSpec |
|
587 |
#window: |
|
588 |
#(#WindowSpec |
|
589 |
#name: 'Groups' |
|
711 | 590 |
#layout: #(#LayoutFrame 58 0 219 0 558 0 458 0) |
677 | 591 |
#label: 'Groups' |
658 | 592 |
#min: #(#Point 10 10) |
593 |
#max: #(#Point 1280 1024) |
|
711 | 594 |
#bounds: #(#Rectangle 58 219 559 459) |
658 | 595 |
#usePreferredExtent: false |
596 |
) |
|
597 |
#component: |
|
598 |
#(#SpecCollection |
|
599 |
#collection: |
|
600 |
#( |
|
601 |
#(#ViewSpec |
|
602 |
#name: 'Box' |
|
603 |
#layout: #(#LayoutFrame 15 0 15 0 220 0 110 0) |
|
604 |
) |
|
605 |
#(#LabelSpec |
|
606 |
#name: 'ViewLabel' |
|
607 |
#layout: #(#AlignmentOrigin 18 0 17 0 0 0) |
|
608 |
#label: 'Box' |
|
670 | 609 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 610 |
#adjust: #left |
611 |
#resizeForLabel: true |
|
612 |
#canUIDrag: false |
|
613 |
) |
|
614 |
#(#LabelSpec |
|
615 |
#name: 'VPanelLabel' |
|
616 |
#layout: #(#LayoutFrame 15 0 116 0 220 0 139 0) |
|
617 |
#label: 'Variable Panels' |
|
670 | 618 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 619 |
#adjust: #left |
620 |
#canUIDrag: false |
|
621 |
) |
|
622 |
#(#VariableHorizontalPanelSpec |
|
623 |
#name: 'VariableHorizontalPanel' |
|
624 |
#layout: #(#LayoutFrame 15 0 140 0 110 0 230 0) |
|
625 |
#component: |
|
626 |
#(#SpecCollection |
|
627 |
#collection: |
|
628 |
#( |
|
629 |
#(#LabelSpec |
|
630 |
#name: 'label4' |
|
631 |
#label: 'A' |
|
663 | 632 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 633 |
#level: 2 |
634 |
#canUIDrag: false |
|
635 |
) |
|
636 |
#(#LabelSpec |
|
637 |
#name: 'label5' |
|
638 |
#label: 'B' |
|
663 | 639 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 640 |
#level: 2 |
641 |
#canUIDrag: false |
|
642 |
) |
|
643 |
) |
|
644 |
) |
|
645 |
#handles: #(#Any 0.5 1.0) |
|
646 |
) |
|
647 |
#(#VariableVerticalPanelSpec |
|
648 |
#name: 'VariableVerticalPanel' |
|
649 |
#layout: #(#LayoutFrame 125 0 140 0 220 0 230 0) |
|
650 |
#component: |
|
651 |
#(#SpecCollection |
|
652 |
#collection: |
|
653 |
#( |
|
654 |
#(#LabelSpec |
|
655 |
#name: 'label9' |
|
656 |
#label: 'A' |
|
663 | 657 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 658 |
#level: 2 |
659 |
#canUIDrag: false |
|
660 |
) |
|
661 |
#(#LabelSpec |
|
662 |
#name: 'label10' |
|
663 |
#label: 'B' |
|
663 | 664 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 665 |
#level: 2 |
666 |
#canUIDrag: false |
|
667 |
) |
|
668 |
) |
|
669 |
) |
|
670 |
#handles: #(#Any 0.5 1.0) |
|
671 |
) |
|
672 |
#(#FramedBoxSpec |
|
673 |
#name: 'FramedBox' |
|
674 |
#layout: #(#LayoutFrame 240 0 15 0 445 0 110 0) |
|
711 | 675 |
#label: 'Framed Box' |
658 | 676 |
#labelPosition: #topLeft |
677 |
) |
|
678 |
#(#LabelSpec |
|
679 |
#name: 'PanelLabel' |
|
680 |
#layout: #(#LayoutFrame 240 0 116 0 445 0 139 0) |
|
681 |
#label: 'Panels' |
|
670 | 682 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 683 |
#adjust: #left |
684 |
#canUIDrag: false |
|
685 |
) |
|
686 |
#(#HorizontalPanelViewSpec |
|
687 |
#name: 'HorizontalPanelView' |
|
688 |
#layout: #(#LayoutFrame 240 0 140 0 324 0 230 0) |
|
689 |
#component: |
|
690 |
#(#SpecCollection |
|
691 |
#collection: |
|
692 |
#( |
|
693 |
#(#LabelSpec |
|
694 |
#name: 'label1' |
|
695 |
#label: 'A' |
|
663 | 696 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 697 |
#level: 2 |
698 |
#extent: #(#Point 23 23) |
|
699 |
#canUIDrag: false |
|
700 |
) |
|
701 |
#(#LabelSpec |
|
702 |
#name: 'label2' |
|
703 |
#label: 'B' |
|
663 | 704 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 705 |
#level: 2 |
706 |
#extent: #(#Point 23 23) |
|
707 |
#canUIDrag: false |
|
708 |
) |
|
709 |
#(#LabelSpec |
|
710 |
#name: 'label3' |
|
711 |
#label: 'C' |
|
663 | 712 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 713 |
#level: 2 |
714 |
#extent: #(#Point 23 23) |
|
715 |
#canUIDrag: false |
|
716 |
) |
|
717 |
) |
|
718 |
) |
|
719 |
#horizontalLayout: #center |
|
720 |
#verticalLayout: #center |
|
721 |
#horizontalSpace: 3 |
|
722 |
#verticalSpace: 3 |
|
723 |
) |
|
724 |
#(#VerticalPanelViewSpec |
|
725 |
#name: 'VerticalPanelView' |
|
726 |
#layout: #(#LayoutFrame 332 0 140 0 379 0 230 0) |
|
727 |
#component: |
|
728 |
#(#SpecCollection |
|
729 |
#collection: |
|
730 |
#( |
|
731 |
#(#LabelSpec |
|
732 |
#name: 'label6' |
|
733 |
#label: 'A' |
|
663 | 734 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 735 |
#level: 2 |
736 |
#extent: #(#Point 23 23) |
|
737 |
#canUIDrag: false |
|
738 |
) |
|
739 |
#(#LabelSpec |
|
740 |
#name: 'label7' |
|
741 |
#label: 'B' |
|
663 | 742 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 743 |
#level: 2 |
744 |
#extent: #(#Point 23 23) |
|
745 |
#canUIDrag: false |
|
746 |
) |
|
747 |
#(#LabelSpec |
|
748 |
#name: 'label8' |
|
749 |
#label: 'C' |
|
663 | 750 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 751 |
#level: 2 |
752 |
#extent: #(#Point 23 23) |
|
753 |
#canUIDrag: false |
|
754 |
) |
|
755 |
) |
|
756 |
) |
|
757 |
#horizontalLayout: #center |
|
758 |
#verticalLayout: #center |
|
759 |
#horizontalSpace: 3 |
|
760 |
#verticalSpace: 3 |
|
761 |
) |
|
762 |
#(#PanelViewSpec |
|
763 |
#name: 'PanelView' |
|
764 |
#layout: #(#LayoutFrame 387 0 140 0 445 0 230 0) |
|
765 |
#component: |
|
766 |
#(#SpecCollection |
|
767 |
#collection: |
|
768 |
#( |
|
769 |
#(#LabelSpec |
|
770 |
#name: 'label11' |
|
771 |
#label: 'A' |
|
663 | 772 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 773 |
#level: 2 |
774 |
#extent: #(#Point 23 23) |
|
775 |
#canUIDrag: false |
|
776 |
) |
|
777 |
#(#LabelSpec |
|
778 |
#name: 'label12' |
|
779 |
#label: 'B' |
|
663 | 780 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 781 |
#level: 2 |
782 |
#extent: #(#Point 23 23) |
|
783 |
#canUIDrag: false |
|
784 |
) |
|
785 |
#(#LabelSpec |
|
786 |
#name: 'label13' |
|
787 |
#label: 'C' |
|
663 | 788 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 789 |
#level: 2 |
790 |
#extent: #(#Point 23 23) |
|
791 |
#canUIDrag: false |
|
792 |
) |
|
793 |
#(#LabelSpec |
|
794 |
#name: 'label14' |
|
795 |
#label: 'D' |
|
663 | 796 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 797 |
#level: 2 |
798 |
#extent: #(#Point 23 23) |
|
799 |
#canUIDrag: false |
|
800 |
) |
|
801 |
#(#LabelSpec |
|
802 |
#name: 'label15' |
|
803 |
#label: 'E' |
|
663 | 804 |
#style: #(#FontDescription #helvetica #medium #roman 12) |
658 | 805 |
#level: 2 |
806 |
#extent: #(#Point 23 23) |
|
807 |
#canUIDrag: false |
|
808 |
) |
|
809 |
) |
|
810 |
) |
|
811 |
#horizontalLayout: #fitSpace |
|
812 |
#verticalLayout: #fitSpace |
|
813 |
#horizontalSpace: 3 |
|
814 |
#verticalSpace: 3 |
|
815 |
) |
|
816 |
) |
|
817 |
) |
|
818 |
) |
|
819 |
! |
|
820 |
||
821 |
standardLists |
|
142 | 822 |
"this window spec was automatically generated by the ST/X UIPainter" |
823 |
||
824 |
"do not manually edit this - the painter/builder may not be able to |
|
825 |
handle the specification if its corrupted." |
|
826 |
||
827 |
" |
|
658 | 828 |
UIPainter new openOnClass:UISelectionPanel andSelector:#standardLists |
829 |
UISelectionPanel new openInterface:#standardLists |
|
142 | 830 |
" |
831 |
||
832 |
<resource: #canvas> |
|
833 |
||
834 |
^ |
|
835 |
||
836 |
#(#FullSpec |
|
658 | 837 |
#window: |
142 | 838 |
#(#WindowSpec |
658 | 839 |
#name: 'Lists' |
711 | 840 |
#layout: #(#LayoutFrame 144 0 321 0 613 0 563 0) |
658 | 841 |
#label: 'Lists' |
842 |
#min: #(#Point 10 10) |
|
843 |
#max: #(#Point 1280 1024) |
|
711 | 844 |
#bounds: #(#Rectangle 144 321 614 564) |
658 | 845 |
#usePreferredExtent: false |
182 | 846 |
) |
658 | 847 |
#component: |
182 | 848 |
#(#SpecCollection |
658 | 849 |
#collection: |
182 | 850 |
#( |
659 | 851 |
#(#SequenceViewSpec |
852 |
#name: 'SelectionInListView' |
|
711 | 853 |
#layout: #(#LayoutFrame 15 0 30 0 220 0 110 0) |
659 | 854 |
#hasHorizontalScrollBar: true |
855 |
#hasVerticalScrollBar: true |
|
856 |
#useIndex: false |
|
857 |
) |
|
858 |
#(#LabelSpec |
|
711 | 859 |
#name: 'ListLabel' |
860 |
#layout: #(#LayoutFrame 15 0 15 0 35 0 30 0) |
|
861 |
#label: 'List' |
|
670 | 862 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
659 | 863 |
#adjust: #left |
864 |
#resizeForLabel: true |
|
865 |
#canUIDrag: false |
|
866 |
) |
|
658 | 867 |
#(#SelectionInTreeViewSpec |
659 | 868 |
#name: 'SelectionInTreeView' |
711 | 869 |
#layout: #(#LayoutFrame 15 0 145 0 220 0 225 0) |
658 | 870 |
#hasHorizontalScrollBar: true |
871 |
#hasVerticalScrollBar: true |
|
872 |
) |
|
873 |
#(#LabelSpec |
|
711 | 874 |
#name: 'TreeListLabel' |
875 |
#layout: #(#LayoutFrame 15 0 130 0 57 0 145 0) |
|
876 |
#label: 'Tree List' |
|
670 | 877 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
659 | 878 |
#adjust: #left |
879 |
#resizeForLabel: true |
|
880 |
#canUIDrag: false |
|
881 |
) |
|
882 |
#(#DataSetSpec |
|
883 |
#name: 'DataSetView' |
|
711 | 884 |
#layout: #(#LayoutFrame 240 0 30 0 445 0 110 0) |
659 | 885 |
#hasHorizontalScrollBar: true |
886 |
#hasVerticalScrollBar: true |
|
887 |
) |
|
888 |
#(#LabelSpec |
|
711 | 889 |
#name: 'TableLabel' |
890 |
#layout: #(#LayoutFrame 240 0 15 0 266 0 30 0) |
|
891 |
#label: 'Table' |
|
670 | 892 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 893 |
#adjust: #left |
894 |
#resizeForLabel: true |
|
895 |
#canUIDrag: false |
|
896 |
) |
|
897 |
#(#FileSelectionTreeSpec |
|
898 |
#name: 'FileSelectionTree' |
|
711 | 899 |
#layout: #(#LayoutFrame 240 0 145 0 445 0 225 0) |
658 | 900 |
#hasHorizontalScrollBar: true |
901 |
#hasVerticalScrollBar: true |
|
182 | 902 |
) |
903 |
#(#LabelSpec |
|
711 | 904 |
#name: 'FileTreeListLabel' |
905 |
#layout: #(#LayoutFrame 240 0 130 0 300 0 145 0) |
|
906 |
#label: 'File Tree List' |
|
670 | 907 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 908 |
#adjust: #left |
909 |
#resizeForLabel: true |
|
910 |
#canUIDrag: false |
|
182 | 911 |
) |
912 |
) |
|
913 |
) |
|
914 |
) |
|
915 |
! |
|
916 |
||
190 | 917 |
standardMenus |
182 | 918 |
"this window spec was automatically generated by the ST/X UIPainter" |
919 |
||
920 |
"do not manually edit this - the painter/builder may not be able to |
|
921 |
handle the specification if its corrupted." |
|
922 |
||
923 |
" |
|
302 | 924 |
UIPainter new openOnClass:UISelectionPanel andSelector:#standardMenus |
925 |
UISelectionPanel new openInterface:#standardMenus |
|
182 | 926 |
" |
927 |
||
928 |
<resource: #canvas> |
|
929 |
||
930 |
^ |
|
302 | 931 |
|
182 | 932 |
#(#FullSpec |
658 | 933 |
#window: |
182 | 934 |
#(#WindowSpec |
658 | 935 |
#name: 'Menus' |
711 | 936 |
#layout: #(#LayoutFrame 144 0 321 0 620 0 510 0) |
658 | 937 |
#label: 'Menus' |
938 |
#min: #(#Point 10 10) |
|
939 |
#max: #(#Point 1280 1024) |
|
711 | 940 |
#bounds: #(#Rectangle 144 321 621 511) |
658 | 941 |
#usePreferredExtent: false |
142 | 942 |
) |
658 | 943 |
#component: |
142 | 944 |
#(#SpecCollection |
658 | 945 |
#collection: |
142 | 946 |
#( |
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
947 |
#(#MenuPanelSpec |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
948 |
#name: 'MenuPanel' |
711 | 949 |
#layout: #(#LayoutFrame 15 0 30 0 140 0 62 0) |
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
950 |
) |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
951 |
#(#LabelSpec |
711 | 952 |
#name: 'ToolBarLabel' |
953 |
#layout: #(#LayoutFrame 15 0 15 0 56 0 30 0) |
|
954 |
#label: 'Tool Bar' |
|
670 | 955 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
956 |
#adjust: #left |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
957 |
#resizeForLabel: true |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
958 |
#canUIDrag: false |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
959 |
) |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
960 |
#(#PopUpListSpec |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
961 |
#name: 'PopUpList' |
711 | 962 |
#layout: #(#LayoutFrame 15 0 72 0 140 0 94 0) |
963 |
#label: 'Popup List' |
|
670 | 964 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
965 |
#useIndex: false |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
966 |
) |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
967 |
#(#ComboListSpec |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
968 |
#name: 'ComboListView' |
711 | 969 |
#layout: #(#LayoutFrame 15 0 102 0 140 0 122 0) |
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
970 |
#useIndex: false |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
971 |
) |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
972 |
#(#LabelSpec |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
973 |
#name: 'ComboListLabel' |
711 | 974 |
#layout: #(#LayoutFrame 17 0 104 0 79 0 122 0) |
975 |
#label: 'Combo List' |
|
670 | 976 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
977 |
#adjust: #left |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
978 |
#resizeForLabel: true |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
979 |
#canUIDrag: false |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
980 |
) |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
981 |
#(#ComboBoxSpec |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
982 |
#name: 'ComboBoxView' |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
983 |
#layout: #(#LayoutFrame 15 0 130 0 140 0 150 0) |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
984 |
) |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
985 |
#(#LabelSpec |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
986 |
#name: 'ComboBoxLabel' |
711 | 987 |
#layout: #(#LayoutFrame 17 0 132 0 79 0 150 0) |
988 |
#label: 'Combo Box' |
|
670 | 989 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
990 |
#adjust: #left |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
991 |
#resizeForLabel: true |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
992 |
#canUIDrag: false |
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
993 |
) |
658 | 994 |
#(#TabViewSpec |
995 |
#name: 'TabView' |
|
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
996 |
#layout: #(#LayoutFrame 157 0 15 0 292 0 51 0) |
302 | 997 |
) |
998 |
#(#LabelSpec |
|
711 | 999 |
#name: 'TabHeaderLabel' |
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
1000 |
#layout: #(#Point 160 35) |
711 | 1001 |
#label: 'Tab Header' |
670 | 1002 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1003 |
#adjust: #left |
1004 |
#resizeForLabel: true |
|
1005 |
#canUIDrag: false |
|
1006 |
) |
|
1007 |
#(#NoteBookViewSpec |
|
1008 |
#name: 'NoteBookView' |
|
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
1009 |
#layout: #(#LayoutFrame 157 0 58 0 292 0 150 0) |
302 | 1010 |
) |
658 | 1011 |
#(#LabelSpec |
1012 |
#name: 'NoteBookLabel' |
|
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
1013 |
#layout: #(#Point 161 134) |
711 | 1014 |
#label: 'Note Book' |
670 | 1015 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1016 |
#adjust: #left |
1017 |
#resizeForLabel: true |
|
1018 |
#canUIDrag: false |
|
302 | 1019 |
) |
658 | 1020 |
#(#UIGalleryViewSpec |
1021 |
#name: 'GalleryView' |
|
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
1022 |
#layout: #(#LayoutFrame 309 0 15 0 445 0 150 0) |
142 | 1023 |
) |
302 | 1024 |
#(#LabelSpec |
658 | 1025 |
#name: 'GalleryLabel' |
660
46f55243f1f1
once again some rearranges of the gallery (sorry, it's for the docu)
tz
parents:
659
diff
changeset
|
1026 |
#layout: #(#Point 313 134) |
711 | 1027 |
#label: 'Gallery' |
670 | 1028 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1029 |
#adjust: #left |
1030 |
#resizeForLabel: true |
|
1031 |
#canUIDrag: false |
|
142 | 1032 |
) |
1033 |
) |
|
1034 |
) |
|
1035 |
) |
|
1036 |
! |
|
1037 |
||
658 | 1038 |
standardMisc |
93 | 1039 |
"this window spec was automatically generated by the ST/X UIPainter" |
1040 |
||
1041 |
"do not manually edit this - the painter/builder may not be able to |
|
1042 |
handle the specification if its corrupted." |
|
1043 |
||
1044 |
" |
|
658 | 1045 |
UIPainter new openOnClass:UISelectionPanel andSelector:#standardMisc |
1046 |
UISelectionPanel new openInterface:#standardMisc |
|
93 | 1047 |
" |
1048 |
||
1049 |
<resource: #canvas> |
|
1050 |
||
1051 |
^ |
|
182 | 1052 |
|
93 | 1053 |
#(#FullSpec |
658 | 1054 |
#window: |
93 | 1055 |
#(#WindowSpec |
663 | 1056 |
#name: 'Misc' |
711 | 1057 |
#layout: #(#LayoutFrame 72 0 301 0 539 0 585 0) |
663 | 1058 |
#label: 'Misc' |
658 | 1059 |
#min: #(#Point 10 10) |
1060 |
#max: #(#Point 1280 1024) |
|
711 | 1061 |
#bounds: #(#Rectangle 72 301 540 586) |
658 | 1062 |
#usePreferredExtent: false |
93 | 1063 |
) |
658 | 1064 |
#component: |
93 | 1065 |
#(#SpecCollection |
658 | 1066 |
#collection: |
93 | 1067 |
#( |
658 | 1068 |
#(#ArbitraryComponentSpec |
1069 |
#name: 'ArbitraryComponent' |
|
677 | 1070 |
#layout: #(#LayoutFrame 15 0 15 0 140 0 110 0) |
658 | 1071 |
#hasBorder: false |
93 | 1072 |
) |
658 | 1073 |
#(#LabelSpec |
1074 |
#name: 'ArbitraryComponentLabel' |
|
677 | 1075 |
#layout: #(#AlignmentOrigin 19 0 19 0 0 0) |
711 | 1076 |
#label: 'Arbitrary Component' |
670 | 1077 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1078 |
#adjust: #left |
1079 |
#resizeForLabel: true |
|
1080 |
#canUIDrag: false |
|
93 | 1081 |
) |
658 | 1082 |
#(#UISubSpecification |
1083 |
#name: 'SubSpecification' |
|
677 | 1084 |
#layout: #(#LayoutFrame 157 0 15 0 292 0 110 0) |
658 | 1085 |
) |
1086 |
#(#LabelSpec |
|
1087 |
#name: 'SubSpecificationLabel' |
|
677 | 1088 |
#layout: #(#Point 161 19) |
658 | 1089 |
#label: 'SubSpecification' |
670 | 1090 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1091 |
#resizeForLabel: true |
1092 |
#canUIDrag: false |
|
302 | 1093 |
) |
677 | 1094 |
#(#SubCanvasSpec |
1095 |
#name: 'SubCanvas' |
|
1096 |
#layout: #(#LayoutFrame 309 0 15 0 445 0 110 0) |
|
1097 |
#hasHorizontalScrollBar: true |
|
1098 |
#hasVerticalScrollBar: true |
|
1099 |
) |
|
1100 |
#(#LabelSpec |
|
1101 |
#name: 'SubCanvasLabel' |
|
1102 |
#layout: #(#AlignmentOrigin 336 0 19 0 0 0) |
|
1103 |
#label: 'SubCanvas' |
|
1104 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
|
1105 |
#adjust: #left |
|
1106 |
#resizeForLabel: true |
|
1107 |
#canUIDrag: false |
|
1108 |
) |
|
1109 |
#(#LabelSpec |
|
1110 |
#name: 'SliderLabel' |
|
1111 |
#layout: #(#AlignmentOrigin 93 0 129 0 1 0) |
|
1112 |
#label: 'Slider' |
|
1113 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
|
1114 |
#resizeForLabel: true |
|
1115 |
#canUIDrag: false |
|
1116 |
) |
|
1117 |
#(#SliderSpec |
|
1118 |
#name: 'Slider' |
|
1119 |
#layout: #(#LayoutFrame 103 0 126 0 218 0 144 0) |
|
1120 |
#orientation: #horizontal |
|
1121 |
#start: 0 |
|
1122 |
#stop: 100 |
|
1123 |
#step: 1 |
|
1124 |
) |
|
1125 |
#(#LabelSpec |
|
1126 |
#name: 'ThumbWheelLabel' |
|
1127 |
#layout: #(#AlignmentOrigin 93 0 166 0 1 0) |
|
711 | 1128 |
#label: 'Thumb Wheel' |
677 | 1129 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
1130 |
#resizeForLabel: true |
|
1131 |
#canUIDrag: false |
|
1132 |
) |
|
1133 |
#(#ThumbWheelSpec |
|
1134 |
#name: 'ThumbWheel' |
|
1135 |
#layout: #(#LayoutFrame 103 0 161 0 218 0 181 0) |
|
1136 |
#orientation: #horizontal |
|
1137 |
#start: 0 |
|
1138 |
#stop: 360 |
|
1139 |
#step: 1 |
|
1140 |
) |
|
302 | 1141 |
#(#LabelSpec |
658 | 1142 |
#name: 'ProgressIndicatorLabel' |
677 | 1143 |
#layout: #(#AlignmentOrigin 339 0 129 0 1 0) |
711 | 1144 |
#label: 'Progress Indicator' |
670 | 1145 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1146 |
#adjust: #left |
1147 |
#resizeForLabel: true |
|
1148 |
#canUIDrag: false |
|
1149 |
) |
|
1150 |
#(#ProgressIndicatorSpec |
|
659 | 1151 |
#name: 'ProgressIndicator' |
677 | 1152 |
#layout: #(#LayoutFrame 350 0 126 0 445 0 144 0) |
658 | 1153 |
#showPercentage: true |
1154 |
) |
|
1155 |
#(#LabelSpec |
|
1156 |
#name: 'SeparatorLabel' |
|
677 | 1157 |
#layout: #(#AlignmentOrigin 339 0 161 0 1 0) |
658 | 1158 |
#label: 'Separator' |
670 | 1159 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1160 |
#adjust: #left |
1161 |
#resizeForLabel: true |
|
1162 |
#canUIDrag: false |
|
1163 |
) |
|
1164 |
#(#DividerSpec |
|
1165 |
#name: 'Separator' |
|
677 | 1166 |
#layout: #(#LayoutFrame 350 0 167 0 445 0 171 0) |
658 | 1167 |
#orientation: #horizontal |
1168 |
) |
|
1169 |
#(#LabelSpec |
|
711 | 1170 |
#name: 'RegionLabel' |
677 | 1171 |
#layout: #(#AlignmentOrigin 339 0 201 0 1 0) |
711 | 1172 |
#label: 'Region' |
670 | 1173 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1174 |
#adjust: #left |
1175 |
#resizeForLabel: true |
|
1176 |
#canUIDrag: false |
|
1177 |
) |
|
1178 |
#(#RegionSpec |
|
1179 |
#name: 'VisualRegion' |
|
677 | 1180 |
#layout: #(#LayoutFrame 350 0 183 0 445 0 236 0) |
658 | 1181 |
#lineWidth: 2 |
1182 |
#regionType: #ellipse |
|
302 | 1183 |
) |
93 | 1184 |
) |
1185 |
) |
|
1186 |
) |
|
1187 |
! |
|
1188 |
||
677 | 1189 |
standardTexts |
93 | 1190 |
"this window spec was automatically generated by the ST/X UIPainter" |
1191 |
||
1192 |
"do not manually edit this - the painter/builder may not be able to |
|
1193 |
handle the specification if its corrupted." |
|
1194 |
||
1195 |
" |
|
677 | 1196 |
UIPainter new openOnClass:UISelectionPanel andSelector:#standardTexts |
1197 |
UISelectionPanel new openInterface:#standardTexts |
|
93 | 1198 |
" |
1199 |
||
1200 |
<resource: #canvas> |
|
1201 |
||
1202 |
^ |
|
302 | 1203 |
|
93 | 1204 |
#(#FullSpec |
658 | 1205 |
#window: |
93 | 1206 |
#(#WindowSpec |
677 | 1207 |
#name: 'Texts' |
711 | 1208 |
#layout: #(#LayoutFrame 87 0 280 0 553 0 486 0) |
677 | 1209 |
#label: 'Texts' |
658 | 1210 |
#min: #(#Point 10 10) |
1211 |
#max: #(#Point 1280 1024) |
|
711 | 1212 |
#bounds: #(#Rectangle 87 280 554 487) |
658 | 1213 |
#usePreferredExtent: false |
93 | 1214 |
) |
658 | 1215 |
#component: |
93 | 1216 |
#(#SpecCollection |
658 | 1217 |
#collection: |
93 | 1218 |
#( |
659 | 1219 |
#(#TextEditorSpec |
1220 |
#name: 'TextView' |
|
1221 |
#layout: #(#LayoutFrame 15 0 15 0 220 0 110 0) |
|
1222 |
#hasHorizontalScrollBar: true |
|
1223 |
#hasVerticalScrollBar: true |
|
1224 |
) |
|
658 | 1225 |
#(#LabelSpec |
711 | 1226 |
#name: 'TextEditorLabel' |
681 | 1227 |
#layout: #(#AlignmentOrigin 53 0 19 0 0 0) |
711 | 1228 |
#label: 'Text Editor' |
670 | 1229 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1230 |
#adjust: #left |
1231 |
#resizeForLabel: true |
|
1232 |
#canUIDrag: false |
|
150 | 1233 |
) |
658 | 1234 |
#(#HTMLViewSpec |
1235 |
#name: 'HTMLView' |
|
1236 |
#layout: #(#LayoutFrame 240 0 15 0 445 0 110 0) |
|
1237 |
#hasHorizontalScrollBar: true |
|
1238 |
#hasVerticalScrollBar: true |
|
139 | 1239 |
) |
302 | 1240 |
#(#LabelSpec |
658 | 1241 |
#name: 'HTMLViewLabel' |
663 | 1242 |
#layout: #(#AlignmentOrigin 267 0 19 0 0 0) |
711 | 1243 |
#label: 'HTML Browser' |
670 | 1244 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1245 |
#adjust: #left |
1246 |
#resizeForLabel: true |
|
1247 |
#canUIDrag: false |
|
139 | 1248 |
) |
658 | 1249 |
#(#InputFieldSpec |
1250 |
#name: 'EditField' |
|
1251 |
#layout: #(#LayoutFrame 15 0 125 0 220 0 147 0) |
|
97 | 1252 |
) |
139 | 1253 |
#(#LabelSpec |
711 | 1254 |
#name: 'EntryFieldLabel' |
681 | 1255 |
#layout: #(#LayoutFrame 53 0 127 0 106 0 147 0) |
711 | 1256 |
#label: 'Entry Field' |
670 | 1257 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
658 | 1258 |
#adjust: #left |
1259 |
#resizeForLabel: true |
|
1260 |
#canUIDrag: false |
|
302 | 1261 |
) |
139 | 1262 |
#(#LabelSpec |
658 | 1263 |
#name: 'Label' |
1264 |
#layout: #(#LayoutFrame 240 0 125 0 445 0 147 0) |
|
1265 |
#label: 'Label' |
|
147 | 1266 |
) |
97 | 1267 |
) |
1268 |
) |
|
1269 |
) |
|
1270 |
! |
|
1271 |
||
190 | 1272 |
standardUserPanel |
93 | 1273 |
"this window spec was automatically generated by the ST/X UIPainter" |
1274 |
||
1275 |
"do not manually edit this - the painter/builder may not be able to |
|
1276 |
handle the specification if its corrupted." |
|
1277 |
||
1278 |
" |
|
190 | 1279 |
UIPainter new openOnClass:UISelectionPanel andSelector:#standardUserPanel |
1280 |
UISelectionPanel new openInterface:#standardUserPanel |
|
182 | 1281 |
" |
1282 |
||
1283 |
<resource: #canvas> |
|
1284 |
||
1285 |
^ |
|
1286 |
||
1287 |
#(#FullSpec |
|
1288 |
#'window:' |
|
1289 |
#(#WindowSpec |
|
302 | 1290 |
#'name:' 'UserPanel' |
182 | 1291 |
#'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
302 | 1292 |
#'label:' 'UserPanel' |
182 | 1293 |
#'bounds:' #(#Rectangle 0 0 445 162) |
1294 |
) |
|
1295 |
#'component:' |
|
1296 |
#(#SpecCollection |
|
1297 |
#'collection:' |
|
1298 |
#( |
|
1299 |
#(#LabelSpec |
|
1300 |
#'name:' 'helpText' |
|
1301 |
#'layout:' #(#Point 10 0) |
|
1302 |
#'labelChannel:' #userDefinedHelpText |
|
1303 |
#'resizeForLabel:' true |
|
1304 |
#'canUIDrag:' false |
|
1305 |
) |
|
1306 |
) |
|
1307 |
) |
|
1308 |
) |
|
93 | 1309 |
! ! |
1310 |
||
182 | 1311 |
!UISelectionPanel methodsFor:'actions'! |
1312 |
||
1313 |
defineClassAndSelector |
|
1314 |
|bd cls sel lbl| |
|
1315 |
||
1316 |
bd := IdentityDictionary new. |
|
1317 |
bd at:#className put:( userClass asValue). |
|
1318 |
bd at:#specsKey put:( (userSpecs ? '') asValue). |
|
1319 |
bd at:#labelsKey put:( (userLabels ? '') asValue). |
|
1320 |
bd at:#updateDefaultResources put:(false asValue). |
|
1321 |
||
1322 |
(self openDialogInterface:#nameAndSelectorSpec withBindings:bd) ifTrue:[ |
|
1323 |
( (cls := (bd at:#className) value) notNil |
|
1324 |
and:[(sel := (bd at:#specsKey) value) notNil |
|
1325 |
and:[(lbl := (bd at:#labelsKey) value) notNil]] |
|
1326 |
) ifTrue:[ |
|
1327 |
userClass := cls. |
|
1328 |
userSpecs := sel. |
|
1329 |
userLabels := lbl. |
|
1330 |
||
1331 |
(bd at:#updateDefaultResources) value ifTrue:[ |
|
1332 |
UserClass := userClass. |
|
1333 |
UserSpecs := userSpecs. |
|
1334 |
UserLabels := userLabels. |
|
1335 |
] |
|
1336 |
] |
|
1337 |
]. |
|
1338 |
! |
|
1339 |
||
1340 |
paste:something |
|
1341 |
"paste something at a point |
|
1342 |
" |
|
1343 |
|coll specs point device gallery ext spec| |
|
1344 |
||
1345 |
clipBoardSpec isNil ifTrue:[ |
|
1346 |
clipBoardSpec := SpecCollection new. |
|
1347 |
clipBoardSpec collection:(OrderedCollection new). |
|
1348 |
]. |
|
1349 |
coll := clipBoardSpec collection. |
|
1350 |
gallery := self builder componentAt:#gallery. |
|
1351 |
device := gallery device. |
|
1352 |
||
1353 |
point := device translatePoint:(device pointerPosition) |
|
1354 |
from:(device rootView id) |
|
1355 |
to:(gallery canvas id). |
|
1356 |
||
1357 |
point y < 1 ifTrue:[point y:1]. |
|
1358 |
ext := gallery extent - (10@10). |
|
93 | 1359 |
|
182 | 1360 |
(specs := something) isCollection ifFalse:[ |
1361 |
specs := Array with:something |
|
1362 |
]. |
|
1363 |
||
1364 |
specs do:[:aSpec| |
|
1365 |
point x > ext x ifTrue:[point x:1]. |
|
1366 |
point y > ext y ifTrue:[point y:1]. |
|
1367 |
||
1368 |
spec := aSpec copy. |
|
1369 |
spec layout:(LayoutOrigin fromPoint:point). |
|
1370 |
coll add:spec. |
|
1371 |
point := point + (20@20). |
|
1372 |
]. |
|
1373 |
gallery update. |
|
1374 |
! |
|
1375 |
||
1376 |
raiseMenu |
|
1377 |
"can open menu |
|
1378 |
" |
|
251 | 1379 |
|spec menu value paste| |
182 | 1380 |
|
1381 |
spec := self clientSpec value. |
|
112 | 1382 |
|
182 | 1383 |
spec notNil ifTrue:[ |
1384 |
menu := self class menuSelected decodeAsLiteralArray. |
|
1385 |
self isClipBoard ifFalse:[ |
|
1386 |
(menu someMenuItemWithValue:#cut) disable. |
|
1387 |
]. |
|
1388 |
||
1389 |
(value := menu startUp) == #cut ifTrue:[ |
|
1390 |
clipBoardSpec collection remove:spec ifAbsent:nil. |
|
1391 |
(self builder componentAt:#gallery) update. |
|
1392 |
] ifFalse:[ |
|
1393 |
value == #copy ifTrue:[ |
|
1394 |
self window setSelection:spec |
|
1395 |
] |
|
1396 |
]. |
|
1397 |
^ self |
|
1398 |
]. |
|
1399 |
||
1400 |
self isUserBoard ifTrue:[ |
|
1401 |
^ self defineClassAndSelector |
|
1402 |
]. |
|
1403 |
||
1404 |
paste := self window getSelection. |
|