author | Claus Gittinger <cg@exept.de> |
Mon, 18 May 1998 13:53:53 +0200 | |
changeset 828 | 12090f74be53 |
parent 827 | aa8f49da0f22 |
child 838 | 0ac5a26498c1 |
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 |
) |
|
821 |
! ! |
|
822 |
||
823 |
!UIPainter class methodsFor:'menu specs'! |
|
824 |
||
446 | 825 |
menu |
743 | 826 |
"This resource specification was automatically generated |
827 |
by the MenuEditor of ST/X." |
|
828 |
||
829 |
"Do not manually edit this!! If it is corrupted, |
|
830 |
the MenuEditor may not be able to read the specification." |
|
217 | 831 |
|
832 |
" |
|
446 | 833 |
MenuEditor new openOnClass:UIPainter andSelector:#menu |
834 |
(Menu new fromLiteralArrayEncoding:(UIPainter menu)) startUp |
|
835 |
" |
|
836 |
||
837 |
<resource: #menu> |
|
838 |
||
839 |
^ |
|
840 |
||
841 |
#(#Menu |
|
842 |
||
843 |
#( |
|
844 |
#(#MenuItem |
|
692 | 845 |
#label: 'About' |
846 |
#labelImage: #(#ResourceRetriever nil #menuIcon) |
|
847 |
#submenuChannel: #menuAbout |
|
446 | 848 |
) |
849 |
#(#MenuItem |
|
692 | 850 |
#label: 'File' |
851 |
#enabled: #enableChannel |
|
852 |
#submenu: |
|
446 | 853 |
#(#Menu |
854 |
||
855 |
#( |
|
856 |
#(#MenuItem |
|
692 | 857 |
#label: 'New' |
858 |
#value: #doNew |
|
859 |
#activeHelpKey: #fileNew |
|
446 | 860 |
) |
861 |
#(#MenuItem |
|
692 | 862 |
#label: '-' |
446 | 863 |
) |
864 |
#(#MenuItem |
|
692 | 865 |
#label: 'Load...' |
713 | 866 |
#value: #doLoad |
692 | 867 |
#activeHelpKey: #fileLoad |
446 | 868 |
) |
869 |
#(#MenuItem |
|
692 | 870 |
#label: 'Load Subspec...' |
713 | 871 |
#value: #doLoadSubspec |
692 | 872 |
#activeHelpKey: #fileLoadSubspec |
533 | 873 |
) |
874 |
#(#MenuItem |
|
692 | 875 |
#label: '-' |
446 | 876 |
) |
877 |
#(#MenuItem |
|
692 | 878 |
#label: 'Save' |
713 | 879 |
#value: #doSave |
692 | 880 |
#activeHelpKey: #fileSave |
446 | 881 |
) |
882 |
#(#MenuItem |
|
713 | 883 |
#label: 'Save As...' |
884 |
#value: #doSaveAs |
|
885 |
#activeHelpKey: #fileSaveAs |
|
446 | 886 |
) |
887 |
#(#MenuItem |
|
692 | 888 |
#label: 'Define Class And Selector...' |
755 | 889 |
#value: #doDefineClassAndSelector |
713 | 890 |
#activeHelpKey: #fileSaveAs |
446 | 891 |
) |
892 |
#(#MenuItem |
|
692 | 893 |
#label: '-' |
446 | 894 |
) |
895 |
#(#MenuItem |
|
713 | 896 |
#label: 'Pick A Window Spec...' |
692 | 897 |
#value: #doPickAView |
898 |
#activeHelpKey: #filePickAnInterface |
|
498 | 899 |
) |
900 |
#(#MenuItem |
|
692 | 901 |
#label: '-' |
498 | 902 |
) |
903 |
#(#MenuItem |
|
713 | 904 |
#label: 'Show Window Spec' |
692 | 905 |
#value: #doWindowSpec |
713 | 906 |
#activeHelpKey: #fileShowWindowSpec |
446 | 907 |
) |
908 |
#(#MenuItem |
|
713 | 909 |
#label: 'Browse Class' |
910 |
#value: #doBrowseClass |
|
911 |
#activeHelpKey: #fileBrowseClass |
|
692 | 912 |
#enabled: #hasSpecClass |
446 | 913 |
) |
914 |
#(#MenuItem |
|
692 | 915 |
#label: 'Browse Aspect Methods' |
916 |
#value: #doBrowseAspectMethods |
|
713 | 917 |
#activeHelpKey: #fileBrowseAspectMethods |
692 | 918 |
#enabled: #hasSpecClass |
446 | 919 |
) |
920 |
#(#MenuItem |
|
692 | 921 |
#label: '-' |
446 | 922 |
) |
923 |
#(#MenuItem |
|
692 | 924 |
#label: 'Exit' |
925 |
#value: #closeRequest |
|
926 |
#activeHelpKey: #fileExit |
|
446 | 927 |
) |
928 |
) nil |
|
929 |
nil |
|
930 |
) |
|
931 |
) |
|
932 |
#(#MenuItem |
|
692 | 933 |
#label: 'Edit' |
934 |
#submenuChannel: #menuEdit |
|
446 | 935 |
) |
936 |
#(#MenuItem |
|
692 | 937 |
#label: 'Align' |
938 |
#submenuChannel: #menuAlign |
|
564 | 939 |
) |
940 |
#(#MenuItem |
|
713 | 941 |
#label: 'Generate' |
942 |
#submenu: |
|
943 |
#(#Menu |
|
944 |
||
945 |
#( |
|
946 |
#(#MenuItem |
|
947 |
#label: 'Aspect Methods' |
|
743 | 948 |
#value: #doGenerateAspectMethods |
713 | 949 |
#activeHelpKey: #generateAspectMethods |
950 |
#enabled: #hasSpecClass |
|
951 |
) |
|
952 |
#(#MenuItem |
|
953 |
#label: '-' |
|
954 |
) |
|
955 |
#(#MenuItem |
|
956 |
#label: 'Hook Methods' |
|
743 | 957 |
#value: #doGenerateHookMethods |
713 | 958 |
#activeHelpKey: #generateHookMethods |
959 |
#enabled: #hasSpecClass |
|
960 |
) |
|
961 |
) nil |
|
962 |
nil |
|
963 |
) |
|
964 |
) |
|
965 |
#(#MenuItem |
|
692 | 966 |
#label: 'Test' |
967 |
#submenu: |
|
446 | 968 |
#(#Menu |
969 |
||
970 |
#( |
|
971 |
#(#MenuItem |
|
692 | 972 |
#label: 'Start Application' |
973 |
#value: #doStartApplication |
|
974 |
#activeHelpKey: #testStartApplication |
|
466 | 975 |
) |
976 |
#(#MenuItem |
|
692 | 977 |
#label: '-' |
466 | 978 |
) |
979 |
#(#MenuItem |
|
692 | 980 |
#label: 'Geometry Test Mode' |
713 | 981 |
#activeHelpKey: #testGeometryTestMode |
692 | 982 |
#indication: #testMode: |
446 | 983 |
) |
984 |
) nil |
|
985 |
nil |
|
986 |
) |
|
987 |
) |
|
988 |
#(#MenuItem |
|
692 | 989 |
#label: 'Settings' |
990 |
#submenu: |
|
446 | 991 |
#(#Menu |
992 |
||
993 |
#( |
|
994 |
#(#MenuItem |
|
713 | 995 |
#label: 'Canvas' |
996 |
#activeHelpKey: #settingsCanvas |
|
997 |
#indication: #painterShown |
|
998 |
) |
|
999 |
#(#MenuItem |
|
1000 |
#label: 'Gallery' |
|
1001 |
#activeHelpKey: #settingsGallery |
|
1002 |
#indication: #galleryShown |
|
446 | 1003 |
) |
1004 |
#(#MenuItem |
|
692 | 1005 |
#label: '-' |
446 | 1006 |
) |
1007 |
#(#MenuItem |
|
743 | 1008 |
#label: 'Redefine Aspect Methods' |
1009 |
#activeHelpKey: #settingsRedefineAspectMethods |
|
1010 |
#enabled: #hasSpecClass |
|
1011 |
#indication: #redefineAspectMethods: |
|
1012 |
) |
|
1013 |
#(#MenuItem |
|
1014 |
#label: '-' |
|
1015 |
) |
|
1016 |
#(#MenuItem |
|
1017 |
#label: 'Fonts' |
|
1018 |
#submenuChannel: #menuFont |
|
1019 |
) |
|
1020 |
#(#MenuItem |
|
1021 |
#label: '-' |
|
1022 |
) |
|
1023 |
#(#MenuItem |
|
713 | 1024 |
#label: 'Undo Manager...' |
1025 |
#value: #openUndoMenu |
|
1026 |
#activeHelpKey: #settingsUndoManager |
|
755 | 1027 |
#enabled: #hasUndoHistory |
713 | 1028 |
) |
1029 |
#(#MenuItem |
|
692 | 1030 |
#label: 'Grid Manager...' |
755 | 1031 |
#value: #doDefineGrid |
713 | 1032 |
#activeHelpKey: #settingsGridManager |
1033 |
) |
|
446 | 1034 |
) nil |
1035 |
nil |
|
1036 |
) |
|
1037 |
) |
|
1038 |
#(#MenuItem |
|
692 | 1039 |
#label: 'History' |
1040 |
#submenuChannel: #menuHistory |
|
446 | 1041 |
) |
1042 |
#(#MenuItem |
|
692 | 1043 |
#label: 'Help' |
1044 |
#startGroup: #right |
|
713 | 1045 |
#submenu: |
564 | 1046 |
#(#Menu |
1047 |
||
1048 |
#( |
|
1049 |
#(#MenuItem |
|
724 | 1050 |
#label: 'Tutorial' |
1051 |
#value: #openHTMLDocument: |
|
713 | 1052 |
#activeHelpKey: #helpTutorial |
724 | 1053 |
#argument: 'tools/uipainter/TOP.html' |
1054 |
) |
|
1055 |
#(#MenuItem |
|
1056 |
#label: '-' |
|
1057 |
) |
|
1058 |
#(#MenuItem |
|
1059 |
#label: 'Functions' |
|
1060 |
#value: #openHTMLDocument: |
|
755 | 1061 |
#activeHelpKey: #helpFunctions |
724 | 1062 |
#argument: 'tools/uipainter/Functions.html' |
564 | 1063 |
) |
1064 |
#(#MenuItem |
|
713 | 1065 |
#label: 'Examples' |
724 | 1066 |
#value: #openHTMLDocument: |
755 | 1067 |
#activeHelpKey: #helpExamples |
724 | 1068 |
#argument: 'tools/uipainter/Examples.html' |
564 | 1069 |
) |
1070 |
#(#MenuItem |
|
713 | 1071 |
#label: '-' |
564 | 1072 |
) |
1073 |
#(#MenuItem |
|
755 | 1074 |
#label: 'Help Tool' |
1075 |
#value: #openHTMLDocument: |
|
1076 |
#activeHelpKey: #helpHelpTool |
|
1077 |
#argument: 'tools/uipainter/HelpTool.html' |
|
1078 |
) |
|
1079 |
#(#MenuItem |
|
1080 |
#label: 'Layout Tool' |
|
1081 |
#value: #openHTMLDocument: |
|
1082 |
#activeHelpKey: #helpLayoutTool |
|
785 | 1083 |
#argument: 'tools/uipainter/LayoutTool.html' |
755 | 1084 |
) |
1085 |
#(#MenuItem |
|
1086 |
#label: '-' |
|
1087 |
) |
|
1088 |
#(#MenuItem |
|
1089 |
#label: 'Selected Widget' |
|
785 | 1090 |
#value: #doOpenWidgetDocumentation |
755 | 1091 |
#activeHelpKey: #helpSelectedWidget |
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> |
|