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