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