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