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