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