author | Claus Gittinger <cg@exept.de> |
Tue, 24 Oct 2000 20:23:46 +0200 | |
changeset 1419 | f808d17ff6f5 |
parent 1392 | f6f7a70c5d41 |
child 1452 | 3e0e927f5cb8 |
permissions | -rw-r--r-- |
332 | 1 |
" |
825 | 2 |
COPYRIGHT (c) 1997 by eXept Software AG |
332 | 3 |
All Rights Reserved |
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
13 |
||
14 |
||
15 |
||
16 |
||
1382 | 17 |
"{ Package: 'stx:libtool2' }" |
18 |
||
818 | 19 |
ResourceSpecEditor subclass:#DataSetBuilder |
825 | 20 |
instanceVariableNames:'rowClass rowSuperClass columnView columns selectedColumnIndex |
1300 | 21 |
modalOpened listOfSpecViews' |
816 | 22 |
classVariableNames:'' |
332 | 23 |
poolDictionaries:'' |
24 |
category:'Interface-UIPainter' |
|
25 |
! |
|
26 |
||
1033
21b3bc025e0c
removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents:
1019
diff
changeset
|
27 |
Array variableSubclass:#Row |
1004 | 28 |
instanceVariableNames:'' |
29 |
classVariableNames:'' |
|
30 |
poolDictionaries:'' |
|
31 |
privateIn:DataSetBuilder |
|
32 |
! |
|
33 |
||
332 | 34 |
!DataSetBuilder class methodsFor:'documentation'! |
35 |
||
36 |
copyright |
|
37 |
" |
|
825 | 38 |
COPYRIGHT (c) 1997 by eXept Software AG |
332 | 39 |
All Rights Reserved |
40 |
||
41 |
This software is furnished under a license and may be used |
|
42 |
only in accordance with the terms of that license and with the |
|
43 |
inclusion of the above copyright notice. This software may not |
|
44 |
be provided or otherwise made available to, or used by, any |
|
45 |
other person. No title to or ownership of the software is |
|
46 |
hereby transferred. |
|
47 |
" |
|
48 |
||
49 |
||
50 |
||
51 |
||
52 |
! |
|
53 |
||
54 |
documentation |
|
55 |
" |
|
56 |
create and modify or inspect dataset columns; used by UIPainter (DataSetColumnSpec) |
|
57 |
||
58 |
[see also:] |
|
59 |
DataSetColumnSpec |
|
60 |
DataSetSpec |
|
61 |
DataSetView |
|
62 |
DataSetColumn |
|
63 |
||
64 |
[author:] |
|
545 | 65 |
Claus Atzkern, eXept Software AG |
332 | 66 |
" |
67 |
||
68 |
! ! |
|
69 |
||
825 | 70 |
!DataSetBuilder class methodsFor:'accessing'! |
799
22734b99f830
added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents:
687
diff
changeset
|
71 |
|
818 | 72 |
resourceType |
73 |
"get the type of resource of the method generated by the MenuEditor" |
|
74 |
||
825 | 75 |
^#tableColumns |
76 |
||
77 |
||
78 |
! ! |
|
79 |
||
80 |
!DataSetBuilder class methodsFor:'aspects'! |
|
81 |
||
82 |
aspects |
|
83 |
"get the aspects for the attributes of the table columns" |
|
84 |
||
85 |
^#( |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
86 |
id |
825 | 87 |
label |
88 |
canSelect |
|
89 |
choices |
|
90 |
editorType |
|
91 |
formatString |
|
92 |
labelIsImage |
|
1262 | 93 |
labelButtonType |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
94 |
translateLabel |
825 | 95 |
size |
96 |
type |
|
97 |
width |
|
98 |
minWidth |
|
1216 | 99 |
usePreferredWidth |
825 | 100 |
height |
101 |
menu |
|
102 |
foregroundSelector |
|
103 |
backgroundSelector |
|
104 |
doubleClickedSelector |
|
983 | 105 |
rowSeparatorSelector |
825 | 106 |
selectSelector |
1261 | 107 |
converterSelector |
1009 | 108 |
showComboFieldSelector |
825 | 109 |
printSelector |
110 |
readSelector |
|
111 |
writeSelector |
|
112 |
rendererType |
|
113 |
showColSeparator |
|
983 | 114 |
showSelectionHighLighted |
825 | 115 |
showRowSeparator |
116 |
backgroundColor |
|
117 |
foregroundColor |
|
118 |
labelForegroundColor |
|
119 |
labelBackgroundColor |
|
120 |
labelFont |
|
121 |
labelActionSelector |
|
122 |
labelActionArgument |
|
123 |
labelAlignment |
|
124 |
columnAlignment |
|
125 |
) |
|
126 |
||
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
127 |
"Modified: / 19.5.1998 / 21:27:06 / cg" |
799
22734b99f830
added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents:
687
diff
changeset
|
128 |
! ! |
22734b99f830
added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents:
687
diff
changeset
|
129 |
|
528 | 130 |
!DataSetBuilder class methodsFor:'help specs'! |
131 |
||
132 |
helpSpec |
|
818 | 133 |
"This resource specification was automatically generated |
134 |
by the UIHelpTool of ST/X." |
|
135 |
||
136 |
"Do not manually edit this!! If it is corrupted, |
|
137 |
the UIHelpTool may not be able to read the specification." |
|
528 | 138 |
|
139 |
" |
|
818 | 140 |
UIHelpTool openOnClass:DataSetBuilder |
528 | 141 |
" |
142 |
||
818 | 143 |
<resource: #help> |
144 |
||
1261 | 145 |
^super helpSpec addPairsFrom:#( |
528 | 146 |
|
550 | 147 |
#addColumn |
148 |
'Adds a new column.' |
|
149 |
||
597 | 150 |
#basicsEditor |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
151 |
'Default widget type or a selector returning an instance of a user defined widget opened in the cell.' |
528 | 152 |
|
597 | 153 |
#basicsFont |
1004 | 154 |
'Sets the font of the labeled text.' |
528 | 155 |
|
597 | 156 |
#basicsJustification |
1004 | 157 |
'Aligns the label to the left, right, or center in the cell.' |
528 | 158 |
|
1064 | 159 |
#basicsJustificationEditor |
160 |
'Aligns the column editor to the left, right, or center in the cell.' |
|
161 |
||
597 | 162 |
#basicsLabel |
1004 | 163 |
'The label of the column (String or StringCollection) or a selector returning the label.' |
164 |
||
165 |
#basicsLabelId |
|
166 |
'Unique identifier of the column (optional).' |
|
597 | 167 |
|
168 |
#basicsLabelIsImage |
|
1064 | 169 |
'Label is actually the selector of a message providing an image-label.' |
1004 | 170 |
|
171 |
#basicsLabelTranslate |
|
172 |
'Translate the label via the resource mechanism to a national language string.' |
|
528 | 173 |
|
597 | 174 |
#basicsRenderer |
175 |
'Specifies displaying cell as Text, CheckToggle, ComboBox, ComboList or as a RowSelector.' |
|
528 | 176 |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
177 |
#browseRowClass |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
178 |
'Open a browser on the row class' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
179 |
|
597 | 180 |
#colorsBackgroundCellColor |
181 |
'Sets the background color of the column.' |
|
182 |
||
183 |
#colorsBackgroundLabelColor |
|
184 |
'Sets the background color of the label.' |
|
528 | 185 |
|
597 | 186 |
#colorsBackgroundSelector |
187 |
'Selector returning the background color for a cell (optional).' |
|
528 | 188 |
|
597 | 189 |
#colorsForegroundCellColor |
190 |
'Sets the foreground color of the column.' |
|
191 |
||
192 |
#colorsForegroundLabelColor |
|
193 |
'Sets the foreground color of the label.' |
|
528 | 194 |
|
597 | 195 |
#colorsForegroundSelector |
196 |
'Selector returning the foreground color for a cell (optional).' |
|
528 | 197 |
|
1261 | 198 |
#converterSelector |
199 |
'Selector returning a TypeConverter on the model the argument or nil.' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
200 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
201 |
#fileLoad |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
202 |
'Specify class/selector and edit that column description' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
203 |
|
1261 | 204 |
#fileNew |
205 |
'Discard changes and continue with a new, empty column description' |
|
206 |
||
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
207 |
#fileSave |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
208 |
'Install the column description' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
209 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
210 |
#fileSaveAs |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
211 |
'Specify class/selector and install the column description' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
212 |
|
597 | 213 |
#formatInputType |
214 |
'A type converter symbol used by the input field.' |
|
528 | 215 |
|
597 | 216 |
#formatMaxSize |
217 |
'Maximum size of the string which can be typed in. 0 or nil means unlimited.' |
|
528 | 218 |
|
597 | 219 |
#formatTextFormat |
220 |
'Format string specifying the output format of the cell text. In this release, only numbers are supported (for example: 0.0000).' |
|
221 |
||
222 |
#frameColumnWidth |
|
1202 | 223 |
'Width (fixed or relative) of a column (optional).' |
528 | 224 |
|
597 | 225 |
#frameMinWidth |
226 |
'Minimum width of the column (optional).' |
|
528 | 227 |
|
597 | 228 |
#frameRowHeight |
229 |
'Height of the row (optional).' |
|
230 |
||
231 |
#frameShowColumnSeparator |
|
232 |
'Turns on/off displaying column separators.' |
|
528 | 233 |
|
597 | 234 |
#frameShowRowSeparator |
235 |
'Turns on/off displaying row separators.' |
|
528 | 236 |
|
983 | 237 |
#frameShowRowSeparatorSelector |
238 |
'An optional selector, which is used to test whether the row separator at the bottom is shown.' |
|
239 |
||
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
240 |
#generateCode |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
241 |
'Generate code and install in the selected class/selector.' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
242 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
243 |
#pickColumns |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
244 |
'Select an open view and readOut the column specification from it.' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
245 |
|
597 | 246 |
#selectionCellClickSelector |
818 | 247 |
'A selector called if cell was selected.' |
528 | 248 |
|
597 | 249 |
#selectionCellDoubleClickSelector |
250 |
'A selector called if cell was double clicked.' |
|
528 | 251 |
|
597 | 252 |
#selectionCellSelector |
1004 | 253 |
'Name of the message sent to the row to validate a selection.' |
528 | 254 |
|
597 | 255 |
#selectionIsSelectable |
256 |
'Turns on/off selection behavior of a column.' |
|
257 |
||
258 |
#selectionLabelClickSelector |
|
1004 | 259 |
'A selector called if a cell was clicked.' |
528 | 260 |
|
597 | 261 |
#selectionLabelSelectorArgument |
1064 | 262 |
'An optional argument passed with the message above.' |
528 | 263 |
|
1009 | 264 |
#showComboFieldSelector |
265 |
'Selector which returns true if the editor on the ComboBox/List has an input field.' |
|
266 |
||
983 | 267 |
#showSelectionHighLighted |
268 |
'Show selected cell highligthened (change fg/bg color).' |
|
269 |
||
597 | 270 |
#valuesChoiceSelector |
1004 | 271 |
'Selector to get a collection of choices for a cell having a ComboBox or a ComboList widget.' |
528 | 272 |
|
597 | 273 |
#valuesMenuSelector |
1004 | 274 |
'Selector to retrive the middle button menu.' |
597 | 275 |
|
276 |
#valuesPrintSelector |
|
1004 | 277 |
'Selector used to register images on a DSVColumnView (the arg). For more detailed info see #register... methods in DSVColumnView.' |
528 | 278 |
|
597 | 279 |
#valuesReadSelector |
1004 | 280 |
'Selector returning the label to be displayed(string, bitmap or a collection).' |
528 | 281 |
|
597 | 282 |
#valuesWriteSelector |
1004 | 283 |
'Selector used to set the value derived from the editor.' |
528 | 284 |
|
285 |
) |
|
286 |
! ! |
|
287 |
||
881 | 288 |
!DataSetBuilder class methodsFor:'image specs'! |
289 |
||
290 |
newColumnIcon |
|
291 |
"This resource specification was automatically generated |
|
292 |
by the ImageEditor of ST/X." |
|
293 |
||
294 |
"Do not manually edit this!! If it is corrupted, |
|
295 |
the ImageEditor may not be able to read the specification." |
|
296 |
||
297 |
" |
|
298 |
self newColumnIcon inspect |
|
299 |
ImageEditor openOnClass:self andSelector:#newColumnIcon |
|
300 |
" |
|
301 |
||
302 |
<resource: #image> |
|
303 |
||
304 |
^Icon |
|
305 |
constantNamed:#'DataSetBuilder newColumnIcon' |
|
306 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UT@@@@UPUTUUUXUPUTZ**,UPUTZB",UPUTX*H,UYUTX*H,UPUTZB",UPQTZ**,UPUTX*H,UPUTX*H,UPUTX*H,UPUTXB@,UPUTZ**,UPUTZ**,UPUTX"H,UYUTXB@,UPUTX"@,UPUTX"H,UPUTZ**,UPUTZ**,UPUT/??<UPUT@@@@UP') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A??@A??@A??@A??@A??@A??@A??@A??@A??CA??@A??@A??@A??@A??CA??AA??@A??CA??@A??CA??@A??@A??A') ; yourself); yourself]! ! |
|
307 |
||
528 | 308 |
!DataSetBuilder class methodsFor:'interface specs'! |
332 | 309 |
|
310 |
basicsEditSpec |
|
817 | 311 |
"This resource specification was automatically generated |
312 |
by the UIPainter of ST/X." |
|
332 | 313 |
|
817 | 314 |
"Do not manually edit this!! If it is corrupted, |
315 |
the UIPainter may not be able to read the specification." |
|
332 | 316 |
|
317 |
" |
|
318 |
UIPainter new openOnClass:DataSetBuilder andSelector:#basicsEditSpec |
|
319 |
DataSetBuilder new openInterface:#basicsEditSpec |
|
320 |
" |
|
321 |
||
322 |
<resource: #canvas> |
|
323 |
||
1156 | 324 |
^ |
325 |
#(#FullSpec |
|
326 |
#name: #basicsEditSpec |
|
327 |
#window: |
|
328 |
#(#WindowSpec |
|
329 |
#label: 'DataSet Basic' |
|
330 |
#name: 'DataSet Basic' |
|
331 |
#min: #(#Point 10 10) |
|
332 |
#max: #(#Point 1280 1024) |
|
1300 | 333 |
#bounds: #(#Rectangle 10 149 399 475) |
1156 | 334 |
) |
335 |
#component: |
|
336 |
#(#SpecCollection |
|
337 |
#collection: #( |
|
338 |
#(#FramedBoxSpec |
|
339 |
#label: 'Header:' |
|
340 |
#name: 'framedBox1' |
|
1215
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
341 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 189 0) |
1156 | 342 |
#labelPosition: #topLeft |
343 |
#component: |
|
344 |
#(#SpecCollection |
|
345 |
#collection: #( |
|
346 |
#(#LabelSpec |
|
1300 | 347 |
#label: 'ID:' |
348 |
#name: 'idLabel' |
|
349 |
#layout: #(#AlignmentOrigin 94 0 14 0 1 0.5) |
|
350 |
#resizeForLabel: true |
|
351 |
) |
|
352 |
#(#InputFieldSpec |
|
353 |
#attributes: |
|
354 |
#(#tabable |
|
355 |
true |
|
356 |
) |
|
357 |
#name: 'idField' |
|
358 |
#layout: #(#LayoutFrame 97 0 0 0 2 1.0 22 0) |
|
359 |
#activeHelpKey: #basicsLabelId |
|
360 |
#tabable: true |
|
361 |
#model: #id |
|
362 |
#group: #inputGroup |
|
363 |
#acceptOnLostFocus: false |
|
364 |
#acceptChannel: #acceptChannel |
|
365 |
#modifiedChannel: #modifiedChannel |
|
366 |
#acceptOnPointerLeave: false |
|
367 |
) |
|
368 |
#(#LabelSpec |
|
1156 | 369 |
#label: 'Label:' |
370 |
#name: 'label1' |
|
371 |
#layout: #(#AlignmentOrigin 94 0 39 0 1 0.5) |
|
372 |
#resizeForLabel: true |
|
373 |
) |
|
374 |
#(#InputFieldSpec |
|
1300 | 375 |
#attributes: |
376 |
#(#tabable |
|
377 |
true |
|
378 |
) |
|
1156 | 379 |
#name: 'labelField' |
380 |
#layout: #(#LayoutFrame 97 0 28 0 2 1.0 50 0) |
|
381 |
#activeHelpKey: #basicsLabel |
|
382 |
#tabable: true |
|
383 |
#model: #label |
|
384 |
#group: #inputGroup |
|
385 |
#type: #smalltalkObject |
|
386 |
#immediateAccept: false |
|
387 |
#acceptOnLeave: false |
|
388 |
#acceptOnLostFocus: false |
|
389 |
#acceptChannel: #acceptChannel |
|
390 |
#modifiedChannel: #modifiedChannel |
|
391 |
#acceptOnPointerLeave: false |
|
392 |
) |
|
393 |
#(#LabelSpec |
|
394 |
#label: 'Font:' |
|
395 |
#name: 'LabelFont' |
|
396 |
#layout: #(#AlignmentOrigin 94 0 68 0 1 0.5) |
|
397 |
#resizeForLabel: true |
|
398 |
#adjust: #left |
|
399 |
) |
|
400 |
#(#FontMenuSpec |
|
401 |
#name: 'fontMenu' |
|
402 |
#layout: #(#LayoutFrame 97 0 56 0 0 1.0 78 0) |
|
403 |
#activeHelpKey: #labelFont |
|
404 |
#model: #style |
|
405 |
) |
|
1300 | 406 |
#(#LabelSpec |
407 |
#label: 'Type:' |
|
408 |
#name: 'Type' |
|
409 |
#layout: #(#AlignmentOrigin 52 0 105 0 1 0.5) |
|
410 |
#translateLabel: true |
|
411 |
#resizeForLabel: true |
|
412 |
) |
|
413 |
#(#ComboListSpec |
|
414 |
#attributes: |
|
415 |
#(#tabable |
|
416 |
true |
|
417 |
) |
|
418 |
#name: 'labelButtonType' |
|
419 |
#layout: #(#LayoutFrame 57 0 96 0 182 0 116 0) |
|
420 |
#tabable: true |
|
421 |
#model: #labelButtonType |
|
422 |
#comboList: |
|
423 |
#(#None |
|
424 |
#Button #Group |
|
408 | 425 |
) |
1156 | 426 |
#useIndex: false |
427 |
) |
|
428 |
#(#LabelSpec |
|
1259 | 429 |
#label: 'Align:' |
1156 | 430 |
#name: 'JustificationLabel' |
1259 | 431 |
#layout: #(#LayoutFrame 191 0 97 0 236 0 118 0) |
1156 | 432 |
#resizeForLabel: true |
433 |
#adjust: #left |
|
434 |
) |
|
1300 | 435 |
#(#PopUpListSpec |
436 |
#attributes: |
|
437 |
#(#tabable |
|
438 |
true |
|
439 |
) |
|
440 |
#label: 'Alignment' |
|
441 |
#name: 'Alignment' |
|
442 |
#layout: #(#LayoutFrame 248 0 97 0 2 1.0 119 0) |
|
443 |
#activeHelpKey: #basicsJustification |
|
444 |
#tabable: true |
|
445 |
#model: #labelAlignment |
|
446 |
#menu: |
|
447 |
#(#left |
|
448 |
#right #center |
|
449 |
) |
|
450 |
#useIndex: false |
|
451 |
) |
|
1156 | 452 |
#(#CheckBoxSpec |
1300 | 453 |
#attributes: |
454 |
#(#tabable |
|
455 |
true |
|
456 |
) |
|
1156 | 457 |
#label: 'Label Is Image' |
458 |
#name: 'labelIsImage' |
|
1259 | 459 |
#layout: #(#LayoutOrigin -3 0 122 0) |
1156 | 460 |
#activeHelpKey: #basicsLabelIsImage |
461 |
#tabable: true |
|
462 |
#model: #labelIsImage |
|
463 |
) |
|
464 |
#(#CheckBoxSpec |
|
1300 | 465 |
#attributes: |
466 |
#(#tabable |
|
467 |
true |
|
468 |
) |
|
1156 | 469 |
#label: 'Translate Label' |
470 |
#name: 'CheckBox2' |
|
1262 | 471 |
#layout: #(#LayoutOrigin 160 0 122 0) |
1156 | 472 |
#activeHelpKey: #basicsLabelTranslate |
473 |
#tabable: true |
|
474 |
#model: #translateLabel |
|
475 |
) |
|
476 |
) |
|
477 |
||
478 |
) |
|
479 |
) |
|
480 |
#(#FramedBoxSpec |
|
481 |
#label: 'Cell Type:' |
|
482 |
#name: 'typesFrame' |
|
1259 | 483 |
#layout: #(#LayoutFrame 0 0.0 193 0 0 1.0 305 0) |
1156 | 484 |
#labelPosition: #topLeft |
485 |
#component: |
|
486 |
#(#SpecCollection |
|
487 |
#collection: #( |
|
488 |
#(#LabelSpec |
|
489 |
#label: 'Renderer:' |
|
490 |
#name: 'rendererLabel' |
|
491 |
#layout: #(#AlignmentOrigin 94 0 16 0 1 0.5) |
|
492 |
#resizeForLabel: true |
|
493 |
) |
|
494 |
#(#ComboListSpec |
|
1300 | 495 |
#attributes: |
496 |
#(#tabable |
|
497 |
true |
|
498 |
) |
|
1156 | 499 |
#name: 'rendererField' |
500 |
#layout: #(#LayoutFrame 97 0 5 0 2 1.0 27 0) |
|
501 |
#activeHelpKey: #basicsRenderer |
|
502 |
#tabable: true |
|
503 |
#model: #rendererType |
|
504 |
#comboList: #rendererTypeList |
|
505 |
#useIndex: false |
|
506 |
) |
|
507 |
#(#LabelSpec |
|
508 |
#label: 'Editor:' |
|
509 |
#name: 'editorLabel' |
|
510 |
#layout: #(#AlignmentOrigin 94 0 42 0 1 0.5) |
|
511 |
#resizeForLabel: true |
|
512 |
) |
|
513 |
#(#ComboBoxSpec |
|
1300 | 514 |
#attributes: |
515 |
#(#tabable |
|
516 |
true |
|
517 |
) |
|
1156 | 518 |
#name: 'editorField' |
519 |
#layout: #(#LayoutFrame 97 0 31 0 2 1.0 53 0) |
|
520 |
#activeHelpKey: #basicsEditor |
|
521 |
#tabable: true |
|
522 |
#model: #editorType |
|
523 |
#type: #symbolOrNil |
|
524 |
#acceptOnLostFocus: false |
|
525 |
#acceptChannel: #acceptChannel |
|
526 |
#modifiedChannel: #modifiedChannel |
|
527 |
#acceptOnPointerLeave: false |
|
528 |
#comboList: #editorTypeList |
|
529 |
#useIndex: false |
|
530 |
) |
|
531 |
#(#LabelSpec |
|
1259 | 532 |
#label: 'Align:' |
1156 | 533 |
#name: 'JustificationC' |
1259 | 534 |
#layout: #(#LayoutFrame 191 0 58 0 236 0 79 0) |
1156 | 535 |
#resizeForLabel: true |
536 |
#adjust: #left |
|
537 |
) |
|
538 |
#(#PopUpListSpec |
|
1300 | 539 |
#attributes: |
540 |
#(#tabable |
|
541 |
true |
|
542 |
) |
|
1156 | 543 |
#label: 'Alignment' |
544 |
#name: 'AlignmentC' |
|
1259 | 545 |
#layout: #(#LayoutFrame 248 0 58 0 2 1.0 80 0) |
1156 | 546 |
#activeHelpKey: #basicsJustificationEditor |
1300 | 547 |
#tabable: true |
1156 | 548 |
#model: #columnAlignment |
549 |
#menu: |
|
550 |
#(#left |
|
551 |
#right #center |
|
332 | 552 |
) |
1156 | 553 |
#useIndex: false |
554 |
) |
|
555 |
) |
|
556 |
||
391 | 557 |
) |
1156 | 558 |
) |
559 |
) |
|
560 |
||
561 |
) |
|
391 | 562 |
) |
563 |
! |
|
564 |
||
408 | 565 |
colorsEditSpec |
825 | 566 |
"This resource specification was automatically generated |
567 |
by the UIPainter of ST/X." |
|
332 | 568 |
|
825 | 569 |
"Do not manually edit this!! If it is corrupted, |
570 |
the UIPainter may not be able to read the specification." |
|
332 | 571 |
|
572 |
" |
|
408 | 573 |
UIPainter new openOnClass:DataSetBuilder andSelector:#colorsEditSpec |
574 |
DataSetBuilder new openInterface:#colorsEditSpec |
|
332 | 575 |
" |
576 |
||
577 |
<resource: #canvas> |
|
578 |
||
1156 | 579 |
^ |
580 |
#(#FullSpec |
|
581 |
#name: #colorsEditSpec |
|
582 |
#window: |
|
583 |
#(#WindowSpec |
|
584 |
#label: 'DataSet Misc' |
|
585 |
#name: 'DataSet Misc' |
|
586 |
#layout: #(#LayoutFrame 699 0 270 0 1067 0 569 0) |
|
587 |
#level: 0 |
|
588 |
#min: #(#Point 10 10) |
|
589 |
#max: #(#Point 1280 1024) |
|
590 |
#bounds: #(#Rectangle 699 270 1068 570) |
|
591 |
#usePreferredExtent: false |
|
592 |
#returnIsOKInDialog: true |
|
593 |
#escapeIsCancelInDialog: true |
|
594 |
) |
|
595 |
#component: |
|
596 |
#(#SpecCollection |
|
597 |
#collection: #( |
|
598 |
#(#FramedBoxSpec |
|
599 |
#label: 'Label Colors:' |
|
600 |
#name: 'ColorsBox' |
|
601 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 95 0) |
|
602 |
#labelPosition: #topLeft |
|
603 |
#component: |
|
604 |
#(#SpecCollection |
|
605 |
#collection: #( |
|
606 |
#(#LabelSpec |
|
607 |
#label: 'Foreground:' |
|
608 |
#name: 'label1' |
|
609 |
#layout: #(#AlignmentOrigin 112 0 24 0 1 0.5) |
|
610 |
#resizeForLabel: true |
|
611 |
#adjust: #right |
|
612 |
) |
|
613 |
#(#ColorMenuSpec |
|
614 |
#name: 'colorMenu1' |
|
615 |
#layout: #(#LayoutFrame 115 0 12 0 -3 1.0 34 0) |
|
616 |
#activeHelpKey: #colorsForegroundLabelColor |
|
617 |
#model: #labelForegroundColor |
|
618 |
#labelsAreColored: true |
|
619 |
) |
|
620 |
#(#LabelSpec |
|
621 |
#label: 'Background:' |
|
622 |
#name: 'label2' |
|
623 |
#layout: #(#AlignmentOrigin 112 0 52 0 1 0.5) |
|
624 |
#resizeForLabel: true |
|
625 |
#adjust: #right |
|
626 |
) |
|
627 |
#(#ColorMenuSpec |
|
628 |
#name: 'colorMenu2' |
|
629 |
#layout: #(#LayoutFrame 115 0 40 0 -3 1.0 62 0) |
|
630 |
#activeHelpKey: #colorsBackgroundLabelColor |
|
631 |
#model: #labelBackgroundColor |
|
632 |
#labelsAreColored: false |
|
633 |
) |
|
634 |
) |
|
635 |
||
332 | 636 |
) |
1156 | 637 |
) |
638 |
#(#FramedBoxSpec |
|
639 |
#label: 'Cell Colors:' |
|
640 |
#name: 'defaultColorsBox' |
|
641 |
#layout: #(#LayoutFrame 0 0.0 108 0 0 1.0 263 0) |
|
642 |
#labelPosition: #topLeft |
|
643 |
#component: |
|
644 |
#(#SpecCollection |
|
645 |
#collection: #( |
|
646 |
#(#LabelSpec |
|
647 |
#label: 'Foreground:' |
|
648 |
#name: 'fgLabel' |
|
649 |
#layout: #(#AlignmentOrigin 112 0 28 0 1 0.5) |
|
650 |
#resizeForLabel: true |
|
651 |
#adjust: #right |
|
652 |
) |
|
653 |
#(#ColorMenuSpec |
|
654 |
#name: 'fgMenu' |
|
655 |
#layout: #(#LayoutFrame 115 0 16 0 -3 1.0 38 0) |
|
656 |
#activeHelpKey: #colorsForegroundCellColor |
|
657 |
#model: #foregroundColor |
|
658 |
#labelsAreColored: true |
|
659 |
) |
|
660 |
#(#LabelSpec |
|
661 |
#label: 'Background:' |
|
662 |
#name: 'bgLabel' |
|
663 |
#layout: #(#AlignmentOrigin 112 0 56 0 1 0.5) |
|
664 |
#resizeForLabel: true |
|
665 |
#adjust: #right |
|
666 |
) |
|
667 |
#(#ColorMenuSpec |
|
668 |
#name: 'bgMenu' |
|
669 |
#layout: #(#LayoutFrame 115 0 44 0 -3 1.0 66 0) |
|
670 |
#activeHelpKey: #colorsBackgroundCellColor |
|
671 |
#model: #backgroundColor |
|
672 |
#labelsAreColored: false |
|
673 |
) |
|
674 |
#(#LabelSpec |
|
675 |
#label: 'FG-Selector:' |
|
676 |
#name: 'fgSelLabel' |
|
677 |
#layout: #(#AlignmentOrigin 112 0 90 0 1 0.5) |
|
678 |
#resizeForLabel: true |
|
679 |
#adjust: #right |
|
680 |
) |
|
681 |
#(#InputFieldSpec |
|
682 |
#name: 'fgSelField' |
|
683 |
#layout: #(#LayoutFrame 115 0 79 0 0 1.0 101 0) |
|
684 |
#activeHelpKey: #colorsForegroundSelector |
|
685 |
#tabable: true |
|
686 |
#model: #foregroundSelector |
|
687 |
#group: #inputGroup |
|
688 |
#type: #symbolOrNil |
|
689 |
#acceptOnLostFocus: false |
|
690 |
#acceptChannel: #acceptChannel |
|
691 |
#modifiedChannel: #modifiedChannel |
|
692 |
#acceptOnPointerLeave: false |
|
693 |
) |
|
694 |
#(#LabelSpec |
|
695 |
#label: 'BG-Selector:' |
|
696 |
#name: 'bgSelLabel' |
|
697 |
#layout: #(#AlignmentOrigin 112 0 115 0 1 0.5) |
|
698 |
#resizeForLabel: true |
|
699 |
#adjust: #right |
|
700 |
) |
|
701 |
#(#InputFieldSpec |
|
702 |
#name: 'bgSelField' |
|
703 |
#layout: #(#LayoutFrame 115 0 104 0 0 1.0 126 0) |
|
704 |
#activeHelpKey: #colorsBackgroundSelector |
|
705 |
#tabable: true |
|
706 |
#model: #backgroundSelector |
|
707 |
#group: #inputGroup |
|
708 |
#type: #symbolOrNil |
|
709 |
#acceptOnLostFocus: false |
|
710 |
#acceptChannel: #acceptChannel |
|
711 |
#modifiedChannel: #modifiedChannel |
|
712 |
#acceptOnPointerLeave: false |
|
713 |
) |
|
714 |
) |
|
715 |
||
716 |
) |
|
717 |
) |
|
718 |
) |
|
719 |
||
720 |
) |
|
332 | 721 |
) |
722 |
! |
|
723 |
||
528 | 724 |
defineClassNameSpec |
825 | 725 |
"This resource specification was automatically generated |
726 |
by the UIPainter of ST/X." |
|
528 | 727 |
|
825 | 728 |
"Do not manually edit this!! If it is corrupted, |
729 |
the UIPainter may not be able to read the specification." |
|
528 | 730 |
|
731 |
" |
|
732 |
UIPainter new openOnClass:DataSetBuilder andSelector:#defineClassNameSpec |
|
733 |
DataSetBuilder new openInterface:#defineClassNameSpec |
|
734 |
" |
|
735 |
||
736 |
<resource: #canvas> |
|
737 |
||
738 |
^ |
|
739 |
||
740 |
#(#FullSpec |
|
687 | 741 |
#window: |
528 | 742 |
#(#WindowSpec |
687 | 743 |
#name: 'Data Set Builder' |
825 | 744 |
#layout: #(#LayoutFrame 414 0 336 0 740 0 471 0) |
687 | 745 |
#label: 'Data Set Builder' |
746 |
#min: #(#Point 10 10) |
|
747 |
#max: #(#Point 1152 900) |
|
825 | 748 |
#bounds: #(#Rectangle 414 336 741 472) |
687 | 749 |
#usePreferredExtent: false |
528 | 750 |
) |
687 | 751 |
#component: |
528 | 752 |
#(#SpecCollection |
687 | 753 |
#collection: |
528 | 754 |
#( |
755 |
#(#FramedBoxSpec |
|
687 | 756 |
#name: 'framedBox1' |
757 |
#layout: #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -34 1.0) |
|
842 | 758 |
#label: 'Class for code' |
759 |
#translateLabel: true |
|
687 | 760 |
#labelPosition: #topLeft |
528 | 761 |
) |
762 |
#(#LabelSpec |
|
687 | 763 |
#name: 'classLabel' |
764 |
#layout: #(#AlignmentOrigin 73 0.11 38 0 1 0.5) |
|
765 |
#label: 'Class:' |
|
842 | 766 |
#translateLabel: true |
687 | 767 |
#adjust: #right |
768 |
#resizeForLabel: true |
|
528 | 769 |
) |
770 |
#(#InputFieldSpec |
|
687 | 771 |
#name: 'classNameInputField' |
772 |
#layout: #(#LayoutFrame 77 0.11 27 0 -16 1.0 49 0) |
|
773 |
#tabable: true |
|
774 |
#model: #classNameChannel |
|
528 | 775 |
) |
776 |
#(#LabelSpec |
|
687 | 777 |
#name: 'superClassLabel' |
778 |
#layout: #(#AlignmentOrigin 73 0.11 65 0 1 0.5) |
|
779 |
#label: 'Superclass:' |
|
842 | 780 |
#translateLabel: true |
687 | 781 |
#adjust: #right |
782 |
#resizeForLabel: true |
|
528 | 783 |
) |
784 |
#(#InputFieldSpec |
|
687 | 785 |
#name: 'superclassNameInputField' |
786 |
#layout: #(#LayoutFrame 76 0.11 55 0 -16 1.0 77 0) |
|
787 |
#tabable: true |
|
788 |
#model: #superclassNameChannel |
|
528 | 789 |
) |
790 |
#(#UISubSpecification |
|
687 | 791 |
#name: 'SubSpecification' |
792 |
#layout: #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1.0) |
|
793 |
#majorKey: #ToolApplicationModel |
|
794 |
#minorKey: #windowSpecForCommitWithoutChannels |
|
528 | 795 |
) |
796 |
) |
|
797 |
) |
|
798 |
) |
|
842 | 799 |
|
800 |
"Modified: / 20.5.1998 / 03:46:17 / cg" |
|
528 | 801 |
! |
802 |
||
370 | 803 |
formatEditSpec |
825 | 804 |
"This resource specification was automatically generated |
805 |
by the UIPainter of ST/X." |
|
332 | 806 |
|
825 | 807 |
"Do not manually edit this!! If it is corrupted, |
808 |
the UIPainter may not be able to read the specification." |
|
332 | 809 |
|
810 |
" |
|
370 | 811 |
UIPainter new openOnClass:DataSetBuilder andSelector:#formatEditSpec |
812 |
DataSetBuilder new openInterface:#formatEditSpec |
|
813 |
" |
|
814 |
||
815 |
<resource: #canvas> |
|
816 |
||
1156 | 817 |
^ |
818 |
#(#FullSpec |
|
819 |
#name: #formatEditSpec |
|
820 |
#window: |
|
821 |
#(#WindowSpec |
|
822 |
#label: 'DataSet Details' |
|
823 |
#name: 'DataSet Details' |
|
824 |
#layout: #(#LayoutFrame 699 0 270 0 1086 0 561 0) |
|
825 |
#level: 0 |
|
826 |
#min: #(#Point 10 10) |
|
827 |
#max: #(#Point 1280 1024) |
|
828 |
#bounds: #(#Rectangle 699 270 1087 562) |
|
829 |
#usePreferredExtent: false |
|
830 |
#returnIsOKInDialog: true |
|
831 |
#escapeIsCancelInDialog: true |
|
832 |
) |
|
833 |
#component: |
|
834 |
#(#SpecCollection |
|
835 |
#collection: #( |
|
836 |
#(#FramedBoxSpec |
|
837 |
#label: 'Input Format' |
|
838 |
#name: 'framedBox1' |
|
839 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 127 0) |
|
840 |
#labelPosition: #topLeft |
|
841 |
#component: |
|
842 |
#(#SpecCollection |
|
843 |
#collection: #( |
|
844 |
#(#LabelSpec |
|
845 |
#label: 'Input Type:' |
|
846 |
#name: 'typeLabel' |
|
847 |
#layout: #(#AlignmentOrigin 115 0 26 0 1 0.5) |
|
848 |
#resizeForLabel: true |
|
849 |
) |
|
850 |
#(#ComboListSpec |
|
851 |
#name: 'typeCombo' |
|
852 |
#layout: #(#LayoutFrame 118 0 15 0 3 1.0 37 0) |
|
853 |
#activeHelpKey: #formatInputType |
|
854 |
#tabable: true |
|
855 |
#model: #type |
|
856 |
#comboList: |
|
857 |
#(#string |
|
858 |
#password #number |
|
859 |
#numberOrNil #symbolOrNil |
|
408 | 860 |
) |
1156 | 861 |
#useIndex: false |
862 |
) |
|
863 |
#(#LabelSpec |
|
864 |
#label: 'Max Size:' |
|
865 |
#name: 'sizeLabel' |
|
866 |
#layout: #(#AlignmentOrigin 115 0 52 0 1 0.5) |
|
867 |
#resizeForLabel: true |
|
868 |
) |
|
869 |
#(#InputFieldSpec |
|
870 |
#name: 'sizeField' |
|
871 |
#layout: #(#LayoutFrame 118 0 41 0 3 1.0 63 0) |
|
872 |
#activeHelpKey: #formatMaxSize |
|
873 |
#tabable: true |
|
874 |
#model: #size |
|
875 |
#group: #inputGroup |
|
876 |
#type: #numberOrNil |
|
877 |
#acceptOnLostFocus: false |
|
878 |
#acceptChannel: #acceptChannel |
|
879 |
#modifiedChannel: #modifiedChannel |
|
880 |
#acceptOnPointerLeave: false |
|
881 |
) |
|
882 |
#(#LabelSpec |
|
883 |
#label: 'Text Format:' |
|
884 |
#name: 'formatLabel' |
|
885 |
#layout: #(#AlignmentOrigin 115 0 77 0 1 0.5) |
|
886 |
#resizeForLabel: true |
|
887 |
) |
|
888 |
#(#InputFieldSpec |
|
889 |
#name: 'formatField' |
|
890 |
#layout: #(#LayoutFrame 118 0 66 0 3 1.0 88 0) |
|
891 |
#activeHelpKey: #formatTextFormat |
|
892 |
#tabable: true |
|
893 |
#model: #formatString |
|
894 |
#group: #inputGroup |
|
895 |
#acceptOnLostFocus: false |
|
896 |
#acceptChannel: #acceptChannel |
|
897 |
#modifiedChannel: #modifiedChannel |
|
898 |
#acceptOnPointerLeave: false |
|
899 |
) |
|
900 |
) |
|
901 |
||
370 | 902 |
) |
1156 | 903 |
) |
904 |
) |
|
905 |
||
906 |
) |
|
370 | 907 |
) |
908 |
! |
|
909 |
||
408 | 910 |
frameEditSpec |
825 | 911 |
"This resource specification was automatically generated |
912 |
by the UIPainter of ST/X." |
|
391 | 913 |
|
825 | 914 |
"Do not manually edit this!! If it is corrupted, |
915 |
the UIPainter may not be able to read the specification." |
|
391 | 916 |
|
917 |
" |
|
408 | 918 |
UIPainter new openOnClass:DataSetBuilder andSelector:#frameEditSpec |
919 |
DataSetBuilder new openInterface:#frameEditSpec |
|
391 | 920 |
" |
921 |
||
922 |
<resource: #canvas> |
|
923 |
||
1156 | 924 |
^ |
925 |
#(#FullSpec |
|
926 |
#name: #frameEditSpec |
|
927 |
#window: |
|
928 |
#(#WindowSpec |
|
929 |
#label: 'DataSet Dimension' |
|
930 |
#name: 'DataSet Dimension' |
|
931 |
#min: #(#Point 10 10) |
|
932 |
#max: #(#Point 1280 1024) |
|
1300 | 933 |
#bounds: #(#Rectangle 132 132 457 480) |
1156 | 934 |
) |
935 |
#component: |
|
936 |
#(#SpecCollection |
|
937 |
#collection: #( |
|
938 |
#(#FramedBoxSpec |
|
939 |
#label: 'Separators' |
|
940 |
#name: 'separatorBox' |
|
941 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 132 0) |
|
942 |
#labelPosition: #topLeft |
|
943 |
#component: |
|
944 |
#(#SpecCollection |
|
945 |
#collection: #( |
|
946 |
#(#CheckBoxSpec |
|
1300 | 947 |
#attributes: |
948 |
#(#tabable |
|
949 |
true |
|
950 |
) |
|
1156 | 951 |
#label: 'Show Row-Separator' |
952 |
#name: 'showRowSeparator' |
|
953 |
#layout: #(#LayoutFrame 5 0 15 0 293 0 38 0) |
|
954 |
#activeHelpKey: #frameShowRowSeparator |
|
955 |
#tabable: true |
|
956 |
#model: #showRowSeparator |
|
957 |
) |
|
958 |
#(#InputFieldSpec |
|
1300 | 959 |
#attributes: |
960 |
#(#tabable |
|
961 |
true |
|
962 |
) |
|
1156 | 963 |
#name: 'rowSeparatorSelector' |
964 |
#layout: #(#LayoutFrame 29 0 41 0 2 1.0 63 0) |
|
965 |
#activeHelpKey: #frameShowRowSeparatorSelector |
|
966 |
#tabable: true |
|
967 |
#model: #rowSeparatorSelector |
|
968 |
#group: #inputGroup |
|
969 |
#type: #symbolOrNil |
|
970 |
#acceptOnLostFocus: false |
|
971 |
#acceptChannel: #acceptChannel |
|
972 |
#modifiedChannel: #modifiedChannel |
|
973 |
#acceptOnPointerLeave: false |
|
974 |
) |
|
975 |
#(#CheckBoxSpec |
|
1300 | 976 |
#attributes: |
977 |
#(#tabable |
|
978 |
true |
|
979 |
) |
|
1156 | 980 |
#label: 'Show Column-Separator' |
981 |
#name: 'showColSeparator' |
|
982 |
#layout: #(#LayoutFrame 5 0 70 0 294 0 93 0) |
|
983 |
#activeHelpKey: #frameShowColumnSeparator |
|
984 |
#tabable: true |
|
985 |
#model: #showColSeparator |
|
986 |
) |
|
987 |
) |
|
988 |
||
391 | 989 |
) |
1156 | 990 |
) |
991 |
#(#FramedBoxSpec |
|
992 |
#label: 'Dimensions:' |
|
993 |
#name: 'framedBox1' |
|
1216 | 994 |
#layout: #(#LayoutFrame 0 0.0 151 0 0 1.0 297 0) |
1156 | 995 |
#labelPosition: #topLeft |
996 |
#component: |
|
997 |
#(#SpecCollection |
|
998 |
#collection: #( |
|
999 |
#(#LabelSpec |
|
1000 |
#label: 'Column Width:' |
|
1001 |
#name: 'widthLabel' |
|
1002 |
#layout: #(#AlignmentOrigin 140 0.0 23 0 1 0.5) |
|
1003 |
#resizeForLabel: true |
|
1004 |
#adjust: #right |
|
1005 |
) |
|
1006 |
#(#InputFieldSpec |
|
1300 | 1007 |
#attributes: |
1008 |
#(#tabable |
|
1009 |
true |
|
1010 |
) |
|
1156 | 1011 |
#name: 'widthField' |
1012 |
#layout: #(#LayoutFrame 142 0 12 0 2 1.0 34 0) |
|
1013 |
#activeHelpKey: #frameColumnWidth |
|
1014 |
#tabable: true |
|
1015 |
#model: #width |
|
1016 |
#group: #inputGroup |
|
1017 |
#type: #numberOrNil |
|
1018 |
#acceptOnLostFocus: false |
|
1019 |
#acceptChannel: #acceptChannel |
|
1020 |
#modifiedChannel: #modifiedChannel |
|
1021 |
#acceptOnPointerLeave: false |
|
1022 |
) |
|
1023 |
#(#LabelSpec |
|
1024 |
#label: 'Min Width:' |
|
1025 |
#name: 'minWidthLabel' |
|
1026 |
#layout: #(#AlignmentOrigin 140 0.0 51 0 1 0.5) |
|
1027 |
#resizeForLabel: true |
|
1028 |
#adjust: #right |
|
1029 |
) |
|
1030 |
#(#InputFieldSpec |
|
1300 | 1031 |
#attributes: |
1032 |
#(#tabable |
|
1033 |
true |
|
1034 |
) |
|
1156 | 1035 |
#name: 'minWidthField' |
1036 |
#layout: #(#LayoutFrame 142 0 40 0 2 1.0 62 0) |
|
1037 |
#activeHelpKey: #frameMinWidth |
|
1038 |
#tabable: true |
|
1039 |
#model: #minWidth |
|
1040 |
#group: #inputGroup |
|
1041 |
#type: #numberOrNil |
|
1042 |
#acceptOnLostFocus: false |
|
1043 |
#acceptChannel: #acceptChannel |
|
1044 |
#modifiedChannel: #modifiedChannel |
|
1045 |
#acceptOnPointerLeave: false |
|
1046 |
) |
|
1047 |
#(#LabelSpec |
|
1048 |
#label: 'Row Height:' |
|
1049 |
#name: 'heightLabel' |
|
1050 |
#layout: #(#AlignmentOrigin 140 0.0 79 0 1 0.5) |
|
1051 |
#resizeForLabel: true |
|
1052 |
#adjust: #right |
|
1053 |
) |
|
1054 |
#(#InputFieldSpec |
|
1300 | 1055 |
#attributes: |
1056 |
#(#tabable |
|
1057 |
true |
|
1058 |
) |
|
1156 | 1059 |
#name: 'heightField' |
1060 |
#layout: #(#LayoutFrame 142 0 68 0 2 1.0 90 0) |
|
1061 |
#activeHelpKey: #frameRowHeight |
|
1062 |
#tabable: true |
|
1063 |
#model: #height |
|
1064 |
#group: #inputGroup |
|
1065 |
#type: #numberOrNil |
|
1066 |
#acceptOnLostFocus: false |
|
1067 |
#acceptChannel: #acceptChannel |
|
1068 |
#modifiedChannel: #modifiedChannel |
|
1069 |
#acceptOnPointerLeave: false |
|
1070 |
) |
|
1216 | 1071 |
#(#CheckBoxSpec |
1300 | 1072 |
#attributes: |
1073 |
#(#tabable |
|
1074 |
true |
|
1075 |
) |
|
1216 | 1076 |
#label: 'Use Preferred Width' |
1077 |
#name: 'usePreferredWidth' |
|
1078 |
#layout: #(#LayoutFrame 5 0 96 0 141 0 118 0) |
|
1300 | 1079 |
#tabable: true |
1216 | 1080 |
#model: #usePreferredWidth |
1081 |
) |
|
1156 | 1082 |
) |
1083 |
||
1084 |
) |
|
1085 |
) |
|
1086 |
) |
|
1087 |
||
1088 |
) |
|
391 | 1089 |
) |
1090 |
! |
|
1091 |
||
408 | 1092 |
selectionEditSpec |
825 | 1093 |
"This resource specification was automatically generated |
1094 |
by the UIPainter of ST/X." |
|
370 | 1095 |
|
825 | 1096 |
"Do not manually edit this!! If it is corrupted, |
1097 |
the UIPainter may not be able to read the specification." |
|
370 | 1098 |
|
1099 |
" |
|
408 | 1100 |
UIPainter new openOnClass:DataSetBuilder andSelector:#selectionEditSpec |
1101 |
DataSetBuilder new openInterface:#selectionEditSpec |
|
332 | 1102 |
" |
1103 |
||
1104 |
<resource: #canvas> |
|
1105 |
||
1156 | 1106 |
^ |
1107 |
#(#FullSpec |
|
1108 |
#name: #selectionEditSpec |
|
1109 |
#window: |
|
1110 |
#(#WindowSpec |
|
1111 |
#label: 'DataSet Basic' |
|
1112 |
#name: 'DataSet Basic' |
|
1113 |
#min: #(#Point 10 10) |
|
1114 |
#max: #(#Point 1280 1024) |
|
1215
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
1115 |
#bounds: #(#Rectangle 67 116 398 444) |
1156 | 1116 |
) |
1117 |
#component: |
|
1118 |
#(#SpecCollection |
|
1119 |
#collection: #( |
|
1120 |
#(#FramedBoxSpec |
|
1121 |
#label: 'Label Select Action:' |
|
1215
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
1122 |
#name: 'LabelSelectAction' |
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
1123 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 97 0) |
1156 | 1124 |
#labelPosition: #topLeft |
1125 |
#component: |
|
1126 |
#(#SpecCollection |
|
1127 |
#collection: #( |
|
1128 |
#(#LabelSpec |
|
1129 |
#label: 'Selector:' |
|
1130 |
#name: 'ActionLabel' |
|
1131 |
#layout: #(#AlignmentOrigin 95 0 20 0 1 0.5) |
|
1132 |
#resizeForLabel: true |
|
1133 |
#adjust: #left |
|
1134 |
) |
|
1135 |
#(#InputFieldSpec |
|
1136 |
#name: 'ActionSelector' |
|
1137 |
#layout: #(#LayoutFrame 98 0 9 0 3 1.0 31 0) |
|
1138 |
#activeHelpKey: #selectionLabelClickSelector |
|
1139 |
#tabable: true |
|
1140 |
#model: #labelActionSelector |
|
1141 |
#group: #inputGroup |
|
1142 |
#type: #symbolOrNil |
|
1143 |
#acceptOnLostFocus: false |
|
1144 |
#acceptChannel: #acceptChannel |
|
1145 |
#modifiedChannel: #modifiedChannel |
|
1146 |
#acceptOnPointerLeave: false |
|
1147 |
) |
|
1148 |
#(#LabelSpec |
|
1149 |
#label: 'Argument:' |
|
1150 |
#name: 'ArgumentLabel' |
|
1215
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
1151 |
#layout: #(#AlignmentOrigin 95 0 48 0 1 0.5) |
1156 | 1152 |
#resizeForLabel: true |
1153 |
#adjust: #left |
|
1154 |
) |
|
1155 |
#(#InputFieldSpec |
|
1156 |
#name: 'ArgumentValue' |
|
1215
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
1157 |
#layout: #(#LayoutFrame 98 0 37 0 3 1.0 59 0) |
1156 | 1158 |
#activeHelpKey: #selectionLabelSelectorArgument |
1159 |
#tabable: true |
|
1160 |
#model: #labelActionArgument |
|
1161 |
#group: #inputGroup |
|
1162 |
#type: #string |
|
1163 |
#acceptOnLostFocus: false |
|
1164 |
#acceptChannel: #acceptChannel |
|
1165 |
#modifiedChannel: #modifiedChannel |
|
1166 |
#acceptOnPointerLeave: false |
|
1167 |
) |
|
1168 |
) |
|
1169 |
||
408 | 1170 |
) |
1156 | 1171 |
) |
1172 |
#(#FramedBoxSpec |
|
1173 |
#label: 'Cell Selection:' |
|
1215
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
1174 |
#name: 'CellSelection' |
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
1175 |
#layout: #(#LayoutFrame 0 0.0 105 0 0 1.0 215 0) |
1156 | 1176 |
#labelPosition: #topLeft |
1177 |
#component: |
|
1178 |
#(#SpecCollection |
|
1179 |
#collection: #( |
|
1180 |
#(#CheckBoxSpec |
|
1181 |
#label: 'Is Selectable' |
|
1182 |
#name: 'canSelect' |
|
1183 |
#layout: #(#Point 95 1) |
|
1184 |
#activeHelpKey: #selectionIsSelectable |
|
1185 |
#tabable: true |
|
1186 |
#model: #canSelect |
|
1187 |
) |
|
1188 |
#(#LabelSpec |
|
1189 |
#label: 'Selector:' |
|
1190 |
#name: 'selectorLabel' |
|
1191 |
#layout: #(#AlignmentOrigin 95 0 37 0 1 0.5) |
|
1192 |
#resizeForLabel: true |
|
1193 |
#adjust: #right |
|
1194 |
) |
|
1195 |
#(#InputFieldSpec |
|
1196 |
#name: 'selectSelector' |
|
1197 |
#layout: #(#LayoutFrame 98 0 26 0 3 1.0 48 0) |
|
1198 |
#activeHelpKey: #selectionCellClickSelector |
|
1199 |
#tabable: true |
|
1200 |
#model: #selectSelector |
|
1201 |
#group: #inputGroup |
|
1202 |
#type: #symbolOrNil |
|
1203 |
#acceptOnLostFocus: false |
|
1204 |
#acceptChannel: #acceptChannel |
|
1205 |
#modifiedChannel: #modifiedChannel |
|
1206 |
#acceptOnPointerLeave: false |
|
1207 |
) |
|
1208 |
#(#CheckBoxSpec |
|
1209 |
#label: 'Show Selection HighLightened' |
|
1210 |
#name: 'showSelectionHighLightened' |
|
1211 |
#layout: #(#LayoutFrame 95 0 53 0 3 1.0 77 0) |
|
1212 |
#activeHelpKey: #showSelectionHighLighted |
|
1213 |
#tabable: true |
|
1214 |
#model: #showSelectionHighLighted |
|
1215 |
) |
|
1216 |
) |
|
1217 |
||
1218 |
) |
|
1219 |
) |
|
1220 |
#(#FramedBoxSpec |
|
1221 |
#label: 'Cell Double Click:' |
|
1215
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
1222 |
#name: 'CellDoubleClick' |
02d29dd7a0ed
show label as button(enable/disable)
Claus Gittinger <cg@exept.de>
parents:
1203
diff
changeset
|
1223 |
#layout: #(#LayoutFrame 0 0.0 227 0 0 1.0 293 0) |
1156 | 1224 |
#labelPosition: #topLeft |
1225 |
#component: |
|
1226 |
#(#SpecCollection |
|
1227 |
#collection: #( |
|
1228 |
#(#LabelSpec |
|
1229 |
#label: 'Selector:' |
|
1230 |
#name: 'doubleLabel' |
|
1231 |
#layout: #(#AlignmentOrigin 95 0 19 0 1 0.5) |
|
1232 |
#resizeForLabel: true |
|
1233 |
#adjust: #right |
|
1234 |
) |
|
1235 |
#(#InputFieldSpec |
|
1236 |
#name: 'doubleClicked' |
|
1237 |
#layout: #(#LayoutFrame 98 0 8 0 3 1.0 30 0) |
|
1238 |
#activeHelpKey: #selectionCellDoubleClickSelector |
|
1239 |
#tabable: true |
|
1240 |
#model: #doubleClickedSelector |
|
1241 |
#group: #inputGroup |
|
1242 |
#type: #symbolOrNil |
|
1243 |
#acceptOnLostFocus: false |
|
1244 |
#acceptChannel: #acceptChannel |
|
1245 |
#modifiedChannel: #modifiedChannel |
|
1246 |
#acceptOnPointerLeave: false |
|
1247 |
) |
|
1248 |
) |
|
1249 |
||
1250 |
) |
|
1251 |
) |
|
1252 |
) |
|
1253 |
||
1254 |
) |
|
408 | 1255 |
) |
1256 |
! |
|
1257 |
||
528 | 1258 |
slices |
1259 |
^#( |
|
1260 |
(Basics basicsEditSpec) |
|
1261 |
(Values valuesEditSpec) |
|
1262 |
(Format formatEditSpec) |
|
1263 |
(Selection selectionEditSpec) |
|
1264 |
(Frame frameEditSpec) |
|
1265 |
(Colors colorsEditSpec) |
|
1266 |
) |
|
1267 |
! |
|
1268 |
||
408 | 1269 |
valuesEditSpec |
825 | 1270 |
"This resource specification was automatically generated |
1271 |
by the UIPainter of ST/X." |
|
408 | 1272 |
|
825 | 1273 |
"Do not manually edit this!! If it is corrupted, |
1274 |
the UIPainter may not be able to read the specification." |
|
408 | 1275 |
|
1276 |
" |
|
1277 |
UIPainter new openOnClass:DataSetBuilder andSelector:#valuesEditSpec |
|
1278 |
DataSetBuilder new openInterface:#valuesEditSpec |
|
1279 |
" |
|
1280 |
||
1281 |
<resource: #canvas> |
|
1282 |
||
1156 | 1283 |
^ |
1284 |
#(#FullSpec |
|
1285 |
#name: #valuesEditSpec |
|
1286 |
#window: |
|
1287 |
#(#WindowSpec |
|
1288 |
#label: 'DataSet Basic' |
|
1289 |
#name: 'DataSet Basic' |
|
1290 |
#min: #(#Point 10 10) |
|
1291 |
#max: #(#Point 1280 1024) |
|
1318 | 1292 |
#bounds: #(#Rectangle 13 23 309 329) |
1156 | 1293 |
) |