author | tz |
Wed, 02 Sep 1998 13:13:04 +0200 | |
changeset 975 | ede3746e0dea |
parent 949 | 2e3469100a6a |
child 983 | 286a039ea7d1 |
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 |
19 |
modalOpened' |
|
816 | 20 |
classVariableNames:'' |
332 | 21 |
poolDictionaries:'' |
22 |
category:'Interface-UIPainter' |
|
23 |
! |
|
24 |
||
25 |
!DataSetBuilder class methodsFor:'documentation'! |
|
26 |
||
27 |
copyright |
|
28 |
" |
|
825 | 29 |
COPYRIGHT (c) 1997 by eXept Software AG |
332 | 30 |
All Rights Reserved |
31 |
||
32 |
This software is furnished under a license and may be used |
|
33 |
only in accordance with the terms of that license and with the |
|
34 |
inclusion of the above copyright notice. This software may not |
|
35 |
be provided or otherwise made available to, or used by, any |
|
36 |
other person. No title to or ownership of the software is |
|
37 |
hereby transferred. |
|
38 |
" |
|
39 |
||
40 |
||
41 |
||
42 |
||
43 |
! |
|
44 |
||
45 |
documentation |
|
46 |
" |
|
47 |
create and modify or inspect dataset columns; used by UIPainter (DataSetColumnSpec) |
|
48 |
||
49 |
[see also:] |
|
50 |
DataSetColumnSpec |
|
51 |
DataSetSpec |
|
52 |
DataSetView |
|
53 |
DataSetColumn |
|
54 |
||
55 |
[author:] |
|
545 | 56 |
Claus Atzkern, eXept Software AG |
332 | 57 |
" |
58 |
||
59 |
! ! |
|
60 |
||
825 | 61 |
!DataSetBuilder class methodsFor:'accessing'! |
799
22734b99f830
added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents:
687
diff
changeset
|
62 |
|
818 | 63 |
resourceType |
64 |
"get the type of resource of the method generated by the MenuEditor" |
|
65 |
||
825 | 66 |
^#tableColumns |
67 |
||
68 |
||
69 |
! ! |
|
70 |
||
71 |
!DataSetBuilder class methodsFor:'aspects'! |
|
72 |
||
73 |
aspects |
|
74 |
"get the aspects for the attributes of the table columns" |
|
75 |
||
76 |
^#( |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
77 |
id |
825 | 78 |
label |
79 |
canSelect |
|
80 |
choices |
|
81 |
editorType |
|
82 |
formatString |
|
83 |
labelIsImage |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
84 |
translateLabel |
825 | 85 |
size |
86 |
type |
|
87 |
width |
|
88 |
minWidth |
|
89 |
height |
|
90 |
menu |
|
91 |
foregroundSelector |
|
92 |
backgroundSelector |
|
93 |
doubleClickedSelector |
|
94 |
selectSelector |
|
95 |
printSelector |
|
96 |
readSelector |
|
97 |
writeSelector |
|
98 |
rendererType |
|
99 |
showColSeparator |
|
100 |
showRowSeparator |
|
101 |
backgroundColor |
|
102 |
foregroundColor |
|
103 |
labelForegroundColor |
|
104 |
labelBackgroundColor |
|
105 |
labelFont |
|
106 |
labelActionSelector |
|
107 |
labelActionArgument |
|
108 |
labelAlignment |
|
109 |
columnAlignment |
|
110 |
) |
|
111 |
||
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
112 |
"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
|
113 |
! ! |
22734b99f830
added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents:
687
diff
changeset
|
114 |
|
528 | 115 |
!DataSetBuilder class methodsFor:'help specs'! |
116 |
||
117 |
helpSpec |
|
818 | 118 |
"This resource specification was automatically generated |
119 |
by the UIHelpTool of ST/X." |
|
120 |
||
121 |
"Do not manually edit this!! If it is corrupted, |
|
122 |
the UIHelpTool may not be able to read the specification." |
|
528 | 123 |
|
124 |
" |
|
818 | 125 |
UIHelpTool openOnClass:DataSetBuilder |
528 | 126 |
" |
127 |
||
818 | 128 |
<resource: #help> |
129 |
||
130 |
^super helpSpec addPairsFrom:#( |
|
528 | 131 |
|
550 | 132 |
#addColumn |
133 |
'Adds a new column.' |
|
134 |
||
597 | 135 |
#basicsEditor |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
136 |
'Default widget type or a selector returning an instance of a user defined widget opened in the cell.' |
528 | 137 |
|
597 | 138 |
#basicsFont |
139 |
'Sets the font of the label text.' |
|
528 | 140 |
|
597 | 141 |
#basicsJustification |
142 |
'Aligns the label text to the left, right, or centered in the cell.' |
|
528 | 143 |
|
597 | 144 |
#basicsLabel |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
145 |
'The label of the column or a selector returning a string or an image.' |
597 | 146 |
|
147 |
#basicsLabelIsImage |
|
148 |
'Turns on/off image behavior of the label string; i.e. it is used as selector returning an image.' |
|
528 | 149 |
|
597 | 150 |
#basicsRenderer |
151 |
'Specifies displaying cell as Text, CheckToggle, ComboBox, ComboList or as a RowSelector.' |
|
528 | 152 |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
153 |
#browseRowClass |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
154 |
'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
|
155 |
|
597 | 156 |
#colorsBackgroundCellColor |
157 |
'Sets the background color of the column.' |
|
158 |
||
159 |
#colorsBackgroundLabelColor |
|
160 |
'Sets the background color of the label.' |
|
528 | 161 |
|
597 | 162 |
#colorsBackgroundSelector |
163 |
'Selector returning the background color for a cell (optional).' |
|
528 | 164 |
|
597 | 165 |
#colorsForegroundCellColor |
166 |
'Sets the foreground color of the column.' |
|
167 |
||
168 |
#colorsForegroundLabelColor |
|
169 |
'Sets the foreground color of the label.' |
|
528 | 170 |
|
597 | 171 |
#colorsForegroundSelector |
172 |
'Selector returning the foreground color for a cell (optional).' |
|
528 | 173 |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
174 |
#fileNew |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
175 |
'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
|
176 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
177 |
#fileLoad |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
178 |
'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
|
179 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
180 |
#fileSave |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
181 |
'Install the column description' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
182 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
183 |
#fileSaveAs |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
184 |
'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
|
185 |
|
597 | 186 |
#formatInputType |
187 |
'A type converter symbol used by the input field.' |
|
528 | 188 |
|
597 | 189 |
#formatMaxSize |
190 |
'Maximum size of the string which can be typed in. 0 or nil means unlimited.' |
|
528 | 191 |
|
597 | 192 |
#formatTextFormat |
193 |
'Format string specifying the output format of the cell text. In this release, only numbers are supported (for example: 0.0000).' |
|
194 |
||
195 |
#frameColumnWidth |
|
196 |
'Width (fixed) of a column (optional).' |
|
528 | 197 |
|
597 | 198 |
#frameMinWidth |
199 |
'Minimum width of the column (optional).' |
|
528 | 200 |
|
597 | 201 |
#frameRowHeight |
202 |
'Height of the row (optional).' |
|
203 |
||
204 |
#frameShowColumnSeparator |
|
205 |
'Turns on/off displaying column separators.' |
|
528 | 206 |
|
597 | 207 |
#frameShowRowSeparator |
208 |
'Turns on/off displaying row separators.' |
|
528 | 209 |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
210 |
#generate |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
211 |
'Code generation.' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
212 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
213 |
#generateCode |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
214 |
'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
|
215 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
216 |
#pickColumns |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
217 |
'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
|
218 |
|
597 | 219 |
#selectionCellClickSelector |
818 | 220 |
'A selector called if cell was selected.' |
528 | 221 |
|
597 | 222 |
#selectionCellDoubleClickSelector |
223 |
'A selector called if cell was double clicked.' |
|
528 | 224 |
|
597 | 225 |
#selectionCellSelector |
528 | 226 |
'An optional selector, which is used to test whether the cell in the column is selectable; the ''Is Selectable'' flag must be enabled.' |
227 |
||
597 | 228 |
#selectionIsSelectable |
229 |
'Turns on/off selection behavior of a column.' |
|
230 |
||
231 |
#selectionLabelClickSelector |
|
232 |
'A selector called if label cell was clicked.' |
|
528 | 233 |
|
597 | 234 |
#selectionLabelSelectorArgument |
818 | 235 |
'An argument passed to label selection selector.' |
528 | 236 |
|
597 | 237 |
#valuesChoiceSelector |
238 |
'A selector returning a collection of choices for a cell having a ComboBox or a ComboList widget.' |
|
528 | 239 |
|
597 | 240 |
#valuesMenuSelector |
241 |
'A selector returning a middle button menu.' |
|
242 |
||
243 |
#valuesPrintSelector |
|
244 |
'A key selector used to register images on a DSVColumnView (the arg). For more detailed info see #register... methods in DSVColumnView.' |
|
528 | 245 |
|
597 | 246 |
#valuesReadSelector |
247 |
'A selector used to get (string or a bitmap) or set (if the write selector is undefined) the contents of a cell.' |
|
528 | 248 |
|
597 | 249 |
#valuesWriteSelector |
250 |
'A selector used to set the value of a cell.' |
|
528 | 251 |
|
252 |
) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
253 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
254 |
"Modified: / 19.5.1998 / 23:20:51 / cg" |
528 | 255 |
! ! |
256 |
||
881 | 257 |
!DataSetBuilder class methodsFor:'image specs'! |
258 |
||
259 |
newColumnIcon |
|
260 |
"This resource specification was automatically generated |
|
261 |
by the ImageEditor of ST/X." |
|
262 |
||
263 |
"Do not manually edit this!! If it is corrupted, |
|
264 |
the ImageEditor may not be able to read the specification." |
|
265 |
||
266 |
" |
|
267 |
self newColumnIcon inspect |
|
268 |
ImageEditor openOnClass:self andSelector:#newColumnIcon |
|
269 |
" |
|
270 |
||
271 |
<resource: #image> |
|
272 |
||
273 |
^Icon |
|
274 |
constantNamed:#'DataSetBuilder newColumnIcon' |
|
275 |
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]! ! |
|
276 |
||
528 | 277 |
!DataSetBuilder class methodsFor:'interface specs'! |
332 | 278 |
|
279 |
basicsEditSpec |
|
817 | 280 |
"This resource specification was automatically generated |
281 |
by the UIPainter of ST/X." |
|
332 | 282 |
|
817 | 283 |
"Do not manually edit this!! If it is corrupted, |
284 |
the UIPainter may not be able to read the specification." |
|
332 | 285 |
|
286 |
" |
|
287 |
UIPainter new openOnClass:DataSetBuilder andSelector:#basicsEditSpec |
|
288 |
DataSetBuilder new openInterface:#basicsEditSpec |
|
289 |
" |
|
290 |
||
291 |
<resource: #canvas> |
|
292 |
||
293 |
^ |
|
294 |
||
295 |
#(#FullSpec |
|
687 | 296 |
#window: |
332 | 297 |
#(#WindowSpec |
687 | 298 |
#name: 'DataSet Basic' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
299 |
#layout: #(#LayoutFrame 216 0 173 0 538 0 499 0) |
687 | 300 |
#label: 'DataSet Basic' |
301 |
#min: #(#Point 10 10) |
|
302 |
#max: #(#Point 1280 1024) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
303 |
#bounds: #(#Rectangle 216 173 539 500) |
687 | 304 |
#usePreferredExtent: false |
332 | 305 |
) |
687 | 306 |
#component: |
332 | 307 |
#(#SpecCollection |
687 | 308 |
#collection: |
332 | 309 |
#( |
408 | 310 |
#(#FramedBoxSpec |
687 | 311 |
#name: 'framedBox1' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
312 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 173 0) |
687 | 313 |
#component: |
408 | 314 |
#(#SpecCollection |
687 | 315 |
#collection: |
408 | 316 |
#( |
317 |
#(#LabelSpec |
|
687 | 318 |
#name: 'label1' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
319 |
#layout: #(#AlignmentOrigin 94 0 39 0 1 0.5) |
687 | 320 |
#label: 'Label:' |
321 |
#resizeForLabel: true |
|
408 | 322 |
) |
323 |
#(#InputFieldSpec |
|
687 | 324 |
#name: 'labelField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
325 |
#layout: #(#LayoutFrame 97 0 28 0 2 1.0 50 0) |
687 | 326 |
#activeHelpKey: #basicsLabel |
327 |
#tabable: true |
|
328 |
#model: #label |
|
408 | 329 |
) |
817 | 330 |
#(#LabelSpec |
331 |
#name: 'LabelFont' |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
332 |
#layout: #(#AlignmentOrigin 94 0 68 0 1 0.5) |
894 | 333 |
#label: 'Font:' |
817 | 334 |
#adjust: #left |
335 |
#resizeForLabel: true |
|
336 |
) |
|
337 |
#(#FontMenuSpec |
|
338 |
#name: 'fontMenu' |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
339 |
#layout: #(#LayoutFrame 97 0 56 0 0 1.0 78 0) |
817 | 340 |
#activeHelpKey: #labelFont |
341 |
#model: #style |
|
439 | 342 |
) |
442 | 343 |
#(#PopUpListSpec |
687 | 344 |
#name: 'Alignment' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
345 |
#layout: #(#LayoutFrame 142 0 85 0 2 1.0 107 0) |
687 | 346 |
#activeHelpKey: #basicsJustification |
347 |
#label: 'Alignment' |
|
348 |
#model: #labelAlignment |
|
349 |
#menu: |
|
442 | 350 |
#(#left |
351 |
#right #center |
|
352 |
) |
|
687 | 353 |
#useIndex: false |
442 | 354 |
) |
355 |
#(#LabelSpec |
|
687 | 356 |
#name: 'JustificationLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
357 |
#layout: #(#AlignmentOrigin 140 0 96 0 1 0.5) |
687 | 358 |
#label: 'Justification:' |
359 |
#adjust: #left |
|
360 |
#resizeForLabel: true |
|
442 | 361 |
) |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
362 |
#(#CheckBoxSpec |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
363 |
#name: 'labelIsImage' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
364 |
#layout: #(#LayoutOrigin -3 0 110 0) |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
365 |
#activeHelpKey: #basicsLabelIsImage |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
366 |
#tabable: true |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
367 |
#model: #labelIsImage |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
368 |
#label: 'Label Is Image' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
369 |
) |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
370 |
#(#CheckBoxSpec |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
371 |
#name: 'CheckBox2' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
372 |
#layout: #(#LayoutOrigin 142 0 110 0) |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
373 |
#activeHelpKey: #basicsLabelIsImage |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
374 |
#tabable: true |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
375 |
#model: #translateLabel |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
376 |
#label: 'Translate Label' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
377 |
) |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
378 |
#(#LabelSpec |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
379 |
#name: 'idLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
380 |
#layout: #(#AlignmentOrigin 94 0 14 0 1 0.5) |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
381 |
#label: 'ID:' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
382 |
#resizeForLabel: true |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
383 |
) |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
384 |
#(#InputFieldSpec |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
385 |
#name: 'idField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
386 |
#layout: #(#LayoutFrame 97 0 0 0 2 1.0 22 0) |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
387 |
#activeHelpKey: #basicsLabel |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
388 |
#tabable: true |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
389 |
#model: #id |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
390 |
) |
408 | 391 |
) |
392 |
) |
|
687 | 393 |
#label: 'Header:' |
394 |
#labelPosition: #topLeft |
|
332 | 395 |
) |
396 |
#(#FramedBoxSpec |
|
687 | 397 |
#name: 'typesFrame' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
398 |
#layout: #(#LayoutFrame 0 0.0 178 0 0 1.0 286 0) |
687 | 399 |
#component: |
332 | 400 |
#(#SpecCollection |
687 | 401 |
#collection: |
332 | 402 |
#( |
403 |
#(#LabelSpec |
|
687 | 404 |
#name: 'rendererLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
405 |
#layout: #(#AlignmentOrigin 94 0 16 0 1 0.5) |
687 | 406 |
#label: 'Renderer:' |
407 |
#resizeForLabel: true |
|
332 | 408 |
) |
409 |
#(#ComboListSpec |
|
687 | 410 |
#name: 'rendererField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
411 |
#layout: #(#LayoutFrame 97 0 5 0 2 1.0 27 0) |
687 | 412 |
#activeHelpKey: #basicsRenderer |
413 |
#tabable: true |
|
414 |
#model: #rendererType |
|
415 |
#comboList: #rendererTypeList |
|
416 |
#useIndex: false |
|
332 | 417 |
) |
418 |
#(#LabelSpec |
|
687 | 419 |
#name: 'editorLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
420 |
#layout: #(#AlignmentOrigin 94 0 42 0 1 0.5) |
687 | 421 |
#label: 'Editor:' |
422 |
#resizeForLabel: true |
|
332 | 423 |
) |
424 |
#(#ComboBoxSpec |
|
687 | 425 |
#name: 'editorField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
426 |
#layout: #(#LayoutFrame 97 0 31 0 2 1.0 53 0) |
687 | 427 |
#activeHelpKey: #basicsEditor |
428 |
#tabable: true |
|
429 |
#model: #editorType |
|
430 |
#type: #symbolOrNil |
|
431 |
#comboList: #editorTypeList |
|
432 |
#useIndex: false |
|
332 | 433 |
) |
817 | 434 |
#(#LabelSpec |
435 |
#name: 'JustificationC' |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
436 |
#layout: #(#AlignmentOrigin 140 0 69 0 1 0.5) |
817 | 437 |
#label: 'Justification:' |
438 |
#adjust: #left |
|
439 |
#resizeForLabel: true |
|
440 |
) |
|
441 |
#(#PopUpListSpec |
|
442 |
#name: 'AlignmentC' |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
443 |
#layout: #(#LayoutFrame 142 0 58 0 2 1.0 80 0) |
817 | 444 |
#activeHelpKey: #basicsJustification |
445 |
#label: 'Alignment' |
|
446 |
#model: #columnAlignment |
|
447 |
#menu: |
|
448 |
#(#left |
|
449 |
#right #center |
|
450 |
) |
|
451 |
#useIndex: false |
|
452 |
) |
|
332 | 453 |
) |
454 |
) |
|
687 | 455 |
#label: 'Cell Type:' |
456 |
#labelPosition: #topLeft |
|
391 | 457 |
) |
458 |
) |
|
459 |
) |
|
460 |
) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
461 |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
462 |
"Modified: / 13.8.1998 / 19:53:18 / cg" |
391 | 463 |
! |
464 |
||
408 | 465 |
colorsEditSpec |
825 | 466 |
"This resource specification was automatically generated |
467 |
by the UIPainter of ST/X." |
|
332 | 468 |
|
825 | 469 |
"Do not manually edit this!! If it is corrupted, |
470 |
the UIPainter may not be able to read the specification." |
|
332 | 471 |
|
472 |
" |
|
408 | 473 |
UIPainter new openOnClass:DataSetBuilder andSelector:#colorsEditSpec |
474 |
DataSetBuilder new openInterface:#colorsEditSpec |
|
332 | 475 |
" |
476 |
||
477 |
<resource: #canvas> |
|
478 |
||
479 |
^ |
|
480 |
||
481 |
#(#FullSpec |
|
687 | 482 |
#window: |
332 | 483 |
#(#WindowSpec |
687 | 484 |
#name: 'DataSet Misc' |
831 | 485 |
#layout: #(#LayoutFrame 216 0 173 0 584 0 472 0) |
687 | 486 |
#label: 'DataSet Misc' |
487 |
#min: #(#Point 10 10) |
|
488 |
#max: #(#Point 1280 1024) |
|
831 | 489 |
#bounds: #(#Rectangle 216 173 585 473) |
687 | 490 |
#usePreferredExtent: false |
332 | 491 |
) |
687 | 492 |
#component: |
332 | 493 |
#(#SpecCollection |
687 | 494 |
#collection: |
332 | 495 |
#( |
370 | 496 |
#(#FramedBoxSpec |
687 | 497 |
#name: 'ColorsBox' |
831 | 498 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 95 0) |
687 | 499 |
#component: |
427 | 500 |
#(#SpecCollection |
687 | 501 |
#collection: |
427 | 502 |
#( |
505 | 503 |
#(#LabelSpec |
687 | 504 |
#name: 'label1' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
505 |
#layout: #(#AlignmentOrigin 112 0 24 0 1 0.5) |
687 | 506 |
#label: 'Foreground:' |
507 |
#adjust: #right |
|
508 |
#resizeForLabel: true |
|
505 | 509 |
) |
427 | 510 |
#(#ColorMenuSpec |
687 | 511 |
#name: 'colorMenu1' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
512 |
#layout: #(#LayoutFrame 115 0 12 0 -3 1.0 34 0) |
687 | 513 |
#activeHelpKey: #colorsForegroundLabelColor |
514 |
#model: #labelForegroundColor |
|
515 |
#labelsAreColored: true |
|
427 | 516 |
) |
517 |
#(#LabelSpec |
|
687 | 518 |
#name: 'label2' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
519 |
#layout: #(#AlignmentOrigin 112 0 52 0 1 0.5) |
687 | 520 |
#label: 'Background:' |
521 |
#adjust: #right |
|
522 |
#resizeForLabel: true |
|
427 | 523 |
) |
524 |
#(#ColorMenuSpec |
|
687 | 525 |
#name: 'colorMenu2' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
526 |
#layout: #(#LayoutFrame 115 0 40 0 -3 1.0 62 0) |
687 | 527 |
#activeHelpKey: #colorsBackgroundLabelColor |
528 |
#model: #labelBackgroundColor |
|
529 |
#labelsAreColored: false |
|
427 | 530 |
) |
531 |
) |
|
532 |
) |
|
687 | 533 |
#label: 'Label Colors:' |
534 |
#labelPosition: #topLeft |
|
427 | 535 |
) |
536 |
#(#FramedBoxSpec |
|
687 | 537 |
#name: 'defaultColorsBox' |
831 | 538 |
#layout: #(#LayoutFrame 0 0.0 108 0 0 1.0 263 0) |
687 | 539 |
#component: |
370 | 540 |
#(#SpecCollection |
687 | 541 |
#collection: |
370 | 542 |
#( |
543 |
#(#LabelSpec |
|
687 | 544 |
#name: 'fgLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
545 |
#layout: #(#AlignmentOrigin 112 0 28 0 1 0.5) |
687 | 546 |
#label: 'Foreground:' |
547 |
#adjust: #right |
|
548 |
#resizeForLabel: true |
|
370 | 549 |
) |
505 | 550 |
#(#ColorMenuSpec |
687 | 551 |
#name: 'fgMenu' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
552 |
#layout: #(#LayoutFrame 115 0 16 0 -3 1.0 38 0) |
687 | 553 |
#activeHelpKey: #colorsForegroundCellColor |
554 |
#model: #foregroundColor |
|
555 |
#labelsAreColored: true |
|
505 | 556 |
) |
370 | 557 |
#(#LabelSpec |
687 | 558 |
#name: 'bgLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
559 |
#layout: #(#AlignmentOrigin 112 0 56 0 1 0.5) |
687 | 560 |
#label: 'Background:' |
561 |
#adjust: #right |
|
562 |
#resizeForLabel: true |
|
370 | 563 |
) |
564 |
#(#ColorMenuSpec |
|
687 | 565 |
#name: 'bgMenu' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
566 |
#layout: #(#LayoutFrame 115 0 44 0 -3 1.0 66 0) |
687 | 567 |
#activeHelpKey: #colorsBackgroundCellColor |
568 |
#model: #backgroundColor |
|
569 |
#labelsAreColored: false |
|
370 | 570 |
) |
380 | 571 |
#(#LabelSpec |
687 | 572 |
#name: 'fgSelLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
573 |
#layout: #(#AlignmentOrigin 112 0 90 0 1 0.5) |
687 | 574 |
#label: 'FG-Selector:' |
575 |
#adjust: #right |
|
576 |
#resizeForLabel: true |
|
380 | 577 |
) |
578 |
#(#InputFieldSpec |
|
687 | 579 |
#name: 'fgSelField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
580 |
#layout: #(#LayoutFrame 115 0 79 0 0 1.0 101 0) |
687 | 581 |
#activeHelpKey: #colorsForegroundSelector |
582 |
#tabable: true |
|
583 |
#model: #foregroundSelector |
|
584 |
#type: #symbolOrNil |
|
470 | 585 |
) |
505 | 586 |
#(#LabelSpec |
687 | 587 |
#name: 'bgSelLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
588 |
#layout: #(#AlignmentOrigin 112 0 115 0 1 0.5) |
687 | 589 |
#label: 'BG-Selector:' |
590 |
#adjust: #right |
|
591 |
#resizeForLabel: true |
|
505 | 592 |
) |
470 | 593 |
#(#InputFieldSpec |
687 | 594 |
#name: 'bgSelField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
595 |
#layout: #(#LayoutFrame 115 0 104 0 0 1.0 126 0) |
687 | 596 |
#activeHelpKey: #colorsBackgroundSelector |
597 |
#tabable: true |
|
598 |
#model: #backgroundSelector |
|
599 |
#type: #symbolOrNil |
|
408 | 600 |
) |
380 | 601 |
) |
602 |
) |
|
687 | 603 |
#label: 'Cell Colors:' |
604 |
#labelPosition: #topLeft |
|
377 | 605 |
) |
332 | 606 |
) |
607 |
) |
|
608 |
) |
|
831 | 609 |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
610 |
"Modified: / 13.8.1998 / 19:53:41 / cg" |
332 | 611 |
! |
612 |
||
528 | 613 |
defineClassNameSpec |
825 | 614 |
"This resource specification was automatically generated |
615 |
by the UIPainter of ST/X." |
|
528 | 616 |
|
825 | 617 |
"Do not manually edit this!! If it is corrupted, |
618 |
the UIPainter may not be able to read the specification." |
|
528 | 619 |
|
620 |
" |
|
621 |
UIPainter new openOnClass:DataSetBuilder andSelector:#defineClassNameSpec |
|
622 |
DataSetBuilder new openInterface:#defineClassNameSpec |
|
623 |
" |
|
624 |
||
625 |
<resource: #canvas> |
|
626 |
||
627 |
^ |
|
628 |
||
629 |
#(#FullSpec |
|
687 | 630 |
#window: |
528 | 631 |
#(#WindowSpec |
687 | 632 |
#name: 'Data Set Builder' |
825 | 633 |
#layout: #(#LayoutFrame 414 0 336 0 740 0 471 0) |
687 | 634 |
#label: 'Data Set Builder' |
635 |
#min: #(#Point 10 10) |
|
636 |
#max: #(#Point 1152 900) |
|
825 | 637 |
#bounds: #(#Rectangle 414 336 741 472) |
687 | 638 |
#usePreferredExtent: false |
528 | 639 |
) |
687 | 640 |
#component: |
528 | 641 |
#(#SpecCollection |
687 | 642 |
#collection: |
528 | 643 |
#( |
644 |
#(#FramedBoxSpec |
|
687 | 645 |
#name: 'framedBox1' |
646 |
#layout: #(#LayoutFrame 0 0.0 3 0.0 0 1.0 -34 1.0) |
|
842 | 647 |
#label: 'Class for code' |
648 |
#translateLabel: true |
|
687 | 649 |
#labelPosition: #topLeft |
528 | 650 |
) |
651 |
#(#LabelSpec |
|
687 | 652 |
#name: 'classLabel' |
653 |
#layout: #(#AlignmentOrigin 73 0.11 38 0 1 0.5) |
|
654 |
#label: 'Class:' |
|
842 | 655 |
#translateLabel: true |
687 | 656 |
#adjust: #right |
657 |
#resizeForLabel: true |
|
528 | 658 |
) |
659 |
#(#InputFieldSpec |
|
687 | 660 |
#name: 'classNameInputField' |
661 |
#layout: #(#LayoutFrame 77 0.11 27 0 -16 1.0 49 0) |
|
662 |
#tabable: true |
|
663 |
#model: #classNameChannel |
|
528 | 664 |
) |
665 |
#(#LabelSpec |
|
687 | 666 |
#name: 'superClassLabel' |
667 |
#layout: #(#AlignmentOrigin 73 0.11 65 0 1 0.5) |
|
668 |
#label: 'Superclass:' |
|
842 | 669 |
#translateLabel: true |
687 | 670 |
#adjust: #right |
671 |
#resizeForLabel: true |
|
528 | 672 |
) |
673 |
#(#InputFieldSpec |
|
687 | 674 |
#name: 'superclassNameInputField' |
675 |
#layout: #(#LayoutFrame 76 0.11 55 0 -16 1.0 77 0) |
|
676 |
#tabable: true |
|
677 |
#model: #superclassNameChannel |
|
528 | 678 |
) |
679 |
#(#UISubSpecification |
|
687 | 680 |
#name: 'SubSpecification' |
681 |
#layout: #(#LayoutFrame 0 0.0 -29 1 0 1.0 -5 1.0) |
|
682 |
#majorKey: #ToolApplicationModel |
|
683 |
#minorKey: #windowSpecForCommitWithoutChannels |
|
528 | 684 |
) |
685 |
) |
|
686 |
) |
|
687 |
) |
|
842 | 688 |
|
689 |
"Modified: / 20.5.1998 / 03:46:17 / cg" |
|
528 | 690 |
! |
691 |
||
370 | 692 |
formatEditSpec |
825 | 693 |
"This resource specification was automatically generated |
694 |
by the UIPainter of ST/X." |
|
332 | 695 |
|
825 | 696 |
"Do not manually edit this!! If it is corrupted, |
697 |
the UIPainter may not be able to read the specification." |
|
332 | 698 |
|
699 |
" |
|
370 | 700 |
UIPainter new openOnClass:DataSetBuilder andSelector:#formatEditSpec |
701 |
DataSetBuilder new openInterface:#formatEditSpec |
|
702 |
" |
|
703 |
||
704 |
<resource: #canvas> |
|
705 |
||
706 |
^ |
|
707 |
||
708 |
#(#FullSpec |
|
687 | 709 |
#window: |
370 | 710 |
#(#WindowSpec |
687 | 711 |
#name: 'DataSet Details' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
712 |
#layout: #(#LayoutFrame 216 0 173 0 603 0 464 0) |
687 | 713 |
#label: 'DataSet Details' |
714 |
#min: #(#Point 10 10) |
|
715 |
#max: #(#Point 1280 1024) |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
716 |
#bounds: #(#Rectangle 216 173 604 465) |
687 | 717 |
#usePreferredExtent: false |
370 | 718 |
) |
687 | 719 |
#component: |
370 | 720 |
#(#SpecCollection |
687 | 721 |
#collection: |
370 | 722 |
#( |
408 | 723 |
#(#FramedBoxSpec |
687 | 724 |
#name: 'framedBox1' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
725 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 127 0) |
687 | 726 |
#component: |
408 | 727 |
#(#SpecCollection |
687 | 728 |
#collection: |
408 | 729 |
#( |
730 |
#(#LabelSpec |
|
687 | 731 |
#name: 'typeLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
732 |
#layout: #(#AlignmentOrigin 115 0 26 0 1 0.5) |
687 | 733 |
#label: 'Input Type:' |
734 |
#resizeForLabel: true |
|
408 | 735 |
) |
470 | 736 |
#(#ComboListSpec |
687 | 737 |
#name: 'typeCombo' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
738 |
#layout: #(#LayoutFrame 118 0 15 0 3 1.0 37 0) |
687 | 739 |
#activeHelpKey: #formatInputType |
740 |
#tabable: true |
|
741 |
#model: #type |
|
742 |
#comboList: |
|
470 | 743 |
#(#string |
744 |
#password #number |
|
745 |
#numberOrNil #symbolOrNil |
|
746 |
) |
|
687 | 747 |
#useIndex: false |
470 | 748 |
) |
408 | 749 |
#(#LabelSpec |
687 | 750 |
#name: 'sizeLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
751 |
#layout: #(#AlignmentOrigin 115 0 52 0 1 0.5) |
687 | 752 |
#label: 'Max Size:' |
753 |
#resizeForLabel: true |
|
408 | 754 |
) |
755 |
#(#InputFieldSpec |
|
687 | 756 |
#name: 'sizeField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
757 |
#layout: #(#LayoutFrame 118 0 41 0 3 1.0 63 0) |
687 | 758 |
#activeHelpKey: #formatMaxSize |
759 |
#tabable: true |
|
760 |
#model: #size |
|
761 |
#type: #numberOrNil |
|
408 | 762 |
) |
439 | 763 |
#(#LabelSpec |
687 | 764 |
#name: 'formatLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
765 |
#layout: #(#AlignmentOrigin 115 0 77 0 1 0.5) |
687 | 766 |
#label: 'Text Format:' |
767 |
#resizeForLabel: true |
|
439 | 768 |
) |
470 | 769 |
#(#InputFieldSpec |
687 | 770 |
#name: 'formatField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
771 |
#layout: #(#LayoutFrame 118 0 66 0 3 1.0 88 0) |
687 | 772 |
#activeHelpKey: #formatTextFormat |
773 |
#tabable: true |
|
774 |
#model: #formatString |
|
470 | 775 |
) |
408 | 776 |
) |
777 |
) |
|
687 | 778 |
#label: 'Input Format' |
779 |
#labelPosition: #topLeft |
|
370 | 780 |
) |
781 |
) |
|
782 |
) |
|
783 |
) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
784 |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
785 |
"Modified: / 13.8.1998 / 19:54:13 / cg" |
370 | 786 |
! |
787 |
||
408 | 788 |
frameEditSpec |
825 | 789 |
"This resource specification was automatically generated |
790 |
by the UIPainter of ST/X." |
|
391 | 791 |
|
825 | 792 |
"Do not manually edit this!! If it is corrupted, |
793 |
the UIPainter may not be able to read the specification." |
|
391 | 794 |
|
795 |
" |
|
408 | 796 |
UIPainter new openOnClass:DataSetBuilder andSelector:#frameEditSpec |
797 |
DataSetBuilder new openInterface:#frameEditSpec |
|
391 | 798 |
" |
799 |
||
800 |
<resource: #canvas> |
|
801 |
||
802 |
^ |
|
803 |
||
804 |
#(#FullSpec |
|
687 | 805 |
#window: |
391 | 806 |
#(#WindowSpec |
687 | 807 |
#name: 'DataSet Dimension' |
831 | 808 |
#layout: #(#LayoutFrame 216 0 173 0 506 0 416 0) |
687 | 809 |
#label: 'DataSet Dimension' |
810 |
#min: #(#Point 10 10) |
|
811 |
#max: #(#Point 1280 1024) |
|
831 | 812 |
#bounds: #(#Rectangle 216 173 507 417) |
687 | 813 |
#usePreferredExtent: false |
391 | 814 |
) |
687 | 815 |
#component: |
391 | 816 |
#(#SpecCollection |
687 | 817 |
#collection: |
391 | 818 |
#( |
819 |
#(#FramedBoxSpec |
|
687 | 820 |
#name: 'separatorBox' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
821 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 95 0) |
687 | 822 |
#component: |
391 | 823 |
#(#SpecCollection |
687 | 824 |
#collection: |
391 | 825 |
#( |
408 | 826 |
#(#CheckBoxSpec |
687 | 827 |
#name: 'showRowSeparator' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
828 |
#layout: #(#LayoutFrame 5 0 15 0 181 0 38 0) |
687 | 829 |
#activeHelpKey: #frameShowRowSeparator |
830 |
#tabable: true |
|
831 |
#model: #showRowSeparator |
|
832 |
#label: 'Show Row-Separator' |
|
408 | 833 |
) |
834 |
#(#CheckBoxSpec |
|
687 | 835 |
#name: 'showColSeparator' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
836 |
#layout: #(#LayoutFrame 5 0 41 0 181 0 64 0) |
687 | 837 |
#activeHelpKey: #frameShowColumnSeparator |
838 |
#tabable: true |
|
839 |
#model: #showColSeparator |
|
840 |
#label: 'Show Column-Separator' |
|
408 | 841 |
) |
842 |
) |
|
843 |
) |
|
687 | 844 |
#label: 'Separators' |
845 |
#labelPosition: #topLeft |
|
408 | 846 |
) |
847 |
#(#FramedBoxSpec |
|
687 | 848 |
#name: 'framedBox1' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
849 |
#layout: #(#LayoutFrame 0 0.0 108 0 0 1.0 225 0) |
687 | 850 |
#component: |
408 | 851 |
#(#SpecCollection |
687 | 852 |
#collection: |
408 | 853 |
#( |
391 | 854 |
#(#LabelSpec |
687 | 855 |
#name: 'widthLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
856 |
#layout: #(#AlignmentOrigin 140 0.0 23 0 1 0.5) |
687 | 857 |
#label: 'Column Width:' |
858 |
#adjust: #right |
|
859 |
#resizeForLabel: true |
|
391 | 860 |
) |
470 | 861 |
#(#InputFieldSpec |
687 | 862 |
#name: 'widthField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
863 |
#layout: #(#LayoutFrame 142 0 12 0 2 1.0 34 0) |
687 | 864 |
#activeHelpKey: #frameColumnWidth |
865 |
#tabable: true |
|
866 |
#model: #width |
|
867 |
#type: #numberOrNil |
|
470 | 868 |
) |
391 | 869 |
#(#LabelSpec |
687 | 870 |
#name: 'minWidthLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
871 |
#layout: #(#AlignmentOrigin 140 0.0 51 0 1 0.5) |
687 | 872 |
#label: 'Min Width:' |
873 |
#adjust: #right |
|
874 |
#resizeForLabel: true |
|
391 | 875 |
) |
408 | 876 |
#(#InputFieldSpec |
687 | 877 |
#name: 'minWidthField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
878 |
#layout: #(#LayoutFrame 142 0 40 0 2 1.0 62 0) |
687 | 879 |
#activeHelpKey: #frameMinWidth |
880 |
#tabable: true |
|
881 |
#model: #minWidth |
|
882 |
#type: #numberOrNil |
|
408 | 883 |
) |
884 |
#(#LabelSpec |
|
687 | 885 |
#name: 'heightLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
886 |
#layout: #(#AlignmentOrigin 140 0.0 79 0 1 0.5) |
687 | 887 |
#label: 'Row Height:' |
888 |
#adjust: #right |
|
889 |
#resizeForLabel: true |
|
408 | 890 |
) |
891 |
#(#InputFieldSpec |
|
687 | 892 |
#name: 'heightField' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
893 |
#layout: #(#LayoutFrame 142 0 68 0 2 1.0 90 0) |
687 | 894 |
#activeHelpKey: #frameRowHeight |
895 |
#tabable: true |
|
896 |
#model: #height |
|
897 |
#type: #numberOrNil |
|
391 | 898 |
) |
899 |
) |
|
900 |
) |
|
687 | 901 |
#label: 'Dimensions:' |
902 |
#labelPosition: #topLeft |
|
391 | 903 |
) |
904 |
) |
|
905 |
) |
|
906 |
) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
907 |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
908 |
"Modified: / 13.8.1998 / 19:54:30 / cg" |
391 | 909 |
! |
910 |
||
408 | 911 |
selectionEditSpec |
825 | 912 |
"This resource specification was automatically generated |
913 |
by the UIPainter of ST/X." |
|
370 | 914 |
|
825 | 915 |
"Do not manually edit this!! If it is corrupted, |
916 |
the UIPainter may not be able to read the specification." |
|
370 | 917 |
|
918 |
" |
|
408 | 919 |
UIPainter new openOnClass:DataSetBuilder andSelector:#selectionEditSpec |
920 |
DataSetBuilder new openInterface:#selectionEditSpec |
|
332 | 921 |
" |
922 |
||
923 |
<resource: #canvas> |
|
924 |
||
925 |
^ |
|
926 |
||
927 |
#(#FullSpec |
|
687 | 928 |
#window: |
332 | 929 |
#(#WindowSpec |
687 | 930 |
#name: 'DataSet Basic' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
931 |
#layout: #(#LayoutFrame 216 0 173 0 504 0 428 0) |
687 | 932 |
#label: 'DataSet Basic' |
933 |
#min: #(#Point 10 10) |
|
934 |
#max: #(#Point 1280 1024) |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
935 |
#bounds: #(#Rectangle 216 173 505 429) |
687 | 936 |
#usePreferredExtent: false |
408 | 937 |
) |
687 | 938 |
#component: |
408 | 939 |
#(#SpecCollection |
687 | 940 |
#collection: |
408 | 941 |
#( |
942 |
#(#FramedBoxSpec |
|
687 | 943 |
#name: 'framedBox1' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
944 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 87 0) |
687 | 945 |
#component: |
408 | 946 |
#(#SpecCollection |
687 | 947 |
#collection: |
408 | 948 |
#( |
949 |
#(#LabelSpec |
|
687 | 950 |
#name: 'ActionLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
951 |
#layout: #(#AlignmentOrigin 95 0 20 0 1 0.5) |
687 | 952 |
#label: 'Selector:' |
953 |
#adjust: #left |
|
954 |
#resizeForLabel: true |
|
408 | 955 |
) |
956 |
#(#InputFieldSpec |
|
687 | 957 |
#name: 'ActionSelector' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
958 |
#layout: #(#LayoutFrame 98 0 9 0 3 1.0 31 0) |
687 | 959 |
#activeHelpKey: #selectionLabelClickSelector |
960 |
#tabable: true |
|
961 |
#model: #labelActionSelector |
|
962 |
#type: #symbolOrNil |
|
408 | 963 |
) |
427 | 964 |
#(#LabelSpec |
687 | 965 |
#name: 'ArgumentLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
966 |
#layout: #(#AlignmentOrigin 95 0 45 0 1 0.5) |
687 | 967 |
#label: 'Argument:' |
968 |
#adjust: #left |
|
969 |
#resizeForLabel: true |
|
427 | 970 |
) |
971 |
#(#InputFieldSpec |
|
687 | 972 |
#name: 'ArgumentValue' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
973 |
#layout: #(#LayoutFrame 98 0 34 0 3 1.0 56 0) |
687 | 974 |
#activeHelpKey: #selectionLabelSelectorArgument |
975 |
#tabable: true |
|
976 |
#model: #labelActionArgument |
|
977 |
#type: #string |
|
427 | 978 |
) |
408 | 979 |
) |
980 |
) |
|
687 | 981 |
#label: 'Label Select Action:' |
982 |
#labelPosition: #topLeft |
|
408 | 983 |
) |
984 |
#(#FramedBoxSpec |
|
687 | 985 |
#name: 'framedBox2' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
986 |
#layout: #(#LayoutFrame 0 0.0 95 0 0 1.0 178 0) |
687 | 987 |
#component: |
470 | 988 |
#(#SpecCollection |
687 | 989 |
#collection: |
470 | 990 |
#( |
991 |
#(#CheckBoxSpec |
|
687 | 992 |
#name: 'canSelect' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
993 |
#layout: #(#Point 95 8) |
687 | 994 |
#activeHelpKey: #selectionIsSelectable |
995 |
#tabable: true |
|
996 |
#model: #canSelect |
|
997 |
#label: 'Is Selectable' |
|
470 | 998 |
) |
999 |
#(#LabelSpec |
|
687 | 1000 |
#name: 'selectorLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1001 |
#layout: #(#AlignmentOrigin 95 0 44 0 1 0.5) |
687 | 1002 |
#label: 'Selector:' |
1003 |
#adjust: #right |
|
1004 |
#resizeForLabel: true |
|
470 | 1005 |
) |
1006 |
#(#InputFieldSpec |
|
687 | 1007 |
#name: 'selectSelector' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1008 |
#layout: #(#LayoutFrame 98 0 33 0 3 1.0 55 0) |
687 | 1009 |
#activeHelpKey: #selectionCellClickSelector |
1010 |
#tabable: true |
|
1011 |
#model: #selectSelector |
|
1012 |
#type: #symbolOrNil |
|
470 | 1013 |
) |
1014 |
) |
|
1015 |
) |
|
687 | 1016 |
#label: 'Cell Selection:' |
1017 |
#labelPosition: #topLeft |
|
470 | 1018 |
) |
1019 |
#(#FramedBoxSpec |
|
687 | 1020 |
#name: 'framedBox3' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1021 |
#layout: #(#LayoutFrame 0 0.0 186 0 0 1.0 243 0) |
687 | 1022 |
#component: |
408 | 1023 |
#(#SpecCollection |
687 | 1024 |
#collection: |
408 | 1025 |
#( |
1026 |
#(#LabelSpec |
|
687 | 1027 |
#name: 'doubleLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1028 |
#layout: #(#AlignmentOrigin 95 0 19 0 1 0.5) |
687 | 1029 |
#label: 'Selector:' |
1030 |
#adjust: #right |
|
1031 |
#resizeForLabel: true |
|
408 | 1032 |
) |
1033 |
#(#InputFieldSpec |
|
687 | 1034 |
#name: 'doubleClicked' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1035 |
#layout: #(#LayoutFrame 98 0 8 0 3 1.0 30 0) |
687 | 1036 |
#activeHelpKey: #selectionCellDoubleClickSelector |
1037 |
#tabable: true |
|
1038 |
#model: #doubleClickedSelector |
|
1039 |
#type: #symbolOrNil |
|
408 | 1040 |
) |
1041 |
) |
|
1042 |
) |
|
687 | 1043 |
#label: 'Cell Double Click:' |
1044 |
#labelPosition: #topLeft |
|
408 | 1045 |
) |
1046 |
) |
|
1047 |
) |
|
1048 |
) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1049 |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1050 |
"Modified: / 13.8.1998 / 19:54:49 / cg" |
408 | 1051 |
! |
1052 |
||
528 | 1053 |
slices |
1054 |
^#( |
|
1055 |
(Basics basicsEditSpec) |
|
1056 |
(Values valuesEditSpec) |
|
1057 |
(Format formatEditSpec) |
|
1058 |
(Selection selectionEditSpec) |
|
1059 |
(Frame frameEditSpec) |
|
1060 |
(Colors colorsEditSpec) |
|
1061 |
) |
|
1062 |
! |
|
1063 |
||
408 | 1064 |
valuesEditSpec |
825 | 1065 |
"This resource specification was automatically generated |
1066 |
by the UIPainter of ST/X." |
|
408 | 1067 |
|
825 | 1068 |
"Do not manually edit this!! If it is corrupted, |
1069 |
the UIPainter may not be able to read the specification." |
|
408 | 1070 |
|
1071 |
" |
|
1072 |
UIPainter new openOnClass:DataSetBuilder andSelector:#valuesEditSpec |
|
1073 |
DataSetBuilder new openInterface:#valuesEditSpec |
|
1074 |
" |
|
1075 |
||
1076 |
<resource: #canvas> |
|
1077 |
||
1078 |
^ |
|
1079 |
||
1080 |
#(#FullSpec |
|
687 | 1081 |
#window: |
408 | 1082 |
#(#WindowSpec |
687 | 1083 |
#name: 'DataSet Basic' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1084 |
#layout: #(#LayoutFrame 216 0 173 0 511 0 478 0) |
687 | 1085 |
#label: 'DataSet Basic' |
1086 |
#min: #(#Point 10 10) |
|
1087 |
#max: #(#Point 1280 1024) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1088 |
#bounds: #(#Rectangle 216 173 512 479) |
687 | 1089 |
#usePreferredExtent: false |
332 | 1090 |
) |
687 | 1091 |
#component: |
332 | 1092 |
#(#SpecCollection |
687 | 1093 |
#collection: |
332 | 1094 |
#( |
370 | 1095 |
#(#FramedBoxSpec |
687 | 1096 |
#name: 'valuesBox' |
1097 |
#layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 110 0) |
|
1098 |
#component: |
|
370 | 1099 |
#(#SpecCollection |
687 | 1100 |
#collection: |
370 | 1101 |
#( |
1102 |
#(#LabelSpec |
|
687 | 1103 |
#name: 'readLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1104 |
#layout: #(#AlignmentOrigin 94 0 15 0 1 0.5) |
687 | 1105 |
#label: 'Read:' |
1106 |
#adjust: #right |
|
1107 |
#resizeForLabel: true |
|
370 | 1108 |
) |
1109 |
#(#InputFieldSpec |
|
687 | 1110 |
#name: 'readSelector' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1111 |
#layout: #(#LayoutFrame 97 0 4 0 2 1.0 26 0) |
687 | 1112 |
#activeHelpKey: #valuesReadSelector |
1113 |
#tabable: true |
|
1114 |
#model: #readSelector |
|
1115 |
#type: #symbolOrNil |
|
370 | 1116 |
) |
470 | 1117 |
#(#LabelSpec |
687 | 1118 |
#name: 'writeLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1119 |
#layout: #(#AlignmentOrigin 94 0 40 0 1 0.5) |
687 | 1120 |
#label: 'Write:' |
1121 |
#adjust: #right |
|
1122 |
#resizeForLabel: true |
|
470 | 1123 |
) |
379 | 1124 |
#(#InputFieldSpec |
687 | 1125 |
#name: 'writeSelector' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1126 |
#layout: #(#LayoutFrame 97 0 29 0 2 1.0 51 0) |
687 | 1127 |
#activeHelpKey: #valuesWriteSelector |
1128 |
#tabable: true |
|
1129 |
#model: #writeSelector |
|
1130 |
#type: #symbolOrNil |
|
379 | 1131 |
) |
370 | 1132 |
#(#LabelSpec |
687 | 1133 |
#name: 'printLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1134 |
#layout: #(#AlignmentOrigin 94 0 65 0 1 0.5) |
687 | 1135 |
#label: 'Print:' |
1136 |
#adjust: #right |
|
1137 |
#resizeForLabel: true |
|
370 | 1138 |
) |
1139 |
#(#InputFieldSpec |
|
687 | 1140 |
#name: 'printSelector' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1141 |
#layout: #(#LayoutFrame 97 0 54 0 2 1.0 76 0) |
687 | 1142 |
#activeHelpKey: #valuesPrintSelector |
1143 |
#tabable: true |
|
1144 |
#model: #printSelector |
|
1145 |
#type: #symbolOrNil |
|
370 | 1146 |
) |
1147 |
) |
|
1148 |
) |
|
687 | 1149 |
#label: 'Value Selectors:' |
1150 |
#labelPosition: #topLeft |
|
332 | 1151 |
) |
370 | 1152 |
#(#FramedBoxSpec |
687 | 1153 |
#name: 'menusBox' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1154 |
#layout: #(#LayoutFrame 0 0.0 119 0 0 1.0 176 0) |
687 | 1155 |
#component: |
370 | 1156 |
#(#SpecCollection |
687 | 1157 |
#collection: |
370 | 1158 |
#( |
1159 |
#(#LabelSpec |
|
687 | 1160 |
#name: 'menuLabel' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1161 |
#layout: #(#AlignmentOrigin 94 0 15 0 1 0.5) |
687 | 1162 |
#label: 'Selector:' |
1163 |
#adjust: #right |
|
1164 |
#resizeForLabel: true |
|
370 | 1165 |
) |
1166 |
#(#InputFieldSpec |
|
687 | 1167 |
#name: 'menuSelector' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1168 |
#layout: #(#LayoutFrame 97 0 4 0 2 1.0 26 0) |
687 | 1169 |
#activeHelpKey: #valuesMenuSelector |
1170 |
#tabable: true |
|
1171 |
#model: #menu |
|
1172 |
#type: #symbolOrNil |
|
370 | 1173 |
) |
597 | 1174 |
) |
1175 |
) |
|
687 | 1176 |
#label: 'Menu:' |
1177 |
#labelPosition: #topLeft |
|
597 | 1178 |
) |
1179 |
#(#FramedBoxSpec |
|
687 | 1180 |
#name: 'framedBox1' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1181 |
#layout: #(#LayoutFrame 1 0.0 191 0 1 1.0 249 0) |
687 | 1182 |
#component: |
597 | 1183 |
#(#SpecCollection |
687 | 1184 |
#collection: |
597 | 1185 |
#( |
370 | 1186 |
#(#LabelSpec |
687 | 1187 |
#name: 'label2' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1188 |
#layout: #(#AlignmentOrigin 94 0 15 0 1 0.5) |
687 | 1189 |
#activeHelpKey: #valuesChoiceSelector |
1190 |
#label: 'Selector:' |
|
1191 |
#adjust: #right |
|
1192 |
#resizeForLabel: true |
|
370 | 1193 |
) |
1194 |
#(#InputFieldSpec |
|
687 | 1195 |
#name: 'inputField2' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1196 |
#layout: #(#LayoutFrame 97 0 4 0 2 1.0 26 0) |
687 | 1197 |
#activeHelpKey: #valuesChoiceSelector |
1198 |
#tabable: true |
|
1199 |
#model: #choices |
|
1200 |
#type: #symbolOrNil |
|
370 | 1201 |
) |
1202 |
) |
|
1203 |
) |
|
687 | 1204 |
#label: 'List Choice:' |
1205 |
#labelPosition: #topLeft |
|
391 | 1206 |
) |
332 | 1207 |
) |
1208 |
) |
|
1209 |
) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1210 |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1211 |
"Modified: / 13.8.1998 / 19:55:07 / cg" |
332 | 1212 |
! |
1213 |
||
1214 |
windowSpec |
|
817 | 1215 |
"This resource specification was automatically generated |
1216 |
by the UIPainter of ST/X." |
|
332 | 1217 |
|
817 | 1218 |
"Do not manually edit this!! If it is corrupted, |
1219 |
the UIPainter may not be able to read the specification." |
|
332 | 1220 |
|
1221 |
" |
|
1222 |
UIPainter new openOnClass:DataSetBuilder andSelector:#windowSpec |
|
1223 |
DataSetBuilder new openInterface:#windowSpec |
|
817 | 1224 |
DataSetBuilder open |
332 | 1225 |
" |
1226 |
||
1227 |
<resource: #canvas> |
|
1228 |
||
1229 |
^ |
|
1230 |
||
1231 |
#(#FullSpec |
|
687 | 1232 |
#window: |
332 | 1233 |
#(#WindowSpec |
687 | 1234 |
#name: 'Data Set Builder' |
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1235 |
#layout: #(#LayoutFrame 216 0 173 0 848 0 739 0) |
687 | 1236 |
#label: 'Data Set Builder' |
1237 |
#min: #(#Point 10 10) |
|
1238 |
#max: #(#Point 1152 900) |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1239 |
#bounds: #(#Rectangle 216 173 849 740) |
687 | 1240 |
#menu: #menu |
1241 |
#usePreferredExtent: false |
|
332 | 1242 |
) |
687 | 1243 |
#component: |
332 | 1244 |
#(#SpecCollection |
687 | 1245 |
#collection: |
332 | 1246 |
#( |
825 | 1247 |
#(#MenuPanelSpec |
1248 |
#name: 'menuToolbarView' |
|
1249 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 32 0) |
|
1250 |
#menu: #menuToolbar |
|
1251 |
) |
|
1252 |
#(#VariableVerticalPanelSpec |
|
1253 |
#name: 'VariableVerticalPanel1' |
|
1254 |
#layout: #(#LayoutFrame 0 0.0 38 0.0 0 1.0 -26 1.0) |
|
687 | 1255 |
#component: |
332 | 1256 |
#(#SpecCollection |
687 | 1257 |
#collection: |
332 | 1258 |
#( |
825 | 1259 |
#(#FramedBoxSpec |
1260 |
#name: 'FramedBox' |
|
1261 |
#component: |
|
1262 |
#(#SpecCollection |
|
1263 |
#collection: |
|
1264 |
#( |
|
1265 |
#(#DataSetSpec |
|
1266 |
#name: 'columnView' |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1267 |
#layout: #(#LayoutFrame 2 0.0 6 0.0 2 1.0 6 1.0) |
825 | 1268 |
#hasHorizontalScrollBar: true |
1269 |
#hasVerticalScrollBar: false |
|
1270 |
#miniScrollerHorizontal: true |
|
1271 |
#useIndex: false |
|
1272 |
#has3Dsepartors: true |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1273 |
#has3Dseparators: true |
825 | 1274 |
) |
1275 |
) |
|
1276 |
) |
|
1277 |
#label: 'Table Columns' |
|
1278 |
#labelPosition: #topLeft |
|
818 | 1279 |
) |
1280 |
#(#VariableHorizontalPanelSpec |
|
1281 |
#name: 'VariablePanel' |
|
687 | 1282 |
#component: |
332 | 1283 |
#(#SpecCollection |
687 | 1284 |
#collection: |
332 | 1285 |
#( |
818 | 1286 |
#(#ViewSpec |
1287 |
#name: 'labelsView' |
|
1288 |
#component: |
|
1289 |
#(#SpecCollection |
|
1290 |
#collection: |
|
1291 |
#( |
|
1292 |
#(#SequenceViewSpec |
|
1293 |
#name: 'labelAndColumns' |
|
1294 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
|
1295 |
#model: #selectedColumnModel |
|
1296 |
#menu: #menuEdit |
|
1297 |
#hasHorizontalScrollBar: true |
|
1298 |
#hasVerticalScrollBar: true |
|
1299 |
#miniScrollerHorizontal: true |
|
1300 |
#useIndex: true |
|
1301 |
#sequenceList: #seqList |
|
1302 |
) |
|
1303 |
) |
|
1304 |
) |
|
1305 |
) |
|
1306 |
#(#ViewSpec |
|
1307 |
#name: 'specView' |
|
1308 |
#component: |
|
1309 |
#(#SpecCollection |
|
1310 |
#collection: |
|
1311 |
#( |
|
1312 |
#(#TabViewSpec |
|
1313 |
#name: 'tabView' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1314 |
#layout: #(#LayoutFrame 1 0.0 0 0 0 1.0 50 0) |
818 | 1315 |
#model: #tabModel |
1316 |
#menu: #tabList |
|
1317 |
#useIndex: true |
|
1318 |
) |
|
1319 |
#(#SubCanvasSpec |
|
1320 |
#name: 'specCanvas' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1321 |
#layout: #(#LayoutFrame 1 0.0 50 0.0 0 1.0 -30 1.0) |
818 | 1322 |
#specHolder: #specChannel |
1323 |
) |
|
1324 |
#(#UISubSpecification |
|
1325 |
#name: 'SubSpecification' |
|
1326 |
#layout: #(#LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0) |
|
1327 |
#majorKey: #ToolApplicationModel |
|
1328 |
#minorKey: #windowSpecForCommit |
|
1329 |
) |
|
1330 |
) |
|
1331 |
) |
|
1332 |
#level: -1 |
|
332 | 1333 |
) |
1334 |
) |
|
1335 |
) |
|
825 | 1336 |
#level: -1 |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1337 |
#handles: #(#Any 0.235387 1.0) |
332 | 1338 |
) |
1339 |
) |
|
1340 |
) |
|
825 | 1341 |
#handles: #(#Any 0.25 1.0) |
332 | 1342 |
) |
825 | 1343 |
#(#UISubSpecification |
1344 |
#name: 'infoBarSubSpec' |
|
1345 |
#layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
|
1346 |
#majorKey: #ToolApplicationModel |
|
1347 |
#minorKey: #windowSpecForInfoBar |
|
408 | 1348 |
) |
332 | 1349 |
) |
1350 |
) |
|
1351 |
) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1352 |
|
949
2e3469100a6a
fixed layout (change with framedBox - sigh)
Claus Gittinger <cg@exept.de>
parents:
894
diff
changeset
|
1353 |
"Modified: / 13.8.1998 / 19:55:36 / cg" |
332 | 1354 |
! ! |
1355 |
||
1356 |
!DataSetBuilder class methodsFor:'menu specs'! |
|
1357 |
||
408 | 1358 |
menu |
818 | 1359 |
"This resource specification was automatically generated |
1360 |
by the MenuEditor of ST/X." |
|
332 | 1361 |
|
818 | 1362 |
"Do not manually edit this!! If it is corrupted, |
1363 |
the MenuEditor may not be able to read the specification." |
|
332 | 1364 |
|
1365 |
" |
|
408 | 1366 |
MenuEditor new openOnClass:DataSetBuilder andSelector:#menu |
1367 |
(Menu new fromLiteralArrayEncoding:(DataSetBuilder menu)) startUp |
|
332 | 1368 |
" |
1369 |
||
1370 |
<resource: #menu> |
|
1371 |
||
1372 |
^ |
|
1373 |
||
1374 |
#(#Menu |
|
1375 |
||
1376 |
#( |
|
1377 |
#(#MenuItem |
|
818 | 1378 |
#label: 'About' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1379 |
#translateLabel: true |
818 | 1380 |
#accessCharacterPosition: 1 |
1381 |
#labelImage: #(#ResourceRetriever nil #menuIcon) |
|
1382 |
#submenuChannel: #menuAbout |
|
408 | 1383 |
) |
1384 |
#(#MenuItem |
|
818 | 1385 |
#label: 'File' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1386 |
#translateLabel: true |
818 | 1387 |
#activeHelpKey: #file |
1388 |
#submenu: |
|
332 | 1389 |
#(#Menu |
1390 |
||
1391 |
#( |
|
1392 |
#(#MenuItem |
|
818 | 1393 |
#label: 'New' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1394 |
#translateLabel: true |
818 | 1395 |
#value: #doNew |
1396 |
#activeHelpKey: #fileNew |
|
1397 |
) |
|
1398 |
#(#MenuItem |
|
1399 |
#label: '-' |
|
408 | 1400 |
) |
1401 |
#(#MenuItem |
|
818 | 1402 |
#label: 'Load...' |
1403 |
#translateLabel: true |
|
1404 |
#value: #doLoad |
|
1405 |
#activeHelpKey: #fileLoad |
|
408 | 1406 |
) |
1407 |
#(#MenuItem |
|
818 | 1408 |
#label: '-' |
1409 |
) |
|
1410 |
#(#MenuItem |
|
1411 |
#label: 'Save' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1412 |
#translateLabel: true |
818 | 1413 |
#value: #doSave |
1414 |
#activeHelpKey: #fileSave |
|
408 | 1415 |
) |
1416 |
#(#MenuItem |
|
818 | 1417 |
#label: 'Save As...' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1418 |
#translateLabel: true |
818 | 1419 |
#value: #doSaveAs |
1420 |
#activeHelpKey: #fileSaveAs |
|
1421 |
) |
|
1422 |
#(#MenuItem |
|
1423 |
#label: '-' |
|
1424 |
) |
|
1425 |
#(#MenuItem |
|
1426 |
#label: 'Pick Columns...' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1427 |
#translateLabel: true |
818 | 1428 |
#value: #doPickColumns |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1429 |
#activeHelpKey: #pickColumns |
408 | 1430 |
) |
1431 |
#(#MenuItem |
|
818 | 1432 |
#label: '-' |
1433 |
) |
|
1434 |
#(#MenuItem |
|
1435 |
#label: 'Browse Class' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1436 |
#translateLabel: true |
818 | 1437 |
#value: #doBrowseClass |
1438 |
#activeHelpKey: #fileBrowseClass |
|
408 | 1439 |
) |
1440 |
#(#MenuItem |
|
818 | 1441 |
#label: '-' |
1442 |
) |
|
1443 |
#(#MenuItem |
|
1444 |
#label: 'Exit' |
|
1445 |
#translateLabel: true |
|
1446 |
#value: #closeRequest |
|
1447 |
#activeHelpKey: #fileExit |
|
332 | 1448 |
) |
1449 |
) nil |
|
1450 |
nil |
|
1451 |
) |
|
1452 |
) |
|
1453 |
#(#MenuItem |
|
818 | 1454 |
#label: 'Edit' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1455 |
#translateLabel: true |
818 | 1456 |
#activeHelpKey: #edit |
1457 |
#submenuChannel: #menuEdit |
|
332 | 1458 |
) |
521 | 1459 |
#(#MenuItem |
818 | 1460 |
#label: 'Add' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1461 |
#translateLabel: true |
818 | 1462 |
#submenu: |
521 | 1463 |
#(#Menu |
1464 |
||
1465 |
#( |
|
1466 |
#(#MenuItem |
|
818 | 1467 |
#label: 'Column' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1468 |
#translateLabel: true |
818 | 1469 |
#value: #doCreateColumn |
1470 |
#activeHelpKey: #addColumn |
|
1471 |
#enabled: #columnIsNotEditing |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1472 |
#labelImage: #(#ResourceRetriever nil #newColumnIcon 'Column') |
521 | 1473 |
) |
1474 |
) nil |
|
1475 |
nil |
|
1476 |
) |
|
1477 |
) |
|
1478 |
#(#MenuItem |
|
818 | 1479 |
#label: 'Generate' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1480 |
#translateLabel: true |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1481 |
#activeHelpKey: #generate |
818 | 1482 |
#submenu: |
1483 |
#(#Menu |
|
1484 |
||
1485 |
#( |
|
1486 |
#(#MenuItem |
|
1487 |
#label: 'Define Row Class...' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1488 |
#translateLabel: true |
818 | 1489 |
#value: #doDefineRowClass |
1490 |
#activeHelpKey: #fileDefineClass |
|
1491 |
) |
|
1492 |
#(#MenuItem |
|
1493 |
#label: 'Browse Row Class' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1494 |
#translateLabel: true |
818 | 1495 |
#value: #doBrowseRowClass |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1496 |
#activeHelpKey: #browseRowClass |
818 | 1497 |
) |
1498 |
#(#MenuItem |
|
1499 |
#label: '-' |
|
1500 |
) |
|
1501 |
#(#MenuItem |
|
1502 |
#label: 'Generate Code' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1503 |
#translateLabel: true |
818 | 1504 |
#value: #doGenerateCode |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1505 |
#activeHelpKey: #generateCode |
818 | 1506 |
) |
1507 |
) nil |
|
1508 |
nil |
|
1509 |
) |
|
1510 |
) |
|
1511 |
#(#MenuItem |
|
825 | 1512 |
#label: 'Settings' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1513 |
#translateLabel: true |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1514 |
#activeHelpKey: #settings |
825 | 1515 |
#submenu: |
1516 |
#(#Menu |
|
1517 |
||
1518 |
#( |
|
1519 |
#(#MenuItem |
|
1520 |
#label: 'Fonts' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1521 |
#translateLabel: true |
825 | 1522 |
#submenuChannel: #menuFont |
1523 |
) |
|
1524 |
) nil |
|
1525 |
nil |
|
1526 |
) |
|
1527 |
) |
|
1528 |
#(#MenuItem |
|
818 | 1529 |
#label: 'History' |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1530 |
#translateLabel: true |
818 | 1531 |
#activeHelpKey: #history |
1532 |
#submenuChannel: #menuHistory |
|
1533 |
) |
|
1534 |
#(#MenuItem |
|
1535 |
#label: 'Help' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1536 |
#translateLabel: true |
818 | 1537 |
#startGroup: #right |
825 | 1538 |
#submenuChannel: #menuHelp |
521 | 1539 |
) |
332 | 1540 |
) nil |
1541 |
nil |
|
1542 |
) |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1543 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1544 |
"Modified: / 19.5.1998 / 23:10:01 / cg" |
332 | 1545 |
! |
1546 |
||
408 | 1547 |
menuEdit |
825 | 1548 |
"This resource specification was automatically generated |
1549 |
by the MenuEditor of ST/X." |
|
332 | 1550 |
|
825 | 1551 |
"Do not manually edit this!! If it is corrupted, |
1552 |
the MenuEditor may not be able to read the specification." |
|
332 | 1553 |
|
1554 |
" |
|
408 | 1555 |
MenuEditor new openOnClass:DataSetBuilder andSelector:#menuEdit |
1556 |
(Menu new fromLiteralArrayEncoding:(DataSetBuilder menuEdit)) startUp |
|
1557 |
" |
|
1558 |
||
1559 |
<resource: #menu> |
|
1560 |
||
1561 |
^ |
|
1562 |
||
1563 |
#(#Menu |
|
1564 |
||
1565 |
#( |
|
1566 |
#(#MenuItem |
|
825 | 1567 |
#label: 'Cut' |
881 | 1568 |
#translateLabel: true |
825 | 1569 |
#value: #doCut |
1570 |
#activeHelpKey: #editCut |
|
1571 |
#enabled: #isColumnSelected |
|
408 | 1572 |
) |
1573 |
#(#MenuItem |
|
825 | 1574 |
#label: 'Copy' |
881 | 1575 |
#translateLabel: true |
825 | 1576 |
#value: #doCopy |
1577 |
#activeHelpKey: #editCopy |
|
1578 |
#enabled: #isColumnSelected |
|
408 | 1579 |
) |
1580 |
#(#MenuItem |
|
825 | 1581 |
#label: 'Paste' |
881 | 1582 |
#translateLabel: true |
825 | 1583 |
#value: #doPaste |
1584 |
#activeHelpKey: #editPaste |
|
1585 |
#enabled: #valueOfHavingClipboard |
|
408 | 1586 |
) |
1587 |
#(#MenuItem |
|
825 | 1588 |
#label: 'Delete' |
881 | 1589 |
#translateLabel: true |
825 | 1590 |
#value: #doDelete |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
1591 |
#activeHelpKey: #editDelete |
825 | 1592 |
#enabled: #valueOfHavingClipboard |
1593 |
) |
|
1594 |
#(#MenuItem |
|
1595 |
#label: '-' |
|
408 | 1596 |
) |
1597 |
#(#MenuItem |
|
825 | 1598 |
#label: 'Move Up' |
881 | 1599 |
#translateLabel: true |
825 | 1600 |
#value: #doMoveColumn: |
1601 |
#activeHelpKey: #editMoveUp |
|
1602 |
#enabled: #isColumnSelected |
|
1603 |
#argument: #up |
|
881 | 1604 |
#labelImage: #(#ResourceRetriever #Icon #upIcon 'Move Up') |
408 | 1605 |
) |
1606 |
#(#MenuItem |
|
825 | 1607 |
#label: 'Move Down' |
881 | 1608 |
#translateLabel: true |
825 | 1609 |
#value: #doMoveColumn: |
1610 |
#activeHelpKey: #editMoveDown |
|
1611 |
#enabled: #isColumnSelected |
|
1612 |
#argument: #down |
|
881 | 1613 |
#labelImage: #(#ResourceRetriever #Icon #downIcon 'Move Down') |
408 | 1614 |
) |
1615 |
) nil |
|
1616 |
nil |
|
1617 |
) |
|
1618 |
! |
|
1619 |
||
1620 |
menuToolbar |
|
825 | 1621 |
"This resource specification was automatically generated |
1622 |
by the MenuEditor of ST/X." |
|
408 | 1623 |
|
825 | 1624 |
"Do not manually edit this!! If it is corrupted, |
1625 |
the MenuEditor may not be able to read the specification." |
|
408 | 1626 |
|
1627 |
" |
|
1628 |
MenuEditor new openOnClass:DataSetBuilder andSelector:#menuToolbar |
|
1629 |
(Menu new fromLiteralArrayEncoding:(DataSetBuilder menuToolbar)) startUp |
|
332 | 1630 |
" |
1631 |
||
1632 |
<resource: #menu> |
|
1633 |
||
1634 |
^ |
|
1635 |
||
1636 |
#(#Menu |
|
1637 |
||
1638 |
#( |
|
1639 |
#(#MenuItem |
|
825 | 1640 |
#label: 'New' |
1641 |
#isButton: true |
|
1642 |
#value: #doNew |
|
1643 |
#activeHelpKey: #fileNew |
|
881 | 1644 |
#labelImage: #(#ResourceRetriever #Icon #newIcon) |
825 | 1645 |
) |
1646 |
#(#MenuItem |
|
1647 |
#label: 'Load' |
|
1648 |
#isButton: true |
|
1649 |
#value: #doLoad |
|
1650 |
#activeHelpKey: #fileLoad |
|
881 | 1651 |
#labelImage: #(#ResourceRetriever #Icon #loadIcon) |
332 | 1652 |
) |
1653 |
#(#MenuItem |
|
825 | 1654 |
#label: 'Save' |
1655 |
#isButton: true |
|
1656 |
#value: #doSave |
|
1657 |
#activeHelpKey: #fileSave |
|
881 | 1658 |
#labelImage: #(#ResourceRetriever #Icon #saveIcon) |
825 | 1659 |
) |
1660 |
#(#MenuItem |
|
1661 |
#label: '' |
|
1662 |
) |
|
1663 |
#(#MenuItem |
|
1664 |
#label: 'Cut' |
|
1665 |
#isButton: true |
|
1666 |
#value: #doCut |
|
1667 |
#activeHelpKey: #editCut |
|
1668 |
#enabled: #isColumnSelected |
|
881 | 1669 |
#labelImage: #(#ResourceRetriever #Icon #cutIcon) |
825 | 1670 |
) |
1671 |
#(#MenuItem |
|
1672 |
#label: 'Copy' |
|
1673 |
#isButton: true |
|
1674 |
#value: #doCopy |
|
1675 |
#activeHelpKey: #editCopy |
|
1676 |
#enabled: #isColumnSelected |
|
881 | 1677 |
#labelImage: #(#ResourceRetriever #Icon #copyIcon) |
332 | 1678 |
) |
1679 |
#(#MenuItem |
|
825 | 1680 |
#label: 'Paste' |
1681 |
#isButton: true |
|
1682 |
#value: #doPaste |
|
1683 |
#activeHelpKey: #editPaste |
|
1684 |
#enabled: #valueOfCanPaste |
|
881 | 1685 |
#labelImage: #(#ResourceRetriever #Icon #pasteIcon) |
825 | 1686 |
) |
1687 |
#(#MenuItem |
|
1688 |
#label: 'Delete' |
|
1689 |
#isButton: true |
|
1690 |
#value: #doDelete |
|
1691 |
#activeHelpKey: #editDelete |
|
1692 |
#enabled: #isColumnSelected |
|
881 | 1693 |
#labelImage: #(#ResourceRetriever #Icon #deleteIcon) |
825 | 1694 |
) |
1695 |
#(#MenuItem |
|
1696 |
#label: '' |
|
332 | 1697 |
) |
1698 |
#(#MenuItem |
|
825 | 1699 |
#label: 'Add Column' |
1700 |
#isButton: true |
|
1701 |
#value: #doCreateColumn |
|
1702 |
#activeHelpKey: #addColumn |
|
1703 |
#enabled: #columnIsNotEditing |
|
1704 |
#labelImage: #(#ResourceRetriever nil #newColumnIcon) |
|
1705 |
) |
|
1706 |
#(#MenuItem |
|
1707 |
#label: '' |
|
1708 |
) |
|
1709 |
#(#MenuItem |
|
1710 |
#label: 'Move Up' |
|
1711 |
#isButton: true |
|
1712 |
#value: #doMoveColumn: |
|
1713 |
#activeHelpKey: #editMoveUp |
|
1714 |
#enabled: #isColumnSelected |
|
1715 |
#argument: #up |
|
881 | 1716 |
#labelImage: #(#ResourceRetriever #Icon #upIcon) |
825 | 1717 |
) |
1718 |
#(#MenuItem |
|
1719 |
#label: 'Move Down' |
|
1720 |
#isButton: true |
|
1721 |
#value: #doMoveColumn: |
|
1722 |
#activeHelpKey: #editMoveDown |
|
1723 |
#enabled: #isColumnSelected |
|
1724 |
#argument: #down |
|
881 | 1725 |
#labelImage: #(#ResourceRetriever #Icon #downIcon) |
332 | 1726 |
) |
1727 |
) nil |
|
1728 |
nil |
|
1729 |
) |
|
1730 |
! ! |
|
1731 |
||
1732 |
!DataSetBuilder methodsFor:'accessing'! |
|
1733 |
||
1734 |
columns |
|
419 | 1735 |
"returns list of columns" |
1736 |
||
818 | 1737 |
^ columns |
332 | 1738 |
! |
1739 |
||
818 | 1740 |
columns:aListOfColumns |
419 | 1741 |
"setup columns from a column view" |
1742 |
||
332 | 1743 |
|list| |
1744 |
||
1745 |
columns := OrderedCollection new. |
|
1746 |
list := self seqList. |
|
1747 |
||
1748 |
list removeAll. |
|
1749 |
||
818 | 1750 |
aListOfColumns size ~~ 0 ifTrue:[ |
1751 |
aListOfColumns do:[:aColumn||column| |
|
1752 |
(column := aColumn) isSequenceable ifTrue:[ |
|
1753 |
column := DataSetColumnSpec new fromLiteralArrayEncoding:aColumn |
|
1754 |
] ifFalse:[ |
|
1755 |
column := aColumn copy |
|
1756 |
]. |
|
1757 |
columns add:column. |
|
825 | 1758 |
list add:(self labelFromColumn:column). |
332 | 1759 |
] |
818 | 1760 |
]. |
1761 |
self updateColumnView. |
|
1762 |
||
333 | 1763 |
! |
1764 |
||
1765 |
rowClassName |
|
419 | 1766 |
|
818 | 1767 |
^(Smalltalk resolveName:rowClass inClass:self class) notNil ifTrue:[rowClass] ifFalse:[nil] |
333 | 1768 |
! |
1769 |
||
1770 |
rowClassName:aClassName |
|
419 | 1771 |
|
333 | 1772 |
|cls| |
1773 |
||
818 | 1774 |
rowSuperClass := nil. |
333 | 1775 |
|
818 | 1776 |
(rowClass := aClassName) notNil ifTrue:[ |
825 | 1777 |
(cls := self resolveClassNamed) notNil |
818 | 1778 |
ifTrue: [rowSuperClass := cls superclass name asString] |
1779 |
ifFalse:[rowSuperClass := 'Object'] |
|
333 | 1780 |
] |
1781 |
||
332 | 1782 |
! ! |
1783 |
||
419 | 1784 |
!DataSetBuilder methodsFor:'aspects'! |
332 | 1785 |
|
419 | 1786 |
columnIsNotEditing |
1787 |
"returns a boolean value holder which is set to true if column is not editing" |
|
332 | 1788 |
|
419 | 1789 |
^builder valueAspectFor:#columnIsNotEditing initialValue: true |
332 | 1790 |
|
1791 |
||
1792 |
||
1793 |
! |
|
1794 |
||
419 | 1795 |
editorTypeList |
1796 |
"generate list of supported editor types" |
|
332 | 1797 |
|
1798 |
|list| |
|
1799 |
||
419 | 1800 |
(list := builder bindingAt:#editorTypeList) isNil |
1801 |
ifTrue: |
|
1802 |
[ |
|
332 | 1803 |
list := OrderedCollection new. |
419 | 1804 |
DataSetColumnSpec slices do: |
1805 |
[:aSlice||type| |
|
332 | 1806 |
type := aSlice at:1. |
419 | 1807 |
(list includes:type) ifFalse:[list add:type] |
332 | 1808 |
]. |
419 | 1809 |
builder aspectAt:#editorTypeList put:list |
332 | 1810 |
]. |
419 | 1811 |
^list |
332 | 1812 |
! |
1813 |
||
408 | 1814 |
isColumnSelected |
332 | 1815 |
"returns a boolean value holder which is set to true if something is modified |
419 | 1816 |
and not accepted" |
1817 |
||
1818 |
^builder valueAspectFor:#isColumnSelected initialValue: false |
|
332 | 1819 |
|
1820 |
||
1821 |
||
1822 |
! |
|
1823 |
||
1824 |
rendererTypeList |
|
419 | 1825 |
"generate list of supported renderer types" |
1826 |
||
332 | 1827 |
|list| |
1828 |
||
419 | 1829 |
(list := builder bindingAt:#rendererTypeList) isNil |
1830 |
ifTrue: |
|
1831 |
[ |
|
332 | 1832 |
list := OrderedCollection new. |
419 | 1833 |
DataSetColumnSpec slices do: |
1834 |
[:aSlice||type| |
|
332 | 1835 |
type := aSlice at:2. |
419 | 1836 |
(list includes:type) ifFalse:[list add:type] |
332 | 1837 |
]. |
419 | 1838 |
builder aspectAt:#rendererTypeList put:list |
332 | 1839 |
]. |
419 | 1840 |
^list |
332 | 1841 |
! |
1842 |
||
1843 |
selectedColumnModel |
|
419 | 1844 |
"returns a value holder which keeps selected column" |
332 | 1845 |
|
1846 |
|holder| |
|
1847 |
||
1848 |
(holder := builder bindingAt:#selectedColumnModel) isNil ifTrue:[ |
|
1849 |
holder := AspectAdaptor new subject:self; forAspect:#selectedColumnIndex. |
|
1850 |
builder aspectAt:#selectedColumnModel put:holder. |
|
1851 |
]. |
|
1852 |
^ holder |
|
1853 |
! |
|
1854 |
||
1855 |
seqList |
|
1856 |
||
1857 |
|list| |
|
1858 |
||
1859 |
(list := builder bindingAt:#seqList) isNil ifTrue:[ |
|
1860 |
builder aspectAt:#seqList put:(list := List new). |
|
1861 |
]. |
|
1862 |
^ list |
|
1863 |
! |
|
1864 |
||
1865 |
specChannel |
|
1866 |
||
1867 |
|holder| |
|
1868 |
||
1869 |
(holder := builder bindingAt:#specChannel) isNil ifTrue:[ |
|
1870 |
builder aspectAt:#specChannel put:(holder := ValueHolder new). |
|
1871 |
]. |
|
1872 |
^ holder |
|
1873 |
! |
|
1874 |
||
391 | 1875 |
style |
419 | 1876 |
|
1877 |
^self aspectFor:#labelFont |
|
391 | 1878 |
! |
1879 |
||
332 | 1880 |
tabList |
1881 |
||
419 | 1882 |
^self class slices collect:[:aSlice|aSlice first] |
332 | 1883 |
|
1884 |
! ! |
|
1885 |
||
818 | 1886 |
!DataSetBuilder methodsFor:'building'! |
1887 |
||
1888 |
buildFromClass:aClass andSelector:aSelector |
|
825 | 1889 |
|
1890 |
|updateBlock cls list| |
|
1891 |
||
1892 |
selectedColumnIndex := 0. |
|
1893 |
||
1894 |
updateBlock := [ |
|
1895 |
columns notEmpty ifTrue: [ |
|
1896 |
self tabModel value: 0. |
|
1897 |
self tabModel value: 1. |
|
1898 |
self selectedColumnModel value: nil. |
|
1899 |
self selectedColumnModel value: 1. |
|
1900 |
self updateColumnView. |
|
1901 |
self updateInputFields. |
|
1902 |
self updateInfoLabel. |
|
1903 |
self updateHistory |
|
1904 |
] |
|
1905 |
]. |
|
1906 |
||
1907 |
"if opened on table columns" |
|
1908 |
||
1909 |
aClass isNil ifTrue: [ |
|
1910 |
self tabModel value: 0. |
|
1911 |
self columns removeAll. |
|
1912 |
self seqList removeAll. |
|
1913 |
self updateColumnView. |
|
1914 |
self updateInfoLabel. |
|
1915 |
self specChannel value:nil. |
|
1916 |
self isColumnSelected value: false. |
|
1917 |
^self |
|
1918 |
]. |
|
1919 |
||
1920 |
specSelector isNil ifTrue: [updateBlock value. ^self]. |
|
818 | 1921 |
|
1922 |
list := nil. |
|
1923 |
||
1924 |
(aClass notNil or:[self isStandAlone or:[self window shown]]) ifTrue:[ |
|
1925 |
||
1926 |
(aClass notNil and:[aSelector notNil]) ifTrue:[ |
|
1927 |
cls := self resolveName:aClass. |
|
1928 |
||
1929 |
(cls respondsTo:aSelector) ifTrue:[ |
|
1930 |
list := cls perform:aSelector |
|
1931 |
] |
|
1932 |
] |
|
1933 |
] ifFalse:[ |
|
1934 |
list := columns |
|
1935 |
]. |
|
825 | 1936 |
self columns:list. |
1937 |
updateBlock value |
|
1938 |
||
818 | 1939 |
! |
1940 |
||
1941 |
buildFromResourceSpec:aResourceSpec |
|
1942 |
||
825 | 1943 |
self columns:aResourceSpec. |
1944 |
||
1945 |
columns notEmpty ifTrue: [ |
|
1946 |
self tabModel value: 1. |
|
1947 |
self selectedColumnModel value: nil. |
|
1948 |
self selectedColumnModel value: 1. |
|
1949 |
self updateInputFields. |
|
1950 |
self updateInfoLabel. |
|
1951 |
self updateHistory |
|
1952 |
] |
|
818 | 1953 |
! ! |
1954 |
||
332 | 1955 |
!DataSetBuilder methodsFor:'change & update'! |
1956 |
||
1957 |
update:something with:aParameter from:someObject |
|
419 | 1958 |
"one of my aspects has changed; update modified channel" |
413 | 1959 |
|
825 | 1960 |
super update:something with:aParameter from:someObject. |
1961 |
||
600 | 1962 |
self columnIsNotEditing value: false |
1963 |
||
332 | 1964 |
! ! |
1965 |
||
1966 |
!DataSetBuilder methodsFor:'code generation'! |
|
1967 |
||
1968 |
compile:aCode forClass:aClass inCategory:aCategory |
|
419 | 1969 |
"compile method for class in a category" |
1970 |
||
332 | 1971 |
ByteCodeCompiler compile:aCode withCRs forClass:aClass inCategory:aCategory |
1972 |
! |
|
1973 |
||
380 | 1974 |
generateBackgroundSelectorIn:aClass |
419 | 1975 |
"generate code for #backgroundSelector" |
1976 |
||
380 | 1977 |
|sel catg code bCode| |
1978 |
||
391 | 1979 |
catg := 'accessing look' asSymbol. |
380 | 1980 |
code := '\' |
1981 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
1982 |
, '\' |
|
1983 |
, ' "specific background color for a cell"\' |
|
1984 |
, '\' |
|
1985 |
. |
|
1986 |
||
419 | 1987 |
columns do: |
1988 |
[:aColumn| |
|
1989 |
((sel := aColumn backgroundSelector) notNil and:[(aClass implements:sel) not]) |
|
1990 |
ifTrue: |
|
1991 |
[ |
|
1992 |
bCode := sel asString, code, ' ^nil'. |
|
380 | 1993 |
self compile:bCode forClass:aClass inCategory:catg |
1994 |
] |
|
1995 |
] |
|
1996 |
||
1997 |
||
1998 |
! |
|
1999 |
||
332 | 2000 |
generateChoicesIn:aClass |
419 | 2001 |
"generate code for #choices" |
2002 |
||
332 | 2003 |
|sel catg code| |
2004 |
||
391 | 2005 |
catg := 'accessing menu' asSymbol. |
332 | 2006 |
code := '\' |
2007 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
2008 |
, '\' |
|
2009 |
, ' "get choices for visual editor; (a list of labels)\' |
|
2010 |
, '\' |
|
419 | 2011 |
, ' ^nil' |
332 | 2012 |
. |
2013 |
||
419 | 2014 |
columns do: |
2015 |
[:aColumn| |
|
2016 |
(aColumn canSelect |
|
2017 |
and:[aColumn rendererType ~~ #rowSelector |
|
2018 |
and:[(sel := aColumn choices) notNil |
|
2019 |
and:[(aClass implements:sel) not]]]) |
|
2020 |
ifTrue: |
|
2021 |
[ |
|
332 | 2022 |
self compile:(sel asString, code) forClass:aClass inCategory:catg |
2023 |
] |
|
2024 |
] |
|
2025 |
! |
|
2026 |
||
391 | 2027 |
generateDoubleClickSelectorIn:aClass |
419 | 2028 |
"generate code for #foregroundSelector" |
2029 |
||
391 | 2030 |
|sel catg code bCode| |
2031 |
||
2032 |
catg := 'accessing action' asSymbol. |
|
2033 |
code := '\' |
|
2034 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
2035 |
, '\' |
|
2036 |
, ' "specific selector to be called on double click"\' |
|
2037 |
, '\' |
|
2038 |
. |
|
2039 |
||
419 | 2040 |
columns do: |
2041 |
[:aColumn| |
|
2042 |
((sel := aColumn doubleClickedSelector) notNil |
|
2043 |
and:[(aClass implements:sel) not]) |
|
2044 |
ifTrue: |
|
2045 |
[ |
|
391 | 2046 |
bCode := sel asString, code. |
2047 |
self compile:bCode forClass:aClass inCategory:catg |
|
2048 |
] |
|
2049 |
] |
|
2050 |
||
2051 |
||
2052 |
! |
|
2053 |
||
380 | 2054 |
generateForegroundSelectorIn:aClass |
2055 |
"generate code for #foregroundSelector |
|
2056 |
" |
|
2057 |
|sel catg code bCode| |
|
2058 |
||
391 | 2059 |
catg := 'accessing look' asSymbol. |
380 | 2060 |
code := '\' |
2061 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
2062 |
, '\' |
|
2063 |
, ' "specific foreground color for a cell"\' |
|
2064 |
, '\' |
|
2065 |
. |
|
2066 |
||
419 | 2067 |
columns do: |
2068 |
[:aColumn| |
|
2069 |
((sel := aColumn foregroundSelector) notNil |
|
2070 |
and:[(aClass implements:sel) not]) |
|
2071 |
ifTrue: |
|
2072 |
[ |
|
2073 |
bCode := sel asString, code, ' ^nil'. |
|
380 | 2074 |
self compile:bCode forClass:aClass inCategory:catg |
2075 |
] |
|
2076 |
] |
|
2077 |
||
2078 |
||
2079 |
! |
|
2080 |
||
332 | 2081 |
generateMenuIn:aClass |
419 | 2082 |
"generate code for #menu" |
2083 |
||
332 | 2084 |
|sel catg code| |
2085 |
||
391 | 2086 |
catg := 'accessing menu' asSymbol. |
332 | 2087 |
code := '\' |
2088 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
2089 |
, '\' |
|
2090 |
, ' "get middleButton menu for selected cell in column"\' |
|
2091 |
, '\' |
|
419 | 2092 |
, ' ^nil' |
332 | 2093 |
. |
2094 |
||
419 | 2095 |
columns do: |
2096 |
[:aColumn| |
|
2097 |
(aColumn canSelect |
|
2098 |
and:[(sel := aColumn menu) notNil |
|
2099 |
and:[(aClass implements:sel) not]]) |
|
2100 |
ifTrue: |
|
2101 |
[ |
|
332 | 2102 |
self compile:(sel asString, code) forClass:aClass inCategory:catg |
2103 |
] |
|
2104 |
] |
|
2105 |
! |
|
2106 |
||
2107 |
generatePrintSelectorIn:aClass |
|
419 | 2108 |
"generate code for #printSelector" |
2109 |
||
332 | 2110 |
|sel catg code| |
2111 |
||
391 | 2112 |
catg := 'accessing' asSymbol. |
332 | 2113 |
code := 'aGC\' |
2114 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
2115 |
, '\' |
|
2116 |
, ' "get drawable image or text on a gc"\' |
|
2117 |
, '\' |
|
419 | 2118 |
, ' ^nil' |
332 | 2119 |
. |
2120 |
||
419 | 2121 |
columns do: |
2122 |
[:aColumn| |
|
2123 |
(aColumn rendererType ~~ #rowSelector |
|
2124 |
and:[(sel := aColumn printSelector) notNil |
|
2125 |
and:[(aClass implements:sel) not]]) |
|
2126 |
ifTrue: |
|
2127 |
[ |
|
332 | 2128 |
self compile:(sel asString, code) forClass:aClass inCategory:catg |
2129 |
] |
|
2130 |
] |
|
2131 |
! |
|
2132 |
||
2133 |
generateReadSelectorIn:aClass |
|
419 | 2134 |
"generate code for #readSelector" |
2135 |
||
332 | 2136 |
|sel catg code bCode| |
2137 |
||
391 | 2138 |
catg := 'accessing' asSymbol. |
332 | 2139 |
code := '\' |
2140 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
2141 |
, '\' |
|
2142 |
, ' "get value"\' |
|
2143 |
, '\' |
|
2144 |
. |
|
2145 |
||
419 | 2146 |
columns do: |
2147 |
[:aColumn| |
|
2148 |
(aColumn rendererType ~~ #rowSelector |
|
2149 |
and:[(sel := aColumn readSelector) notNil |
|
2150 |
and:[(aClass implements:sel) not]]) |
|
2151 |
ifTrue: |
|
2152 |
[ |
|
2153 |
(aColumn printSelector isNil or:[aColumn canSelect]) |
|
2154 |
ifTrue: |
|
2155 |
[ |
|
2156 |
sel numArgs == 0 |
|
2157 |
ifTrue: [bCode := sel asString, code] |
|
2158 |
ifFalse:[bCode := sel asString, 'anIndex\', code]. |
|
2159 |
aColumn rendererType == #CheckToggle |
|
2160 |
ifFalse:[bCode := bCode, ' ^nil'] |
|
2161 |
ifTrue: [bCode := bCode, ' ^true']. |
|
332 | 2162 |
self compile:bCode forClass:aClass inCategory:catg |
2163 |
] |
|
2164 |
] |
|
2165 |
] |
|
2166 |
! |
|
2167 |
||
377 | 2168 |
generateSelectSelectorIn:aClass |
2169 |
"generate code for #selectSelector |
|
2170 |
" |
|
2171 |
|sel catg code bCode| |
|
2172 |
||
391 | 2173 |
catg := 'accessing selection' asSymbol. |
377 | 2174 |
code := '\' |
2175 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
2176 |
, '\' |
|
2177 |
, ' "can select cell in column"\' |
|
2178 |
, '\' |
|
2179 |
. |
|
2180 |
||
419 | 2181 |
columns do: |
2182 |
[:aColumn| |
|
2183 |
(aColumn rendererType ~~ #rowSelector |
|
377 | 2184 |
and:[(sel := aColumn selectSelector) notNil |
419 | 2185 |
and:[(aClass implements:sel) not]]) |
2186 |
ifTrue: |
|
2187 |
[ |
|
2188 |
aColumn canSelect |
|
2189 |
ifTrue: |
|
2190 |
[ |
|
2191 |
bCode := sel asString, code, ' ^true'. |
|
377 | 2192 |
self compile:bCode forClass:aClass inCategory:catg |
2193 |
] |
|
2194 |
] |
|
2195 |
] |
|
2196 |
! |
|
2197 |
||
332 | 2198 |
generateWriteSelectorIn:aClass |
419 | 2199 |
"generate code for #writeSelector" |
2200 |
||
379 | 2201 |
|sel catg code bCode sz| |
332 | 2202 |
|
391 | 2203 |
catg := 'accessing' asSymbol. |
332 | 2204 |
code := 'aValue\' |
2205 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
2206 |
, '\' |
|
2207 |
, ' "set value"\' |
|
2208 |
. |
|
2209 |
||
419 | 2210 |
columns do: |
2211 |
[:aColumn| |
|
2212 |
((sel := aColumn writeSelector) notNil |
|
2213 |
and:[aColumn canSelect |
|
2214 |
and:[(aClass implements:sel) not]]) |
|
2215 |
ifTrue: |
|
2216 |
[ |
|
2217 |
sel numArgs == 1 |
|
2218 |
ifTrue: |
|
2219 |
[ |
|
379 | 2220 |
bCode := sel asString |
419 | 2221 |
] |
2222 |
ifFalse: |
|
2223 |
[ |
|
379 | 2224 |
sz := sel indexOf:$:. |
2225 |
bCode := sel copyTo:sz. |
|
419 | 2226 |
bCode := bCode, 'anIndex ', (sel copyFrom:sz + 1) |
379 | 2227 |
]. |
2228 |
self compile:(bCode, code) forClass:aClass inCategory:catg |
|
332 | 2229 |
] |
2230 |
] |
|
2231 |
! ! |
|
2232 |
||
2233 |
!DataSetBuilder methodsFor:'initialization'! |
|
2234 |
||
2235 |
initialize |
|
825 | 2236 |
"initializes" |
332 | 2237 |
|
2238 |
super initialize. |
|
2239 |
||
825 | 2240 |
selectedColumnIndex := 0. |
2241 |
columns := OrderedCollection new. |
|
2242 |
modalOpened := false |
|
2243 |
||
332 | 2244 |
|
2245 |
! ! |
|
2246 |
||
2247 |
!DataSetBuilder methodsFor:'private'! |
|
2248 |
||
825 | 2249 |
askForListModification |
2250 |
"asks for resource modification" |
|
408 | 2251 |
|
825 | 2252 |
modalOpened |
2253 |
ifFalse: |
|
408 | 2254 |
[ |
825 | 2255 |
^super askForListModification |
408 | 2256 |
]. |
2257 |
^true |
|
2258 |
||
2259 |
! |
|
2260 |
||
818 | 2261 |
labelFromColumn:aColumn |
2262 |
||
825 | 2263 |
^ aColumn rendererType == #rowSelector |
2264 |
ifFalse:[aColumn label] |
|
2265 |
ifTrue: ['Row Selector']. |
|
332 | 2266 |
! |
2267 |
||
2268 |
updateColumnView |
|
825 | 2269 |
"updates column view from column descriptions" |
2270 |
||
2271 |
columnView notNil ifTrue:[ |
|
2272 |
|previewColumns columnItems columnList| |
|
2273 |
columnList := List new. |
|
2274 |
previewColumns := columns deepCopy. |
|
2275 |
columns notEmpty |
|
2276 |
ifTrue: |
|
2277 |
[ |
|
2278 |
previewColumns do: |
|
2279 |
[:column| |
|
857 | 2280 |
column readSelector: #at:; |
2281 |
writeSelector: #at:put:; |
|
2282 |
backgroundSelector:nil; |
|
2283 |
foregroundSelector:nil; |
|
2284 |
selectSelector: nil; |
|
2285 |
doubleClickedSelector: nil; |
|
2286 |
printSelector: nil; |
|
2287 |
menu: nil; |
|
2288 |
choices: nil |
|
825 | 2289 |
]. |
2290 |
#('1' '2' '...' 'x') do: |
|
2291 |
[:suffix| |
|
2292 |
columnItems := Array new: previewColumns size. |
|
2293 |
1 to: previewColumns size do: [:i| columnItems at: i put: (previewColumns at: i) label ? 'Cell', suffix]. |
|
2294 |
columnList add: columnItems. |
|
2295 |
] |
|
2296 |
]. |
|
2297 |
columnView list: #(). |
|
2298 |
columnView columnDescriptors: previewColumns. |
|
2299 |
columnView list: columnList. |
|
2300 |
] |
|
419 | 2301 |
! |
2302 |
||
2303 |
updateInputFields |
|
825 | 2304 |
"reloads item value into input fields" |
419 | 2305 |
|
2306 |
|column| |
|
2307 |
||
2308 |
(column := self selectedColumn) isNil |
|
2309 |
ifTrue: |
|
2310 |
[ |
|
2311 |
self tabModel value:0. |
|
2312 |
] |
|
2313 |
ifFalse: |
|
2314 |
[ |
|
600 | 2315 |
aspects keysAndValuesDo:[:aKey :aModel|aModel value:(column perform:aKey) withoutNotifying: self]. |
825 | 2316 |
tabSelection == 0 ifTrue:[self tabModel value:1] |
419 | 2317 |
] |
332 | 2318 |
! ! |
2319 |
||
2320 |
!DataSetBuilder methodsFor:'selection'! |
|
2321 |
||
2322 |
selectedColumn |
|
419 | 2323 |
"returns selected column or nil" |
2324 |
||
2325 |
^selectedColumnIndex == 0 |
|
825 | 2326 |
ifFalse:[columns at:selectedColumnIndex ifAbsent: nil] |
419 | 2327 |
ifTrue: [nil] |
332 | 2328 |
! |
2329 |
||
2330 |
selectedColumnIndex |
|
419 | 2331 |
"returns selected column index or 0" |
2332 |
||
2333 |
^selectedColumnIndex |
|
332 | 2334 |
! |
2335 |
||
2336 |
selectedColumnIndex:something |
|
825 | 2337 |
"changes selected column and update specifications" |
419 | 2338 |
|
2339 |
something == selectedColumnIndex |
|
2340 |
ifFalse: |
|
2341 |
[ |
|
332 | 2342 |
selectedColumnIndex := something ? 0. |
408 | 2343 |
self isColumnSelected value: true |
419 | 2344 |
] |
332 | 2345 |
|
2346 |
! |
|
2347 |
||
825 | 2348 |
tabSelection:something |
2349 |
"changes selected tab and set corresponding specification" |
|
419 | 2350 |
|
332 | 2351 |
|specSelector| |
2352 |
||
825 | 2353 |
something == tabSelection ifTrue:[^self]. |
419 | 2354 |
self selectedColumn isNil |
2355 |
ifTrue: |
|
2356 |
[ |
|
825 | 2357 |
tabSelection == 0 ifTrue:[^self]. |
2358 |
tabSelection := 0 |
|
419 | 2359 |
] |
2360 |
ifFalse: |
|
2361 |
[ |
|
825 | 2362 |
(tabSelection := something) ~~ 0 |
2363 |
ifTrue: [specSelector := (self class slices at:tabSelection) last] |
|
332 | 2364 |
]. |
825 | 2365 |
self specChannel value:specSelector. |
2366 |
(self window notNil and: [self window shown]) ifTrue: [self updateFonts] |
|
332 | 2367 |
|
2368 |
! ! |
|
2369 |
||
408 | 2370 |
!DataSetBuilder methodsFor:'startup / release'! |
2371 |
||
826 | 2372 |
openModal |
2373 |
"sets the modalOpened flag, so later, |
|
2374 |
there is no need to ask for saving into a class" |
|
2375 |
||
2376 |
modalOpened := true. |
|
2377 |
||
2378 |
super openModal |
|
2379 |
||
2380 |
||
2381 |
! |
|
2382 |
||
825 | 2383 |
openModalOnResourceSpec: aListSpec |
2384 |
"sets the modalOpened flag, so later, |
|
2385 |
there is no need to ask for saving into a class" |
|
419 | 2386 |
|
825 | 2387 |
modalOpened := true. |
2388 |
||
2389 |
super openModalOnResourceSpec: aListSpec |
|
2390 |
||
2391 |
||
409 | 2392 |
! |
2393 |
||
408 | 2394 |
postBuildWith:builder |
2395 |
||
818 | 2396 |
columnView := self builder componentAt:#columnView. |
2397 |
columnView labelView enabled:false. |
|
2398 |
||
408 | 2399 |
super postBuildWith:builder. |
2400 |
||
818 | 2401 |
(builder componentAt: #labelAndColumns) |
825 | 2402 |
selectConditionBlock: [:i|self askForItemModification]; |
419 | 2403 |
action: [:i|self cancel]; |
818 | 2404 |
selection: 1. |
408 | 2405 |
|
2406 |
||
825 | 2407 |
|
408 | 2408 |
! ! |
2409 |
||
419 | 2410 |
!DataSetBuilder methodsFor:'user actions'! |
2411 |
||
2412 |
accept |
|
2413 |
"accept changes made" |
|
2414 |
||
2415 |
|column type| |
|
2416 |
||
825 | 2417 |
super accept. |
419 | 2418 |
|
2419 |
(column := self selectedColumn) isNil ifTrue: [^self cancel]. |
|
2420 |
||
2421 |
type := (aspects at:#rendererType) value. |
|
2422 |
||
818 | 2423 |
type == #rowSelector ifTrue:[ |
419 | 2424 |
#(label width minWidth editorType choices readSelector writeSelector printSelector |
818 | 2425 |
formatString type size height canSelect selectSelector |
2426 |
) do:[:aKey| |
|
2427 |
(aspects at:aKey) value:nil |
|
2428 |
] |
|
419 | 2429 |
]. |
2430 |
aspects keysAndValuesDo:[:aKey :aModel| column perform:(aKey , ':') asSymbol with: aModel value]. |
|
818 | 2431 |
self seqList at:selectedColumnIndex put:(self labelFromColumn:column). |
419 | 2432 |
self updateColumnView. |
825 | 2433 |
self cancel. |
2434 |
modified := true. |
|
2435 |
||
419 | 2436 |
! |
2437 |
||
2438 |
cancel |
|
2439 |
"remove all changes and reload selected column values" |
|
2440 |
||
2441 |
self updateInputFields. |
|
421 | 2442 |
self valueOfEnablingCommitButtons value:false. |
419 | 2443 |
self columnIsNotEditing value: true. |
2444 |
! |
|
2445 |
||
818 | 2446 |
doBrowseRowClass |
419 | 2447 |
"browse class of columns spec" |
2448 |
||
2449 |
|cls| |
|
2450 |
||
825 | 2451 |
(cls := self resolveClassNamed) notNil |
419 | 2452 |
ifTrue: [SystemBrowser openInClass:cls] |
842 | 2453 |
ifFalse:[self information:'No class defined !!'] |
2454 |
||
2455 |
"Modified: / 20.5.1998 / 03:48:04 / cg" |
|
419 | 2456 |
! |
2457 |
||
825 | 2458 |
doCopy |
419 | 2459 |
"copy selected column to the clipboard" |
2460 |
||
2461 |
|idx| |
|
2462 |
||
2463 |
(idx := selectedColumnIndex) ~~ 0 |
|
2464 |
ifTrue: |
|
2465 |
[ |
|
2466 |
self clipboard: (columns at: idx) deepCopy |
|
2467 |
] |
|
2468 |
! |
|
2469 |
||
2470 |
doCreateColumn |
|
2471 |
"create a new column after selected column or at left (nothing selected)" |
|
2472 |
||
2473 |
|label list| |
|
2474 |
||
2475 |
list := self seqList. |
|
554 | 2476 |
label := 'Column ', (list size + 1) printString. |
419 | 2477 |
columns add:(DataSetColumnSpec label:label selector:nil) afterIndex:selectedColumnIndex. |
2478 |
self seqList add:label afterIndex:selectedColumnIndex. |
|
421 | 2479 |
self valueOfEnablingCommitButtons value ifFalse:[self selectedColumnModel value:selectedColumnIndex + 1]. |
818 | 2480 |
self cancel. |
825 | 2481 |
self updateColumnView. |
2482 |
modified := true. |
|
419 | 2483 |
|
2484 |
! |
|
2485 |
||
825 | 2486 |
doCut |
419 | 2487 |
"remove selected column and put it to the clipboard" |
2488 |
||
2489 |
|idx| |
|
2490 |
||
825 | 2491 |
((idx := selectedColumnIndex) ~~ 0 and: [self askForItemModification]) |
419 | 2492 |
ifTrue: |
2493 |
[ |
|
2494 |
self selectedColumnModel value:0. |
|
2495 |
self clipboard: (columns at: idx). |
|
2496 |
columns removeIndex:idx. |
|
2497 |
self seqList removeIndex:idx. |
|
555 | 2498 |
columns size > 0 ifTrue: [self selectedColumnModel value: ((idx - 1) max: 1)]. |
556 | 2499 |
self updateColumnView. |
555 | 2500 |
self updateInputFields. |
419 | 2501 |
columns isEmpty ifTrue: [self isColumnSelected value: false]. |
555 | 2502 |
self cancel. |
825 | 2503 |
modified := true. |
419 | 2504 |
] |
2505 |
! |
|
2506 |
||
818 | 2507 |
doDefineRowClass |
419 | 2508 |
"launch a dialog to define class and superclass" |
2509 |
||
2510 |
|aspects cls oldClass oldSuper| |
|
2511 |
||
2512 |
aspects := IdentityDictionary new. |
|
818 | 2513 |
oldClass := rowClass. |
2514 |
oldSuper := rowSuperClass. |
|
419 | 2515 |
|
2516 |
[true] |
|
2517 |
whileTrue: |
|
2518 |
[ |
|
818 | 2519 |
rowClass notNil |
419 | 2520 |
ifTrue: |
2521 |
[ |
|
825 | 2522 |
(cls := self resolveClassNamed) notNil |
419 | 2523 |
ifTrue: |
2524 |
[ |
|
818 | 2525 |
rowSuperClass := cls superclass name asString |
419 | 2526 |
]. |
846 | 2527 |
aspects at:#classNameChannel put:(ValueHolder with:rowClass) |
419 | 2528 |
] |
2529 |
ifFalse: |
|
2530 |
[ |
|
846 | 2531 |
aspects at:#classNameChannel put:(ValueHolder with:'DSVRow') |
419 | 2532 |
]. |
2533 |
||
818 | 2534 |
rowSuperClass notNil |
846 | 2535 |
ifTrue: [aspects at:#superclassNameChannel put:(ValueHolder with:rowSuperClass)] |
2536 |
ifFalse:[aspects at:#superclassNameChannel put:(ValueHolder with:'Object')]. |
|
419 | 2537 |
|
2538 |
(self openDialogInterface:#defineClassNameSpec withBindings:aspects) |
|
2539 |
ifFalse: |
|
2540 |
[ |
|
818 | 2541 |
rowClass := oldClass. |
2542 |
rowSuperClass := oldSuper. |
|
419 | 2543 |
^self |
2544 |
]. |
|
818 | 2545 |
rowClass := ((aspects at:#classNameChannel) value) withoutSeparators. |
2546 |
rowSuperClass := ((aspects at:#superclassNameChannel) value) withoutSeparators. |
|
419 | 2547 |
|
818 | 2548 |
rowClass size == 0 |
419 | 2549 |
ifTrue: |
2550 |
[ |
|
818 | 2551 |
rowClass := nil. |
419 | 2552 |
self information:'no valid className' |
2553 |
] |
|
2554 |
ifFalse: |
|
2555 |
[ |
|
825 | 2556 |
cls := self resolveClassNamed. |
419 | 2557 |
|
2558 |
cls notNil ifTrue:[cls := cls superclass name asString]. |
|
2559 |
||
818 | 2560 |
rowSuperClass size == 0 |
419 | 2561 |
ifTrue: |
2562 |
[ |
|
2563 |
cls notNil ifTrue:[ |
|
818 | 2564 |
rowSuperClass := cls |
419 | 2565 |
] ifFalse:[ |
818 | 2566 |
rowSuperClass := 'Object' |
419 | 2567 |
]. |
2568 |
self information: 'set superclassName' |
|
2569 |
] |
|
2570 |
ifFalse: |
|
2571 |
[ |
|
825 | 2572 |
(cls isNil or:[rowSuperClass = cls]) ifTrue:[^self]. |
818 | 2573 |
self information:('A global named ' , rowClass , ' exists,\' , |
2574 |
'but is not a subclass of ' , rowSuperClass, '.\\' , |
|
419 | 2575 |
'Check and try again if that is not what you want.') withCRs. |
2576 |
||
818 | 2577 |
rowSuperClass := cls |
419 | 2578 |
] |
2579 |
] |
|
2580 |
] |
|
846 | 2581 |
|
2582 |
"Modified: / 21.5.1998 / 03:08:42 / cg" |
|
419 | 2583 |
! |
2584 |
||
825 | 2585 |
doDelete |
2586 |
"remove selected column and put it to the clipboard" |
|
2587 |
||
2588 |
|idx| |
|
2589 |
||
2590 |
((idx := selectedColumnIndex) ~~ 0 and: [self askForItemModification]) |
|
2591 |
ifTrue: |
|
2592 |
[ |
|
2593 |
self selectedColumnModel value:0. |
|
2594 |
columns removeIndex:idx. |
|
2595 |
self seqList removeIndex:idx. |
|
2596 |
columns size > 0 ifTrue: [self selectedColumnModel value: ((idx - 1) max: 1)]. |
|
2597 |
self updateColumnView. |
|
2598 |
self updateInputFields. |
|
2599 |
columns isEmpty ifTrue: [self isColumnSelected value: false]. |
|
2600 |
self cancel. |
|
2601 |
modified := true. |
|
2602 |
] |
|
2603 |
! |
|
2604 |
||
419 | 2605 |
doGenerateCode |
2606 |
"generate code for column values" |
|
2607 |
||
2608 |
|cls superclass| |
|
2609 |
||
818 | 2610 |
rowClass isNil ifTrue:[^self information:'No class defined!!']. |
825 | 2611 |
cls := self resolveClassNamed. |
419 | 2612 |
|
2613 |
cls isNil |
|
2614 |
ifTrue: |
|
2615 |
[ |
|
818 | 2616 |
superclass := Smalltalk resolveName:rowSuperClass inClass:self class. |
419 | 2617 |
|
2618 |
superclass isNil ifTrue:[^self information:'No superclass defined!!']. |
|
818 | 2619 |
(self confirm:'create ' , rowClass , ' ?') ifFalse:[^self]. |
2620 |
cls := superclass subclass:rowClass asSymbol |
|
419 | 2621 |
instanceVariableNames:'' |
2622 |
classVariableNames:'' |
|
2623 |
poolDictionaries:'' |
|
2624 |
category:'Applications'. |
|
2625 |
]. |
|
2626 |
||
2627 |
self generateChoicesIn:cls. |
|
2628 |
self generateMenuIn:cls. |
|
2629 |
self generatePrintSelectorIn:cls. |
|
2630 |
self generateReadSelectorIn:cls. |
|
2631 |
self generateBackgroundSelectorIn:cls. |
|
2632 |
self generateForegroundSelectorIn:cls. |
|
2633 |
self generateSelectSelectorIn:cls. |
|
2634 |
self generateWriteSelectorIn:cls. |
|
2635 |
self generateDoubleClickSelectorIn:cls. |
|
2636 |
! |
|
2637 |
||
2638 |
doMoveColumn:upOrDown |
|
2639 |
"move selected column up or down" |
|
2640 |
||
2641 |
|idx list label col size| |
|
2642 |
||
2643 |
(idx := selectedColumnIndex) == 0 ifTrue:[^self]. |
|
2644 |
list := self seqList. |
|
2645 |
size := list size. |
|
2646 |
||
2647 |
size == 1 ifTrue:[^self]. |
|
2648 |
selectedColumnIndex := 0. |
|
2649 |
label := list at:idx. |
|
2650 |
col := columns at:idx. |
|
2651 |
list removeIndex:idx. |
|
2652 |
columns removeIndex:idx. |
|
2653 |
||
2654 |
upOrDown == #up |
|
2655 |
ifTrue: |
|
2656 |
[ |
|
2657 |
idx == 1 ifTrue:[idx := size] |
|
2658 |
ifFalse:[idx := idx - 1] |
|
2659 |
] |
|
2660 |
ifFalse: |
|
2661 |
[ |
|
2662 |
idx == size ifTrue:[idx := 1] |
|
2663 |
ifFalse:[idx := idx + 1] |
|
2664 |
]. |
|
2665 |
columns add:col beforeIndex:idx. |
|
2666 |
list add:label beforeIndex:idx. |
|
2667 |
self selectedColumnModel value:idx. |
|
2668 |
self updateColumnView. |
|
856 | 2669 |
modified := true. |
2670 |
||
419 | 2671 |
! |
2672 |
||
825 | 2673 |
doPaste |
419 | 2674 |
"paste clipboard copy column after selected column or at left (nothing selected)" |
2675 |
||
818 | 2676 |
|col lbl| |
419 | 2677 |
|
825 | 2678 |
self askForItemModification ifFalse: [^nil]. |
818 | 2679 |
col := self class clipboard deepCopy. |
2680 |
lbl := self labelFromColumn:col. |
|
2681 |
||
2682 |
columns add:col afterIndex:selectedColumnIndex. |
|
2683 |
self seqList add:lbl afterIndex:selectedColumnIndex. |
|
419 | 2684 |
|
818 | 2685 |
self valueOfEnablingCommitButtons value ifFalse:[ |
2686 |
self selectedColumnModel value:selectedColumnIndex + 1 |
|
2687 |
]. |
|
419 | 2688 |
self updateColumnView. |
556 | 2689 |
self updateInputFields. |
825 | 2690 |
modified := true. |
2691 |
||
818 | 2692 |
! |
2693 |
||
2694 |
doPickColumns |
|
2695 |
||
2696 |
|view cls| |
|
2697 |
||
2698 |
view := Screen current viewFromUser. |
|
2699 |
cls := view class. |
|
2700 |
||
2701 |
(cls == DSVColumnView or:[cls == DataSetView or:[cls == DSVLabelView]]) ifTrue:[ |
|
2702 |
self columns:(view columnView columnDescriptors) |
|
2703 |
] |
|
2704 |
! |
|
2705 |
||
2706 |
doSave |
|
2707 |
|cls dst spc idx category mthd excla code resourceType| |
|
2708 |
||
2709 |
(columns size ~~ 0 and:[super doSave]) ifFalse:[ |
|
2710 |
^ nil |
|
2711 |
]. |
|
2712 |
cls := self resolveName:specClass. |
|
2713 |
dst := columns collect:[:aCol| aCol literalArrayEncoding ]. |
|
2714 |
spc := WriteStream on:String new. |
|
2715 |
UISpecification prettyPrintSpecArray:dst asArray on:spc indent:4. |
|
2716 |
spc := spc contents. |
|
2717 |
idx := (spc indexOfNonSeparatorStartingAt:1) - 2. |
|
2718 |
||
2719 |
spc at:idx put:$^. |
|
2720 |
||
2721 |
"/ if that method already exists, do not overwrite the category |
|
2722 |
||
2723 |
resourceType := self class resourceType. |
|
2724 |
category := resourceType, ' specs'. |
|
2725 |
||
2726 |
(mthd := cls class compiledMethodAt:specSelector) notNil ifTrue:[ |
|
2727 |
category := mthd category. |
|
2728 |
]. |
|
2729 |
||
2730 |
excla := Character excla asString. |
|
2731 |
||
2732 |
code := excla |
|
2733 |
, (cls name , ' class methodsFor:' , category storeString) |
|
2734 |
, excla , '\\' |
|
2735 |
||
2736 |
, specSelector , '\' |
|
2737 |
, (self class codeGenerationComment replChar:$!! withString:'!!!!') |
|
2738 |
, '\\ "\' |
|
2739 |
, (' DataSetBuilder new openOnClass:' , cls name , ' andSelector:#' , specSelector , '\') |
|
2740 |
, ' "\'. |
|
2741 |
||
2742 |
code := code |
|
2743 |
, '\' |
|
2744 |
, ' <resource: #', resourceType, '>\\' |
|
2745 |
, spc |
|
2746 |
, '\' |
|
2747 |
, (excla , ' ' , excla) |
|
2748 |
, '\\'. |
|
2749 |
||
2750 |
code := code withCRs. |
|
2751 |
(ReadStream on:code) fileIn. |
|
2752 |
||
2753 |
"/ self isStandAlone ifTrue: [self helpTool installHelpSpecsOnClass:self specClass]. |
|
2754 |
||
2755 |
self updateHistory. |
|
2756 |
self updateInfoLabel. |
|
2757 |
||
2758 |
hasSaved := true. |
|
2759 |
modified := false. |
|
2760 |
||
419 | 2761 |
! ! |
2762 |
||
332 | 2763 |
!DataSetBuilder class methodsFor:'documentation'! |
2764 |
||
2765 |
version |
|
2766 |
^ '$Header$' |
|
2767 |
! ! |