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