author | Claus Gittinger <cg@exept.de> |
Sun, 01 Feb 1998 16:16:03 +0100 | |
changeset 542 | 11be1353d34c |
parent 538 | 3d75219adb32 |
child 547 | 930b3df19305 |
permissions | -rw-r--r-- |
156 | 1 |
" |
2 |
COPYRIGHT (c) 1995 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 |
" |
|
12 |
||
368 | 13 |
|
446 | 14 |
ToolApplicationModel subclass:#UIPainter |
287 | 15 |
instanceVariableNames:'treeView selectionPanel tabSelection specClass specSelector |
297 | 16 |
specSuperclass aspects layoutCanvas helpCanvas specCanvas |
17 |
transcript' |
|
446 | 18 |
classVariableNames:'' |
60 | 19 |
poolDictionaries:'' |
20 |
category:'Interface-UIPainter' |
|
21 |
! |
|
22 |
||
222 | 23 |
SelectionInTreeView subclass:#TreeView |
491
c3af7854dbe8
image instance variables removed + release all widget icons while snap shoting
tz
parents:
490
diff
changeset
|
24 |
instanceVariableNames:'lastDrawnMaster cvsEventsDisabled windowSpec' |
440 | 25 |
classVariableNames:'Images' |
222 | 26 |
poolDictionaries:'' |
27 |
privateIn:UIPainter |
|
28 |
! |
|
29 |
||
60 | 30 |
!UIPainter class methodsFor:'documentation'! |
31 |
||
156 | 32 |
copyright |
33 |
" |
|
34 |
COPYRIGHT (c) 1995 by eXept Software AG |
|
35 |
All Rights Reserved |
|
36 |
||
37 |
This software is furnished under a license and may be used |
|
38 |
only in accordance with the terms of that license and with the |
|
39 |
inclusion of the above copyright notice. This software may not |
|
40 |
be provided or otherwise made available to, or used by, any |
|
41 |
other person. No title to or ownership of the software is |
|
42 |
hereby transferred. |
|
43 |
" |
|
44 |
||
45 |
! |
|
46 |
||
60 | 47 |
documentation |
48 |
" |
|
127 | 49 |
GUI-Builder: |
50 |
this class allows the user to build its own applications providing a graphical |
|
51 |
user interface to buildin components and to define the behavior of the components |
|
52 |
during runtime. The resulting specifications can be installed as methods on |
|
53 |
classes, typically subclasses of an ApplicationModel. These specifications |
|
54 |
are used by the UIBuilder to generate the application window and its component |
|
55 |
structues when open the application. |
|
60 | 56 |
|
57 |
[start with:] |
|
58 |
UIPainter open |
|
127 | 59 |
|
156 | 60 |
[author:] |
542 | 61 |
Claus Gittinger, eXept Software AG |
62 |
Claus Atzkern, eXept Software AG |
|
156 | 63 |
|
127 | 64 |
[see also:] |
65 |
UIBuilder |
|
66 |
ApplicationModel |
|
67 |
UISpecification |
|
60 | 68 |
" |
109 | 69 |
|
70 |
! ! |
|
71 |
||
72 |
!UIPainter class methodsFor:'instance creation'! |
|
73 |
||
195
350f95af5d9d
check before sending selector to class
Claus Gittinger <cg@exept.de>
parents:
194
diff
changeset
|
74 |
openOnClass:aClass andSelector:aSelector |
282 | 75 |
"open up an interface builder, fetching a spec from aClass |
76 |
via some selector |
|
77 |
" |
|
195
350f95af5d9d
check before sending selector to class
Claus Gittinger <cg@exept.de>
parents:
194
diff
changeset
|
78 |
^ self new openOnClass:aClass andSelector:aSelector |
350f95af5d9d
check before sending selector to class
Claus Gittinger <cg@exept.de>
parents:
194
diff
changeset
|
79 |
! |
350f95af5d9d
check before sending selector to class
Claus Gittinger <cg@exept.de>
parents:
194
diff
changeset
|
80 |
|
109 | 81 |
painter:aBuilderView |
282 | 82 |
"set the painter |
83 |
" |
|
109 | 84 |
|application| |
85 |
||
86 |
application := self new. |
|
87 |
application painter:aBuilderView. |
|
88 |
^ application open |
|
60 | 89 |
! ! |
90 |
||
87 | 91 |
!UIPainter class methodsFor:'ST-80 queries'! |
92 |
||
93 |
preferenceFor:aSymbol |
|
282 | 94 |
"ST-80 compatible; always returns false |
95 |
" |
|
87 | 96 |
^ false |
109 | 97 |
|
98 |
||
99 |
! ! |
|
100 |
||
446 | 101 |
!UIPainter class methodsFor:'accessing'! |
102 |
||
103 |
label |
|
104 |
||
105 |
^'GUI Builder' |
|
106 |
! ! |
|
107 |
||
193 | 108 |
!UIPainter class methodsFor:'help specs'! |
109 |
||
110 |
helpSpec |
|
111 |
"return a dictionary filled with helpKey -> helptext associations. |
|
295 | 112 |
These are used by the activeHelp tool." |
113 |
||
193 | 114 |
" |
295 | 115 |
UIHelpTool openOnClass:UIPainter |
116 |
" |
|
117 |
||
193 | 118 |
^ super helpSpec addPairsFrom:#( |
119 |
||
466 | 120 |
#accept |
498 | 121 |
'Writes back changes.' |
466 | 122 |
|
123 |
#alignSelectionBottom |
|
498 | 124 |
'Aligns selected widgets to the bottom edge of the dominant widget.' |
466 | 125 |
|
126 |
#alignSelectionCenterHor |
|
498 | 127 |
'Aligns selected widgets vertical to the center of the dominant widget.' |
466 | 128 |
|
129 |
#alignSelectionCenterVer |
|
498 | 130 |
'Aligns selected widgets horizontal to the center of the dominant widget.' |
466 | 131 |
|
132 |
#alignSelectionLeft |
|
498 | 133 |
'Aligns selected widgets to the left edge of the dominant widget.' |
466 | 134 |
|
135 |
#alignSelectionLeftAndRight |
|
498 | 136 |
'Aligns selected widgets to the right and left edge of the dominant widget.' |
466 | 137 |
|
138 |
#alignSelectionRight |
|
498 | 139 |
'Aligns selected widgets to the right edge of the dominant widget.' |
466 | 140 |
|
141 |
#alignSelectionTop |
|
498 | 142 |
'Aligns selected widgets to the top edge of the dominant widget.' |
466 | 143 |
|
144 |
#alignSelectionTopAndBottom |
|
498 | 145 |
'Aligns selected widgets to the top and bottom edge of the dominant widget.' |
466 | 146 |
|
147 |
#cancel |
|
498 | 148 |
'Rereads specification and layout.' |
466 | 149 |
|
150 |
#centerSelectionHor |
|
498 | 151 |
'Centers widgets horizontal to their top widget.' |
466 | 152 |
|
153 |
#centerSelectionVer |
|
498 | 154 |
'Centers vertical horizontal in contained view.' |
466 | 155 |
|
156 |
#copyExtent |
|
498 | 157 |
'Copies extent of the selected widget.' |
466 | 158 |
|
159 |
#copyLayout |
|
498 | 160 |
'Copies layout of the selected widget.' |
161 |
||
162 |
#fileLoad |
|
163 |
'Opens dialog to load an interface from a class.' |
|
164 |
||
533 | 165 |
#fileLoadSubspec |
166 |
'Opens dialog to load an subspec interface from a class.' |
|
167 |
||
498 | 168 |
#fileNew |
169 |
'Creates new interface.' |
|
170 |
||
171 |
#filePickAnInterface |
|
172 |
'Changes the cursor for moving it over another view to load its interface.' |
|
173 |
||
174 |
#fileSave |
|
175 |
'Saves current interface.' |
|
295 | 176 |
|
282 | 177 |
#galleryShown |
498 | 178 |
'Shows or hide gallery view.' |
282 | 179 |
|
466 | 180 |
#menuAlignment |
498 | 181 |
'Provides a set of alignment operation on the current selected widgets.' |
282 | 182 |
|
466 | 183 |
#moveSelectionDown |
498 | 184 |
'Moves selected widgets down.' |
466 | 185 |
|
186 |
#moveSelectionLeft |
|
498 | 187 |
'Moves selected widgets out of parent widget.' |
287 | 188 |
|
189 |
#moveSelectionRight |
|
498 | 190 |
'Moves selected widgets into next widget as child.' |
287 | 191 |
|
466 | 192 |
#moveSelectionUp |
498 | 193 |
'Moves selected widgets up.' |
287 | 194 |
|
195 |
#painterShown |
|
498 | 196 |
'Shows or hide painter view.' |
287 | 197 |
|
466 | 198 |
#pasteBuffer |
498 | 199 |
'Pastes widgets at current mouse position.' |
466 | 200 |
|
287 | 201 |
#pasteExtent |
498 | 202 |
'Changes extent of all selected widgets to the last copied extent.' |
287 | 203 |
|
204 |
#pasteHeight |
|
498 | 205 |
'Changes height of all selected widgets to the last copied extent height.' |
287 | 206 |
|
207 |
#pasteLayout |
|
498 | 208 |
'Changes layout of all selected widgets to the last copied layout.' |
287 | 209 |
|
466 | 210 |
#pasteWidth |
498 | 211 |
'Changes width of all selected widgets to the last copied extent width.' |
466 | 212 |
|
213 |
#pasteWithLayout |
|
498 | 214 |
'Pastes widgets without changing their layouts.' |
466 | 215 |
|
216 |
#setToDefaultExtent |
|
498 | 217 |
'Sets selected widgets to their default extent.' |
466 | 218 |
|
219 |
#setToDefaultHeight |
|
498 | 220 |
'Sets selected widgets to their default height.' |
466 | 221 |
|
222 |
#setToDefaultWidth |
|
498 | 223 |
'Sets selected widgets to their default width.' |
287 | 224 |
|
225 |
#spreadSelectionHor |
|
498 | 226 |
'Sets horizontal spaces between selected widgets as the same.' |
287 | 227 |
|
466 | 228 |
#spreadSelectionVer |
498 | 229 |
'Sets vertical spaces between selected widgets as the same.' |
230 |
||
231 |
#testStartApplication |
|
232 |
'Starts current application on loaded interface.' |
|
194 | 233 |
|
193 | 234 |
) |
235 |
! ! |
|
236 |
||
297 | 237 |
!UIPainter class methodsFor:'helpers'! |
238 |
||
368 | 239 |
convertString:aString maxLineSize:maxCharactersPerLine skipLineFeed:skipLineFeed |
297 | 240 |
"converts a string to a string collection with maximum characters |
241 |
per line |
|
242 |
" |
|
243 |
|stream |
|
244 |
max "{ Class:SmallInteger }" |
|
245 |
size "{ Class:SmallInteger }" |
|
246 |
start "{ Class:SmallInteger }" |
|
247 |
stop "{ Class:SmallInteger }" |
|
248 |
cpySz "{ Class:SmallInteger }" |
|
542 | 249 |
lnSz "{ Class:SmallInteger }" |
250 |
atBeginOfLine| |
|
297 | 251 |
|
252 |
maxCharactersPerLine < 20 ifFalse:[max := maxCharactersPerLine - 1] |
|
253 |
ifTrue:[max := 20]. |
|
254 |
||
255 |
(size := aString size) <= max ifTrue:[ |
|
256 |
^ aString |
|
257 |
]. |
|
258 |
start := 1. |
|
259 |
lnSz := 0. |
|
260 |
stream := (String new:size) writeStream. |
|
261 |
||
542 | 262 |
atBeginOfLine := true. |
263 |
||
297 | 264 |
[start <= size] whileTrue:[ |
265 |
(start := aString indexOfNonSeparatorStartingAt:start) == 0 ifTrue:[ |
|
266 |
^ stream contents |
|
267 |
]. |
|
368 | 268 |
(aString at:start) == $\ ifTrue:[ |
269 |
skipLineFeed ifFalse:[ |
|
270 |
stream nextPut:$\ |
|
271 |
]. |
|
272 |
start := start + 1. |
|
273 |
stream cr. |
|
274 |
start := start + 1. |
|
275 |
lnSz := 0. |
|
276 |
] ifFalse:[ |
|
277 |
(stop := aString indexOfSeparatorStartingAt:start) == 0 ifTrue:[ |
|
542 | 278 |
stop := size + 1 |
368 | 279 |
]. |
280 |
(aString at:(stop - 1)) == $\ ifTrue:[ |
|
281 |
stop := stop - 1 |
|
282 |
]. |
|
283 |
cpySz := stop - start. |
|
284 |
||
285 |
lnSz == 0 ifFalse:[ |
|
542 | 286 |
(lnSz := lnSz + cpySz) >= max ifTrue:[stream cr. lnSz := cpySz. atBeginOfLine := true. ] |
368 | 287 |
ifFalse:[stream space. lnSz := lnSz + 1] |
288 |
] ifTrue:[ |
|
289 |
lnSz := cpySz |
|
290 |
]. |
|
291 |
stream nextPutAll:aString startingAt:start to:(stop - 1). |
|
292 |
start := stop. |
|
293 |
] |
|
297 | 294 |
]. |
295 |
^ stream contents |
|
542 | 296 |
|
297 |
"Modified: / 1.2.1998 / 14:42:56 / cg" |
|
297 | 298 |
! ! |
299 |
||
60 | 300 |
!UIPainter class methodsFor:'interface specs'! |
301 |
||
366 | 302 |
gridParametersSpec |
303 |
"this window spec was automatically generated by the ST/X UIPainter" |
|
304 |
||
305 |
"do not manually edit this - the painter/builder may not be able to |
|
306 |
handle the specification if its corrupted." |
|
307 |
||
308 |
" |
|
309 |
UIPainter new openOnClass:UIPainter andSelector:#gridParametersSpec |
|
310 |
UIPainter new openInterface:#gridParametersSpec |
|
311 |
" |
|
312 |
||
313 |
<resource: #canvas> |
|
314 |
||
315 |
^ |
|
446 | 316 |
|
366 | 317 |
#(#FullSpec |
318 |
#'window:' |
|
319 |
#(#WindowSpec |
|
527 | 320 |
#'name:' 'GUI Builder' |
321 |
#'layout:' #(#LayoutFrame 44 0 416 0 325 0 613 0) |
|
322 |
#'label:' 'GUI Builder' |
|
366 | 323 |
#'min:' #(#Point 10 10) |
324 |
#'max:' #(#Point 1280 1024) |
|
527 | 325 |
#'bounds:' #(#Rectangle 44 416 326 614) |
446 | 326 |
#'usePreferredExtent:' false |
366 | 327 |
) |
328 |
#'component:' |
|
329 |
#(#SpecCollection |
|
330 |
#'collection:' |
|
331 |
#( |
|
527 | 332 |
#(#FramedBoxSpec |
333 |
#'name:' 'framedBox' |
|
334 |
#'layout:' #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0) |
|
335 |
#'component:' |
|
336 |
#(#SpecCollection |
|
337 |
#'collection:' |
|
338 |
#( |
|
339 |
#(#CheckBoxSpec |
|
340 |
#'name:' 'show' |
|
341 |
#'layout:' #(#Point 23 24) |
|
342 |
#'model:' #showGrid |
|
343 |
#'label:' 'Show grid' |
|
344 |
) |
|
345 |
#(#CheckBoxSpec |
|
346 |
#'name:' 'align' |
|
347 |
#'layout:' #(#Point 23 52) |
|
348 |
#'model:' #alignToGrid |
|
349 |
#'label:' 'Align to Grid' |
|
350 |
) |
|
351 |
#(#LabelSpec |
|
352 |
#'name:' 'hrzLabel' |
|
353 |
#'layout:' #(#AlignmentOrigin 148 0 99 0 1 0.5) |
|
354 |
#'label:' 'Horizontal Pixels:' |
|
355 |
#'adjust:' #right |
|
356 |
#'resizeForLabel:' true |
|
357 |
) |
|
358 |
#(#InputFieldSpec |
|
359 |
#'name:' 'hrzField' |
|
360 |
#'layout:' #(#LayoutFrame 154 0 87 0 207 0 109 0) |
|
361 |
#'model:' #hspace |
|
362 |
#'type:' #numberOrNil |
|
363 |
) |
|
364 |
#(#LabelSpec |
|
365 |
#'name:' 'vrtLabel' |
|
366 |
#'layout:' #(#AlignmentOrigin 149 0 124 0 1 0.5) |
|
367 |
#'label:' 'Vertical Pixels:' |
|
368 |
#'adjust:' #right |
|
369 |
#'resizeForLabel:' true |
|
370 |
) |
|
371 |
#(#InputFieldSpec |
|
372 |
#'name:' 'vrtField' |
|
373 |
#'layout:' #(#LayoutFrame 154 0 112 0 207 0 134 0) |
|
374 |
#'model:' #vspace |
|
375 |
#'type:' #numberOrNil |
|
376 |
) |
|
377 |
) |
|
378 |
) |
|
379 |
#'label:' 'Grid Parameter' |
|
380 |
#'labelPosition:' #topLeft |
|
366 | 381 |
) |
446 | 382 |
#(#UISubSpecification |
383 |
#'name:' 'uISubSpecifica1' |
|
384 |
#'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1) |
|
385 |
#'majorKey:' #ToolApplicationModel |
|
386 |
#'minorKey:' #windowSpecForCommitWithoutChannels |
|
366 | 387 |
) |
388 |
) |
|
389 |
) |
|
390 |
) |
|
391 |
! |
|
392 |
||
222 | 393 |
nameAndSelectorSpec |
394 |
"this window spec was automatically generated by the ST/X UIPainter" |
|
395 |
||
396 |
"do not manually edit this - the painter/builder may not be able to |
|
397 |
handle the specification if its corrupted." |
|
398 |
||
399 |
" |
|
400 |
UIPainter new openOnClass:UIPainter andSelector:#nameAndSelectorSpec |
|
401 |
UIPainter new openInterface:#nameAndSelectorSpec |
|
402 |
" |
|
403 |
||
404 |
<resource: #canvas> |
|
405 |
||
406 |
^ |
|
407 |
||
408 |
#(#FullSpec |
|
409 |
#'window:' |
|
410 |
#(#WindowSpec |
|
527 | 411 |
#'name:' 'GUI Builder' |
538 | 412 |
#'layout:' #(#LayoutFrame 238 0 270 0 584 0 429 0) |
527 | 413 |
#'label:' 'GUI Builder' |
446 | 414 |
#'min:' #(#Point 10 10) |
415 |
#'max:' #(#Point 1152 900) |
|
538 | 416 |
#'bounds:' #(#Rectangle 238 270 585 430) |
446 | 417 |
#'usePreferredExtent:' false |
222 | 418 |
) |
419 |
#'component:' |
|
420 |
#(#SpecCollection |
|
421 |
#'collection:' |
|
422 |
#( |
|
527 | 423 |
#(#FramedBoxSpec |
424 |
#'name:' 'framedBox1' |
|
425 |
#'layout:' #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0) |
|
426 |
#'component:' |
|
427 |
#(#SpecCollection |
|
428 |
#'collection:' |
|
429 |
#( |
|
430 |
#(#LabelSpec |
|
431 |
#'name:' 'selectorLabel' |
|
538 | 432 |
#'layout:' #(#AlignmentOrigin 77 0.11 39 0 1 0.5) |
527 | 433 |
#'label:' 'Selector:' |
434 |
#'adjust:' #right |
|
435 |
#'resizeForLabel:' true |
|
436 |
) |
|
437 |
#(#InputFieldSpec |
|
438 |
#'name:' 'methodNameField' |
|
538 | 439 |
#'layout:' #(#LayoutFrame 80 0.11 28 0 14 1.0 50 0) |
527 | 440 |
#'tabable:' true |
441 |
#'model:' #methodNameChannel |
|
442 |
) |
|
443 |
#(#LabelSpec |
|
444 |
#'name:' 'classLabel' |
|
538 | 445 |
#'layout:' #(#AlignmentOrigin 77 0.11 64 0 1 0.5) |
527 | 446 |
#'label:' 'Class:' |
447 |
#'adjust:' #right |
|
448 |
#'resizeForLabel:' true |
|
449 |
) |
|
450 |
#(#InputFieldSpec |
|
451 |
#'name:' 'classNameField' |
|
538 | 452 |
#'layout:' #(#LayoutFrame 80 0.11 53 0 14 1.0 75 0) |
527 | 453 |
#'tabable:' true |
454 |
#'model:' #classNameChannel |
|
455 |
) |
|
456 |
#(#LabelSpec |
|
457 |
#'name:' 'superClassLabel' |
|
538 | 458 |
#'layout:' #(#AlignmentOrigin 77 0.11 89 0 1 0.5) |
527 | 459 |
#'label:' 'Superclass:' |
460 |
#'adjust:' #right |
|
461 |
#'resizeForLabel:' true |
|
462 |
) |
|
463 |
#(#ComboBoxSpec |
|
464 |
#'name:' 'superclassNameComboBox' |
|
538 | 465 |
#'layout:' #(#LayoutFrame 80 0.11 78 0 14 1.0 100 0) |
527 | 466 |
#'tabable:' true |
467 |
#'model:' #superclassNameChannel |
|
468 |
#'comboList:' #superclassNameDefaults |
|
469 |
) |
|
470 |
) |
|
471 |
) |
|
472 |
#'label:' 'Class and selector for interface' |
|
473 |
#'labelPosition:' #topLeft |
|
222 | 474 |
) |
446 | 475 |
#(#UISubSpecification |
476 |
#'name:' 'uISubSpecifica1' |
|
477 |
#'layout:' #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1) |
|
478 |
#'majorKey:' #ToolApplicationModel |
|
479 |
#'minorKey:' #windowSpecForCommitWithoutChannels |
|
222 | 480 |
) |
481 |
) |
|
482 |
) |
|
483 |
) |
|
484 |
! |
|
485 |
||
486 |
windowSpec |
|
487 |
"this window spec was automatically generated by the ST/X UIPainter" |
|
488 |
||
489 |
"do not manually edit this - the painter/builder may not be able to |
|
490 |
handle the specification if its corrupted." |
|
491 |
||
492 |
" |
|
493 |
UIPainter new openOnClass:UIPainter andSelector:#windowSpec |
|
494 |
UIPainter new openInterface:#windowSpec |
|
495 |
" |
|
496 |
"UIPainter open" |
|
497 |
||
498 |
<resource: #canvas> |
|
499 |
||
500 |
^ |
|
501 |
||
502 |
#(#FullSpec |
|
503 |
#'window:' |
|
504 |
#(#WindowSpec |
|
282 | 505 |
#'name:' 'Tree-View' |
512
1648b541aab5
made it a bit larger for all notbook specs to fit
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
506 |
#'layout:' #(#LayoutFrame 18 0 64 0 570 0 589 0) |
222 | 507 |
#'label:' 'Tree-View' |
282 | 508 |
#'min:' #(#Point 10 10) |
509 |
#'max:' #(#Point 1160 870) |
|
512
1648b541aab5
made it a bit larger for all notbook specs to fit
Claus Gittinger <cg@exept.de>
parents:
498
diff
changeset
|
510 |
#'bounds:' #(#Rectangle 18 64 571 590) |
446 | 511 |
#'menu:' #menu |
375 | 512 |
#'usePreferredExtent:' false |
222 | 513 |
) |
514 |
#'component:' |
|
515 |
#(#SpecCollection |
|
516 |
#'collection:' |
|
517 |
#( |
|
518 |
#(#MenuPanelSpec |
|
446 | 519 |
#'name:' 'menuToolbarView' |
520 |
#'layout:' #(#LayoutFrame -1 0.0 0 0 -1 1.0 32 0) |
|
222 | 521 |
#'tabable:' true |
446 | 522 |
#'menu:' #menuToolbar |
523 |
#'showSeparatingLines:' true |
|
222 | 524 |
) |
297 | 525 |
#(#VariableVerticalPanelSpec |
526 |
#'name:' 'vpanel' |
|
448 | 527 |
#'layout:' #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -22 1.0) |
297 | 528 |
#'component:' |
529 |
#(#SpecCollection |
|
530 |
#'collection:' |
|
531 |
#( |
|
532 |
#(#VariableHorizontalPanelSpec |
|
533 |
#'name:' 'hpanel' |
|
534 |
#'component:' |
|
535 |
#(#SpecCollection |
|
536 |
#'collection:' |
|
537 |
#( |
|
538 |
#(#ArbitraryComponentSpec |
|
539 |
#'name:' 'treeView' |
|
375 | 540 |
#'tabable:' true |
446 | 541 |
#'menu:' #menuEdit |
297 | 542 |
#'hasHorizontalScrollBar:' true |
543 |
#'hasVerticalScrollBar:' true |
|
544 |
#'miniScrollerHorizontal:' true |
|
545 |
#'miniScrollerVertical:' true |
|
546 |
#'component:' #treeView |
|
547 |
#'hasBorder:' false |
|
548 |
) |
|
549 |
#(#ViewSpec |
|
550 |
#'name:' 'specHolderView' |
|
551 |
#'component:' |
|
552 |
#(#SpecCollection |
|
553 |
#'collection:' |
|
554 |
#( |
|
555 |
#(#NoteBookViewSpec |
|
556 |
#'name:' 'noteBook' |
|
446 | 557 |
#'layout:' #(#LayoutFrame 0 0.0 26 0.0 0 1.0 -30 1.0) |
297 | 558 |
#'enableChannel:' #enableChannel |
559 |
#'tabable:' true |
|
345 | 560 |
#'model:' #tabModel |
297 | 561 |
#'menu:' #tabList |
345 | 562 |
#'style:' #(#FontDescription #helvetica #medium #roman 10) |
297 | 563 |
#'canvas:' #noteBookView |
564 |
) |
|
565 |
#(#HorizontalPanelViewSpec |
|
566 |
#'name:' 'modifyPanel' |
|
567 |
#'layout:' #(#LayoutFrame 0 0.0 -30 1.0 0 1.0 0 1.0) |
|
568 |
#'component:' |
|
569 |
#(#SpecCollection |
|
570 |
#'collection:' |
|
571 |
#( |
|
572 |
#(#ActionButtonSpec |
|
573 |
#'name:' 'cancelButton' |
|
574 |
#'activeHelpKey:' #cancel |
|
446 | 575 |
#'label:' 'Cancel' |
297 | 576 |
#'tabable:' true |
577 |
#'model:' #cancel |
|
578 |
#'enableChannel:' #modifiedChannel |
|
527 | 579 |
#'extent:' #(#Point 79 24) |
297 | 580 |
) |
581 |
#(#ActionButtonSpec |
|
582 |
#'name:' 'acceptButton' |
|
583 |
#'activeHelpKey:' #accept |
|
446 | 584 |
#'label:' 'OK' |
297 | 585 |
#'tabable:' true |
586 |
#'model:' #accept |
|
587 |
#'enableChannel:' #modifiedChannel |
|
527 | 588 |
#'extent:' #(#Point 79 24) |
297 | 589 |
) |
590 |
) |
|
591 |
) |
|
592 |
#'horizontalLayout:' #fitSpace |
|
593 |
#'verticalLayout:' #fitSpace |
|
594 |
#'horizontalSpace:' 3 |
|
595 |
#'verticalSpace:' 3 |
|
596 |
) |
|
446 | 597 |
#(#HorizontalPanelViewSpec |
598 |
#'name:' 'panelViewButtons' |
|
599 |
#'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 24 0) |
|
600 |
#'component:' |
|
601 |
#(#SpecCollection |
|
602 |
#'collection:' |
|
603 |
#( |
|
604 |
#(#ArrowButtonSpec |
|
605 |
#'name:' 'moveLeft' |
|
606 |
#'activeHelpKey:' #moveSelectionLeft |
|
607 |
#'tabable:' true |
|
608 |
#'model:' #moveSelectionLeft |
|
609 |
#'enableChannel:' #canMoveOrAlignSelection |
|
610 |
#'isTriggerOnDown:' true |
|
611 |
#'direction:' #left |
|
612 |
#'extent:' #(#Point 22 22) |
|
613 |
) |
|
614 |
#(#ArrowButtonSpec |
|
615 |
#'name:' 'moveRight' |
|
616 |
#'activeHelpKey:' #moveSelectionRight |
|
617 |
#'model:' #moveSelectionRight |
|
618 |
#'enableChannel:' #canMoveOrAlignSelection |
|
619 |
#'isTriggerOnDown:' true |
|
620 |
#'direction:' #right |
|
621 |
#'extent:' #(#Point 22 22) |
|
622 |
) |
|
623 |
#(#ArrowButtonSpec |
|
624 |
#'name:' 'moveDown' |
|
625 |
#'activeHelpKey:' #moveSelectionDown |
|
626 |
#'model:' #moveSelectionDown |
|
627 |
#'enableChannel:' #canMoveOrAlignSelection |
|
628 |
#'isTriggerOnDown:' true |
|
629 |
#'direction:' #down |
|
630 |
#'extent:' #(#Point 22 22) |
|
631 |
) |
|
632 |
#(#ArrowButtonSpec |
|
633 |
#'name:' 'moveUp' |
|
634 |
#'activeHelpKey:' #moveSelectionUp |
|
635 |
#'model:' #moveSelectionUp |
|
636 |
#'enableChannel:' #canMoveOrAlignSelection |
|
637 |
#'isTriggerOnDown:' true |
|
638 |
#'direction:' #up |
|
639 |
#'extent:' #(#Point 22 22) |
|
640 |
) |
|
641 |
) |
|
642 |
) |
|
643 |
#'level:' 1 |
|
644 |
#'horizontalLayout:' #left |
|
645 |
#'verticalLayout:' #fit |
|
646 |
#'horizontalSpace:' 4 |
|
647 |
#'verticalSpace:' 4 |
|
648 |
) |
|
297 | 649 |
) |
650 |
) |
|
651 |
#'borderWidth:' 1 |
|
652 |
) |
|
653 |
) |
|
654 |
) |
|
655 |
#'level:' 1 |
|
656 |
#'handles:' #(#Any 0.329435 1.0) |
|
657 |
) |
|
658 |
#(#TextEditorSpec |
|
659 |
#'name:' 'Transcript' |
|
660 |
#'hasHorizontalScrollBar:' true |
|
661 |
#'hasVerticalScrollBar:' true |
|
662 |
#'miniScrollerHorizontal:' true |
|
663 |
#'miniScrollerVertical:' true |
|
664 |
) |
|
665 |
) |
|
666 |
) |
|
667 |
#'handles:' #(#Any 0.880597 1.0) |
|
668 |
) |
|
486 | 669 |
#(#UISubSpecification |
670 |
#'name:' 'infoBarSubSpec' |
|
671 |
#'layout:' #(#LayoutFrame 0 0.0 -22 1 0 1.0 0 1.0) |
|
672 |
#'majorKey:' #ToolApplicationModel |
|
533 | 673 |
#'minorKey:' #windowSpecForInfoBarWithClock |
448 | 674 |
) |
222 | 675 |
) |
676 |
) |
|
677 |
) |
|
678 |
! ! |
|
679 |
||
680 |
!UIPainter class methodsFor:'menu specs'! |
|
681 |
||
446 | 682 |
menu |
217 | 683 |
"this window spec was automatically generated by the ST/X MenuEditor" |
684 |
||
685 |
"do not manually edit this - the builder may not be able to |
|
686 |
handle the specification if its corrupted." |
|
687 |
||
688 |
" |
|
446 | 689 |
MenuEditor new openOnClass:UIPainter andSelector:#menu |
690 |
(Menu new fromLiteralArrayEncoding:(UIPainter menu)) startUp |
|
691 |
" |
|
692 |
||
693 |
<resource: #menu> |
|
694 |
||
695 |
^ |
|
696 |
||
697 |
#(#Menu |
|
698 |
||
699 |
#( |
|
700 |
#(#MenuItem |
|
701 |
#'label:' 'About' |
|
702 |
#'labelImage:' #(#ResourceRetriever nil #icon) |
|
703 |
#'submenuChannel:' #menuAbout |
|
704 |
) |
|
705 |
#(#MenuItem |
|
706 |
#'label:' 'File' |
|
707 |
#'value:' #file |
|
708 |
#'enabled:' #enableChannel |
|
709 |
#'submenu:' |
|
710 |
#(#Menu |
|
711 |
||
712 |
#( |
|
713 |
#(#MenuItem |
|
714 |
#'label:' 'New' |
|
715 |
#'value:' #doNew |
|
498 | 716 |
#'activeHelpKey:' #fileNew |
446 | 717 |
) |
718 |
#(#MenuItem |
|
719 |
#'label:' '-' |
|
720 |
) |
|
721 |
#(#MenuItem |
|
498 | 722 |
#'label:' 'Load...' |
446 | 723 |
#'value:' #doFromClass |
498 | 724 |
#'activeHelpKey:' #fileLoad |
446 | 725 |
) |
726 |
#(#MenuItem |
|
533 | 727 |
#'label:' 'Load Subspec...' |
728 |
#'value:' #loadSubspec |
|
729 |
#'activeHelpKey:' #fileLoadSubspec |
|
730 |
) |
|
731 |
#(#MenuItem |
|
446 | 732 |
#'label:' '-' |
733 |
) |
|
734 |
#(#MenuItem |
|
466 | 735 |
#'label:' 'Save' |
736 |
#'value:' #doInstallSpec |
|
498 | 737 |
#'activeHelpKey:' #fileSave |
446 | 738 |
) |
739 |
#(#MenuItem |
|
740 |
#'label:' '-' |
|
741 |
) |
|
742 |
#(#MenuItem |
|
466 | 743 |
#'label:' 'Define Class And Selector...' |
744 |
#'value:' #defineClassAndSelector |
|
446 | 745 |
) |
746 |
#(#MenuItem |
|
747 |
#'label:' '-' |
|
748 |
) |
|
749 |
#(#MenuItem |
|
750 |
#'label:' 'Create Aspect Methods' |
|
751 |
#'value:' #doInstallAspects |
|
752 |
#'enabled:' #hasSpecClass |
|
753 |
) |
|
754 |
#(#MenuItem |
|
755 |
#'label:' 'Create Hook Methods' |
|
756 |
#'value:' #doInstallHooks |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
757 |
#'enabled:' #hasSpecClass |
446 | 758 |
) |
759 |
#(#MenuItem |
|
760 |
#'label:' '-' |
|
761 |
) |
|
762 |
#(#MenuItem |
|
498 | 763 |
#'label:' 'Pick An Interface' |
764 |
#'value:' #doPickAView |
|
765 |
#'activeHelpKey:' #filePickAnInterface |
|
766 |
) |
|
767 |
#(#MenuItem |
|
768 |
#'label:' '-' |
|
769 |
) |
|
770 |
#(#MenuItem |
|
771 |
#'label:' 'Show Interface Spec' |
|
446 | 772 |
#'value:' #doWindowSpec |
773 |
) |
|
774 |
#(#MenuItem |
|
498 | 775 |
#'label:' 'Browse Interface Class' |
446 | 776 |
#'value:' #doBrowseAppClass |
777 |
#'enabled:' #hasSpecClass |
|
778 |
) |
|
779 |
#(#MenuItem |
|
780 |
#'label:' 'Browse Aspect Methods' |
|
781 |
#'value:' #doBrowseAspectMethods |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
782 |
#'enabled:' #hasSpecClass |
446 | 783 |
) |
784 |
#(#MenuItem |
|
785 |
#'label:' '-' |
|
786 |
) |
|
787 |
#(#MenuItem |
|
788 |
#'label:' 'Exit' |
|
789 |
#'value:' #closeRequest |
|
498 | 790 |
#'activeHelpKey:' #fileExit |
446 | 791 |
) |
792 |
) nil |
|
793 |
nil |
|
794 |
) |
|
795 |
) |
|
796 |
#(#MenuItem |
|
797 |
#'label:' 'Edit' |
|
798 |
#'submenuChannel:' #menuEdit |
|
799 |
) |
|
800 |
#(#MenuItem |
|
801 |
#'label:' 'Align' |
|
802 |
#'submenuChannel:' #menuAlign |
|
803 |
) |
|
804 |
#(#MenuItem |
|
805 |
#'label:' 'Test' |
|
806 |
#'submenu:' |
|
807 |
#(#Menu |
|
808 |
||
809 |
#( |
|
810 |
#(#MenuItem |
|
466 | 811 |
#'label:' 'Start Application' |
812 |
#'value:' #doStartApplication |
|
498 | 813 |
#'activeHelpKey:' #testStartApplication |
466 | 814 |
) |
815 |
#(#MenuItem |
|
816 |
#'label:' '-' |
|
817 |
) |
|
818 |
#(#MenuItem |
|
446 | 819 |
#'label:' 'Geometry Test Mode' |
820 |
#'indication:' #'testMode:' |
|
821 |
) |
|
822 |
) nil |
|
823 |
nil |
|
824 |
) |
|
825 |
) |
|
826 |
#(#MenuItem |
|
827 |
#'label:' 'Settings' |
|
828 |
#'submenu:' |
|
829 |
#(#Menu |
|
830 |
||
831 |
#( |
|
832 |
#(#MenuItem |
|
833 |
#'label:' 'Undo Manager' |
|
834 |
#'value:' #openUndoMenu |
|
835 |
) |
|
836 |
#(#MenuItem |
|
837 |
#'label:' '-' |
|
838 |
) |
|
839 |
#(#MenuItem |
|
840 |
#'label:' 'Grid Manager' |
|
841 |
#'value:' #gridMenu |
|
842 |
) |
|
843 |
) nil |
|
844 |
nil |
|
845 |
) |
|
846 |
) |
|
847 |
#(#MenuItem |
|
848 |
#'label:' 'History' |
|
849 |
#'submenuChannel:' #menuHistory |
|
850 |
) |
|
851 |
#(#MenuItem |
|
498 | 852 |
#'label:' 'Help' |
853 |
#'submenuChannel:' #menuHelp |
|
854 |
) |
|
855 |
#(#MenuItem |
|
446 | 856 |
#'label:' '' |
857 |
) |
|
858 |
#(#MenuItem |
|
859 |
#'label:' 'Gallery' |
|
860 |
#'indication:' #galleryShown |
|
861 |
) |
|
862 |
#(#MenuItem |
|
863 |
#'label:' 'Canvas' |
|
864 |
#'indication:' #painterShown |
|
865 |
) |
|
866 |
) nil |
|
867 |
nil |
|
868 |
) |
|
869 |
! |
|
870 |
||
871 |
menuAlign |
|
872 |
"this window spec was automatically generated by the ST/X MenuEditor" |
|
873 |
||
874 |
"do not manually edit this - the builder may not be able to |
|
875 |
handle the specification if its corrupted." |
|
876 |
||
877 |
" |
|
878 |
MenuEditor new openOnClass:UIPainter andSelector:#menuAlign |
|
879 |
(Menu new fromLiteralArrayEncoding:(UIPainter menuAlign)) startUp |
|
217 | 880 |
" |
881 |
||
882 |
<resource: #menu> |
|
883 |
||
884 |
^ |
|
885 |
||
886 |
#(#Menu |
|
887 |
||
888 |
#( |
|
889 |
#(#MenuItem |
|
446 | 890 |
#'label:' 'Align Left' |
891 |
#'value:' #alignSelectionLeft |
|
892 |
#'activeHelpKey:' #alignSelectionLeft |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
893 |
#'enabled:' #hasSelection |
446 | 894 |
#'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignL 'Align Left') |
895 |
) |
|
896 |
#(#MenuItem |
|
897 |
#'label:' 'Align Right' |
|
898 |
#'value:' #alignSelectionRight |
|
899 |
#'activeHelpKey:' #alignSelectionRight |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
900 |
#'enabled:' #hasSelection |
446 | 901 |
#'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignR 'Align Right') |
902 |
) |
|
903 |
#(#MenuItem |
|
904 |
#'label:' 'Align Left & Right' |
|
905 |
#'value:' #alignSelectionLeftAndRight |
|
906 |
#'activeHelpKey:' #alignSelectionLeftAndRight |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
907 |
#'enabled:' #hasSelection |
446 | 908 |
#'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignLR 'Align Left & Right') |
909 |
) |
|
910 |
#(#MenuItem |
|
911 |
#'label:' 'Align top' |
|
912 |
#'value:' #alignSelectionTop |
|
913 |
#'activeHelpKey:' #alignSelectionTop |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
914 |
#'enabled:' #hasSelection |
446 | 915 |
#'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignT 'Align top') |
916 |
) |
|
917 |
#(#MenuItem |
|
918 |
#'label:' 'Align Bottom' |
|
919 |
#'value:' #alignSelectionBottom |
|
920 |
#'activeHelpKey:' #alignSelectionBottom |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
921 |
#'enabled:' #hasSelection |
446 | 922 |
#'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignB 'Align Bottom') |
923 |
) |
|
924 |
#(#MenuItem |
|
925 |
#'label:' 'Align Top & Bottom' |
|
926 |
#'value:' #alignSelectionTopAndBottom |
|
927 |
#'activeHelpKey:' #alignSelectionTopAndBottom |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
928 |
#'enabled:' #hasSelection |
446 | 929 |
#'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignTB 'Align Top & Bottom') |
930 |
) |
|
931 |
#(#MenuItem |
|
932 |
#'label:' 'Align Centered Horizontal' |
|
933 |
#'value:' #alignSelectionCenterHor |
|
934 |
#'activeHelpKey:' #alignSelectionCenterHor |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
935 |
#'enabled:' #hasSelection |
446 | 936 |
#'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignCenterH 'Align Centered Horizontal') |
937 |
) |
|
938 |
#(#MenuItem |
|
939 |
#'label:' 'Align Centered Vertical' |
|
940 |
#'value:' #alignSelectionCenterVer |
|
941 |
#'activeHelpKey:' #alignSelectionCenterVer |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
942 |
#'enabled:' #hasSelection |
446 | 943 |
#'labelImage:' #(#ResourceRetriever #UIPainter #iconAlignCenterV 'Align Centered Vertical') |
944 |
) |
|
945 |
#(#MenuItem |
|
946 |
#'label:' '-' |
|
947 |
) |
|
948 |
#(#MenuItem |
|
949 |
#'label:' 'Spread Horizontal' |
|
950 |
#'value:' #spreadSelectionHor |
|
951 |
#'activeHelpKey:' #spreadSelectionHor |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
952 |
#'enabled:' #hasSelection |
446 | 953 |
) |
954 |
#(#MenuItem |
|
955 |
#'label:' 'Spread Vertical' |
|
956 |
#'value:' #spreadSelectionVer |
|
957 |
#'activeHelpKey:' #spreadSelectionVer |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
958 |
#'enabled:' #hasSelection |
446 | 959 |
) |
960 |
#(#MenuItem |
|
961 |
#'label:' '-' |
|
962 |
) |
|
963 |
#(#MenuItem |
|
964 |
#'label:' 'Center Horizontal In Frame' |
|
965 |
#'value:' #centerSelectionHor |
|
966 |
#'activeHelpKey:' #centerSelectionHor |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
967 |
#'enabled:' #hasSelection |
446 | 968 |
) |
969 |
#(#MenuItem |
|
970 |
#'label:' 'Center Vertical In Frame' |
|
971 |
#'value:' #centerSelectionVer |
|
972 |
#'activeHelpKey:' #centerSelectionVer |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
973 |
#'enabled:' #hasSelection |
446 | 974 |
) |
975 |
) nil |
|
976 |
nil |
|
977 |
) |
|
495
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
978 |
|
f356a6636eef
disable hook & browse menu items, if there is no class yet.
Claus Gittinger <cg@exept.de>
parents:
491
diff
changeset
|
979 |
"Modified: / 27.1.1998 / 21:27:33 / cg" |
446 | 980 |
! |
981 |
||
982 |
menuEdit |
|
983 |
"this window spec was automatically generated by the ST/X MenuEditor" |
|
984 |
||
985 |
"do not manually edit this - the builder may not be able to |
|
986 |
handle the specification if its corrupted." |
|
987 |
||
988 |
" |
|
989 |
MenuEditor new openOnClass:UIPainter andSelector:#menuEdit |
|
990 |
(Menu new fromLiteralArrayEncoding:(UIPainter menuEdit)) startUp |
|
991 |
" |
|
992 |
||
993 |
<resource: #menu> |
|
994 |
||
995 |
^ |
|
996 |
||
997 |
#(#Menu |
|
998 |
||
999 |
#( |
|
1000 |
#(#MenuItem |
|
1001 |
#'label:' 'Cut' |
|
1002 |
#'value:' #deleteSelection |
|
498 | 1003 |
#'activeHelpKey:' #editCut |
446 | 1004 |
#'enabled:' #hasSelection |
1005 |
#'shortcutKeyCharacter:' #Cut |
|
1006 |
) |
|
1007 |
#(#MenuItem |
|
1008 |
#'label:' 'Copy' |
|
1009 |
#'value:' #copySelection |
|
498 | 1010 |
#'activeHelpKey:' #editCopy |
446 | 1011 |
#'enabled:' #hasSelection |
1012 |
#'shortcutKeyCharacter:' #Copy |
|
1013 |
) |
|
1014 |
#(#MenuItem |
|
1015 |
#'label:' 'Paste' |
|
1016 |
#'nameKey:' #paste |
|
1017 |
#'value:' #paste |
|
498 | 1018 |
#'activeHelpKey:' #editPaste |
446 | 1019 |
#'enabled:' #canPaste |
1020 |
#'submenu:' |
|
1021 |
#(#Menu |
|
1022 |
||
1023 |
#( |
|
1024 |
#(#MenuItem |
|
1025 |
#'label:' 'Paste' |
|
1026 |
#'value:' #pasteBuffer |
|
1027 |
#'activeHelpKey:' #pasteBuffer |
|
1028 |
#'shortcutKeyCharacter:' #Paste |
|
1029 |
) |
|
1030 |
#(#MenuItem |
|
1031 |
#'label:' 'Keep Layout' |
|
1032 |
#'value:' #pasteWithLayout |
|
1033 |
#'activeHelpKey:' #pasteWithLayout |
|
1034 |
#'enabled:' #canKeepLayoutInSelection |
|
1035 |
) |
|
1036 |
) nil |
|
1037 |
nil |
|
1038 |
) |
|
1039 |
) |
|
1040 |
#(#MenuItem |
|
1041 |
#'label:' '-' |
|
1042 |
) |
|
1043 |
#(#MenuItem |
|
1044 |
#'label:' 'Undo' |
|
1045 |
#'nameKey:' #undo |
|
1046 |
#'value:' #undoLast |
|
498 | 1047 |
#'activeHelpKey:' #editUndo |
446 | 1048 |
#'enabled:' #hasUndoHistory |
1049 |
#'shortcutKeyCharacter:' #Cmdu |
|
1050 |
) |
|
1051 |
#(#MenuItem |
|
1052 |
#'label:' '-' |
|
1053 |
) |
|
1054 |
#(#MenuItem |
|
498 | 1055 |
#'label:' 'Align' |
1056 |
#'submenuChannel:' #menuAlign |
|
1057 |
) |
|
1058 |
#(#MenuItem |
|
1059 |
#'label:' 'Move' |
|
1060 |
#'submenuChannel:' #menuMove |
|
1061 |
) |
|
1062 |
#(#MenuItem |
|
446 | 1063 |
#'label:' 'Dimension' |
1064 |
#'value:' #dimension |
|
1065 |
#'enabled:' #hasSelection |
|
1066 |
#'submenu:' |
|
1067 |
#(#Menu |
|
1068 |
||
1069 |
#( |
|
1070 |
#(#MenuItem |
|
1071 |
#'label:' 'Default Extent' |
|
1072 |
#'value:' #setToDefaultExtent |
|
1073 |
#'activeHelpKey:' #setToDefaultExtent |
|
1074 |
#'enabled:' #canMoveOrAlignSelection |
|
1075 |
) |
|
1076 |
#(#MenuItem |
|
1077 |
#'label:' 'Default Width' |
|
1078 |
#'value:' #setToDefaultWidth |
|
1079 |
#'activeHelpKey:' #setToDefaultWidth |
|
1080 |
#'enabled:' #canMoveOrAlignSelection |
|
1081 |
) |
|
1082 |
#(#MenuItem |
|
1083 |
#'label:' 'Default Height' |
|
1084 |
#'value:' #setToDefaultHeight |
|
1085 |
#'activeHelpKey:' #setToDefaultHeight |
|
1086 |
#'enabled:' #canMoveOrAlignSelection |
|
1087 |
) |
|
1088 |
#(#MenuItem |
|
1089 |
#'label:' '-' |
|
1090 |
) |
|
1091 |
#(#MenuItem |
|
1092 |
#'label:' 'Copy Extent' |
|
1093 |
#'value:' #copyExtent |
|
1094 |
#'activeHelpKey:' #copyExtent |
|
1095 |
#'enabled:' #hasSingleSelection |
|
1096 |
) |
|
1097 |
#(#MenuItem |
|
1098 |
#'label:' '-' |
|
1099 |
) |
|
1100 |
#(#MenuItem |
|
1101 |
#'label:' 'Paste Extent' |
|
1102 |
#'value:' #pasteExtent |
|
1103 |
#'activeHelpKey:' #pasteExtent |
|
1104 |
#'enabled:' #canMoveOrAlignSelection |
|
1105 |
) |
|
1106 |
#(#MenuItem |
|
1107 |
#'label:' 'Paste Width' |
|
1108 |
#'value:' #pasteWidth |
|
1109 |
#'activeHelpKey:' #pasteWidth |
|
1110 |
#'enabled:' #canMoveOrAlignSelection |
|
1111 |
) |
|
1112 |
#(#MenuItem |
|
1113 |
#'label:' 'Paste Height' |
|
1114 |
#'value:' #pasteHeight |
|
1115 |
#'activeHelpKey:' #pasteHeight |
|
1116 |
#'enabled:' #canMoveOrAlignSelection |
|
1117 |
) |
|
1118 |
#(#MenuItem |
|
1119 |
#'label:' '-' |
|
1120 |
) |
|
1121 |
#(#MenuItem |
|
1122 |
#'label:' 'Copy Layout' |
|
1123 |
#'value:' #copyLayout |
|
1124 |
#'activeHelpKey:' #copyLayout |
|
1125 |
#'enabled:' #hasSingleSelection |
|
1126 |
) |
|
1127 |
#(#MenuItem |
|
1128 |
#'label:' 'Paste Layout' |
|
1129 |
#'value:' #pasteLayout |
|
1130 |
#'activeHelpKey:' #pasteLayout |
|
1131 |
#'enabled:' #canMoveOrAlignSelection |
|
1132 |
) |
|
1133 |
) nil |
|
1134 |
nil |
|
1135 |
) |
|
1136 |
) |
|
498 | 1137 |
) nil |
1138 |
nil |
|
1139 |
) |
|
1140 |
! |
|
1141 |
||
1142 |
menuMove |
|
1143 |
"this window spec was automatically generated by the ST/X MenuEditor" |
|
1144 |
||
1145 |
"do not manually edit this - the builder may not be able to |
|
1146 |
handle the specification if its corrupted." |
|
1147 |
||
1148 |
" |
|
1149 |
MenuEditor new openOnClass:UIPainter andSelector:#menuMove |
|
1150 |
(Menu new fromLiteralArrayEncoding:(UIPainter menuMove)) startUp |
|
1151 |
" |
|
1152 |
||
1153 |
<resource: #menu> |
|
1154 |
||
1155 |
^ |
|
1156 |
||
1157 |
#(#Menu |
|
1158 |
||
1159 |
#( |
|
446 | 1160 |
#(#MenuItem |
498 | 1161 |
#'label:' 'Move Up' |
1162 |
#'value:' #doStepUp |
|
1163 |
#'activeHelpKey:' #moveSelectionUp |
|
1164 |
#'enabled:' #canMoveOrAlignSelection |
|
1165 |
#'labelImage:' #(#ResourceRetriever #ToolApplicationModel #upIcon 'Move Up') |
|
1166 |
) |
|
1167 |
#(#MenuItem |
|
1168 |
#'label:' 'Move Down' |
|
1169 |
#'value:' #doStepDown |
|
1170 |
#'activeHelpKey:' #moveSelectionDown |
|
1171 |
#'enabled:' #canMoveOrAlignSelection |
|
1172 |
#'labelImage:' #(#ResourceRetriever #ToolApplicationModel #downIcon 'Move Down') |
|
1173 |
) |
|
1174 |
#(#MenuItem |
|
1175 |
#'label:' 'Move In' |
|
1176 |
#'value:' #doStepIn |
|
1177 |
#'activeHelpKey:' #moveSelectionRight |
|
1178 |
#'enabled:' #canMoveSelectionIntoContainer |
|
1179 |
#'labelImage:' #(#ResourceRetriever #ToolApplicationModel #downRightIcon 'Move In') |
|
1180 |
) |
|
1181 |
#(#MenuItem |
|
1182 |
#'label:' 'Move Out' |
|
1183 |
#'value:' #doStepOut |
|
1184 |
#'activeHelpKey:' #moveSelectionLeft |
|
1185 |
#'enabled:' #canMoveSelectionOutOfContainer |
|
1186 |
#'labelImage:' #(#ResourceRetriever #ToolApplicationModel #leftDownIcon 'Move Out') |
|
446 | 1187 |
) |
1188 |
) nil |
|
1189 |
nil |
|
1190 |
) |
|
1191 |
! |
|
1192 |
||
1193 |
menuToolbar |
|
1194 |
"this window spec was automatically generated by the ST/X MenuEditor" |
|
1195 |
||
1196 |
"do not manually edit this - the builder may not be able to |
|
1197 |
handle the specification if its corrupted." |
|
1198 |
||
1199 |
" |
|
1200 |
MenuEditor new openOnClass:UIPainter andSelector:#menuToolbar |
|
1201 |
(Menu new fromLiteralArrayEncoding:(UIPainter menuToolbar)) startUp |
|
1202 |
" |
|
1203 |
||
1204 |
<resource: #menu> |
|
1205 |
||
1206 |
^ |
|
1207 |
||
1208 |
#(#Menu |
|
1209 |
||
1210 |
#( |
|
1211 |
#(#MenuItem |
|
498 | 1212 |
#'label:' 'Start' |
446 | 1213 |
#'isButton:' true |
1214 |
#'value:' #doStartApplication |
|
498 | 1215 |
#'activeHelpKey:' #testStartApplication |
1216 |
#'labelImage:' #(#ResourceRetriever nil #startIcon) |
|
446 | 1217 |
) |
1218 |
#(#MenuItem |
|
518 | 1219 |
#'label:' '' |
446 | 1220 |
) |
1221 |
#(#MenuItem |
|
1222 |
#'label:' 'New' |
|
1223 |
#'isButton:' true |
|
1224 |
#'value:' #doNew |
|
498 | 1225 |
#'activeHelpKey:' #fileNew |
446 | 1226 |
#'labelImage:' #(#ResourceRetriever nil #newIcon) |
1227 |
) |
|
1228 |
#(#MenuItem |
|
1229 |
#'label:' 'Load' |
|
1230 |
#'isButton:' true |
|
1231 |
#'value:' #doFromClass |
|
498 | 1232 |
#'activeHelpKey:' #fileLoad |
446 | 1233 |
#'labelImage:' #(#ResourceRetriever nil #loadIcon) |
1234 |
) |
|
1235 |
#(#MenuItem |
|
1236 |
#'label:' 'Save' |
|
1237 |
#'isButton:' true |
|
1238 |
#'value:' #doInstallSpec |
|
498 | 1239 |
#'activeHelpKey:' #fileSave |
446 | 1240 |
#'labelImage:' #(#ResourceRetriever nil #saveIcon) |
1241 |
) |
|
1242 |
#(#MenuItem |
|
518 | 1243 |
#'label:' '' |
446 | 1244 |
) |
1245 |
#(#MenuItem |
|
498 | 1246 |
#'label:' 'Move Up' |
446 | 1247 |
#'isButton:' true |
1248 |
#'value:' #doStepUp |
|
498 | 1249 |
#'activeHelpKey:' #moveSelectionUp |
1250 |
#'enabled:' #canMoveOrAlignSelection |
|
446 | 1251 |
#'labelImage:' #(#ResourceRetriever nil #upIcon) |
1252 |
) |
|
1253 |
#(#MenuItem |
|
498 | 1254 |
#'label:' 'Move Down' |
446 | 1255 |
#'isButton:' true |
1256 |
#'value:' #doStepDown |
|
498 | 1257 |
#'activeHelpKey:' #moveSelectionDown |
1258 |
#'enabled:' #canMoveOrAlignSelection |
|
446 | 1259 |
#'labelImage:' #(#ResourceRetriever nil #downIcon) |
1260 |
) |
|
1261 |
#(#MenuItem |
|
498 | 1262 |
#'label:' 'Move In' |
446 | 1263 |
#'isButton:' true |
1264 |
#'value:' #doStepIn |
|
498 | 1265 |
#'activeHelpKey:' #moveSelectionRight |
1266 |
#'enabled:' #canMoveSelectionIntoContainer |
|
446 | 1267 |
#'labelImage:' #(#ResourceRetriever nil #downRightIcon) |
1268 |
) |
|
1269 |
#(#MenuItem |
|
498 | 1270 |
#'label:' 'Move Out' |
446 | 1271 |
#'isButton:' true |
1272 |
#'value:' #doStepOut |
|
498 | 1273 |
#'activeHelpKey:' #moveSelectionLeft |
1274 |
#'enabled:' #canMoveSelectionOutOfContainer |
|
446 | 1275 |
#'labelImage:' #(#ResourceRetriever nil #leftDownIcon) |
1276 |
) |
|
1277 |
#(#MenuItem |
|
518 | 1278 |
#'label:' '' |
446 | 1279 |
) |
1280 |
#(#MenuItem |
|
498 | 1281 |
#'label:' 'Align left' |
437 | 1282 |
#'isButton:' true |
217 | 1283 |
#'value:' #alignSelectionLeft |
287 | 1284 |
#'activeHelpKey:' #alignSelectionLeft |
437 | 1285 |
#'labelImage:' #(#ResourceRetriever nil #iconAlignL) |
217 | 1286 |
) |
1287 |
#(#MenuItem |
|
498 | 1288 |
#'label:' 'Align right' |
437 | 1289 |
#'isButton:' true |
217 | 1290 |
#'value:' #alignSelectionRight |
1291 |
#'activeHelpKey:' #alignSelectionRight |
|
437 | 1292 |
#'labelImage:' #(#ResourceRetriever nil #iconAlignR) |
217 | 1293 |
) |
1294 |
#(#MenuItem |
|
498 | 1295 |
#'label:' 'Align left & right' |
437 | 1296 |
#'isButton:' true |
217 | 1297 |
#'value:' #alignSelectionLeftAndRight |
1298 |
#'activeHelpKey:' #alignSelectionLeftAndRight |
|
437 | 1299 |
#'labelImage:' #(#ResourceRetriever nil #iconAlignLR) |
1300 |
) |
|
1301 |
#(#MenuItem |
|
498 | 1302 |
#'label:' 'Align top' |
437 | 1303 |
#'isButton:' true |
217 | 1304 |
#'value:' #alignSelectionTop |
1305 |
#'activeHelpKey:' #alignSelectionTop |
|
437 | 1306 |
#'labelImage:' #(#ResourceRetriever nil #iconAlignT) |
217 | 1307 |
) |
1308 |
#(#MenuItem |
|
498 | 1309 |
#'label:' 'Align bottom' |
437 | 1310 |
#'isButton:' true |
217 | 1311 |
#'value:' #alignSelectionBottom |
1312 |
#'activeHelpKey:' #alignSelectionBottom |
|
437 | 1313 |
#'labelImage:' #(#ResourceRetriever nil #iconAlignB) |
217 | 1314 |
) |
1315 |
#(#MenuItem |
|
498 | 1316 |
#'label:' 'Align top & bottom' |
437 | 1317 |
#'isButton:' true |
217 | 1318 |
#'value:' #alignSelectionTopAndBottom |
1319 |
#'activeHelpKey:' #alignSelectionTopAndBottom |
|
437 | 1320 |
#'labelImage:' #(#ResourceRetriever nil #iconAlignTB) |
1321 |
) |
|
1322 |
#(#MenuItem |
|
518 | 1323 |
#'label:' '' |
217 | 1324 |
) |
1325 |
#(#MenuItem |
|
498 | 1326 |
#'label:' 'Align centered horizontal' |
437 | 1327 |
#'isButton:' true |
217 | 1328 |
#'value:' #alignSelectionCenterHor |
1329 |
#'activeHelpKey:' #alignSelectionCenterHor |
|
437 | 1330 |
#'labelImage:' #(#ResourceRetriever nil #iconAlignCenterH) |
217 | 1331 |
) |
1332 |
#(#MenuItem |
|
498 | 1333 |
#'label:' 'Align centered vertical' |
437 | 1334 |
#'isButton:' true |
217 | 1335 |
#'value:' #alignSelectionCenterVer |
1336 |
#'activeHelpKey:' #alignSelectionCenterVer |
|
437 | 1337 |
#'labelImage:' #(#ResourceRetriever nil #iconAlignCenterV) |
217 | 1338 |
) |
437 | 1339 |
) nil |
217 | 1340 |
nil |
1341 |
) |
|
446 | 1342 |
! ! |
1343 |
||
1344 |
!UIPainter class methodsFor:'resources'! |
|
1345 |
||
1346 |
iconAlignB |
|
490 | 1347 |
"Generated by the Image Editor" |
1348 |
" |
|
1349 |
ImageEditor openOnClass:self andSelector:#iconAlignB |
|
1350 |
" |
|
446 | 1351 |
|
1352 |
<resource: #image> |
|
490 | 1353 |
|
1354 |
^Icon |
|
1355 |
constantNamed:#'UIPainter iconAlignB' |
|
1356 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@E@@@@@@@G@@@@@@@G@E@@@@@G@G@@@@@G@G@@@@@G@G@@@E@G@G@@@G@G@G@K@G@G@G@@@G@G@G@A@G@G@G@@@G@G@G@K@@@@@@@@B*****(@B*****(@@@@@@@@@@@@@@@@@@@@@@@@@'); colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color red:0.0 green:0.0 blue:49.9962)); at:4 put:((Color grey:66.9978)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@G C@G @@G'' @G'' @G'' @G'' G'''' G'''' G'''' G''''!!G'''' G'''' G'''' G'''' O??0O??0@@@@@@@C@@@@'); yourself); yourself]! |
|
446 | 1357 |
|
1358 |
iconAlignCenterH |
|
490 | 1359 |
"Generated by the Image Editor" |
1360 |
" |
|
1361 |
ImageEditor openOnClass:self andSelector:#iconAlignCenterH |
|
1362 |
" |
|
446 | 1363 |
|
1364 |
<resource: #image> |
|
490 | 1365 |
|
1366 |
^Icon |
|
1367 |
constantNamed:#'UIPainter iconAlignCenterH' |
|
1368 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUPUUUUUUUPUUUUUUUPV*****)PV*****)PUUUMUUUPUUT?UUUPUUS?5UU\UUO?=UUWUT???UUPUTUUUUUPUUUUUUUPV*****)PV*****)PUUUMUUUPUUT?UUUPUUS?5UUPUUO?=UUPUT???UUWUTUUUUUPUUUUUUUPUUUUUUUP'); colorMap:(((Array new:4) at:1 put:((Color white)); at:2 put:((Color black)); at:3 put:((Color red:0.0 green:0.0 blue:49.9962)); at:4 put:((Color grey:49.9962)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@BO??0O??0@G@@@O @@_0@@?8@A?<@A?<@@@@@O??0O??3@G@@@O @@_0@@?8@A?<@A?<@@@@@@@@@'); yourself); yourself]! |
|
446 | 1369 |
|
1370 |
iconAlignCenterV |
|
490 | 1371 |
"Generated by the Image Editor" |
1372 |
" |
|
1373 |
ImageEditor openOnClass:self andSelector:#iconAlignCenterV |
|
1374 |
" |
|
446 | 1375 |
|
1376 |
<resource: #image> |
|
490 | 1377 |
|
1378 |
^Icon |
|
1379 |
constantNamed:#'UIPainter iconAlignCenterV' |
|
1380 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUPUUUUUUUPUUV%UV%PUUV%UV%PUUV%UV%PTEV$EV%PT=V$=V%PT?V$?V%PT?6$?6%WT?>$?>%PT?>$?>%_T?6$?6%PT?V$?V%PT=V$=V%PT5V$5V%WUUV%UV%PUUV%UV%PUUV%UV%_UUV%UV%WUUV%UV%PUUUUUUUPUUUUUUUQ'); colorMap:(((Array new:4) at:1 put:((Color white)); at:2 put:((Color black)); at:3 put:((Color red:0.0 green:0.0 blue:49.9962)); at:4 put:((Color grey:49.9962)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@LA!!@LA @LA LM!! NM1 OM9 O-= O=? O=? O=? O-= OM9 NM1 DL!!#@LA @LA @LA @LA @@@C@@@@'); yourself); yourself]! |
|
446 | 1381 |
|
1382 |
iconAlignL |
|
490 | 1383 |
"Generated by the Image Editor" |
1384 |
" |
|
1385 |
ImageEditor openOnClass:self andSelector:#iconAlignL |
|
1386 |
" |
|
446 | 1387 |
|
1388 |
<resource: #image> |
|
490 | 1389 |
|
1390 |
^Icon |
|
1391 |
constantNamed:#'UIPainter iconAlignL' |
|
1392 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@(@@@@@@@(@@@@@@@(UUUP@I@(_??0@@@(@@@@@@@(@@@@@@@(@@@@@@@(@@@@@@@(UUUU@@@(_???@@@(@@@@@E@(@@@@@@@(@@@@@@@(@@@@@@@(UU@@@@@(_?@@@@@(@@@@@@@(@@@@@@@@@@@@@E@@@@@@@@'); colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color red:0.0 green:0.0 blue:49.9977)); at:4 put:((Color grey:66.9978)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@F@@@G?>@G?>@G?>@G?>@F@@@F@@@G?? G?? G?? G?? F@@@F@@@G? @G? @G? @G? @F@@@@@@@@@@@'); yourself); yourself]! |
|
446 | 1393 |
|
1394 |
iconAlignLR |
|
490 | 1395 |
"Generated by the Image Editor" |
1396 |
" |
|
1397 |
ImageEditor openOnClass:self andSelector:#iconAlignLR |
|
1398 |
" |
|
446 | 1399 |
|
1400 |
<resource: #image> |
|
490 | 1401 |
|
1402 |
^Icon |
|
1403 |
constantNamed:#'UIPainter iconAlignLR' |
|
1404 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@(@@@B @@(@@@B @@(UUUR I@(_??2 @@(@@@B @@(@@@B @@(@@@B @@(@@@B @@(UUUR @@(_??2 @@(@@@B E@(@@@B @@(@@@B @@(@@@B @@(UUUR @@(_??B @@(@@@B @@(@@@B @@@@@@@@E@@@@@@@@'); colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color red:0.0 green:0.0 blue:49.9977)); at:4 put:((Color grey:66.9978)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@F@A G?? G?? G?? G?? F@A F@A G?? G?? G?? G?? F@A F@A G?? G?? G?; G?? F@A @@@@@@@@'); yourself); yourself]! |
|
446 | 1405 |
|
1406 |
iconAlignR |
|
490 | 1407 |
"Generated by the Image Editor" |
1408 |
" |
|
1409 |
ImageEditor openOnClass:self andSelector:#iconAlignR |
|
1410 |
" |
|
446 | 1411 |
|
1412 |
<resource: #image> |
|
490 | 1413 |
|
1414 |
^Icon |
|
1415 |
constantNamed:#'UIPainter iconAlignR' |
|
1416 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@B @@@@@@B @@@UUUR I@@_??2 @@@@@@B @@@@@@B @@@@@@B @@@@@@B @@EUUUR @@G???2 @@@@@@B E@@@@@B @@@@@@B @@@@@@B @@@@EUR @@@@G?2 @@@@@@B @@@@@@B @@@@@@@@E@@@@@@@@'); colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color red:0.0 green:0.0 blue:49.9977)); at:4 put:((Color grey:66.9978)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@A A?? A?? A?? A?? @@A @@A G?? G?? G?? G?? @@A @@A @G? @G? @G? @G? @@A @@@@@@@@'); yourself); yourself]! |
|
446 | 1417 |
|
1418 |
iconAlignT |
|
490 | 1419 |
"Generated by the Image Editor" |
1420 |
" |
|
1421 |
ImageEditor openOnClass:self andSelector:#iconAlignT |
|