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