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