author | Claus Gittinger <cg@exept.de> |
Mon, 20 Apr 1998 15:38:13 +0200 | |
changeset 790 | 79bc027907ee |
parent 788 | 8f9f3c3fcf60 |
child 794 | 212bc7e46765 |
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 |
|
146 |
'Changes the position of the widgets to the bottom.' |
|
147 |
||
148 |
#changePositionLeft |
|
149 |
'Changes the position of the widgets to the left.' |
|
150 |
||
151 |
#changePositionRight |
|
152 |
'Changes the position of the widgets to the right.' |
|
153 |
||
154 |
#changePositionUp |
|
155 |
'Changes the position of the widgets to the top.' |
|
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 |
|
713 | 209 |
'Saves current window spec on current class and if modified the help spec.' |
210 |
||
211 |
#fileSaveAs |
|
212 |
'Opens a dialog to select or create a class and selector in order to save current window spec.' |
|
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 |
713 | 248 |
'Pastes the widgets of the clipboard at 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 |
269 |
'Opens a dialog to reverse a certain number of last edit action.' |
|
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 |
|
278 |
'Turns on/off the geometry test mode in order to define ratios of variable panels.' |
|
498 | 279 |
|
280 |
#testStartApplication |
|
713 | 281 |
'Starts current application on current window spec.' |
194 | 282 |
|
193 | 283 |
) |
284 |
! ! |
|
285 |
||
297 | 286 |
!UIPainter class methodsFor:'helpers'! |
287 |
||
368 | 288 |
convertString:aString maxLineSize:maxCharactersPerLine skipLineFeed:skipLineFeed |
297 | 289 |
"converts a string to a string collection with maximum characters |
290 |
per line |
|
291 |
" |
|
292 |
|stream |
|
293 |
max "{ Class:SmallInteger }" |
|
294 |
size "{ Class:SmallInteger }" |
|
295 |
start "{ Class:SmallInteger }" |
|
296 |
stop "{ Class:SmallInteger }" |
|
297 |
cpySz "{ Class:SmallInteger }" |
|
542 | 298 |
lnSz "{ Class:SmallInteger }" |
299 |
atBeginOfLine| |
|
297 | 300 |
|
301 |
maxCharactersPerLine < 20 ifFalse:[max := maxCharactersPerLine - 1] |
|
302 |
ifTrue:[max := 20]. |
|
303 |
||
304 |
(size := aString size) <= max ifTrue:[ |
|
305 |
^ aString |
|
306 |
]. |
|
307 |
start := 1. |
|
308 |
lnSz := 0. |
|
309 |
stream := (String new:size) writeStream. |
|
310 |
||
542 | 311 |
atBeginOfLine := true. |
312 |
||
297 | 313 |
[start <= size] whileTrue:[ |
314 |
(start := aString indexOfNonSeparatorStartingAt:start) == 0 ifTrue:[ |
|
315 |
^ stream contents |
|
316 |
]. |
|
368 | 317 |
(aString at:start) == $\ ifTrue:[ |
318 |
skipLineFeed ifFalse:[ |
|
319 |
stream nextPut:$\ |
|
320 |
]. |
|
321 |
start := start + 1. |
|
322 |
stream cr. |
|
323 |
start := start + 1. |
|
324 |
lnSz := 0. |
|
325 |
] ifFalse:[ |
|
326 |
(stop := aString indexOfSeparatorStartingAt:start) == 0 ifTrue:[ |
|
542 | 327 |
stop := size + 1 |
368 | 328 |
]. |
329 |
(aString at:(stop - 1)) == $\ ifTrue:[ |
|
330 |
stop := stop - 1 |
|
331 |
]. |
|
332 |
cpySz := stop - start. |
|
333 |
||
334 |
lnSz == 0 ifFalse:[ |
|
542 | 335 |
(lnSz := lnSz + cpySz) >= max ifTrue:[stream cr. lnSz := cpySz. atBeginOfLine := true. ] |
368 | 336 |
ifFalse:[stream space. lnSz := lnSz + 1] |
337 |
] ifTrue:[ |
|
338 |
lnSz := cpySz |
|
339 |
]. |
|
340 |
stream nextPutAll:aString startingAt:start to:(stop - 1). |
|
341 |
start := stop. |
|
342 |
] |
|
297 | 343 |
]. |
344 |
^ stream contents |
|
542 | 345 |
|
346 |
"Modified: / 1.2.1998 / 14:42:56 / cg" |
|
297 | 347 |
! ! |
348 |
||
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
349 |
!UIPainter class methodsFor:'image specs'! |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
350 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
351 |
iconAlignB |
743 | 352 |
"This resource specification was automatically generated |
353 |
by the ImageEditor of ST/X." |
|
354 |
||
778 | 355 |
"Do not manually edit this!! If it is corrupted, |
743 | 356 |
the ImageEditor may not be able to read the specification." |
357 |
||
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
358 |
" |
743 | 359 |
ImageEditor openOnClass:self andSelector:#iconAlignB |
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
360 |
" |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
361 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
362 |
<resource: #image> |
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 |
^Icon |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
365 |
constantNamed:#'UIPainter iconAlignB' |
778 | 366 |
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] |
367 |
! |
|
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
368 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
369 |
iconAlignL |
743 | 370 |
"This resource specification was automatically generated |
371 |
by the ImageEditor of ST/X." |
|
372 |
||
778 | 373 |
"Do not manually edit this!! If it is corrupted, |
743 | 374 |
the ImageEditor may not be able to read the specification." |
375 |
||
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
376 |
" |
743 | 377 |
ImageEditor openOnClass:self andSelector:#iconAlignL |
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
378 |
" |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
379 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
380 |
<resource: #image> |
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 |
^Icon |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
383 |
constantNamed:#'UIPainter iconAlignL' |
778 | 384 |
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] |
385 |
! |
|
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
386 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
387 |
iconAlignLR |
743 | 388 |
"This resource specification was automatically generated |
389 |
by the ImageEditor of ST/X." |
|
390 |
||
785 | 391 |
"Do not manually edit this!! If it is corrupted, |
743 | 392 |
the ImageEditor may not be able to read the specification." |
393 |
||
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
394 |
" |
743 | 395 |
ImageEditor openOnClass:self andSelector:#iconAlignLR |
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
396 |
" |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
397 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
398 |
<resource: #image> |
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 |
^Icon |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
401 |
constantNamed:#'UIPainter iconAlignLR' |
785 | 402 |
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] |
403 |
! |
|
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
404 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
405 |
iconAlignR |
743 | 406 |
"This resource specification was automatically generated |
407 |
by the ImageEditor of ST/X." |
|
408 |
||
778 | 409 |
"Do not manually edit this!! If it is corrupted, |
743 | 410 |
the ImageEditor may not be able to read the specification." |
411 |
||
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
412 |
" |
743 | 413 |
ImageEditor openOnClass:self andSelector:#iconAlignR |
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
414 |
" |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
415 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
416 |
<resource: #image> |
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 |
^Icon |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
419 |
constantNamed:#'UIPainter iconAlignR' |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
420 |
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
|
421 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
422 |
iconAlignT |
743 | 423 |
"This resource specification was automatically generated |
424 |
by the ImageEditor of ST/X." |
|
425 |
||
778 | 426 |
"Do not manually edit this!! If it is corrupted, |
743 | 427 |
the ImageEditor may not be able to read the specification." |
428 |
||
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
429 |
" |
743 | 430 |
ImageEditor openOnClass:self andSelector:#iconAlignT |
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
431 |
" |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
432 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
433 |
<resource: #image> |
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 |
^Icon |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
436 |
constantNamed:#'UIPainter iconAlignT' |
778 | 437 |
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] |
438 |
! |
|
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
439 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
440 |
iconAlignTB |
743 | 441 |
"This resource specification was automatically generated |
442 |
by the ImageEditor of ST/X." |
|
443 |
||
778 | 444 |
"Do not manually edit this!! If it is corrupted, |
743 | 445 |
the ImageEditor may not be able to read the specification." |
446 |
||
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
447 |
" |
743 | 448 |
ImageEditor openOnClass:self andSelector:#iconAlignTB |
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
449 |
" |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
450 |
|
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
451 |
<resource: #image> |
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 |
^Icon |
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
454 |
constantNamed:#'UIPainter iconAlignTB' |
778 | 455 |
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] |
456 |
! ! |
|
735
29c8681ce68d
no picking for hierarchical lists + error handler for the starting phase
tz
parents:
729
diff
changeset
|
457 |
|
60 | 458 |
!UIPainter class methodsFor:'interface specs'! |
459 |
||
743 | 460 |
dialogSpecForDefiningClassAndSelector |
461 |
"This resource specification was automatically generated |
|
462 |
by the UIPainter of ST/X." |
|
463 |
||
765 | 464 |
"Do not manually edit this!! If it is corrupted, |
743 | 465 |
the UIPainter may not be able to read the specification." |
366 | 466 |
|
467 |
" |
|
743 | 468 |
UIPainter new openOnClass:UIPainter andSelector:#dialogSpecForDefiningClassAndSelector |
469 |
UIPainter new openInterface:#dialogSpecForDefiningClassAndSelector |
|
366 | 470 |
" |
471 |
||
472 |
<resource: #canvas> |
|
473 |
||
474 |
^ |
|
446 | 475 |
|
366 | 476 |
#(#FullSpec |
713 | 477 |
#window: |
366 | 478 |
#(#WindowSpec |
713 | 479 |
#name: 'GUI Painter' |
765 | 480 |
#layout: #(#LayoutFrame 240 0 345 0 586 0 504 0) |
743 | 481 |
#label: 'GUI Painter' |
765 | 482 |
#min: #(#Point 350 160) |
483 |
#max: #(#Point 500 160) |
|
484 |
#bounds: #(#Rectangle 240 345 587 505) |
|
743 | 485 |
#usePreferredExtent: false |
486 |
) |
|
487 |
#component: |
|
488 |
#(#SpecCollection |
|
489 |
#collection: |
|
490 |
#( |
|
491 |
#(#FramedBoxSpec |
|
492 |
#name: 'FramedBox' |
|
493 |
#layout: #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0) |
|
494 |
#component: |
|
495 |
#(#SpecCollection |
|
496 |
#collection: |
|
497 |
#( |
|
498 |
#(#LabelSpec |
|
499 |
#name: 'selectorLabel' |
|
500 |
#layout: #(#AlignmentOrigin 77 0.11 39 0 1 0.5) |
|
501 |
#label: 'Selector:' |
|
502 |
#adjust: #right |
|
503 |
#resizeForLabel: true |
|
504 |
) |
|
505 |
#(#InputFieldSpec |
|
506 |
#name: 'methodNameField' |
|
507 |
#layout: #(#LayoutFrame 80 0.11 28 0 14 1.0 50 0) |
|
508 |
#tabable: true |
|
509 |
#model: #methodNameChannel |
|
510 |
) |
|
511 |
#(#LabelSpec |
|
512 |
#name: 'classLabel' |
|
513 |
#layout: #(#AlignmentOrigin 77 0.11 64 0 1 0.5) |
|
514 |
#label: 'Class:' |
|
515 |
#adjust: #right |
|
516 |
#resizeForLabel: true |
|
517 |
) |
|
518 |
#(#InputFieldSpec |
|
519 |
#name: 'classNameField' |
|
520 |
#layout: #(#LayoutFrame 80 0.11 53 0 14 1.0 75 0) |
|
521 |
#tabable: true |
|
522 |
#model: #classNameChannel |
|
523 |
) |
|
524 |
#(#LabelSpec |
|
525 |
#name: 'superClassLabel' |
|
526 |
#layout: #(#AlignmentOrigin 77 0.11 89 0 1 0.5) |
|
527 |
#label: 'Superclass:' |
|
528 |
#adjust: #right |
|
529 |
#resizeForLabel: true |
|
530 |
) |
|
531 |
#(#ComboBoxSpec |
|
532 |
#name: 'superclassNameComboBox' |
|
533 |
#layout: #(#LayoutFrame 80 0.11 78 0 14 1.0 100 0) |
|
534 |
#tabable: true |
|
535 |
#model: #superclassNameChannel |
|
536 |
#comboList: #superclassNameDefaults |
|
537 |
) |
|
538 |
) |
|
539 |
) |
|
540 |
#label: 'Define Class And Selector' |
|
541 |
#labelPosition: #topLeft |
|
542 |
) |
|
543 |
#(#UISubSpecification |
|
544 |
#name: 'subSpec' |
|
545 |
#layout: #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1) |
|
546 |
#majorKey: #ToolApplicationModel |
|
547 |
#minorKey: #windowSpecForCommitWithoutChannels |
|
548 |
) |
|
549 |
) |
|
550 |
) |
|
551 |
) |
|
552 |
! |
|
553 |
||
554 |
dialogSpecForDefiningGridParameters |
|
555 |
"This resource specification was automatically generated |
|
556 |
by the UIPainter of ST/X." |
|
557 |
||
765 | 558 |
"Do not manually edit this!! If it is corrupted, |
743 | 559 |
the UIPainter may not be able to read the specification." |
560 |
||
561 |
" |
|
562 |
UIPainter new openOnClass:UIPainter andSelector:#dialogSpecForDefiningGridParameters |
|
563 |
UIPainter new openInterface:#dialogSpecForDefiningGridParameters |
|
564 |
" |
|
565 |
||
566 |
<resource: #canvas> |
|
567 |
||
568 |
^ |
|
569 |
||
570 |
#(#FullSpec |
|
571 |
#window: |
|
572 |
#(#WindowSpec |
|
573 |
#name: 'GUI Painter' |
|
765 | 574 |
#layout: #(#LayoutFrame 240 0 345 0 521 0 542 0) |
713 | 575 |
#label: 'GUI Painter' |
765 | 576 |
#min: #(#Point 300 200) |
577 |
#max: #(#Point 300 200) |
|
578 |
#bounds: #(#Rectangle 240 345 522 543) |
|
713 | 579 |
#usePreferredExtent: false |
366 | 580 |
) |
713 | 581 |
#component: |
366 | 582 |
#(#SpecCollection |
713 | 583 |
#collection: |
366 | 584 |
#( |
527 | 585 |
#(#FramedBoxSpec |
713 | 586 |
#name: 'FramedBox' |
587 |
#layout: #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -35 1.0) |
|
588 |
#component: |
|
527 | 589 |
#(#SpecCollection |
713 | 590 |
#collection: |
527 | 591 |
#( |
592 |
#(#CheckBoxSpec |
|
713 | 593 |
#name: 'ShowGridCheckBox' |
594 |
#layout: #(#Point 23 24) |
|
595 |
#model: #showGrid |
|
596 |
#label: 'Show Grid' |
|
527 | 597 |
) |
598 |
#(#CheckBoxSpec |
|
713 | 599 |
#name: 'AlignCheckBox' |
600 |
#layout: #(#Point 23 52) |
|
601 |
#model: #alignToGrid |
|
755 | 602 |
#label: 'Align To Grid' |
527 | 603 |
) |
604 |
#(#LabelSpec |
|
713 | 605 |
#name: 'HorizontalPixelsLabel' |
606 |
#layout: #(#AlignmentOrigin 148 0 99 0 1 0.5) |
|
607 |
#label: 'Horizontal Pixels:' |
|
608 |
#adjust: #right |
|
609 |
#resizeForLabel: true |
|
527 | 610 |
) |
611 |
#(#InputFieldSpec |
|
713 | 612 |
#name: 'HorizontalPixelsField' |
613 |
#layout: #(#LayoutFrame 154 0 87 0 207 0 109 0) |
|
614 |
#model: #hspace |
|
615 |
#type: #numberOrNil |
|
527 | 616 |
) |
617 |
#(#LabelSpec |
|
713 | 618 |
#name: 'VerticalPixelsLabel' |
619 |
#layout: #(#AlignmentOrigin 149 0 124 0 1 0.5) |
|
620 |
#label: 'Vertical Pixels:' |
|
621 |
#adjust: #right |
|
622 |
#resizeForLabel: true |
|
527 | 623 |
) |
624 |
#(#InputFieldSpec |
|
713 | 625 |
#name: 'VerticalPixelsField' |
626 |
#layout: #(#LayoutFrame 154 0 112 0 207 0 134 0) |
|
627 |
#model: #vspace |
|
628 |
#type: #numberOrNil |
|
527 | 629 |
) |
630 |
) |
|
631 |
) |
|
713 | 632 |
#label: 'Grid Parameter' |
633 |
#labelPosition: #topLeft |
|
366 | 634 |
) |
446 | 635 |
#(#UISubSpecification |
743 | 636 |
#name: 'subSpec' |
713 | 637 |
#layout: #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1) |
638 |
#majorKey: #ToolApplicationModel |
|
639 |
#minorKey: #windowSpecForCommitWithoutChannels |
|
366 | 640 |
) |
641 |
) |
|
642 |
) |
|
643 |
) |
|
644 |
! |
|
645 |
||
743 | 646 |
windowSpec |
647 |
"This resource specification was automatically generated |
|
648 |
by the UIPainter of ST/X." |
|
649 |
||
650 |
"Do not manually edit this!! If it is corrupted, |
|
651 |
the UIPainter may not be able to read the specification." |
|
222 | 652 |
|
653 |
" |
|
743 | 654 |
UIPainter new openOnClass:UIPainter andSelector:#windowSpec |
655 |
UIPainter new openInterface:#windowSpec |
|
656 |
UIPainter open |
|
222 | 657 |
" |
658 |
||
659 |
<resource: #canvas> |
|
660 |
||
661 |
^ |
|
724 | 662 |
|
222 | 663 |
#(#FullSpec |
724 | 664 |
#window: |
222 | 665 |
#(#WindowSpec |
724 | 666 |
#name: 'GUI Painter' |
787 | 667 |
#layout: #(#LayoutFrame 218 0 175 0 737 0 676 0) |
724 | 668 |
#label: 'GUI Painter' |
765 | 669 |
#min: #(#Point 560 460) |
743 | 670 |
#max: #(#Point 1160 870) |
787 | 671 |
#bounds: #(#Rectangle 218 175 738 677) |
743 | 672 |
#menu: #menu |
724 | 673 |
#usePreferredExtent: false |
222 | 674 |
) |
724 | 675 |
#component: |
222 | 676 |
#(#SpecCollection |
724 | 677 |
#collection: |
222 | 678 |
#( |
743 | 679 |
#(#MenuPanelSpec |
680 |
#name: 'menuToolbarView' |
|
681 |
#layout: #(#LayoutFrame -1 0.0 0 0 -1 1.0 32 0) |
|
682 |
#tabable: true |
|
683 |
#menu: #menuToolbar |
|
684 |
) |
|
685 |
#(#VariableHorizontalPanelSpec |
|
686 |
#name: 'hpanel' |
|
687 |
#layout: #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0) |
|
724 | 688 |
#component: |
527 | 689 |
#(#SpecCollection |
724 | 690 |
#collection: |
527 | 691 |
#( |
743 | 692 |
#(#ArbitraryComponentSpec |
693 |
#name: 'treeView' |
|
724 | 694 |
#tabable: true |
743 | 695 |
#menu: #menuEdit |
696 |
#hasHorizontalScrollBar: true |
|
697 |
#hasVerticalScrollBar: true |
|
698 |
#miniScrollerHorizontal: true |
|
699 |
#miniScrollerVertical: true |
|
700 |
#component: #treeView |
|
701 |
#hasBorder: false |
|
527 | 702 |
) |
743 | 703 |
#(#ViewSpec |
704 |
#name: 'specHolderView' |
|
705 |
#component: |
|
706 |
#(#SpecCollection |
|
707 |
#collection: |
|
708 |
#( |
|
709 |
#(#MenuPanelSpec |
|
710 |
#name: 'menuToolbar2View' |
|
711 |
#layout: #(#LayoutFrame -1 0.0 -2 0 -1 1.0 30 0) |
|
712 |
#enableChannel: #canMoveOrAlignSelection |
|
713 |
#tabable: true |
|
714 |
#menu: #menuToolbar2 |
|
715 |
) |
|
716 |
#(#NoteBookViewSpec |
|
717 |
#name: 'noteBook' |
|
718 |
#layout: #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -30 1.0) |
|
719 |
#enableChannel: #enableChannel |
|
720 |
#tabable: true |
|
721 |
#model: #tabModel |
|
722 |
#menu: #tabList |
|
723 |
#style: #(#FontDescription #helvetica #medium #roman 10) |
|
724 |
#canvas: #noteBookView |
|
725 |
) |
|
726 |
#(#HorizontalPanelViewSpec |
|
727 |
#name: 'horizontalPanelView1' |
|
728 |
#layout: #(#LayoutFrame -163 1 -1 0 -35 1.0 31 0) |
|
729 |
#component: |
|
730 |
#(#SpecCollection |
|
731 |
#collection: |
|
732 |
#( |
|
733 |
#(#ArrowButtonSpec |
|
734 |
#name: 'MoveLeftButton' |
|
735 |
#activeHelpKey: #changePositionLeft |
|
736 |
#tabable: true |
|
737 |
#model: #moveSelectionLeft |
|
738 |
#enableChannel: #canMoveOrAlignSelection |
|
739 |
#isTriggerOnDown: true |
|
740 |
#direction: #left |
|
741 |
#extent: #(#Point 32 32) |
|
742 |
) |
|
743 |
#(#ArrowButtonSpec |
|
744 |
#name: 'MoveRightButton' |
|
745 |
#activeHelpKey: #changePositionRight |
|
746 |
#model: #moveSelectionRight |
|
747 |
#enableChannel: #canMoveOrAlignSelection |
|
748 |
#isTriggerOnDown: true |
|
749 |
#direction: #right |
|
750 |
#extent: #(#Point 32 32) |
|
751 |
) |
|
752 |
#(#ArrowButtonSpec |
|
753 |
#name: 'MoveDownButton' |
|
754 |
#activeHelpKey: #changePositionDown |
|
755 |
#model: #moveSelectionDown |
|
756 |
#enableChannel: #canMoveOrAlignSelection |
|
757 |
#isTriggerOnDown: true |
|
758 |
#direction: #down |
|
759 |
#extent: #(#Point 32 32) |
|
760 |
) |
|
761 |
#(#ArrowButtonSpec |
|
762 |
#name: 'MoveUpButton' |
|
763 |
#activeHelpKey: #changePositionUp |
|
764 |
#model: #moveSelectionUp |
|
765 |
#enableChannel: #canMoveOrAlignSelection |
|
766 |
#isTriggerOnDown: true |
|
767 |
#direction: #up |
|
768 |
#extent: #(#Point 32 32) |
|
769 |
) |
|
770 |
) |
|
771 |
) |
|
772 |
#horizontalLayout: #fit |
|
773 |
#verticalLayout: #fit |
|
774 |
#horizontalSpace: 0 |
|
775 |
#verticalSpace: 0 |
|
776 |
) |
|
777 |
#(#ActionButtonSpec |
|
755 | 778 |
#name: 'openWidgetDocumentationButton' |
743 | 779 |
#layout: #(#LayoutFrame -32 1 -1 0 0 1 31 0) |
780 |
#activeHelpKey: #editOpenSpecDocumentation |
|
781 |
#hasCharacterOrientedLabel: false |
|
782 |
#label: 'helpIcon' |
|
765 | 783 |
#model: #doOpenWidgetDocumentation |
743 | 784 |
) |
785 |
#(#ActionButtonSpec |
|
786 |
#name: 'cancelButton' |
|
787 |
#layout: #(#LayoutFrame 2 0 -26 1 -1 0.5 -2 1) |
|
755 | 788 |
#activeHelpKey: #commitCancel |
743 | 789 |
#label: 'Cancel' |
790 |
#tabable: true |
|
791 |
#model: #cancel |
|
792 |
#enableChannel: #modifiedChannel |
|
793 |
) |
|
794 |
#(#ActionButtonSpec |
|
795 |
#name: 'acceptButton' |
|
796 |
#layout: #(#LayoutFrame 1 0.5 -26 1 -2 1 -2 1) |
|
755 | 797 |
#activeHelpKey: #commitOK |
743 | 798 |
#label: 'OK' |
799 |
#tabable: true |
|
800 |
#model: #accept |
|
801 |
#enableChannel: #modifiedChannel |
|
802 |
) |
|
803 |
) |
|
804 |
) |
|
805 |
#borderWidth: 1 |
|
527 | 806 |
) |
807 |
) |
|
808 |
) |
|
743 | 809 |
#level: 1 |
810 |
#handles: #(#Any 0.318868 1.0) |
|
222 | 811 |
) |
446 | 812 |
#(#UISubSpecification |
743 | 813 |
#name: 'infoBarSubSpec' |
814 |
#layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
|
724 | 815 |
#majorKey: #ToolApplicationModel |
743 | 816 |
#minorKey: #windowSpecForInfoBar |
222 | 817 |
) |
818 |
) |
|
819 |
) |
|
820 |
) |
|
787 | 821 |
|
822 |
"Modified: / 19.4.1998 / 20:43:10 / cg" |
|
222 | 823 |
! ! |
824 |
||
825 |
!UIPainter class methodsFor:'menu specs'! |
|
826 |
||
446 | 827 |
menu |
743 | 828 |
"This resource specification was automatically generated |
829 |
by the MenuEditor of ST/X." |
|
830 |
||
831 |
"Do not manually edit this!! If it is corrupted, |
|
832 |
the MenuEditor may not be able to read the specification." |
|
217 | 833 |
|
834 |
" |
|
446 | 835 |
MenuEditor new openOnClass:UIPainter andSelector:#menu |
836 |
(Menu new fromLiteralArrayEncoding:(UIPainter menu)) startUp |
|
837 |
" |
|
838 |
||
839 |
<resource: #menu> |
|
840 |
||
841 |
^ |
|
842 |
||
843 |
#(#Menu |
|
844 |
||
845 |
#( |
|
846 |
#(#MenuItem |
|
692 | 847 |
#label: 'About' |
848 |
#labelImage: #(#ResourceRetriever nil #menuIcon) |
|
849 |
#submenuChannel: #menuAbout |
|
446 | 850 |
) |
851 |
#(#MenuItem |
|
692 | 852 |
#label: 'File' |
853 |
#enabled: #enableChannel |
|
854 |
#submenu: |
|
446 | 855 |
#(#Menu |
856 |
||
857 |
#( |
|
858 |
#(#MenuItem |
|
692 | 859 |
#label: 'New' |
860 |
#value: #doNew |
|
861 |
#activeHelpKey: #fileNew |
|
446 | 862 |
) |
863 |
#(#MenuItem |
|
692 | 864 |
#label: '-' |
446 | 865 |
) |
866 |
#(#MenuItem |
|
692 | 867 |
#label: 'Load...' |
713 | 868 |
#value: #doLoad |
692 | 869 |
#activeHelpKey: #fileLoad |
446 | 870 |
) |
871 |
#(#MenuItem |
|
692 | 872 |
#label: 'Load Subspec...' |
713 | 873 |
#value: #doLoadSubspec |
692 | 874 |
#activeHelpKey: #fileLoadSubspec |
533 | 875 |
) |
876 |
#(#MenuItem |
|
692 | 877 |
#label: '-' |
446 | 878 |
) |
879 |
#(#MenuItem |
|
692 | 880 |
#label: 'Save' |
713 | 881 |
#value: #doSave |
692 | 882 |
#activeHelpKey: #fileSave |
446 | 883 |
) |
884 |
#(#MenuItem |
|
713 | 885 |
#label: 'Save As...' |
886 |
#value: #doSaveAs |
|
887 |
#activeHelpKey: #fileSaveAs |
|
446 | 888 |
) |
889 |
#(#MenuItem |
|
692 | 890 |
#label: 'Define Class And Selector...' |
755 | 891 |
#value: #doDefineClassAndSelector |
713 | 892 |
#activeHelpKey: #fileSaveAs |
446 | 893 |
) |
894 |
#(#MenuItem |
|
692 | 895 |
#label: '-' |
446 | 896 |
) |
897 |
#(#MenuItem |
|
713 | 898 |
#label: 'Pick A Window Spec...' |
692 | 899 |
#value: #doPickAView |
900 |
#activeHelpKey: #filePickAnInterface |
|
498 | 901 |
) |
902 |
#(#MenuItem |
|
692 | 903 |
#label: '-' |
498 | 904 |
) |
905 |
#(#MenuItem |
|
713 | 906 |
#label: 'Show Window Spec' |
692 | 907 |
#value: #doWindowSpec |
713 | 908 |
#activeHelpKey: #fileShowWindowSpec |
446 | 909 |
) |
910 |
#(#MenuItem |
|
713 | 911 |
#label: 'Browse Class' |
912 |
#value: #doBrowseClass |
|
913 |
#activeHelpKey: #fileBrowseClass |
|
692 | 914 |
#enabled: #hasSpecClass |
446 | 915 |
) |
916 |
#(#MenuItem |
|
692 | 917 |
#label: 'Browse Aspect Methods' |
918 |
#value: #doBrowseAspectMethods |
|
713 | 919 |
#activeHelpKey: #fileBrowseAspectMethods |
692 | 920 |
#enabled: #hasSpecClass |
446 | 921 |
) |
922 |
#(#MenuItem |
|
692 | 923 |
#label: '-' |
446 | 924 |
) |
925 |
#(#MenuItem |
|
692 | 926 |
#label: 'Exit' |
927 |
#value: #closeRequest |
|
928 |
#activeHelpKey: #fileExit |
|
446 | 929 |
) |
930 |
) nil |
|
931 |
nil |
|
932 |
) |
|
933 |
) |
|
934 |
#(#MenuItem |
|
692 | 935 |
#label: 'Edit' |
936 |
#submenuChannel: #menuEdit |
|
446 | 937 |
) |
938 |
#(#MenuItem |
|
692 | 939 |
#label: 'Align' |
940 |
#submenuChannel: #menuAlign |
|
564 | 941 |
) |
942 |
#(#MenuItem |
|
713 | 943 |
#label: 'Generate' |
944 |
#submenu: |
|
945 |
#(#Menu |
|
946 |
||
947 |
#( |
|
948 |
#(#MenuItem |
|
949 |
#label: 'Aspect Methods' |
|
743 | 950 |
#value: #doGenerateAspectMethods |
713 | 951 |
#activeHelpKey: #generateAspectMethods |
952 |
#enabled: #hasSpecClass |
|
953 |
) |
|
954 |
#(#MenuItem |
|
955 |
#label: '-' |
|
956 |
) |
|
957 |
#(#MenuItem |
|
958 |
#label: 'Hook Methods' |
|
743 | 959 |
#value: #doGenerateHookMethods |
713 | 960 |
#activeHelpKey: #generateHookMethods |
961 |
#enabled: #hasSpecClass |
|
962 |
) |
|
963 |
) nil |
|
964 |
nil |
|
965 |
) |
|
966 |
) |
|
967 |
#(#MenuItem |
|
692 | 968 |
#label: 'Test' |
969 |
#submenu: |
|
446 | 970 |
#(#Menu |
971 |
||
972 |
#( |
|
973 |
#(#MenuItem |
|
692 | 974 |
#label: 'Start Application' |
975 |
#value: #doStartApplication |
|
976 |
#activeHelpKey: #testStartApplication |
|
466 | 977 |
) |
978 |
#(#MenuItem |
|
692 | 979 |
#label: '-' |
466 | 980 |
) |
981 |
#(#MenuItem |
|
692 | 982 |
#label: 'Geometry Test Mode' |
713 | 983 |
#activeHelpKey: #testGeometryTestMode |
692 | 984 |
#indication: #testMode: |
446 | 985 |
) |
986 |
) nil |
|
987 |
nil |
|
988 |
) |
|
989 |
) |
|
990 |
#(#MenuItem |
|
692 | 991 |
#label: 'Settings' |
992 |
#submenu: |
|
446 | 993 |
#(#Menu |
994 |
||
995 |
#( |
|
996 |
#(#MenuItem |
|
713 | 997 |
#label: 'Canvas' |
998 |
#activeHelpKey: #settingsCanvas |
|
999 |
#indication: #painterShown |
|
1000 |
) |
|
1001 |
#(#MenuItem |
|
1002 |
#label: 'Gallery' |
|
1003 |
#activeHelpKey: #settingsGallery |
|
1004 |
#indication: #galleryShown |
|
446 | 1005 |
) |
1006 |
#(#MenuItem |
|
692 | 1007 |
#label: '-' |
446 | 1008 |
) |
1009 |
#(#MenuItem |
|
743 | 1010 |
#label: 'Redefine Aspect Methods' |
1011 |
#activeHelpKey: #settingsRedefineAspectMethods |
|
1012 |
#enabled: #hasSpecClass |
|
1013 |
#indication: #redefineAspectMethods: |
|
1014 |
) |
|
1015 |
#(#MenuItem |
|
1016 |
#label: '-' |
|
1017 |
) |
|
1018 |
#(#MenuItem |
|
1019 |
#label: 'Fonts' |
|
1020 |
#submenuChannel: #menuFont |
|
1021 |
) |
|
1022 |
#(#MenuItem |
|
1023 |
#label: '-' |
|
1024 |
) |
|
1025 |
#(#MenuItem |
|
713 | 1026 |
#label: 'Undo Manager...' |
1027 |
#value: #openUndoMenu |
|
1028 |
#activeHelpKey: #settingsUndoManager |
|
755 | 1029 |
#enabled: #hasUndoHistory |
713 | 1030 |
) |
1031 |
#(#MenuItem |
|
692 | 1032 |
#label: 'Grid Manager...' |
755 | 1033 |
#value: #doDefineGrid |
713 | 1034 |
#activeHelpKey: #settingsGridManager |
1035 |
) |
|
446 | 1036 |
) nil |
1037 |
nil |
|
1038 |
) |
|
1039 |
) |
|
1040 |
#(#MenuItem |
|
692 | 1041 |
#label: 'History' |
1042 |
#submenuChannel: #menuHistory |
|
446 | 1043 |
) |
1044 |
#(#MenuItem |
|
692 | 1045 |
#label: 'Help' |
1046 |
#startGroup: #right |
|
713 | 1047 |
#submenu: |
564 | 1048 |
#(#Menu |
1049 |
||
1050 |
#( |
|
1051 |
#(#MenuItem |
|
724 | 1052 |
#label: 'Tutorial' |
1053 |
#value: #openHTMLDocument: |
|
713 | 1054 |
#activeHelpKey: #helpTutorial |
724 | 1055 |
#argument: 'tools/uipainter/TOP.html' |
1056 |
) |
|
1057 |
#(#MenuItem |
|
1058 |
#label: '-' |
|
1059 |
) |
|
1060 |
#(#MenuItem |
|
1061 |
#label: 'Functions' |
|
1062 |
#value: #openHTMLDocument: |
|
755 | 1063 |
#activeHelpKey: #helpFunctions |
724 | 1064 |
#argument: 'tools/uipainter/Functions.html' |
564 | 1065 |
) |
1066 |
#(#MenuItem |
|
713 | 1067 |
#label: 'Examples' |
724 | 1068 |
#value: #openHTMLDocument: |
755 | 1069 |
#activeHelpKey: #helpExamples |
724 | 1070 |
#argument: 'tools/uipainter/Examples.html' |
564 | 1071 |
) |
1072 |
#(#MenuItem |
|
713 | 1073 |
#label: '-' |
564 | 1074 |
) |
1075 |
#(#MenuItem |
|
755 | 1076 |
#label: 'Help Tool' |
1077 |
#value: #openHTMLDocument: |
|
1078 |
#activeHelpKey: #helpHelpTool |
|
1079 |
#argument: 'tools/uipainter/HelpTool.html' |
|
1080 |
) |
|
1081 |
#(#MenuItem |
|
1082 |
#label: 'Layout Tool' |
|
1083 |
#value: #openHTMLDocument: |
|
1084 |
#activeHelpKey: #helpLayoutTool |
|
785 | 1085 |
#argument: 'tools/uipainter/LayoutTool.html' |
755 | 1086 |
) |
1087 |
#(#MenuItem |
|
1088 |
#label: '-' |
|
1089 |
) |
|
1090 |
#(#MenuItem |
|
1091 |
#label: 'Selected Widget' |
|
785 | 1092 |
#value: #doOpenWidgetDocumentation |
755 | 1093 |
#activeHelpKey: #helpSelectedWidget |
1094 |
) |
|
1095 |
#(#MenuItem |
|
1096 |
#label: '-' |
|
1097 |
) |
|
1098 |
#(#MenuItem |
|
713 | 1099 |
#label: 'Show Help Texts' |
1100 |
#activeHelpKey: #helpShowHelp |
|
1101 |
#indication: #showHelp: |
|
564 | 1102 |
) |
1103 |
) nil |
|
1104 |
nil |
|
1105 |
) |
|
1106 |
) |
|
1107 |
) nil |
|
1108 |
nil |
|
1109 |
) |
|
1110 |
! |
|
1111 |
||
446 | 1112 |
menuAlign |
743 | 1113 |
"This resource specification was automatically generated |
1114 |
by the MenuEditor of ST/X." |
|
1115 |
||
778 | 1116 |
"Do not manually edit this!! If it is corrupted, |
743 | 1117 |
the MenuEditor may not be able to read the specification." |
446 | 1118 |
|
1119 |
" |
|
1120 |
MenuEditor new openOnClass:UIPainter andSelector:#menuAlign |
|
1121 |
(Menu new fromLiteralArrayEncoding:(UIPainter menuAlign)) startUp |
|
217 | 1122 |
" |
1123 |
||
1124 |
<resource: #menu> |
|
1125 |
||
1126 |
^ |
|
1127 |
||
1128 |
#(#Menu |
|
1129 |
||
1130 |
#( |
|
1131 |
#(#MenuItem |
|
713 | 1132 |
#label: 'Left' |
1133 |
#value: #alignSelectionLeft |
|
1134 |
#activeHelpKey: #alignSelectionLeft |
|
1135 |
#enabled: #canMoveOrAlignSelection |
|
1136 |
#labelImage: #(#ResourceRetriever #UIPainter #iconAlignL 'Left') |
|
446 | 1137 |
) |
1138 |
#(#MenuItem |
|
713 | 1139 |
#label: 'Right' |
1140 |
#value: #alignSelectionRight |
|
1141 |
#activeHelpKey: #alignSelectionRight |
|
1142 |
#enabled: #canMoveOrAlignSelection |
|
1143 |
#labelImage: #(#ResourceRetriever #UIPainter #iconAlignR 'Right') |
|
446 | 1144 |
) |
1145 |
#(#MenuItem |
|
713 | 1146 |
#label: 'Left & Right' |
1147 |
#value: #alignSelectionLeftAndRight |
|
1148 |
#activeHelpKey: #alignSelectionLeftAndRight |
|
1149 |
#enabled: #canMoveOrAlignSelection |
|
1150 |
#labelImage: #(#ResourceRetriever #UIPainter #iconAlignLR 'Left & Right') |
|
446 | 1151 |
) |
1152 |
#(#MenuItem |
|
713 | 1153 |
#label: 'Top' |
1154 |
#value: #alignSelectionTop |
|
1155 |
#activeHelpKey: #alignSelectionTop |
|
1156 |
#enabled: #canMoveOrAlignSelection |
|
1157 |
#labelImage: #(#ResourceRetriever #UIPainter #iconAlignT 'Top') |
|
446 | 1158 |
) |
1159 |
#(#MenuItem |
|
713 | 1160 |
#label: 'Bottom' |
1161 |
#value: #alignSelectionBottom |
|
1162 |
#activeHelpKey: #alignSelectionBottom |
|
1163 |
#enabled: #canMoveOrAlignSelection |
|
1164 |
#labelImage: #(#ResourceRetriever #UIPainter #iconAlignB 'Bottom') |
|
446 | 1165 |
) |
1166 |
#(#MenuItem |
|
713 | 1167 |
#label: 'Top & Bottom' |
1168 |
#value: #alignSelectionTopAndBottom |
|
1169 |
#activeHelpKey: #alignSelectionTopAndBottom |
|
1170 |
#enabled: #canMoveOrAlignSelection |
|
1171 |
#labelImage: #(#ResourceRetriever #UIPainter #iconAlignTB 'Top & Bottom') |
|
446 | 1172 |
) |
1173 |
#(#MenuItem |
|
713 | 1174 |
#label: '-' |
446 | 1175 |
) |
1176 |
#(#MenuItem |
|
713 | 1177 |
#label: 'Centered Horizontal' |
1178 |
#value: #alignSelectionCenterHor |
|
1179 |
#activeHelpKey: #alignSelectionCenterHor |
|
1180 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1181 |
) |
1182 |
#(#MenuItem |
|
713 | 1183 |
#label: 'Centered Vertical' |
1184 |
#value: #alignSelectionCenterVer |
|
1185 |
#activeHelpKey: #alignSelectionCenterVer |
|
1186 |
#enabled: #canMoveOrAlignSelection |
|
1187 |
) |
|
1188 |
#(#MenuItem |
|
1189 |
#label: '-' |
|
446 | 1190 |
) |
1191 |
#(#MenuItem |
|
713 | 1192 |
#label: 'Center Horizontal In Frame' |
1193 |
#value: #centerSelectionHor |
|
1194 |
#activeHelpKey: #centerSelectionHor |
|
1195 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1196 |
) |
1197 |
#(#MenuItem |
|
713 | 1198 |
#label: 'Center Vertical In Frame' |
1199 |
#value: #centerSelectionVer |
|
1200 |
#activeHelpKey: #centerSelectionVer |
|
1201 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1202 |
) |
1203 |
#(#MenuItem |
|
713 | 1204 |
#label: '-' |
446 | 1205 |
) |
1206 |
#(#MenuItem |
|
713 | 1207 |
#label: 'Spread Horizontal' |
1208 |
#value: #spreadSelectionHor |
|
1209 |
#activeHelpKey: #spreadSelectionHor |
|
1210 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1211 |
) |
1212 |
#(#MenuItem |
|
713 | 1213 |
#label: 'Spread Vertical' |
1214 |
#value: #spreadSelectionVer |
|
1215 |
#activeHelpKey: #spreadSelectionVer |
|
1216 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1217 |
) |
1218 |
) nil |
|
1219 |
nil |
|
1220 |
) |
|
1221 |
! |
|
1222 |
||
1223 |
menuEdit |
|
743 | 1224 |
"This resource specification was automatically generated |
1225 |
by the MenuEditor of ST/X." |
|
1226 |
||
755 | 1227 |
"Do not manually edit this!! If it is corrupted, |
743 | 1228 |
the MenuEditor may not be able to read the specification." |
446 | 1229 |
|
1230 |
" |
|
1231 |
MenuEditor new openOnClass:UIPainter andSelector:#menuEdit |
|
1232 |
(Menu new fromLiteralArrayEncoding:(UIPainter menuEdit)) startUp |
|
1233 |
" |
|
1234 |
||
1235 |
<resource: #menu> |
|
1236 |
||
1237 |
^ |
|
1238 |
||
1239 |
#(#Menu |
|
1240 |
||
1241 |
#( |
|
1242 |
#(#MenuItem |
|
713 | 1243 |
#label: 'Undo' |
1244 |
#nameKey: #undo |
|
1245 |
#value: #undoLast |
|
1246 |
#activeHelpKey: #editUndo |
|
1247 |
#enabled: #hasUndoHistory |
|
1248 |
#shortcutKeyCharacter: #Cmdu |
|
1249 |
) |
|
1250 |
#(#MenuItem |
|
1251 |
#label: '-' |
|
1252 |
) |
|
1253 |
#(#MenuItem |
|
1254 |
#label: 'Cut' |
|
724 | 1255 |
#value: #deleteSelection |
713 | 1256 |
#activeHelpKey: #editCut |
1257 |
#enabled: #valueOfCanCut |
|
1258 |
#shortcutKeyCharacter: #Cut |
|
1259 |
) |
|
1260 |
#(#MenuItem |
|
1261 |
#label: 'Copy' |
|
1262 |
#value: #copySelection |
|
1263 |
#activeHelpKey: #editCopy |
|
1264 |
#enabled: #valueOfCanCopy |
|
1265 |
#shortcutKeyCharacter: #Copy |
|
446 | 1266 |
) |
1267 |
#(#MenuItem |
|
713 | 1268 |
#label: 'Paste' |
1269 |
#value: #pasteBuffer |
|
1270 |
#activeHelpKey: #pasteBuffer |
|
1271 |
#enabled: #valueOfCanPaste |
|
1272 |
#shortcutKeyCharacter: #Paste |
|
1273 |
) |
|
1274 |
#(#MenuItem |
|
1275 |
#label: 'Delete' |
|
724 | 1276 |
#value: #deleteTotalSelection |
1277 |
#activeHelpKey: #editDelete |
|
713 | 1278 |
#enabled: #valueOfCanCut |
1279 |
#shortcutKeyCharacter: #Delete |
|
1280 |
) |
|
1281 |
#(#MenuItem |
|
1282 |
#label: '-' |
|
446 | 1283 |
) |
1284 |
#(#MenuItem |
|
713 | 1285 |
#label: 'Paste With Layout' |
1286 |
#value: #pasteWithLayout |
|
1287 |
#activeHelpKey: #pasteWithLayout |
|
729 | 1288 |
#enabled: #valueOfCanPasteWithKeepingLayout |
713 | 1289 |
) |
1290 |
#(#MenuItem |
|
1291 |
#label: '-' |
|
1292 |
) |
|
1293 |
#(#MenuItem |
|
1294 |
#label: 'Move' |
|
755 | 1295 |
#enabled: #canMoveSelection |
713 | 1296 |
#submenuChannel: #menuMove |
1297 |
) |
|
1298 |
#(#MenuItem |
|
1299 |
#label: 'Dimension' |
|
1300 |
#enabled: #hasSelection |
|
1301 |
#submenu: |
|
446 | 1302 |
#(#Menu |
1303 |
||
1304 |
#( |
|
1305 |
#(#MenuItem |
|
713 | 1306 |
#label: 'Default Extent' |
1307 |
#value: #setToDefaultExtent |
|
1308 |
#activeHelpKey: #editDimensionDefaultExtent |
|
1309 |
#enabled: #canMoveOrAlignSelection |
|
1310 |
) |
|
1311 |
#(#MenuItem |
|
1312 |
#label: 'Default Width' |
|
1313 |
#value: #setToDefaultWidth |
|
1314 |
#activeHelpKey: #editDimensionDefaultWidth |
|
1315 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1316 |
) |
1317 |
#(#MenuItem |
|
713 | 1318 |
#label: 'Default Height' |
1319 |
#value: #setToDefaultHeight |
|
1320 |
#activeHelpKey: #editDimensionDefaultHeight |
|
1321 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1322 |
) |
713 | 1323 |
#(#MenuItem |
1324 |
#label: '-' |
|
1325 |
) |
|
446 | 1326 |
#(#MenuItem |
713 | 1327 |
#label: 'Copy Layout' |
1328 |
#value: #copyLayout |
|
1329 |
#activeHelpKey: #editDimensionCopyLayout |
|
1330 |
#enabled: #hasSingleSelection |
|
446 | 1331 |
) |
1332 |
#(#MenuItem |
|
713 | 1333 |
#label: 'Copy Extent' |
1334 |
#value: #copyExtent |
|
1335 |
#activeHelpKey: #editDimensionCopyExtent |
|
1336 |
#enabled: #hasSingleSelection |
|
446 | 1337 |
) |
1338 |
#(#MenuItem |
|
713 | 1339 |
#label: '-' |
446 | 1340 |
) |
1341 |
#(#MenuItem |
|
713 | 1342 |
#label: 'Paste Layout' |
1343 |
#value: #pasteLayout |
|
1344 |
#activeHelpKey: #editDimensionPasteLayout |
|
1345 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1346 |
) |
1347 |
#(#MenuItem |
|
713 | 1348 |
#label: 'Paste Extent' |
1349 |
#value: #pasteExtent |
|
1350 |
#activeHelpKey: #editDimensionPasteExtent |
|
1351 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1352 |
) |
1353 |
#(#MenuItem |
|
713 | 1354 |
#label: 'Paste Width' |
1355 |
#value: #pasteWidth |
|
1356 |
#activeHelpKey: #editDimensionPasteWidth |
|
1357 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1358 |
) |
1359 |
#(#MenuItem |
|
713 | 1360 |
#label: 'Paste Height' |
1361 |
#value: #pasteHeight |
|
1362 |
#activeHelpKey: #editDimensionPasteHeight |
|
1363 |
#enabled: #canMoveOrAlignSelection |
|
446 | 1364 |
) |
1365 |
) nil |
|
1366 |
nil |
|
1367 |
) |
|
1368 |
) |
|
721
325eba9f37b7
Add menu entry to inspect selected specification
Stefan Vogel <sv@exept.de>
parents:
713
diff
changeset
|
1369 |
#(#MenuItem |
325eba9f37b7
Add menu entry to inspect selected specification
Stefan Vogel <sv@exept.de>
parents:
713
diff
changeset
|
1370 |
#label: '-' |
325eba9f37b7
Add menu entry to inspect selected specification
Stefan Vogel <sv@exept.de>
parents:
713
diff
changeset
|
1371 |
) |
325eba9f37b7
Add menu entry to inspect selected specification
Stefan Vogel <sv@exept.de>
parents:
713
diff
changeset
|
1372 |
#(#MenuItem |
755 | 1373 |
#label: 'Open Widget Documentation' |
765 | 1374 |
#value: #doOpenWidgetDocumentation |
743 | 1375 |
#activeHelpKey: #editOpenSpecDocumentation |
1376 |
) |
|
1377 |
#(#MenuItem |
|
755 | 1378 |
#label: '-' |
1379 |
) |
|
1380 |
#(#MenuItem |
|
1381 |
#label: 'Inspect View' |
|
765 | 1382 |
#value: #doInspectView |
755 | 1383 |
#activeHelpKey: #editInspectView |
1384 |
#enabled: #hasOneSelectionOtherThanCanvas |
|
1385 |
) |
|
1386 |
#(#MenuItem |
|
721
325eba9f37b7
Add menu entry to inspect selected specification
Stefan Vogel <sv@exept.de>
parents:
713
diff
changeset
|
1387 |
#label: 'Inspect Spec' |
765 | 1388 |
#value: #doInspectSpec |
724 | 1389 |
#activeHelpKey: #editInspectSpec |
721
325eba9f37b7
Add menu entry to inspect selected specification
Stefan Vogel <sv@exept.de>
parents:
713
diff
changeset
|
1390 |
) |
498 | 1391 |
) nil |
1392 |
nil |
|
1393 |
) |
|
1394 |
! |
|
1395 |
||
1396 |
menuMove |
|
743 | 1397 |
"This resource specification was automatically generated |
1398 |
by the MenuEditor of ST/X." |
|
1399 |
||
755 | 1400 |
"Do not manually edit this!! If it is corrupted, |
743 | 1401 |
the MenuEditor may not be able to read the specification." |
498 | 1402 |
|
1403 |
" |
|
1404 |
MenuEditor new openOnClass:UIPainter andSelector:#menuMove |
|
1405 |
(Menu new fromLiteralArrayEncoding:(UIPainter menuMove)) startUp |
|