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