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