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