author | Claus Gittinger <cg@exept.de> |
Wed, 03 Nov 2010 07:44:01 +0100 | |
changeset 2818 | 6d5a0ea87cb7 |
parent 2816 | 1832d595db94 |
child 2840 | 3fc46b951a0f |
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 |
" |
|
1382 | 12 |
"{ Package: 'stx:libtool2' }" |
13 |
||
818 | 14 |
ResourceSpecEditor subclass:#DataSetBuilder |
825 | 15 |
instanceVariableNames:'rowClass rowSuperClass columnView columns selectedColumnIndex |
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
16 |
modalOpened listOfSpecViews listOfItemsView editingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
17 |
acceptedColumns' |
816 | 18 |
classVariableNames:'' |
332 | 19 |
poolDictionaries:'' |
20 |
category:'Interface-UIPainter' |
|
21 |
! |
|
22 |
||
1033
21b3bc025e0c
removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents:
1019
diff
changeset
|
23 |
Array variableSubclass:#Row |
1004 | 24 |
instanceVariableNames:'' |
25 |
classVariableNames:'' |
|
26 |
poolDictionaries:'' |
|
27 |
privateIn:DataSetBuilder |
|
28 |
! |
|
29 |
||
332 | 30 |
!DataSetBuilder class methodsFor:'documentation'! |
31 |
||
32 |
copyright |
|
33 |
" |
|
825 | 34 |
COPYRIGHT (c) 1997 by eXept Software AG |
332 | 35 |
All Rights Reserved |
36 |
||
37 |
This software is furnished under a license and may be used |
|
38 |
only in accordance with the terms of that license and with the |
|
39 |
inclusion of the above copyright notice. This software may not |
|
40 |
be provided or otherwise made available to, or used by, any |
|
41 |
other person. No title to or ownership of the software is |
|
42 |
hereby transferred. |
|
43 |
" |
|
44 |
||
45 |
||
46 |
||
47 |
||
48 |
! |
|
49 |
||
50 |
documentation |
|
51 |
" |
|
52 |
create and modify or inspect dataset columns; used by UIPainter (DataSetColumnSpec) |
|
53 |
||
54 |
[see also:] |
|
55 |
DataSetColumnSpec |
|
56 |
DataSetSpec |
|
57 |
DataSetView |
|
58 |
DataSetColumn |
|
59 |
||
60 |
[author:] |
|
545 | 61 |
Claus Atzkern, eXept Software AG |
332 | 62 |
" |
63 |
||
64 |
! ! |
|
65 |
||
825 | 66 |
!DataSetBuilder class methodsFor:'accessing'! |
799
22734b99f830
added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents:
687
diff
changeset
|
67 |
|
818 | 68 |
resourceType |
69 |
"get the type of resource of the method generated by the MenuEditor" |
|
70 |
||
825 | 71 |
^#tableColumns |
72 |
||
73 |
||
74 |
! ! |
|
75 |
||
76 |
!DataSetBuilder class methodsFor:'aspects'! |
|
77 |
||
78 |
aspects |
|
79 |
"get the aspects for the attributes of the table columns" |
|
80 |
||
81 |
^#( |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
82 |
id |
2166 | 83 |
activeHelpKey |
2385
b7dafe79bd7c
allow for separate activeHelp for the label area
Claus Gittinger <cg@exept.de>
parents:
2382
diff
changeset
|
84 |
activeHelpKeyForLabel |
825 | 85 |
label |
86 |
canSelect |
|
87 |
choices |
|
1944 | 88 |
translatedChoices |
825 | 89 |
editorType |
90 |
formatString |
|
2475 | 91 |
formatSelector |
825 | 92 |
labelIsImage |
1262 | 93 |
labelButtonType |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
94 |
translateLabel |
1666 | 95 |
longStringCompression |
825 | 96 |
size |
97 |
type |
|
98 |
width |
|
99 |
minWidth |
|
1216 | 100 |
usePreferredWidth |
1452 | 101 |
isResizeable |
825 | 102 |
height |
103 |
menu |
|
2816 | 104 |
menuFromApplication |
825 | 105 |
foregroundSelector |
106 |
backgroundSelector |
|
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
107 |
selectedForegroundSelector |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
108 |
selectedBackgroundSelector |
825 | 109 |
doubleClickedSelector |
983 | 110 |
rowSeparatorSelector |
825 | 111 |
selectSelector |
1261 | 112 |
converterSelector |
1009 | 113 |
showComboFieldSelector |
825 | 114 |
printSelector |
115 |
readSelector |
|
116 |
writeSelector |
|
1731 | 117 |
visibilitySelector |
825 | 118 |
rendererType |
119 |
showColSeparator |
|
983 | 120 |
showSelectionHighLighted |
825 | 121 |
showRowSeparator |
122 |
backgroundColor |
|
123 |
foregroundColor |
|
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
124 |
selectedBackgroundColor |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
125 |
selectedForegroundColor |
825 | 126 |
labelForegroundColor |
127 |
labelBackgroundColor |
|
128 |
labelFont |
|
129 |
labelActionSelector |
|
130 |
labelActionArgument |
|
131 |
labelAlignment |
|
132 |
columnAlignment |
|
1822 | 133 |
minValue |
134 |
maxValue |
|
2475 | 135 |
isSortable |
2626 | 136 |
sortSelector |
2789 | 137 |
sortBlockSelector |
825 | 138 |
) |
139 |
||
2816 | 140 |
"Modified: / 25-10-2010 / 10:31:51 / cg" |
799
22734b99f830
added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents:
687
diff
changeset
|
141 |
! ! |
22734b99f830
added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents:
687
diff
changeset
|
142 |
|
528 | 143 |
!DataSetBuilder class methodsFor:'help specs'! |
144 |
||
1887 | 145 |
flyByHelpSpec |
146 |
"This resource specification was automatically generated |
|
147 |
by the UIHelpTool of ST/X." |
|
148 |
||
149 |
"Do not manually edit this!! If it is corrupted, |
|
150 |
the UIHelpTool may not be able to read the specification." |
|
151 |
||
152 |
" |
|
153 |
UIHelpTool openOnClass:DataSetBuilder |
|
154 |
" |
|
155 |
||
156 |
<resource: #help> |
|
157 |
||
158 |
^ super flyByHelpSpec addPairsFrom:#( |
|
159 |
||
160 |
#addColumn |
|
161 |
'Add a Column' |
|
162 |
||
2262 | 163 |
#addNonSelectableColumn |
164 |
'Add a Non-Selectable Column' |
|
165 |
||
1887 | 166 |
#fileLoad |
167 |
'Load Column Description from Method' |
|
168 |
||
169 |
#fileNew |
|
170 |
'New Column Description' |
|
171 |
||
172 |
#fileSave |
|
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
173 |
'Save the Column Description' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
174 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
175 |
#fileSaveMethod |
1887 | 176 |
'Save Column Description as Method' |
177 |
||
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
178 |
#fileSaveAsMethod |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
179 |
'Save Column Description as Method (ask for Class/Selector)' |
1887 | 180 |
|
181 |
#editCut |
|
182 |
'Cut Column' |
|
183 |
||
184 |
#editCopy |
|
185 |
'Copy Column' |
|
186 |
||
187 |
#editPaste |
|
188 |
'Paste Column' |
|
189 |
||
190 |
) |
|
191 |
! |
|
192 |
||
528 | 193 |
helpSpec |
818 | 194 |
"This resource specification was automatically generated |
195 |
by the UIHelpTool of ST/X." |
|
196 |
||
197 |
"Do not manually edit this!! If it is corrupted, |
|
198 |
the UIHelpTool may not be able to read the specification." |
|
528 | 199 |
|
200 |
" |
|
818 | 201 |
UIHelpTool openOnClass:DataSetBuilder |
528 | 202 |
" |
203 |
||
818 | 204 |
<resource: #help> |
205 |
||
1731 | 206 |
^ super helpSpec addPairsFrom:#( |
528 | 207 |
|
550 | 208 |
#addColumn |
209 |
'Adds a new column.' |
|
210 |
||
2262 | 211 |
#addNonSelectableColumn |
212 |
'Adds a new non-selectable column.' |
|
213 |
||
597 | 214 |
#basicsEditor |
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
215 |
'Default widget type or a selector returning an instance of a user defined widget opened in the cell.' |
528 | 216 |
|
597 | 217 |
#basicsFont |
1004 | 218 |
'Sets the font of the labeled text.' |
528 | 219 |
|
597 | 220 |
#basicsJustification |
1004 | 221 |
'Aligns the label to the left, right, or center in the cell.' |
528 | 222 |
|
1064 | 223 |
#basicsJustificationEditor |
224 |
'Aligns the column editor to the left, right, or center in the cell.' |
|
225 |
||
597 | 226 |
#basicsLabel |
1818 | 227 |
'The label of the column, a String or an array of Strings.' |
1004 | 228 |
|
229 |
#basicsLabelId |
|
230 |
'Unique identifier of the column (optional).' |
|
597 | 231 |
|
232 |
#basicsLabelIsImage |
|
1064 | 233 |
'Label is actually the selector of a message providing an image-label.' |
1004 | 234 |
|
235 |
#basicsLabelTranslate |
|
236 |
'Translate the label via the resource mechanism to a national language string.' |
|
528 | 237 |
|
597 | 238 |
#basicsRenderer |
239 |
'Specifies displaying cell as Text, CheckToggle, ComboBox, ComboList or as a RowSelector.' |
|
528 | 240 |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
241 |
#browseRowClass |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
242 |
'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
|
243 |
|
597 | 244 |
#colorsBackgroundCellColor |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
245 |
'The background color of the cell.' |
597 | 246 |
|
247 |
#colorsBackgroundLabelColor |
|
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
248 |
'The background color of the label.' |
528 | 249 |
|
597 | 250 |
#colorsBackgroundSelector |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
251 |
'Optional selector returning the background color for the cell.' |
528 | 252 |
|
597 | 253 |
#colorsForegroundCellColor |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
254 |
'The foreground color of the cell.' |
597 | 255 |
|
256 |
#colorsForegroundLabelColor |
|
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
257 |
'The foreground color of the label.' |
528 | 258 |
|
597 | 259 |
#colorsForegroundSelector |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
260 |
'Optional selector returning the foreground color for a cell.' |
528 | 261 |
|
1261 | 262 |
#converterSelector |
263 |
'Selector returning a TypeConverter on the model the argument or nil.' |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
264 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
265 |
#fileLoad |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
266 |
'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
|
267 |
|
1261 | 268 |
#fileNew |
269 |
'Discard changes and continue with a new, empty column description' |
|
270 |
||
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
271 |
#fileSave |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
272 |
'Install the column description' |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
273 |
|
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
274 |
#fileSaveAs |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
275 |
'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
|
276 |
|
1824 | 277 |
#formatFormatSelector |
2475 | 278 |
'Selector sent to the row to get the format string.' |
1824 | 279 |
|
597 | 280 |
#formatInputType |
281 |
'A type converter symbol used by the input field.' |
|
528 | 282 |
|
597 | 283 |
#formatMaxSize |
284 |
'Maximum size of the string which can be typed in. 0 or nil means unlimited.' |
|
528 | 285 |
|
597 | 286 |
#formatTextFormat |
2475 | 287 |
'Format string specifying the output format of the cell text. (printf-format - for example: %5.4f gives 0.0000).' |
597 | 288 |
|
289 |
#frameColumnWidth |
|
1202 | 290 |
'Width (fixed or relative) of a column (optional).' |
528 | 291 |
|
597 | 292 |
#frameMinWidth |
293 |
'Minimum width of the column (optional).' |
|
528 | 294 |
|
597 | 295 |
#frameRowHeight |
296 |
'Height of the row (optional).' |
|
297 |
||
298 |
#frameShowColumnSeparator |
|
299 |
'Turns on/off displaying column separators.' |
|
528 | 300 |
|
597 | 301 |
#frameShowRowSeparator |
302 |
'Turns on/off displaying row separators.' |
|
528 | 303 |
|
983 | 304 |
#frameShowRowSeparatorSelector |
1580 | 305 |
'Message selector to test if the bottom separator is shown.' |
983 | 306 |
|
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
307 |
#generateCode |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
308 |
'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
|
309 |
|
1580 | 310 |
#isResizable |
311 |
'Column can be resized by user.' |
|
312 |
||
2625 | 313 |
#isSortable |
314 |
'Adds indicator to allow user to sort rows based on this column.' |
|
315 |
||
829
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
316 |
#pickColumns |
dac49512301a
language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents:
826
diff
changeset
|
317 |
'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
|
318 |
|
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
319 |
#selectedBackgroundCellColor |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
320 |
'Optional background color of a selected cell.' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
321 |
|
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
322 |
#selectedBackgroundCellColorSelector |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
323 |
'Optional selector returning the background color for a selected cell.' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
324 |
|
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
325 |
#selectedForegroundCellColor |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
326 |
'Optional foreground color of a selected cell.' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
327 |
|
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
328 |
#selectedForegroundCellColorSelector |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
329 |
'Optional selector returning the foreground color for a selected cell.' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
330 |
|
597 | 331 |
#selectionCellClickSelector |
1753 | 332 |
'Message sent if cell is about to be selected - return boolean to en/disable editing' |
528 | 333 |
|
597 | 334 |
#selectionCellDoubleClickSelector |
1753 | 335 |
'Message sent if cell is double clicked' |
528 | 336 |
|
597 | 337 |
#selectionCellSelector |
1004 | 338 |
'Name of the message sent to the row to validate a selection.' |
528 | 339 |
|
597 | 340 |
#selectionIsSelectable |
341 |
'Turns on/off selection behavior of a column.' |
|
342 |
||
343 |
#selectionLabelClickSelector |
|
1754 | 344 |
'Message sent if a columns label was clicked on' |
528 | 345 |
|
597 | 346 |
#selectionLabelSelectorArgument |
1064 | 347 |
'An optional argument passed with the message above.' |
528 | 348 |
|
1009 | 349 |
#showComboFieldSelector |
350 |
'Selector which returns true if the editor on the ComboBox/List has an input field.' |
|
351 |
||
983 | 352 |
#showSelectionHighLighted |
353 |
'Show selected cell highligthened (change fg/bg color).' |
|
354 |
||
2789 | 355 |
#sortBlockSelector |
356 |
'Sent to the row to retrieve a selector which is sent to the application to provide a block for sorting.' |
|
357 |
||
2625 | 358 |
#sortSelector |
359 |
'Sent to the row to extract the value used for sorting. If a block is returned, that one is used as sortBlock.' |
|
360 |
||
1580 | 361 |
#usePreferredWidth |
362 |
'Compute width from first 10 row items.' |
|
363 |
||
1944 | 364 |
#valuesChoicesSelector |
1004 | 365 |
'Selector to get a collection of choices for a cell having a ComboBox or a ComboList widget.' |
528 | 366 |
|
2816 | 367 |
#valuesMenuFromApplication |
368 |
'Fetch the menu from the application (instead of the row)' |
|
369 |
||
597 | 370 |
#valuesMenuSelector |
2816 | 371 |
'Selector to retrieve the middle button menu.' |
597 | 372 |
|
373 |
#valuesPrintSelector |
|
1004 | 374 |
'Selector used to register images on a DSVColumnView (the arg). For more detailed info see #register... methods in DSVColumnView.' |
528 | 375 |
|
597 | 376 |
#valuesReadSelector |
1731 | 377 |
'Selector returning the label to be displayed (string, bitmap or a collection).' |
378 |
||
379 |
#valuesVisibilitySelector |
|
380 |
'Boolean message selector controlling the columns visibility.' |
|
528 | 381 |
|
597 | 382 |
#valuesWriteSelector |
1004 | 383 |
'Selector used to set the value derived from the editor.' |
528 | 384 |
|
1944 | 385 |
#valuesXChoicesSelector |
386 |
'Selector to get a collection of translated choices for a cell having a ComboBox or a ComboList widget.' |
|
387 |
||
528 | 388 |
) |
389 |
! ! |
|
390 |
||
881 | 391 |
!DataSetBuilder class methodsFor:'image specs'! |
392 |
||
393 |
newColumnIcon |
|
394 |
"This resource specification was automatically generated |
|
395 |
by the ImageEditor of ST/X." |
|
396 |
||
397 |
"Do not manually edit this!! If it is corrupted, |
|
398 |
the ImageEditor may not be able to read the specification." |
|
399 |
||
400 |
" |
|
401 |
self newColumnIcon inspect |
|
402 |
ImageEditor openOnClass:self andSelector:#newColumnIcon |
|
2262 | 403 |
Icon flushCachedIcons |
881 | 404 |
" |
405 |
||
406 |
<resource: #image> |
|
407 |
||
408 |
^Icon |
|
2262 | 409 |
constantNamed:#'DataSetBuilder class newColumnIcon' |
410 |
ifAbsentPut:[(Depth2Image new) width: 19; height: 22; photometric:(#palette); bitsPerSample:(#[2]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
411 |
U@@@@EQTUUUXUEQ***1TUF (+EQTX*H,UEQ"("1TUF (+EQTZ**,UEQ"("1TUFJ"KEQTX*H,UEQ HB1TUF**+EQTZ**,UEQ"H"1TUF@ KEQTX"@,UEQ"H"1T |
|
412 |
UF**+EQTZ**,UER???1TU@@@@EPb') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; mask:((Depth1Image new) width: 19; height: 22; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@') ; yourself); yourself] |
|
413 |
! |
|
414 |
||
415 |
newColumnNonSelectableIcon |
|
416 |
"This resource specification was automatically generated |
|
417 |
by the ImageEditor of ST/X." |
|
418 |
||
419 |
"Do not manually edit this!! If it is corrupted, |
|
420 |
the ImageEditor may not be able to read the specification." |
|
421 |
||
422 |
" |
|
423 |
self newColumnNonSelectableIcon inspect |
|
424 |
ImageEditor openOnClass:self andSelector:#newColumnNonSelectableIcon |
|
425 |
Icon flushCachedIcons |
|
426 |
" |
|
427 |
||
428 |
<resource: #image> |
|
429 |
||
430 |
^Icon |
|
431 |
constantNamed:#'DataSetBuilder class newColumnNonSelectableIcon' |
|
432 |
ifAbsentPut:[(Depth2Image new) width: 19; height: 22; photometric:(#palette); bitsPerSample:(#[2]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
433 |
U@@@@EQTUUUXUEQ***1TUF**+EQTX*(,UEQ"*"1TUFB(KEQTZJ",UEQ(HJ1TUF("+EQTZ J,UEQ*@*1TUF("+EQTZBB,UEQ(*J1TUFB(KEQTX*(,UEQ"*"1T |
|
434 |
UF**+EQTZ**,UER???1TU@@@@EPb') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; mask:((Depth1Image new) width: 19; height: 22; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@G?<@') ; yourself); yourself] |
|
1452 | 435 |
! ! |
881 | 436 |
|
528 | 437 |
!DataSetBuilder class methodsFor:'interface specs'! |
332 | 438 |
|
439 |
basicsEditSpec |
|
817 | 440 |
"This resource specification was automatically generated |
441 |
by the UIPainter of ST/X." |
|
332 | 442 |
|
817 | 443 |
"Do not manually edit this!! If it is corrupted, |
444 |
the UIPainter may not be able to read the specification." |
|
332 | 445 |
|
446 |
" |
|
447 |
UIPainter new openOnClass:DataSetBuilder andSelector:#basicsEditSpec |
|
448 |
DataSetBuilder new openInterface:#basicsEditSpec |
|
449 |
" |
|
450 |
||
451 |
<resource: #canvas> |
|
452 |
||
1156 | 453 |
^ |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
454 |
#(FullSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
455 |
name: basicsEditSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
456 |
window: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
457 |
(WindowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
458 |
label: 'DataSet Basic' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
459 |
name: 'DataSet Basic' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
460 |
min: (Point 10 10) |
2475 | 461 |
bounds: (Rectangle 0 0 389 473) |
1156 | 462 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
463 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
464 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
465 |
collection: ( |
2475 | 466 |
(VerticalPanelViewSpec |
467 |
name: 'VerticalPanel1' |
|
468 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
|
469 |
horizontalLayout: fit |
|
470 |
verticalLayout: top |
|
471 |
horizontalSpace: 3 |
|
472 |
verticalSpace: 3 |
|
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
473 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
474 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
475 |
collection: ( |
2475 | 476 |
(FramedBoxSpec |
477 |
label: 'Header:' |
|
478 |
name: 'headerFrame' |
|
479 |
labelPosition: topLeft |
|
2166 | 480 |
translateLabel: true |
2475 | 481 |
component: |
482 |
(SpecCollection |
|
483 |
collection: ( |
|
484 |
(LabelSpec |
|
485 |
label: 'ID:' |
|
486 |
name: 'idLabel' |
|
487 |
layout: (AlignmentOrigin 94 0 14 0 1 0.5) |
|
488 |
translateLabel: true |
|
489 |
resizeForLabel: true |
|
490 |
) |
|
491 |
(InputFieldSpec |
|
492 |
name: 'idField' |
|
493 |
layout: (LayoutFrame 97 0 0 0 2 1.0 22 0) |
|
494 |
activeHelpKey: basicsLabelId |
|
495 |
tabable: true |
|
496 |
model: id |
|
497 |
group: inputGroup |
|
498 |
acceptOnLostFocus: false |
|
499 |
acceptChannel: acceptChannel |
|
500 |
modifiedChannel: modifiedChannel |
|
501 |
acceptOnPointerLeave: false |
|
502 |
) |
|
503 |
(LabelSpec |
|
504 |
label: 'Label:' |
|
505 |
name: 'label1' |
|
506 |
layout: (AlignmentOrigin 94 0 39 0 1 0.5) |
|
507 |
translateLabel: true |
|
508 |
resizeForLabel: true |
|
509 |
) |
|
510 |
(InputFieldSpec |
|
511 |
name: 'labelField' |
|
512 |
layout: (LayoutFrame 97 0 28 0 2 1.0 50 0) |
|
513 |
activeHelpKey: basicsLabel |
|
514 |
tabable: true |
|
515 |
model: label |
|
516 |
group: inputGroup |
|
517 |
type: smalltalkObject |
|
518 |
immediateAccept: false |
|
519 |
acceptOnLeave: false |
|
520 |
acceptOnLostFocus: false |
|
521 |
acceptChannel: acceptChannel |
|
522 |
modifiedChannel: modifiedChannel |
|
523 |
acceptOnPointerLeave: false |
|
524 |
) |
|
525 |
(LabelSpec |
|
526 |
label: 'Font:' |
|
527 |
name: 'LabelFont' |
|
528 |
layout: (AlignmentOrigin 94 0 68 0 1 0.5) |
|
529 |
translateLabel: true |
|
530 |
resizeForLabel: true |
|
531 |
adjust: left |
|
532 |
) |
|
533 |
(FontMenuSpec |
|
534 |
name: 'fontMenu' |
|
535 |
layout: (LayoutFrame 97 0 56 0 0 1.0 78 0) |
|
536 |
activeHelpKey: labelFont |
|
537 |
model: style |
|
538 |
allowSymbolicFonts: true |
|
539 |
) |
|
540 |
(LabelSpec |
|
541 |
label: 'Type:' |
|
542 |
name: 'Type' |
|
543 |
layout: (AlignmentOrigin 52 0 100 0 1 0.5) |
|
544 |
translateLabel: true |
|
545 |
resizeForLabel: true |
|
546 |
adjust: right |
|
547 |
) |
|
548 |
(ComboListSpec |
|
549 |
name: 'labelButtonType' |
|
550 |
layout: (LayoutFrame 57 0 91 0 158 0 111 0) |
|
551 |
tabable: true |
|
552 |
model: labelButtonType |
|
553 |
comboList: |
|
554 |
(Array |
|
555 |
None Button |
|
556 |
Group |
|
557 |
) |
|
558 |
useIndex: false |
|
559 |
hidePullDownMenuButton: false |
|
560 |
) |
|
561 |
(LabelSpec |
|
562 |
label: 'Align:' |
|
563 |
name: 'JustificationLabel' |
|
564 |
layout: (AlignmentOrigin 243 0 100 0 1 0.5) |
|
565 |
translateLabel: true |
|
566 |
resizeForLabel: true |
|
567 |
adjust: right |
|
568 |
) |
|
569 |
(PopUpListSpec |
|
570 |
label: 'Alignment' |
|
571 |
name: 'Alignment' |
|
572 |
layout: (LayoutFrame 248 0 91 0 2 1.0 113 0) |
|
573 |
activeHelpKey: basicsJustification |
|
574 |
tabable: true |
|
575 |
model: labelAlignment |
|
576 |
menu: |
|
577 |
(Array |
|
578 |
left right |
|
579 |
center |
|
580 |
) |
|
581 |
) |
|
582 |
(CheckBoxSpec |
|
583 |
label: 'Label Is Image' |
|
584 |
name: 'labelIsImage' |
|
585 |
layout: (LayoutOrigin -3 0 120 0) |
|
586 |
activeHelpKey: basicsLabelIsImage |
|
587 |
tabable: true |
|
588 |
model: labelIsImage |
|
589 |
translateLabel: true |
|
590 |
) |
|
591 |
(CheckBoxSpec |
|
592 |
label: 'Translate Label' |
|
593 |
name: 'CheckBox2' |
|
594 |
layout: (LayoutOrigin 200 0 120 0) |
|
595 |
activeHelpKey: basicsLabelTranslate |
|
596 |
tabable: true |
|
597 |
model: translateLabel |
|
598 |
translateLabel: true |
|
599 |
) |
|
600 |
) |
|
601 |
||
408 | 602 |
) |
2475 | 603 |
extent: (Point 389 176) |
1156 | 604 |
) |
2475 | 605 |
(FramedBoxSpec |
606 |
label: 'Cell Type:' |
|
607 |
name: 'typesFrame' |
|
608 |
labelPosition: topLeft |
|
2166 | 609 |
translateLabel: true |
2475 | 610 |
component: |
611 |
(SpecCollection |
|
612 |
collection: ( |
|
613 |
(LabelSpec |
|
614 |
label: 'Renderer:' |
|
615 |
name: 'rendererLabel' |
|
616 |
layout: (AlignmentOrigin 94 0 16 0 1 0.5) |
|
617 |
translateLabel: true |
|
618 |
resizeForLabel: true |
|
619 |
) |
|
620 |
(ComboListSpec |
|
621 |
name: 'rendererField' |
|
622 |
layout: (LayoutFrame 97 0 5 0 2 1.0 27 0) |
|
623 |
activeHelpKey: basicsRenderer |
|
624 |
tabable: true |
|
625 |
model: rendererType |
|
626 |
comboList: rendererTypeList |
|
627 |
useIndex: false |
|
628 |
hidePullDownMenuButton: false |
|
629 |
) |
|
630 |
(LabelSpec |
|
631 |
label: 'Editor:' |
|
632 |
name: 'editorLabel' |
|
633 |
layout: (AlignmentOrigin 94 0 42 0 1 0.5) |
|
634 |
translateLabel: true |
|
635 |
resizeForLabel: true |
|
636 |
) |
|
637 |
(ComboBoxSpec |
|
638 |
name: 'editorField' |
|
639 |
layout: (LayoutFrame 97 0 31 0 2 1.0 53 0) |
|
640 |
activeHelpKey: basicsEditor |
|
641 |
tabable: true |
|
642 |
model: editorType |
|
643 |
type: symbolOrNil |
|
644 |
acceptOnLostFocus: false |
|
645 |
acceptChannel: acceptChannel |
|
646 |
modifiedChannel: modifiedChannel |
|
647 |
acceptOnPointerLeave: false |
|
648 |
comboList: editorTypeList |
|
649 |
useIndex: false |
|
650 |
isFilenameBox: false |
|
651 |
) |
|
652 |
(LabelSpec |
|
653 |
label: 'Align:' |
|
654 |
name: 'JustificationC' |
|
655 |
layout: (LayoutFrame -194 1 58 0 -114 1 79 0) |
|
656 |
translateLabel: true |
|
657 |
resizeForLabel: true |
|
658 |
adjust: right |
|
659 |
) |
|
660 |
(PopUpListSpec |
|
661 |
label: 'Alignment' |
|
662 |
name: 'AlignmentC' |
|
663 |
layout: (LayoutFrame -115 1 58 0 2 1.0 80 0) |
|
664 |
activeHelpKey: basicsJustificationEditor |
|
665 |
tabable: true |
|
666 |
model: columnAlignment |
|
667 |
menu: |
|
668 |
(Array |
|
669 |
left right |
|
2484
b6f8d141282f
support a hacky form of decimalRight alignmnet
Claus Gittinger <cg@exept.de>
parents:
2475
diff
changeset
|
670 |
center decimal decimalRight |
2475 | 671 |
) |
672 |
) |
|
673 |
(CheckBoxSpec |
|
674 |
label: 'Compress Long Strings' |
|
675 |
name: 'LongStringCompressionCheckBox' |
|
676 |
layout: (LayoutFrame -3 0 58 0 188 0 79 0) |
|
677 |
activeHelpKey: basicsLabelTranslate |
|
678 |
tabable: true |
|
679 |
model: longStringCompression |
|
680 |
translateLabel: true |
|
681 |
) |
|
682 |
) |
|
683 |
||
684 |
) |
|
685 |
extent: (Point 389 114) |
|
1156 | 686 |
) |
2475 | 687 |
(FramedBoxSpec |
688 |
label: 'Active Help:' |
|
689 |
name: 'activeHelpFrame' |
|
690 |
labelPosition: topLeft |
|
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
691 |
translateLabel: true |
2475 | 692 |
component: |
693 |
(SpecCollection |
|
694 |
collection: ( |
|
695 |
(LabelSpec |
|
696 |
label: 'Key:' |
|
697 |
name: 'Label1' |
|
698 |
layout: (AlignmentOrigin 94 0 14 0 1 0.5) |
|
699 |
translateLabel: true |
|
700 |
resizeForLabel: true |
|
701 |
) |
|
702 |
(InputFieldSpec |
|
703 |
name: 'EntryField1' |
|
704 |
layout: (LayoutFrame 97 0 0 0 2 1.0 22 0) |
|
705 |
activeHelpKey: basicsLabelId |
|
706 |
tabable: true |
|
707 |
model: activeHelpKey |
|
708 |
group: inputGroup |
|
709 |
acceptOnLostFocus: false |
|
710 |
acceptChannel: acceptChannel |
|
711 |
modifiedChannel: modifiedChannel |
|
712 |
acceptOnPointerLeave: false |
|
713 |
) |
|
714 |
(LabelSpec |
|
715 |
label: 'Key for Label:' |
|
716 |
name: 'Label2' |
|
717 |
layout: (AlignmentOrigin 94 0 42 0 1 0.5) |
|
718 |
translateLabel: true |
|
719 |
resizeForLabel: true |
|
720 |
) |
|
721 |
(InputFieldSpec |
|
722 |
name: 'EntryField2' |
|
723 |
layout: (LayoutFrame 97 0 28 0 2 1.0 50 0) |
|
724 |
activeHelpKey: basicsLabelId |
|
725 |
tabable: true |
|
726 |
model: activeHelpKeyForLabel |
|
727 |
group: inputGroup |
|
728 |
acceptOnLostFocus: false |
|
729 |
acceptChannel: acceptChannel |
|
730 |
modifiedChannel: modifiedChannel |
|
731 |
acceptOnPointerLeave: false |
|
732 |
) |
|
733 |
) |
|
734 |
||
735 |
) |
|
736 |
extent: (Point 389 81) |
|
2385
b7dafe79bd7c
allow for separate activeHelp for the label area
Claus Gittinger <cg@exept.de>
parents:
2382
diff
changeset
|
737 |
) |
2166 | 738 |
) |
739 |
||
740 |
) |
|
741 |
) |
|
1156 | 742 |
) |
743 |
||
744 |
) |
|
391 | 745 |
) |
746 |
! |
|
747 |
||
408 | 748 |
colorsEditSpec |
825 | 749 |
"This resource specification was automatically generated |
750 |
by the UIPainter of ST/X." |
|
332 | 751 |
|
825 | 752 |
"Do not manually edit this!! If it is corrupted, |
753 |
the UIPainter may not be able to read the specification." |
|
332 | 754 |
|
755 |
" |
|
408 | 756 |
UIPainter new openOnClass:DataSetBuilder andSelector:#colorsEditSpec |
757 |
DataSetBuilder new openInterface:#colorsEditSpec |
|
332 | 758 |
" |
759 |
||
760 |
<resource: #canvas> |
|
761 |
||
1156 | 762 |
^ |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
763 |
#(FullSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
764 |
name: colorsEditSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
765 |
window: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
766 |
(WindowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
767 |
label: 'DataSet Misc' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
768 |
name: 'DataSet Misc' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
769 |
min: (Point 10 10) |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
770 |
bounds: (Rectangle 0 0 369 451) |
1156 | 771 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
772 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
773 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
774 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
775 |
(FramedBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
776 |
label: 'Label Colors:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
777 |
name: 'ColorsBox' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
778 |
layout: (LayoutFrame 0 0.0 3 0 0 1.0 86 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
779 |
labelPosition: topLeft |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
780 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
781 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
782 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
783 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
784 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
785 |
label: 'Foreground:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
786 |
name: 'label1' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
787 |
layout: (AlignmentOrigin 112 0 14 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
788 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
789 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
790 |
adjust: right |
1156 | 791 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
792 |
(ColorMenuSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
793 |
name: 'colorMenu1' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
794 |
layout: (LayoutFrame 115 0 2 0 -3 1.0 24 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
795 |
activeHelpKey: colorsForegroundLabelColor |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
796 |
model: labelForegroundColor |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
797 |
labelsAreColored: true |
1156 | 798 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
799 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
800 |
label: 'Background:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
801 |
name: 'label2' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
802 |
layout: (AlignmentOrigin 112 0 42 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
803 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
804 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
805 |
adjust: right |
1156 | 806 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
807 |
(ColorMenuSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
808 |
name: 'colorMenu2' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
809 |
layout: (LayoutFrame 115 0 30 0 -3 1.0 52 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
810 |
activeHelpKey: colorsBackgroundLabelColor |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
811 |
model: labelBackgroundColor |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
812 |
labelsAreColored: false |
1156 | 813 |
) |
814 |
) |
|
815 |
||
332 | 816 |
) |
1156 | 817 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
818 |
(FramedBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
819 |
label: 'Cell Colors:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
820 |
name: 'defaultColorsBox' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
821 |
layout: (LayoutFrame 0 0.0 91 0 0 1.0 232 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
822 |
labelPosition: topLeft |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
823 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
824 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
825 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
826 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
827 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
828 |
label: 'Foreground:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
829 |
name: 'fgLabel' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
830 |
layout: (AlignmentOrigin 112 0 11 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
831 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
832 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
833 |
adjust: right |
1156 | 834 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
835 |
(ColorMenuSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
836 |
name: 'fgMenu' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
837 |
layout: (LayoutFrame 115 0 -1 0 -3 1.0 21 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
838 |
activeHelpKey: colorsForegroundCellColor |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
839 |
model: foregroundColor |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
840 |
labelsAreColored: true |
1156 | 841 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
842 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
843 |
label: 'Background:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
844 |
name: 'bgLabel' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
845 |
layout: (AlignmentOrigin 112 0 39 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
846 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
847 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
848 |
adjust: right |
1156 | 849 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
850 |
(ColorMenuSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
851 |
name: 'bgMenu' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
852 |
layout: (LayoutFrame 115 0 27 0 -3 1.0 49 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
853 |
activeHelpKey: colorsBackgroundCellColor |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
854 |
model: backgroundColor |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
855 |
labelsAreColored: false |
1156 | 856 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
857 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
858 |
label: 'FG-Selector:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
859 |
name: 'fgSelLabel' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
860 |
layout: (AlignmentOrigin 112 0 73 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
861 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
862 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
863 |
adjust: right |
1156 | 864 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
865 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
866 |
name: 'fgSelField' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
867 |
layout: (LayoutFrame 115 0 62 0 0 1.0 84 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
868 |
activeHelpKey: colorsForegroundSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
869 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
870 |
model: foregroundSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
871 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
872 |
type: symbolOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
873 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
874 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
875 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
876 |
acceptOnPointerLeave: false |
1156 | 877 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
878 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
879 |
label: 'BG-Selector:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
880 |
name: 'bgSelLabel' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
881 |
layout: (AlignmentOrigin 112 0 98 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
882 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
883 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
884 |
adjust: right |
1156 | 885 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
886 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
887 |
name: 'bgSelField' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
888 |
layout: (LayoutFrame 115 0 87 0 0 1.0 109 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
889 |
activeHelpKey: colorsBackgroundSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
890 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
891 |
model: backgroundSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
892 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
893 |
type: symbolOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
894 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
895 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
896 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
897 |
acceptOnPointerLeave: false |
1156 | 898 |
) |
899 |
) |
|
900 |
||
901 |
) |
|
902 |
) |
|
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
903 |
(FramedBoxSpec |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
904 |
label: 'Selected Cell Colors:' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
905 |
name: 'selectedCellColorsBox' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
906 |
layout: (LayoutFrame 0 0.0 236 0 0 1.0 377 0) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
907 |
labelPosition: topLeft |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
908 |
translateLabel: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
909 |
component: |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
910 |
(SpecCollection |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
911 |
collection: ( |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
912 |
(LabelSpec |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
913 |
label: 'Foreground:' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
914 |
name: 'selFgLabel' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
915 |
layout: (AlignmentOrigin 112 0 11 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
916 |
translateLabel: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
917 |
resizeForLabel: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
918 |
adjust: right |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
919 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
920 |
(ColorMenuSpec |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
921 |
name: 'selFgMenu' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
922 |
layout: (LayoutFrame 115 0 -1 0 -3 1.0 21 0) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
923 |
activeHelpKey: selectedForegroundCellColorSelector |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
924 |
model: selectedForegroundColor |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
925 |
labelsAreColored: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
926 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
927 |
(LabelSpec |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
928 |
label: 'Background:' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
929 |
name: 'selBgLabel' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
930 |
layout: (AlignmentOrigin 112 0 39 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
931 |
translateLabel: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
932 |
resizeForLabel: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
933 |
adjust: right |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
934 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
935 |
(ColorMenuSpec |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
936 |
name: 'selBgMenu' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
937 |
layout: (LayoutFrame 115 0 27 0 -3 1.0 49 0) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
938 |
activeHelpKey: colorsBackgroundCellColor |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
939 |
model: selectedBackgroundColor |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
940 |
labelsAreColored: false |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
941 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
942 |
(LabelSpec |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
943 |
label: 'FG-Selector:' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
944 |
name: 'Label3' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
945 |
layout: (AlignmentOrigin 112 0 73 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
946 |
translateLabel: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
947 |
resizeForLabel: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
948 |
adjust: right |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
949 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
950 |
(InputFieldSpec |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
951 |
name: 'EntryField1' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
952 |
layout: (LayoutFrame 115 0 62 0 0 1.0 84 0) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
953 |
activeHelpKey: colorsForegroundSelector |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
954 |
tabable: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
955 |
model: selectedForegroundSelector |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
956 |
group: inputGroup |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
957 |
type: symbolOrNil |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
958 |
acceptOnLostFocus: false |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
959 |
acceptChannel: acceptChannel |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
960 |
modifiedChannel: modifiedChannel |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
961 |
acceptOnPointerLeave: false |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
962 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
963 |
(LabelSpec |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
964 |
label: 'BG-Selector:' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
965 |
name: 'Label4' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
966 |
layout: (AlignmentOrigin 112 0 98 0 1 0.5) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
967 |
translateLabel: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
968 |
resizeForLabel: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
969 |
adjust: right |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
970 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
971 |
(InputFieldSpec |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
972 |
name: 'EntryField2' |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
973 |
layout: (LayoutFrame 115 0 87 0 0 1.0 109 0) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
974 |
activeHelpKey: colorsBackgroundSelector |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
975 |
tabable: true |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
976 |
model: selectedBackgroundSelector |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
977 |
group: inputGroup |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
978 |
type: symbolOrNil |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
979 |
acceptOnLostFocus: false |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
980 |
acceptChannel: acceptChannel |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
981 |
modifiedChannel: modifiedChannel |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
982 |
acceptOnPointerLeave: false |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
983 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
984 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
985 |
|
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
986 |
) |
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
987 |
) |
1156 | 988 |
) |
989 |
||
990 |
) |
|
332 | 991 |
) |
992 |
! |
|
993 |
||
528 | 994 |
defineClassNameSpec |
825 | 995 |
"This resource specification was automatically generated |
996 |
by the UIPainter of ST/X." |
|
528 | 997 |
|
825 | 998 |
"Do not manually edit this!! If it is corrupted, |
999 |
the UIPainter may not be able to read the specification." |
|
528 | 1000 |
|
1001 |
" |
|
1002 |
UIPainter new openOnClass:DataSetBuilder andSelector:#defineClassNameSpec |
|
1003 |
DataSetBuilder new openInterface:#defineClassNameSpec |
|
1004 |
" |
|
1005 |
||
1006 |
<resource: #canvas> |
|
1007 |
||
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1008 |
^ |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1009 |
#(FullSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1010 |
name: defineClassNameSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1011 |
window: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1012 |
(WindowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1013 |
label: 'Data Set Builder' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1014 |
name: 'Data Set Builder' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1015 |
min: (Point 10 10) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1016 |
bounds: (Rectangle 14 46 341 182) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1017 |
) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1018 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1019 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1020 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1021 |
(FramedBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1022 |
label: 'Class for code' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1023 |
name: 'framedBox1' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1024 |
layout: (LayoutFrame 0 0.0 3 0.0 0 1.0 -34 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1025 |
labelPosition: topLeft |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1026 |
translateLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1027 |
) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1028 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1029 |
label: 'Class:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1030 |
name: 'classLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1031 |
layout: (AlignmentOrigin 73 0.11 38 0 1 0.5) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1032 |
translateLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1033 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1034 |
adjust: right |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1035 |
) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1036 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1037 |
name: 'classNameInputField' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1038 |
layout: (LayoutFrame 77 0.11 27 0 -16 1.0 49 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1039 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1040 |
model: classNameChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1041 |
acceptOnPointerLeave: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1042 |
) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1043 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1044 |
label: 'Superclass:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1045 |
name: 'superClassLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1046 |
layout: (AlignmentOrigin 73 0.11 65 0 1 0.5) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1047 |
translateLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1048 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1049 |
adjust: right |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1050 |
) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1051 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1052 |
name: 'superclassNameInputField' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1053 |
layout: (LayoutFrame 76 0.11 55 0 -16 1.0 77 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1054 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1055 |
model: superclassNameChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1056 |
acceptOnPointerLeave: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1057 |
) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1058 |
(UISubSpecification |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1059 |
name: 'SubSpecification' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1060 |
layout: (LayoutFrame 0 0.0 -29 1 0 1.0 -5 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1061 |
majorKey: ToolApplicationModel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1062 |
minorKey: windowSpecForCommitWithoutChannels |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1063 |
) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1064 |
) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1065 |
|
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1066 |
) |
528 | 1067 |
) |
1068 |
! |
|
1069 |
||
370 | 1070 |
formatEditSpec |
825 | 1071 |
"This resource specification was automatically generated |
1072 |
by the UIPainter of ST/X." |
|
332 | 1073 |
|
825 | 1074 |
"Do not manually edit this!! If it is corrupted, |
1075 |
the UIPainter may not be able to read the specification." |
|
332 | 1076 |
|
1077 |
" |
|
370 | 1078 |
UIPainter new openOnClass:DataSetBuilder andSelector:#formatEditSpec |
1079 |
DataSetBuilder new openInterface:#formatEditSpec |
|
1080 |
" |
|
1081 |
||
1082 |
<resource: #canvas> |
|
1083 |
||
1156 | 1084 |
^ |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1085 |
#(FullSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1086 |
name: formatEditSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1087 |
window: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1088 |
(WindowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1089 |
label: 'DataSet Details' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1090 |
name: 'DataSet Details' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1091 |
min: (Point 10 10) |
1824 | 1092 |
bounds: (Rectangle 0 0 388 149) |
1156 | 1093 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1094 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1095 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1096 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1097 |
(FramedBoxSpec |
2382 | 1098 |
label: 'Column Format' |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1099 |
name: 'framedBox1' |
1824 | 1100 |
layout: (LayoutFrame 0 0.0 3 0 0 1.0 149 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1101 |
labelPosition: topLeft |
2262 | 1102 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1103 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1104 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1105 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1106 |
(LabelSpec |
2382 | 1107 |
label: 'Type:' |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1108 |
name: 'typeLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1109 |
layout: (AlignmentOrigin 115 0 26 0 1 0.5) |
1824 | 1110 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1111 |
resizeForLabel: true |
2475 | 1112 |
activeHelpKey: formatInputType |
1156 | 1113 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1114 |
(ComboListSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1115 |
name: 'typeCombo' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1116 |
layout: (LayoutFrame 118 0 15 0 3 1.0 37 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1117 |
activeHelpKey: formatInputType |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1118 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1119 |
model: type |
2262 | 1120 |
comboList: possiblePrintConverterTypes |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1121 |
useIndex: false |
1824 | 1122 |
hidePullDownMenuButton: false |
1156 | 1123 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1124 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1125 |
label: 'Max Size:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1126 |
name: 'sizeLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1127 |
layout: (AlignmentOrigin 115 0 52 0 1 0.5) |
1824 | 1128 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1129 |
resizeForLabel: true |
2475 | 1130 |
activeHelpKey: formatMaxSize |
1156 | 1131 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1132 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1133 |
name: 'sizeField' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1134 |
layout: (LayoutFrame 118 0 41 0 3 1.0 63 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1135 |
activeHelpKey: formatMaxSize |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1136 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1137 |
model: size |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1138 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1139 |
type: numberOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1140 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1141 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1142 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1143 |
acceptOnPointerLeave: false |
1156 | 1144 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1145 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1146 |
label: 'Text Format:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1147 |
name: 'formatLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1148 |
layout: (AlignmentOrigin 115 0 77 0 1 0.5) |
1824 | 1149 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1150 |
resizeForLabel: true |
2475 | 1151 |
activeHelpKey: formatTextFormat |
1156 | 1152 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1153 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1154 |
name: 'formatField' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1155 |
layout: (LayoutFrame 118 0 66 0 3 1.0 88 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1156 |
activeHelpKey: formatTextFormat |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1157 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1158 |
model: formatString |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1159 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1160 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1161 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1162 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1163 |
acceptOnPointerLeave: false |
1156 | 1164 |
) |
1824 | 1165 |
(LabelSpec |
1166 |
label: 'Format Selector:' |
|
1167 |
name: 'formatSelectorLabel' |
|
1168 |
layout: (AlignmentOrigin 115 0 103 0 1 0.5) |
|
1169 |
translateLabel: true |
|
1170 |
resizeForLabel: true |
|
2475 | 1171 |
activeHelpKey: formatFormatSelector |
1824 | 1172 |
) |
1173 |
(InputFieldSpec |
|
1174 |
name: 'formatSelector' |
|
1175 |
layout: (LayoutFrame 118 0 92 0 3 1.0 114 0) |
|
2475 | 1176 |
activeHelpKey: formatFormatSelector |
1824 | 1177 |
tabable: true |
1178 |
model: formatSelector |
|
1179 |
group: inputGroup |
|
1180 |
acceptOnLostFocus: false |
|
1181 |
acceptChannel: acceptChannel |
|
1182 |
modifiedChannel: modifiedChannel |
|
1183 |
acceptOnPointerLeave: false |
|
1184 |
) |
|
1156 | 1185 |
) |
1186 |
||
370 | 1187 |
) |
1156 | 1188 |
) |
1189 |
) |
|
1190 |
||
1191 |
) |
|
370 | 1192 |
) |
1193 |
! |
|
1194 |
||
408 | 1195 |
frameEditSpec |
825 | 1196 |
"This resource specification was automatically generated |
1197 |
by the UIPainter of ST/X." |
|
391 | 1198 |
|
825 | 1199 |
"Do not manually edit this!! If it is corrupted, |
1200 |
the UIPainter may not be able to read the specification." |
|
391 | 1201 |
|
1202 |
" |
|
408 | 1203 |
UIPainter new openOnClass:DataSetBuilder andSelector:#frameEditSpec |
1204 |
DataSetBuilder new openInterface:#frameEditSpec |
|
391 | 1205 |
" |
1206 |
||
1207 |
<resource: #canvas> |
|
1208 |
||
1156 | 1209 |
^ |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1210 |
#(FullSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1211 |
name: frameEditSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1212 |
window: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1213 |
(WindowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1214 |
label: 'DataSet Dimension' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1215 |
name: 'DataSet Dimension' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1216 |
min: (Point 10 10) |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
1217 |
bounds: (Rectangle 0 0 396 313) |
1156 | 1218 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1219 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1220 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1221 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1222 |
(FramedBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1223 |
label: 'Separators' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1224 |
name: 'separatorBox' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1225 |
layout: (LayoutFrame 0 0.0 3 0 0 1.0 132 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1226 |
labelPosition: topLeft |
1875 | 1227 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1228 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1229 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1230 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1231 |
(CheckBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1232 |
label: 'Show Row-Separator' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1233 |
name: 'showRowSeparator' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1234 |
layout: (LayoutFrame 5 0 15 0 293 0 38 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1235 |
activeHelpKey: frameShowRowSeparator |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1236 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1237 |
model: showRowSeparator |
1875 | 1238 |
translateLabel: true |
1156 | 1239 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1240 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1241 |
name: 'rowSeparatorSelector' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1242 |
layout: (LayoutFrame 142 0 41 0 2 1.0 63 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1243 |
activeHelpKey: frameShowRowSeparatorSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1244 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1245 |
model: rowSeparatorSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1246 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1247 |
type: symbolOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1248 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1249 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1250 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1251 |
acceptOnPointerLeave: false |
1156 | 1252 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1253 |
(CheckBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1254 |
label: 'Show Column-Separator' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1255 |
name: 'showColSeparator' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1256 |
layout: (LayoutFrame 5 0 70 0 294 0 93 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1257 |
activeHelpKey: frameShowColumnSeparator |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1258 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1259 |
model: showColSeparator |
1875 | 1260 |
translateLabel: true |
1156 | 1261 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1262 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1263 |
label: 'Selector:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1264 |
name: 'Label1' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1265 |
layout: (LayoutFrame 80 0.0 44 0 140 0.0 61 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1266 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1267 |
adjust: right |
1875 | 1268 |
translateLabel: true |
1580 | 1269 |
) |
1156 | 1270 |
) |
1271 |
||
391 | 1272 |
) |
1156 | 1273 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1274 |
(FramedBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1275 |
label: 'Dimensions:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1276 |
name: 'framedBox1' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1277 |
layout: (LayoutFrame 0 0.0 133 0 0 1.0 305 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1278 |
labelPosition: topLeft |
1875 | 1279 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1280 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1281 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1282 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1283 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1284 |
label: 'Column Width:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1285 |
name: 'widthLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1286 |
layout: (AlignmentOrigin 140 0.0 23 0 1 0.5) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1287 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1288 |
adjust: right |
1875 | 1289 |
translateLabel: true |
1156 | 1290 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1291 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1292 |
name: 'widthField' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1293 |
layout: (LayoutFrame 142 0 12 0 2 1.0 34 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1294 |
activeHelpKey: frameColumnWidth |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1295 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1296 |
model: width |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1297 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1298 |
type: numberOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1299 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1300 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1301 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1302 |
acceptOnPointerLeave: false |
1156 | 1303 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1304 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1305 |
label: 'Min. Width:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1306 |
name: 'minWidthLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1307 |
layout: (AlignmentOrigin 140 0.0 51 0 1 0.5) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1308 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1309 |
adjust: right |
1875 | 1310 |
translateLabel: true |
1156 | 1311 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1312 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1313 |
name: 'minWidthField' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1314 |
layout: (LayoutFrame 142 0 40 0 2 1.0 62 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1315 |
activeHelpKey: frameMinWidth |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1316 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1317 |
model: minWidth |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1318 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1319 |
type: numberOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1320 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1321 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1322 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1323 |
acceptOnPointerLeave: false |
1156 | 1324 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1325 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1326 |
label: 'Row Height:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1327 |
name: 'heightLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1328 |
layout: (AlignmentOrigin 140 0.0 79 0 1 0.5) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1329 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1330 |
adjust: right |
1875 | 1331 |
translateLabel: true |
1156 | 1332 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1333 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1334 |
name: 'heightField' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1335 |
layout: (LayoutFrame 142 0 68 0 2 1.0 90 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1336 |
activeHelpKey: frameRowHeight |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1337 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1338 |
model: height |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1339 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1340 |
type: numberOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1341 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1342 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1343 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1344 |
acceptOnPointerLeave: false |
1156 | 1345 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1346 |
(CheckBoxSpec |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
1347 |
label: 'Compute Width from Items' |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1348 |
name: 'usePreferredWidth' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
1349 |
layout: (LayoutFrame 5 0 96 0 -5 1 118 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1350 |
activeHelpKey: usePreferredWidth |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1351 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1352 |
model: usePreferredWidth |
1875 | 1353 |
translateLabel: true |
1216 | 1354 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1355 |
(CheckBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1356 |
label: 'Is Resizeable' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1357 |
name: 'isResizeable' |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
1358 |
layout: (LayoutFrame 5 0 121 0 -5 1.0 144 0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1359 |
activeHelpKey: isResizeable |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1360 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1361 |
model: isResizeable |
1875 | 1362 |
translateLabel: true |
1452 | 1363 |
) |
1156 | 1364 |
) |
1365 |
||
1366 |
) |
|
1367 |
) |
|
1368 |
) |
|
1369 |
||
1370 |
) |
|
391 | 1371 |
) |
1372 |
! |
|
1373 |
||
408 | 1374 |
selectionEditSpec |
825 | 1375 |
"This resource specification was automatically generated |
1376 |
by the UIPainter of ST/X." |
|
370 | 1377 |
|
825 | 1378 |
"Do not manually edit this!! If it is corrupted, |
1379 |
the UIPainter may not be able to read the specification." |
|
370 | 1380 |
|
1381 |
" |
|
408 | 1382 |
UIPainter new openOnClass:DataSetBuilder andSelector:#selectionEditSpec |
1383 |
DataSetBuilder new openInterface:#selectionEditSpec |
|
332 | 1384 |
" |
1385 |
||
1386 |
<resource: #canvas> |
|
1387 |
||
1156 | 1388 |
^ |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1389 |
#(FullSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1390 |
name: selectionEditSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1391 |
window: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1392 |
(WindowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1393 |
label: 'DataSet Basic' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1394 |
name: 'DataSet Basic' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1395 |
min: (Point 10 10) |
1857 | 1396 |
bounds: (Rectangle 0 0 331 328) |
1156 | 1397 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1398 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1399 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1400 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1401 |
(FramedBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1402 |
label: 'Label Select Action:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1403 |
name: 'LabelSelectAction' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1404 |
layout: (LayoutFrame 0 0.0 3 0 0 1.0 97 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1405 |
labelPosition: topLeft |
1875 | 1406 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1407 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1408 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1409 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1410 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1411 |
label: 'Selector:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1412 |
name: 'ActionLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1413 |
layout: (AlignmentOrigin 95 0 20 0 1 0.5) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1414 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1415 |
adjust: left |
1875 | 1416 |
translateLabel: true |
1156 | 1417 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1418 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1419 |
name: 'ActionSelector' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1420 |
layout: (LayoutFrame 98 0 9 0 3 1.0 31 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1421 |
activeHelpKey: selectionLabelClickSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1422 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1423 |
model: labelActionSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1424 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1425 |
type: symbolOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1426 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1427 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1428 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1429 |
acceptOnPointerLeave: false |
1156 | 1430 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1431 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1432 |
label: 'Argument:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1433 |
name: 'ArgumentLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1434 |
layout: (AlignmentOrigin 95 0 48 0 1 0.5) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1435 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1436 |
adjust: left |
1875 | 1437 |
translateLabel: true |
1156 | 1438 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1439 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1440 |
name: 'ArgumentValue' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1441 |
layout: (LayoutFrame 98 0 37 0 3 1.0 59 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1442 |
activeHelpKey: selectionLabelSelectorArgument |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1443 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1444 |
model: labelActionArgument |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1445 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1446 |
type: string |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1447 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1448 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1449 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1450 |
acceptOnPointerLeave: false |
1156 | 1451 |
) |
1452 |
) |
|
1453 |
||
408 | 1454 |
) |
1156 | 1455 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1456 |
(FramedBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1457 |
label: 'Cell Selection:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1458 |
name: 'CellSelection' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1459 |
layout: (LayoutFrame 0 0.0 105 0 0 1.0 215 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1460 |
labelPosition: topLeft |
1875 | 1461 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1462 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1463 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1464 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1465 |
(CheckBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1466 |
label: 'Is Selectable' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1467 |
name: 'canSelect' |
1857 | 1468 |
layout: (Point 95 -4) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1469 |
activeHelpKey: selectionIsSelectable |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1470 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1471 |
model: canSelect |
1875 | 1472 |
translateLabel: true |
1156 | 1473 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1474 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1475 |
label: 'Selector:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1476 |
name: 'selectorLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1477 |
layout: (AlignmentOrigin 95 0 37 0 1 0.5) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1478 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1479 |
adjust: right |
1875 | 1480 |
translateLabel: true |
2816 | 1481 |
activeHelpKey: selectionCellClickSelector |
1156 | 1482 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1483 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1484 |
name: 'selectSelector' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1485 |
layout: (LayoutFrame 98 0 26 0 3 1.0 48 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1486 |
activeHelpKey: selectionCellClickSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1487 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1488 |
model: selectSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1489 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1490 |
type: symbolOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1491 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1492 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1493 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1494 |
acceptOnPointerLeave: false |
1156 | 1495 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1496 |
(CheckBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1497 |
label: 'Show Selection HighLightened' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1498 |
name: 'showSelectionHighLightened' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1499 |
layout: (LayoutFrame 95 0 53 0 3 1.0 77 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1500 |
activeHelpKey: showSelectionHighLighted |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1501 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1502 |
model: showSelectionHighLighted |
1875 | 1503 |
translateLabel: true |
1156 | 1504 |
) |
1505 |
) |
|
1506 |
||
1507 |
) |
|
1508 |
) |
|
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1509 |
(FramedBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1510 |
label: 'Cell Double Click:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1511 |
name: 'CellDoubleClick' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1512 |
layout: (LayoutFrame 0 0.0 227 0 0 1.0 293 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1513 |
labelPosition: topLeft |
1875 | 1514 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1515 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1516 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1517 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1518 |
(LabelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1519 |
label: 'Selector:' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1520 |
name: 'doubleLabel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1521 |
layout: (AlignmentOrigin 95 0 19 0 1 0.5) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1522 |
resizeForLabel: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1523 |
adjust: right |
1875 | 1524 |
translateLabel: true |
2816 | 1525 |
activeHelpKey: selectionCellDoubleClickSelector |
1156 | 1526 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1527 |
(InputFieldSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1528 |
name: 'doubleClicked' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1529 |
layout: (LayoutFrame 98 0 8 0 3 1.0 30 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1530 |
activeHelpKey: selectionCellDoubleClickSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1531 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1532 |
model: doubleClickedSelector |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1533 |
group: inputGroup |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1534 |
type: symbolOrNil |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1535 |
acceptOnLostFocus: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1536 |
acceptChannel: acceptChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1537 |
modifiedChannel: modifiedChannel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1538 |
acceptOnPointerLeave: false |
1156 | 1539 |
) |
1540 |
) |
|
1541 |
||
1542 |
) |
|
1543 |
) |
|
1544 |
) |
|
1545 |
||
1546 |
) |
|
408 | 1547 |
) |
2816 | 1548 |
|
1549 |
"Modified: / 25-10-2010 / 10:29:42 / cg" |
|
408 | 1550 |
! |
1551 |
||
528 | 1552 |
slices |
1553 |
^#( |
|
1554 |
(Basics basicsEditSpec) |
|
1555 |
(Values valuesEditSpec) |
|
1556 |
(Format formatEditSpec) |
|
2475 | 1557 |
(Sort sortEditSpec) |
528 | 1558 |
(Selection selectionEditSpec) |
1559 |
(Frame frameEditSpec) |
|
1560 |
(Colors colorsEditSpec) |
|
1561 |
) |
|
1562 |
! |
|
1563 |
||
2475 | 1564 |
sortEditSpec |
1565 |
"This resource specification was automatically generated |
|
1566 |
by the UIPainter of ST/X." |
|
1567 |
||
1568 |
"Do not manually edit this!! If it is corrupted, |
|
1569 |
the UIPainter may not be able to read the specification." |
|
1570 |
||
1571 |
" |
|
1572 |
UIPainter new openOnClass:DataSetBuilder andSelector:#sortEditSpec |
|
1573 |
DataSetBuilder new openInterface:#sortEditSpec |
|
1574 |
" |
|
1575 |
||
1576 |
<resource: #canvas> |
|
1577 |
||
1578 |
^ |
|
1579 |
#(FullSpec |
|
1580 |
name: sortEditSpec |
|
1581 |
window: |
|
1582 |
(WindowSpec |
|
1583 |
label: 'DataSet Basic' |
|
1584 |
name: 'DataSet Basic' |
|
1585 |
min: (Point 10 10) |
|
2789 | 1586 |
bounds: (Rectangle 0 0 430 473) |
2475 | 1587 |
) |
1588 |
component: |
|
1589 |
(SpecCollection |
|
1590 |
collection: ( |
|
1591 |
(VerticalPanelViewSpec |
|
1592 |
name: 'VerticalPanel1' |
|
1593 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
|
1594 |
horizontalLayout: fit |
|
1595 |
verticalLayout: top |
|
1596 |
horizontalSpace: 3 |
|
1597 |
verticalSpace: 3 |
|
1598 |
component: |
|
1599 |
(SpecCollection |
|
1600 |
collection: ( |
|
1601 |
(FramedBoxSpec |
|
1602 |
label: 'Sorting:' |
|
1603 |
name: 'sortFrame' |
|
1604 |
labelPosition: topLeft |
|
1605 |
translateLabel: true |
|
1606 |
component: |
|
1607 |
(SpecCollection |
|
1608 |
collection: ( |
|
1609 |
(CheckBoxSpec |
|
1610 |
label: 'Sortable' |
|
1611 |
name: 'isSortable' |
|
1612 |
layout: (LayoutOrigin -3 0 0 0) |
|
1613 |
activeHelpKey: isSortable |
|
1614 |
tabable: true |
|
1615 |
model: isSortable |
|
1616 |
translateLabel: true |
|
1617 |
) |
|
1618 |
(LabelSpec |
|
1619 |
label: 'Sort Selector:' |
|
1620 |
name: 'sortSelector' |
|
2789 | 1621 |
layout: (LayoutFrame 35 0 33 0 107 0 51 0) |
2475 | 1622 |
activeHelpKey: sortSelector |
1623 |
translateLabel: true |
|
1624 |
resizeForLabel: true |
|
1625 |
adjust: right |
|
1626 |
) |
|
1627 |
(InputFieldSpec |
|
1628 |
name: 'EntryField3' |
|
2789 | 1629 |
layout: (LayoutFrame 110 0 30 0 2 1 56 0) |
2475 | 1630 |
activeHelpKey: sortSelector |
1631 |
enableChannel: isSortable |
|
1632 |
tabable: true |
|
1633 |
model: sortSelector |
|
1634 |
group: inputGroup |
|
1635 |
type: symbolOrNil |
|
1636 |
immediateAccept: false |
|
1637 |
acceptOnLeave: false |
|
1638 |
acceptOnLostFocus: false |
|
1639 |
acceptChannel: acceptChannel |
|
1640 |
modifiedChannel: modifiedChannel |
|
1641 |
acceptOnPointerLeave: false |
|
1642 |
) |
|
2789 | 1643 |
(LabelSpec |
1644 |
label: 'Sort Block Selector:' |
|
1645 |
name: 'Label1' |
|
1646 |
layout: (LayoutFrame -5 0 66 0 107 0 84 0) |
|
1647 |
activeHelpKey: sortBlockSelector |
|
1648 |
translateLabel: true |
|
1649 |
resizeForLabel: true |
|
1650 |
adjust: right |
|
1651 |
) |
|
1652 |
(InputFieldSpec |
|
1653 |
name: 'EntryField4' |
|
1654 |
layout: (LayoutFrame 110 0 63 0 2 1 89 0) |
|
1655 |
activeHelpKey: sortBlockSelector |
|
1656 |
enableChannel: isSortable |
|
1657 |
tabable: true |
|
1658 |
model: sortBlockSelector |
|
1659 |
group: inputGroup |
|
1660 |
type: symbolOrNil |
|
1661 |
immediateAccept: false |
|
1662 |
acceptOnLeave: false |
|
1663 |
acceptOnLostFocus: false |
|
1664 |
acceptChannel: acceptChannel |
|
1665 |
modifiedChannel: modifiedChannel |
|
1666 |
acceptOnPointerLeave: false |
|
1667 |
) |
|
2475 | 1668 |
) |
1669 |
||
1670 |
) |
|
2789 | 1671 |
extent: (Point 430 122) |
2475 | 1672 |
) |
1673 |
) |
|
1674 |
||
1675 |
) |
|
1676 |
) |
|
1677 |
) |
|
1678 |
||
1679 |
) |
|
1680 |
) |
|
1681 |
! |
|
1682 |
||
408 | 1683 |
valuesEditSpec |
825 | 1684 |
"This resource specification was automatically generated |
1685 |
by the UIPainter of ST/X." |
|
408 | 1686 |
|
825 | 1687 |
"Do not manually edit this!! If it is corrupted, |
1688 |
the UIPainter may not be able to read the specification." |
|
408 | 1689 |
|
1690 |
" |
|
1691 |
UIPainter new openOnClass:DataSetBuilder andSelector:#valuesEditSpec |
|
1692 |
DataSetBuilder new openInterface:#valuesEditSpec |
|
1693 |
" |
|
1694 |
||
1695 |
<resource: #canvas> |
|
1696 |
||
1156 | 1697 |
^ |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1698 |
#(FullSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1699 |
name: valuesEditSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1700 |
window: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1701 |
(WindowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1702 |
label: 'DataSet Basic' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1703 |
name: 'DataSet Basic' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1704 |
min: (Point 10 10) |
2816 | 1705 |
bounds: (Rectangle 0 0 471 417) |
1156 | 1706 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1707 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1708 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
1709 |
collection: ( |
2816 | 1710 |
(VerticalPanelViewSpec |
1711 |
name: 'VerticalPanel1' |
|
1712 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
|
1713 |
horizontalLayout: fit |
|
1714 |
verticalLayout: top |
|
1715 |
horizontalSpace: 3 |
|
1716 |
verticalSpace: 3 |
|
1822 | 1717 |
component: |
1718 |
(SpecCollection |
|
1719 |
collection: ( |
|
2816 | 1720 |
(FramedBoxSpec |
1721 |
label: 'Value Selectors:' |
|
1722 |
name: 'valuesBox' |
|
1723 |
labelPosition: topLeft |
|
1944 | 1724 |
translateLabel: true |
2816 | 1725 |
component: |
1726 |
(SpecCollection |
|
1727 |
collection: ( |
|
1728 |
(LabelSpec |
|
1729 |
label: 'Read:' |
|
1730 |
name: 'readLabel' |
|
1731 |
layout: (AlignmentOrigin 94 0 15 0 1 0.5) |
|
1732 |
activeHelpKey: valuesReadSelector |
|
1733 |
translateLabel: true |
|
1734 |
resizeForLabel: true |
|
1735 |
adjust: right |
|
1736 |
) |
|
1737 |
(InputFieldSpec |
|
1738 |
name: 'readSelector' |
|
1739 |
layout: (LayoutFrame 97 0 4 0 2 1.0 26 0) |
|
1740 |
activeHelpKey: valuesReadSelector |
|
1741 |
tabable: true |
|
1742 |
model: readSelector |
|
1743 |
group: inputGroup |
|
1744 |
type: symbolOrNil |
|
1745 |
acceptOnLostFocus: false |
|
1746 |
acceptChannel: acceptChannel |
|
1747 |
modifiedChannel: modifiedChannel |
|
1748 |
acceptOnPointerLeave: false |
|
1749 |
) |
|
1750 |
(LabelSpec |
|
1751 |
label: 'Write:' |
|
1752 |
name: 'writeLabel' |
|
1753 |
layout: (AlignmentOrigin 94 0 40 0 1 0.5) |
|
1754 |
activeHelpKey: valuesWriteSelector |
|
1755 |
translateLabel: true |
|
1756 |
resizeForLabel: true |
|
1757 |
adjust: right |
|
1758 |
) |
|
1759 |
(InputFieldSpec |
|
1760 |
name: 'writeSelector' |
|
1761 |
layout: (LayoutFrame 97 0 29 0 2 1.0 51 0) |
|
1762 |
activeHelpKey: valuesWriteSelector |
|
1763 |
tabable: true |
|
1764 |
model: writeSelector |
|
1765 |
group: inputGroup |
|
1766 |
type: symbolOrNil |
|
1767 |
acceptOnLostFocus: false |
|
1768 |
acceptChannel: acceptChannel |
|
1769 |
modifiedChannel: modifiedChannel |
|
1770 |
acceptOnPointerLeave: false |
|
1771 |
) |
|
1772 |
(LabelSpec |
|
1773 |
label: 'Converter:' |
|
1774 |
name: 'converterLabel' |
|
1775 |
layout: (AlignmentOrigin 94 0 65 0 1 0.5) |
|
1776 |
activeHelpKey: converterSelector |
|
1777 |
translateLabel: true |
|
1778 |
resizeForLabel: true |
|
1779 |
adjust: right |
|
1780 |
) |
|
1781 |
(InputFieldSpec |
|
1782 |
name: 'converterField' |
|
1783 |
layout: (LayoutFrame 97 0 54 0 2 1.0 76 0) |
|
1784 |
activeHelpKey: converterSelector |
|
1785 |
tabable: true |
|
1786 |
model: converterSelector |
|
1787 |
group: inputGroup |
|
1788 |
type: symbolOrNil |
|
1789 |
acceptOnLostFocus: false |
|
1790 |
acceptChannel: acceptChannel |
|
1791 |
modifiedChannel: modifiedChannel |
|
1792 |
acceptOnPointerLeave: false |
|
1793 |
) |
|
1794 |
(LabelSpec |
|
1795 |
label: 'Print:' |
|
1796 |
name: 'printLabel' |
|
1797 |
layout: (AlignmentOrigin 94 0 90 0 1 0.5) |
|
1798 |
activeHelpKey: valuesPrintSelector |
|
1799 |
translateLabel: true |
|
1800 |
resizeForLabel: true |
|
1801 |
adjust: right |
|
1802 |
) |
|
1803 |
(InputFieldSpec |
|
1804 |
name: 'printSelector' |
|
1805 |
layout: (LayoutFrame 97 0 79 0 2 1.0 101 0) |
|
1806 |
activeHelpKey: valuesPrintSelector |
|
1807 |
tabable: true |
|
1808 |
model: printSelector |
|
1809 |
group: inputGroup |
|
1810 |
type: symbolOrNil |
|
1811 |
acceptOnLostFocus: false |
|
1812 |
acceptChannel: acceptChannel |
|
1813 |
modifiedChannel: modifiedChannel |
|
1814 |
acceptOnPointerLeave: false |
|
1815 |
) |
|
1816 |
(LabelSpec |
|
1817 |
label: 'Visibility:' |
|
1818 |
name: 'visibilityLabel' |
|
1819 |
layout: (AlignmentOrigin 94 0 115 0 1 0.5) |
|
1820 |
activeHelpKey: valuesVisibilitySelector |
|
1821 |
translateLabel: true |
|
1822 |
resizeForLabel: true |
|
1823 |
adjust: right |
|
1824 |
) |
|
1825 |
(InputFieldSpec |
|
1826 |
name: 'visibilitySelector' |
|
1827 |
layout: (LayoutFrame 97 0 104 0 2 1.0 126 0) |
|
1828 |
activeHelpKey: valuesVisibilitySelector |
|
1829 |
tabable: true |
|
1830 |
model: visibilitySelector |
|
1831 |
group: inputGroup |
|
1832 |
type: symbolOrNil |
|
1833 |
acceptOnLostFocus: false |
|
1834 |
acceptChannel: acceptChannel |
|
1835 |
modifiedChannel: modifiedChannel |
|
1836 |
acceptOnPointerLeave: false |
|
1837 |
) |
|
1838 |
) |
|
1839 |
||
1840 |
) |
|
1841 |
extent: (Point 471 160) |
|
1156 | 1842 |
) |
2816 | 1843 |
(FramedBoxSpec |
1844 |
label: 'Range:' |
|
1845 |
name: 'rangeBox' |
|
1846 |
labelPosition: topLeft |
|
1944 | 1847 |
translateLabel: true |
2816 | 1848 |
component: |
1849 |
(SpecCollection |
|
1850 |
collection: ( |
|
1851 |
(LabelSpec |
|
1852 |
label: 'Min:' |
|
1853 |
name: 'Label1' |
|
1854 |
layout: (LayoutFrame 11 0 3 0 94 0 20 0) |
|
1855 |
activeHelpKey: minValue |
|
1856 |
translateLabel: true |
|
1857 |
resizeForLabel: true |
|
1858 |
adjust: right |
|
1859 |
) |
|
1860 |
(InputFieldSpec |
|
1861 |
name: 'EntryField1' |
|
1862 |
layout: (LayoutFrame 97 0 1 0 20 0.5 23 0) |
|
1863 |
activeHelpKey: minValue |
|
1864 |
tabable: true |
|
1865 |
model: minValue |
|
1866 |
group: inputGroup |
|
1867 |
type: numberOrNil |
|
1868 |
acceptOnLeave: true |
|
1869 |
acceptOnLostFocus: true |
|
1870 |
acceptChannel: acceptChannel |
|
1871 |
modifiedChannel: modifiedChannel |
|
1872 |
acceptOnPointerLeave: true |
|
1873 |
) |
|
1874 |
(LabelSpec |
|
1875 |
label: 'Max:' |
|
1876 |
name: 'Label2' |
|
1877 |
layout: (LayoutFrame 21 0.5 3 0 70 0.5 20 0) |
|
1878 |
activeHelpKey: maxValue |
|
1879 |
translateLabel: true |
|
1880 |
resizeForLabel: true |
|
1881 |
adjust: right |
|
1882 |
) |
|
1883 |
(InputFieldSpec |
|
1884 |
name: 'EntryField2' |
|
1885 |
layout: (LayoutFrame 70 0.5 1 0 -2 1.0 23 0) |
|
1886 |
activeHelpKey: maxValue |
|
1887 |
tabable: true |
|
1888 |
model: maxValue |
|
1889 |
group: inputGroup |
|
1890 |
type: numberOrNil |
|
1891 |
acceptOnLeave: true |
|
1892 |
acceptOnLostFocus: true |
|
1893 |
acceptChannel: acceptChannel |
|
1894 |
modifiedChannel: modifiedChannel |
|
1895 |
acceptOnPointerLeave: true |
|
1896 |
) |
|
1897 |
) |
|
1898 |
||
1899 |
) |
|
1900 |
extent: (Point 471 56) |
|
1156 | 1901 |
) |
2816 | 1902 |
(FramedBoxSpec |
1903 |
label: 'Popup Menu:' |
|
1904 |
name: 'menusBox' |
|
1905 |
labelPosition: topLeft |
|
1944 | 1906 |
translateLabel: true |
2816 | 1907 |
component: |
1908 |
(SpecCollection |
|
1909 |
collection: ( |
|
1910 |
(LabelSpec |
|
1911 |
label: 'Selector:' |
|
1912 |
name: 'menuLabel' |
|
1913 |
layout: (AlignmentOrigin 94 0 12 0 1 0.5) |
|
1914 |
activeHelpKey: valuesMenuSelector |
|
1915 |
translateLabel: true |
|
1916 |
resizeForLabel: true |
|
1917 |
adjust: right |
|
1918 |
) |
|
1919 |
(InputFieldSpec |
|
1920 |
name: 'menuSelector' |
|
1921 |
layout: (LayoutFrame 97 0 1 0 2 1.0 23 0) |
|
1922 |
activeHelpKey: valuesMenuSelector |
|
1923 |
tabable: true |
|
1924 |
model: menu |
|
1925 |
group: inputGroup |
|
1926 |
type: symbolOrNil |
|
1927 |
acceptOnLostFocus: false |
|
1928 |
acceptChannel: acceptChannel |
|
1929 |
modifiedChannel: modifiedChannel |
|
1930 |
acceptOnPointerLeave: false |
|
1931 |
) |
|
1932 |
(CheckBoxSpec |
|
1933 |
label: 'Fetch Menu from Application' |
|
1934 |
name: 'CheckBox1' |
|
1935 |
layout: (LayoutFrame 93 0 28 0 375 0 50 0) |
|
1936 |
activeHelpKey: valuesMenuFromApplication |
|
1937 |
model: menuFromApplication |
|
1938 |
translateLabel: true |
|
1939 |
valueChangeSelector: setModified |
|
1940 |
) |
|
1941 |
) |
|
1942 |
||
1943 |
) |
|
1944 |
extent: (Point 471 80) |
|
1944 | 1945 |
) |
2816 | 1946 |
(FramedBoxSpec |
1947 |
label: 'Combo List/Box Selectors:' |
|
1948 |
name: 'comboSelectorsBox' |
|
1949 |
labelPosition: topLeft |
|
1944 | 1950 |
translateLabel: true |
2816 | 1951 |
component: |
1952 |
(SpecCollection |
|
1953 |
collection: ( |
|
1954 |
(LabelSpec |
|
1955 |
label: 'Choices:' |
|
1956 |
name: 'ChoicesLabel' |
|
1957 |
layout: (AlignmentOrigin 94 0 15 0 1 0.5) |
|
1958 |
activeHelpKey: valuesChoicesSelector |
|
1959 |
translateLabel: true |
|
1960 |
resizeForLabel: true |
|
1961 |
adjust: right |
|
1962 |
) |
|
1963 |
(InputFieldSpec |
|
1964 |
name: 'ChoicesField' |
|
1965 |
layout: (LayoutFrame 97 0 4 0 2 1.0 26 0) |
|
1966 |
activeHelpKey: valuesChoicesSelector |
|
1967 |
tabable: true |
|
1968 |
model: choices |
|
1969 |
group: inputGroup |
|
1970 |
type: symbolOrNil |
|
1971 |
acceptOnLeave: false |
|
1972 |
acceptOnLostFocus: false |
|
1973 |
acceptChannel: acceptChannel |
|
1974 |
modifiedChannel: modifiedChannel |
|
1975 |
acceptOnPointerLeave: false |
|
1976 |
) |
|
1977 |
(LabelSpec |
|
1978 |
label: 'Xlated Choices:' |
|
1979 |
name: 'XChoicesLabel' |
|
1980 |
layout: (AlignmentOrigin 94 0 40 0 1 0.5) |
|
1981 |
activeHelpKey: valuesXChoicesSelector |
|
1982 |
translateLabel: true |
|
1983 |
resizeForLabel: true |
|
1984 |
adjust: right |
|
1985 |
) |
|
1986 |
(InputFieldSpec |
|
1987 |
name: 'XChoicesField' |
|
1988 |
layout: (LayoutFrame 97 0 29 0 2 1.0 51 0) |
|
1989 |
activeHelpKey: valuesXChoicesSelector |
|
1990 |
tabable: true |
|
1991 |
model: translatedChoices |
|
1992 |
group: inputGroup |
|
1993 |
type: symbolOrNil |
|
1994 |
acceptOnLeave: false |
|
1995 |
acceptOnLostFocus: false |
|
1996 |
acceptChannel: acceptChannel |
|
1997 |
modifiedChannel: modifiedChannel |
|
1998 |
acceptOnPointerLeave: false |
|
1999 |
) |
|
2000 |
(LabelSpec |
|
2001 |
label: 'Editable:' |
|
2002 |
name: 'EditableLabel' |
|
2003 |
layout: (AlignmentOrigin 94 0 65 0 1 0.5) |
|
2004 |
activeHelpKey: showComboFieldSelector |
|
2005 |
translateLabel: true |
|
2006 |
resizeForLabel: true |
|
2007 |
adjust: right |
|
2008 |
) |
|
2009 |
(InputFieldSpec |
|
2010 |
name: 'EditableField' |
|
2011 |
layout: (LayoutFrame 97 0 54 0 2 1.0 76 0) |
|
2012 |
activeHelpKey: showComboFieldSelector |
|
2013 |
tabable: true |
|
2014 |
model: showComboFieldSelector |
|
2015 |
group: inputGroup |
|
2016 |
type: symbolOrNil |
|
2017 |
acceptOnLeave: false |
|
2018 |
acceptOnLostFocus: false |
|
2019 |
acceptChannel: acceptChannel |
|
2020 |
modifiedChannel: modifiedChannel |
|
2021 |
acceptOnPointerLeave: false |
|
2022 |
) |
|
2023 |
) |
|
2024 |
||
2025 |
) |
|
2026 |
extent: (Point 471 107) |
|
1156 | 2027 |
) |
2028 |
) |
|
2029 |
||
2030 |
) |
|
2031 |
) |
|
2032 |
) |
|
2033 |
||
2034 |
) |
|
332 | 2035 |
) |
2036 |
! |
|
2037 |
||
2038 |
windowSpec |
|
817 | 2039 |
"This resource specification was automatically generated |
2040 |
by the UIPainter of ST/X." |
|
332 | 2041 |
|
817 | 2042 |
"Do not manually edit this!! If it is corrupted, |
2043 |
the UIPainter may not be able to read the specification." |
|
332 | 2044 |
|
2045 |
" |
|
2046 |
UIPainter new openOnClass:DataSetBuilder andSelector:#windowSpec |
|
2047 |
DataSetBuilder new openInterface:#windowSpec |
|
817 | 2048 |
DataSetBuilder open |
332 | 2049 |
" |
2050 |
||
2051 |
<resource: #canvas> |
|
2052 |
||
1156 | 2053 |
^ |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2054 |
#(FullSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2055 |
name: windowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2056 |
window: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2057 |
(WindowSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2058 |
label: 'Data Set Builder' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2059 |
name: 'Data Set Builder' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2060 |
min: (Point 10 10) |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
2061 |
bounds: (Rectangle 0 0 633 658) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2062 |
menu: menu |
1156 | 2063 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2064 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2065 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2066 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2067 |
(MenuPanelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2068 |
name: 'menuToolbarView' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2069 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 32 0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2070 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2071 |
menu: menuToolbar |
1156 | 2072 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2073 |
(VariableVerticalPanelSpec |
2000 | 2074 |
name: 'mainPanel' |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2075 |
layout: (LayoutFrame 0 0.0 38 0.0 0 1.0 -26 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2076 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2077 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2078 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2079 |
(FramedBoxSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2080 |
label: 'Table Columns' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2081 |
name: 'FramedBox' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2082 |
labelPosition: topLeft |
1875 | 2083 |
translateLabel: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2084 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2085 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2086 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2087 |
(DataSetSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2088 |
name: 'columnView' |
2262 | 2089 |
layout: (LayoutFrame 0 0.0 6 0.0 0 1.0 2 1.0) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2090 |
hasHorizontalScrollBar: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2091 |
hasVerticalScrollBar: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2092 |
miniScrollerHorizontal: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2093 |
useIndex: false |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2094 |
has3Dseparators: true |
1156 | 2095 |
) |
2096 |
) |
|
2097 |
||
2098 |
) |
|
2099 |
) |
|
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2100 |
(VariableHorizontalPanelSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2101 |
name: 'VariablePanel' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2102 |
level: -1 |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2103 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2104 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2105 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2106 |
(ViewSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2107 |
name: 'labelsView' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2108 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2109 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2110 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2111 |
(SequenceViewSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2112 |
name: 'labelAndColumns' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2113 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2114 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2115 |
model: selectedColumnModel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2116 |
menu: menuEdit |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2117 |
hasHorizontalScrollBar: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2118 |
hasVerticalScrollBar: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2119 |
miniScrollerHorizontal: true |
2262 | 2120 |
isMultiSelect: true |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2121 |
useIndex: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2122 |
sequenceList: seqList |
825 | 2123 |
) |
1156 | 2124 |
) |
2125 |
||
332 | 2126 |
) |
2262 | 2127 |
postBuildCallback: postBuildListOfItemsView: |
332 | 2128 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2129 |
(ViewSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2130 |
name: 'specView' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2131 |
level: -1 |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2132 |
component: |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2133 |
(SpecCollection |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2134 |
collection: ( |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2135 |
(NoteBookViewSpec |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2136 |
name: 'NoteBook' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2137 |
layout: (LayoutFrame 1 0.0 0 0.0 0 1.0 -30 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2138 |
tabable: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2139 |
model: tabModel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2140 |
menu: tabList |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2141 |
useIndex: true |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2142 |
canvas: canvasHolder |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2143 |
keepCanvasAlive: true |
1156 | 2144 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2145 |
(UISubSpecification |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2146 |
name: 'SubSpecification' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2147 |
layout: (LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2148 |
majorKey: ToolApplicationModel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2149 |
minorKey: windowSpecForCommit |
1156 | 2150 |
) |
2151 |
) |
|
2152 |
||
2153 |
) |
|
2262 | 2154 |
postBuildCallback: postBuildSpecView: |
1156 | 2155 |
) |
2156 |
) |
|
2157 |
||
332 | 2158 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2159 |
handles: (Any 0.235387 1.0) |
1156 | 2160 |
) |
2161 |
) |
|
2162 |
||
332 | 2163 |
) |
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
2164 |
handles: (Any 0.208748 1.0) |
1156 | 2165 |
) |
1737
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2166 |
(UISubSpecification |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2167 |
name: 'infoBarSubSpec' |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2168 |
layout: (LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2169 |
majorKey: ToolApplicationModel |
de6abd3c55d2
Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents:
1731
diff
changeset
|
2170 |
minorKey: windowSpecForInfoBar |
1156 | 2171 |
) |
2172 |
) |
|
2173 |
||
2174 |
) |
|
332 | 2175 |
) |
2176 |
! ! |
|
2177 |
||
2178 |
!DataSetBuilder class methodsFor:'menu specs'! |
|
2179 |
||
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2180 |
fileMenu |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2181 |
"This resource specification was automatically generated |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2182 |
by the MenuEditor of ST/X." |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2183 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2184 |
"Do not manually edit this!! If it is corrupted, |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2185 |
the MenuEditor may not be able to read the specification." |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2186 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2187 |
" |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2188 |
MenuEditor new openOnClass:DataSetBuilder andSelector:#fileMenu |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2189 |
(Menu new fromLiteralArrayEncoding:(DataSetBuilder fileMenu)) startUp |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2190 |
" |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2191 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2192 |
<resource: #menu> |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2193 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2194 |
^ |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2195 |
#(Menu |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2196 |
( |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2197 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2198 |
activeHelpKey: fileNew |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2199 |
label: 'New' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2200 |
itemValue: doNew |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2201 |
translateLabel: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2202 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2203 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2204 |
label: '-' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2205 |
isVisible: notEditingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2206 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2207 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2208 |
activeHelpKey: fileLoad |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2209 |
label: 'Load...' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2210 |
itemValue: doLoad |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2211 |
translateLabel: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2212 |
isVisible: notEditingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2213 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2214 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2215 |
label: '-' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2216 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2217 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2218 |
activeHelpKey: fileSave |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2219 |
label: 'Save' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2220 |
itemValue: doSave |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2221 |
translateLabel: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2222 |
isVisible: editingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2223 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2224 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2225 |
activeHelpKey: fileSaveMethod |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2226 |
label: 'Save' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2227 |
itemValue: doSave |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2228 |
translateLabel: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2229 |
isVisible: notEditingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2230 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2231 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2232 |
activeHelpKey: fileSaveAsMethod |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2233 |
label: 'Save As...' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2234 |
itemValue: doSaveAs |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2235 |
translateLabel: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2236 |
isVisible: notEditingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2237 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2238 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2239 |
label: '-' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2240 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2241 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2242 |
activeHelpKey: pickColumns |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2243 |
label: 'Pick Columns...' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2244 |
itemValue: doPickColumns |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2245 |
translateLabel: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2246 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2247 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2248 |
label: '-' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2249 |
isVisible: isStandAlone |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2250 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2251 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2252 |
activeHelpKey: fileBrowseClass |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2253 |
label: 'Browse Class' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2254 |
itemValue: doBrowseClass |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2255 |
translateLabel: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2256 |
isVisible: isStandAlone |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2257 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2258 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2259 |
label: '-' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2260 |
isVisible: isStandAlone |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2261 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2262 |
(MenuItem |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2263 |
activeHelpKey: fileExit |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2264 |
label: 'Exit' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2265 |
itemValue: closeRequest |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2266 |
translateLabel: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2267 |
isVisible: isStandAlone |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2268 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2269 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2270 |
nil |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2271 |
nil |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2272 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2273 |
! |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2274 |
|
408 | 2275 |
menu |
818 | 2276 |
"This resource specification was automatically generated |
2277 |
by the MenuEditor of ST/X." |
|
332 | 2278 |
|
818 | 2279 |
"Do not manually edit this!! If it is corrupted, |
2280 |
the MenuEditor may not be able to read the specification." |
|
332 | 2281 |
|
2282 |
" |
|
408 | 2283 |
MenuEditor new openOnClass:DataSetBuilder andSelector:#menu |
2284 |
(Menu new fromLiteralArrayEncoding:(DataSetBuilder menu)) startUp |
|
332 | 2285 |
" |
2286 |
||
2287 |
<resource: #menu> |
|
2288 |
||
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2289 |
^ |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2290 |
#(Menu |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2291 |
( |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2292 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2293 |
label: 'File' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2294 |
translateLabel: true |
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2295 |
submenuChannel: fileMenu |
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2296 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2297 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2298 |
label: 'Edit' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2299 |
translateLabel: true |
2262 | 2300 |
submenuChannel: menuEditWithoutAccelerators |
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2301 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2302 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2303 |
label: 'Add' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2304 |
translateLabel: true |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2305 |
submenu: |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2306 |
(Menu |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2307 |
( |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2308 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2309 |
activeHelpKey: addColumn |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2310 |
enabled: columnIsNotEditing |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2311 |
label: 'Column' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2312 |
itemValue: doCreateColumn |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2313 |
translateLabel: true |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2314 |
labelImage: (ResourceRetriever nil newColumnIcon 'Column') |
521 | 2315 |
) |
2262 | 2316 |
(MenuItem |
2317 |
activeHelpKey: addNonSelectableColumn |
|
2318 |
enabled: columnIsNotEditing |
|
2319 |
label: 'Column (Non-Selectable)' |
|
2320 |
itemValue: doCreateNonSelectableColumn |
|
2321 |
translateLabel: true |
|
2322 |
labelImage: (ResourceRetriever DataSetBuilder newColumnNonSelectableIcon 'Column (Non-Selectable)') |
|
2323 |
) |
|
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2324 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2325 |
nil |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2326 |
nil |
521 | 2327 |
) |
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2328 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2329 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2330 |
label: 'Generate' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2331 |
translateLabel: true |
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2332 |
isVisible: notEditingSpecOnly |
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2333 |
submenu: |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2334 |
(Menu |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2335 |
( |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2336 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2337 |
activeHelpKey: fileDefineClass |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2338 |
label: 'Define Row Class...' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2339 |
itemValue: doDefineRowClass |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2340 |
translateLabel: true |
818 | 2341 |
) |
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2342 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2343 |
activeHelpKey: browseRowClass |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2344 |
label: 'Browse Row Class' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2345 |
itemValue: doBrowseRowClass |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2346 |
translateLabel: true |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2347 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2348 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2349 |
label: '-' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2350 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2351 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2352 |
activeHelpKey: generateCode |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2353 |
label: 'Generate Code' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2354 |
itemValue: doGenerateCode |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2355 |
translateLabel: true |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2356 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2357 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2358 |
nil |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2359 |
nil |
818 | 2360 |
) |
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2361 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2362 |
(MenuItem |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2363 |
label: 'History' |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2364 |
translateLabel: true |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2365 |
isVisible: isStandAlone |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2366 |
submenuChannel: menuHistory |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2367 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2368 |
(MenuItem |
2262 | 2369 |
label: 'MENU_Help' |
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2370 |
translateLabel: true |
2126
312bad3ba846
conditionalRight in startGroup
Claus Gittinger <cg@exept.de>
parents:
2074
diff
changeset
|
2371 |
startGroup: conditionalRight |
1981
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2372 |
submenuChannel: menuHelp |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2373 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2374 |
) |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2375 |
nil |
d28960fc1576
hide some menu items when in browser
Claus Gittinger <cg@exept.de>
parents:
1974
diff
changeset
|
2376 |
nil |
332 | 2377 |
) |
2378 |
! |
|
2379 |
||
408 | 2380 |
menuEdit |
825 | 2381 |
"This resource specification was automatically generated |
2382 |
by the MenuEditor of ST/X." |
|
332 | 2383 |
|
825 | 2384 |
"Do not manually edit this!! If it is corrupted, |
2385 |
the MenuEditor may not be able to read the specification." |
|
332 | 2386 |
|
2387 |
" |
|
408 | 2388 |
MenuEditor new openOnClass:DataSetBuilder andSelector:#menuEdit |
2389 |
(Menu new fromLiteralArrayEncoding:(DataSetBuilder menuEdit)) startUp |
|
2390 |
" |
|
2391 |
||
2392 |
<resource: #menu> |
|
2393 |
||
2262 | 2394 |
^ |
2395 |
#(Menu |
|
2396 |
( |
|
2397 |
(MenuItem |
|
2398 |
activeHelpKey: editCut |
|
2399 |
enabled: isColumnSelected |
|
2400 |
label: 'Cut' |
|
2401 |
itemValue: doCut |
|
2402 |
translateLabel: true |
|
2403 |
shortcutKey: Cut |
|
2404 |
) |
|
2405 |
(MenuItem |
|
2406 |
activeHelpKey: editCopy |
|
2407 |
enabled: isColumnSelected |
|
2408 |
label: 'Copy' |
|
2409 |
itemValue: doCopy |
|
2410 |
translateLabel: true |
|
2411 |
shortcutKey: Copy |
|
2412 |
) |
|
2413 |
(MenuItem |
|
2414 |
activeHelpKey: editPaste |
|
2415 |
enabled: valueOfHavingClipboard |
|
2416 |
label: 'Paste' |
|
2417 |
itemValue: doPaste |
|
2418 |
translateLabel: true |
|
2419 |
shortcutKey: Paste |
|
2420 |
) |
|
2421 |
(MenuItem |
|
2422 |
label: '-' |
|
2423 |
) |
|
2424 |
(MenuItem |
|
2425 |
activeHelpKey: editMoveUp |
|
2426 |
enabled: isColumnSelected |
|
2427 |
label: 'Move Up' |
|
2428 |
itemValue: doMoveColumn: |
|
2429 |
translateLabel: true |
|
2430 |
shortcutKey: CtrlCursorUp |
|
2431 |
labelImage: (ResourceRetriever Icon upIcon 'Move Up') |
|
2432 |
argument: up |
|
2433 |
) |
|
2434 |
(MenuItem |
|
2435 |
activeHelpKey: editMoveDown |
|
2436 |
enabled: isColumnSelected |
|
2437 |
label: 'Move Down' |
|
2438 |
itemValue: doMoveColumn: |
|
2439 |
translateLabel: true |
|
2440 |
shortcutKey: CtrlCursorDown |
|
2441 |
labelImage: (ResourceRetriever Icon downIcon 'Move Down') |
|
2442 |
argument: down |
|
2443 |
) |
|
2444 |
(MenuItem |
|
2445 |
label: '-' |
|
2446 |
) |
|
2447 |
(MenuItem |
|
2448 |
label: 'Separators' |
|
2449 |
translateLabel: true |
|
2450 |
submenu: |
|
2451 |
(Menu |
|
2452 |
( |
|
2453 |
(MenuItem |
|
2454 |
label: 'Label Columns' |
|
2455 |
translateLabel: true |
|
2456 |
submenu: |
|
2457 |
(Menu |
|
2458 |
( |
|
2459 |
(MenuItem |
|
2460 |
enabled: hasSelection |
|
2461 |
label: 'Add Separators' |
|
2462 |
itemValue: addLabelColumnSeparators |
|
2463 |
translateLabel: true |
|
2464 |
) |
|
2465 |
(MenuItem |
|
2466 |
enabled: hasSelection |
|
2467 |
label: 'Remove Separators' |
|
2468 |
itemValue: removeLabelColumnSeparators |
|
2469 |
translateLabel: true |
|
2470 |
) |
|
2471 |
) |
|
2472 |
nil |
|
2473 |
nil |
|
2474 |
) |
|
2475 |
) |
|
2476 |
(MenuItem |
|
2477 |
label: 'Label Row && Columns' |
|
2478 |
translateLabel: true |
|
2479 |
submenu: |
|
2480 |
(Menu |
|
2481 |
( |
|
2482 |
(MenuItem |
|
2483 |
enabled: hasSelection |
|
2484 |
label: 'Add Separators' |
|
2485 |
itemValue: addLabelSeparators |
|
2486 |
translateLabel: true |
|
2487 |
) |
|
2488 |
(MenuItem |
|
2489 |
enabled: hasSelection |
|
2490 |
label: 'Remove Separators' |
|
2491 |
itemValue: removeLabelSeparators |
|
2492 |
translateLabel: true |
|
2493 |
) |
|
2494 |
) |
|
2495 |
nil |
|
2496 |
nil |
|
2497 |
) |
|
2498 |
) |
|
2499 |
(MenuItem |
|
2500 |
label: '-' |
|
2501 |
) |
|
2502 |
(MenuItem |
|
2503 |
label: 'Cell Rows' |
|
2504 |
translateLabel: true |
|
2505 |
submenu: |
|
2506 |
(Menu |
|
2507 |
( |
|
2508 |
(MenuItem |
|
2509 |
enabled: hasSelection |
|
2510 |
label: 'Add Separators' |
|
2511 |
itemValue: addRowSeparators |
|
2512 |
translateLabel: true |
|
2513 |
) |
|
2514 |
(MenuItem |
|
2515 |
enabled: hasSelection |
|
2516 |
label: 'Remove Separators' |
|
2517 |
itemValue: removeRowSeparators |
|
2518 |
translateLabel: true |
|
2519 |
) |
|
2520 |
) |
|
2521 |
nil |
|
2522 |
nil |
|
2523 |
) |
|
2524 |
) |
|
2525 |
(MenuItem |
|
2526 |
label: 'Cell Columns' |
|
2527 |
translateLabel: true |
|
2528 |
submenu: |
|
2529 |
(Menu |
|
2530 |
( |
|
2531 |
(MenuItem |
|
2532 |
enabled: hasSelection |
|
2533 |
label: 'Add Separators' |
|
2534 |
itemValue: addLabelColumnSeparators |
|
2535 |
translateLabel: true |
|
2536 |
) |
|
2537 |
(MenuItem |
|
2538 |
enabled: hasSelection |
|
2539 |
label: 'Remove' |
|
2540 |
itemValue: removeLabelColumnSeparators |
|
2541 |
translateLabel: true |
|
2542 |
) |
|
2543 |
) |
|
2544 |
nil |
|
2545 |
nil |
|
2546 |
) |
|
2547 |
) |
|
2548 |
(MenuItem |
|
2549 |
label: 'Cell Rows && Columns' |
|
2550 |
translateLabel: true |
|
2551 |
submenu: |
|
2552 |
(Menu |
|
2553 |
( |
|
2554 |
(MenuItem |
|
2555 |
enabled: hasSelection |
|
2556 |
label: 'Add Separators' |
|
2557 |
itemValue: addCellSeparators |
|
2558 |
translateLabel: true |
|
2559 |
) |
|
2560 |
(MenuItem |
|
2561 |
enabled: hasSelection |
|
2562 |
label: 'Remove Separators' |
|
2563 |
itemValue: removeCellSeparators |
|
2564 |
translateLabel: true |
|
2565 |
) |
|
2566 |
) |
|
2567 |
nil |
|
2568 |
nil |
|
2569 |
) |
|
2570 |
) |
|
2571 |
) |
|
2572 |
nil |
|
2573 |
nil |
|
408 | 2574 |
) |
2262 | 2575 |
) |
2380
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2576 |
(MenuItem |
2262 | 2577 |
label: 'Alignment' |
2578 |
translateLabel: true |
|
2579 |
submenu: |
|
2580 |
(Menu |
|
2581 |
( |
|
2582 |
(MenuItem |
|
2583 |
enabled: hasSelection |
|
2584 |
label: 'Make Labels Left Aligned' |
|
2585 |
itemValue: alignLabelsLeft |
|
2586 |
translateLabel: true |
|
2587 |
) |
|
2588 |
(MenuItem |
|
2589 |
enabled: hasSelection |
|
2590 |
label: 'Make Labels Centered' |
|
2591 |
itemValue: alignLabelsCentered |
|
2592 |
translateLabel: true |
|
2593 |
) |
|
2594 |
(MenuItem |
|
2595 |
enabled: hasSelection |
|
2596 |
label: 'Make Labels Right Aligned' |
|
2597 |
itemValue: alignLabelsRight |
|
2598 |
translateLabel: true |
|
2599 |
) |
|
2600 |
(MenuItem |
|
2601 |
label: '-' |
|
2602 |
) |
|
2603 |
(MenuItem |
|
2604 |
enabled: hasSelection |
|
2605 |
label: 'Make Cell Left Aligned' |
|
2606 |
itemValue: alignColumnsLeft |
|
2607 |
translateLabel: true |
|
2608 |
) |
|
2609 |
(MenuItem |
|
2610 |
enabled: hasSelection |
|
2611 |
label: 'Make Cell Centered' |
|
2612 |
itemValue: alignColumnsCentered |
|
2613 |
translateLabel: true |
|
2614 |
) |
|
2615 |
(MenuItem |
|
2616 |
enabled: hasSelection |
|
2617 |
label: 'Make Cell Right Aligned' |
|
2618 |
itemValue: alignColumnsRight |
|
2619 |
translateLabel: true |
|
2620 |
) |
|
2621 |
) |
|
2622 |
nil |
|
2623 |
nil |
|
408 | 2624 |
) |
2262 | 2625 |
) |
2626 |
(MenuItem |
|
2371
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2627 |
label: 'Colors' |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2628 |
translateLabel: true |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2629 |
submenu: |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2630 |
(Menu |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2631 |
( |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2632 |
(MenuItem |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2633 |
enabled: hasSelection |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2634 |
label: 'Set Cell Color Selectors' |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2635 |
itemValue: setCellColorSelectors |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2636 |
translateLabel: true |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2637 |
) |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2638 |
(MenuItem |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2639 |
enabled: hasSelection |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2640 |
label: 'Set Selected Cell Color Selectors' |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2641 |
itemValue: setSelectedCellColorSelectors |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2642 |
translateLabel: true |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2643 |
) |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2644 |
) |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2645 |
nil |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2646 |
nil |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2647 |
) |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2648 |
) |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2649 |
(MenuItem |
2380
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2650 |
label: 'Behavior' |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2651 |
translateLabel: true |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2652 |
submenu: |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2653 |
(Menu |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2654 |
( |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2655 |
(MenuItem |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2656 |
enabled: hasSelection |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2657 |
label: 'Make Selected Cells Unselectable' |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2658 |
itemValue: makeSelectedCellsUnselectable |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2659 |
translateLabel: true |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2660 |
) |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2661 |
(MenuItem |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2662 |
enabled: hasSelection |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2663 |
label: 'Make Selected Cells Selectable' |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2664 |
itemValue: makeSelectedCellsSelectable |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2665 |
translateLabel: true |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2666 |
) |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2667 |
) |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2668 |
nil |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2669 |
nil |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2670 |
) |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2671 |
) |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
2672 |
(MenuItem |
2262 | 2673 |
label: '-' |
2674 |
) |
|
2675 |
(MenuItem |
|
2676 |
enabled: hasSelection |
|
2677 |
label: 'Make Selectable' |
|
2678 |
itemValue: makeColumnsSelectable |
|
2679 |
translateLabel: true |
|
2680 |
) |
|
2681 |
(MenuItem |
|
2682 |
enabled: hasSelection |
|
2683 |
label: 'Make Unselectable' |
|
2684 |
itemValue: makeColumnsUnselectable |
|
2685 |
translateLabel: true |
|
2686 |
) |
|
2687 |
) |
|
2688 |
nil |
|
2689 |
nil |
|
408 | 2690 |
) |
2691 |
! |
|
2692 |
||
2262 | 2693 |
menuEditWithoutAccelerators |
2321 | 2694 |
^ self menuEdit decodeAsLiteralArray removeAllAccelerators |
2262 | 2695 |
! |
2696 |
||
408 | 2697 |
menuToolbar |
825 | 2698 |
"This resource specification was automatically generated |
2699 |
by the MenuEditor of ST/X." |
|
408 | 2700 |
|
825 | 2701 |
"Do not manually edit this!! If it is corrupted, |
2702 |
the MenuEditor may not be able to read the specification." |
|
408 | 2703 |
|
2704 |
" |
|
2705 |
MenuEditor new openOnClass:DataSetBuilder andSelector:#menuToolbar |
|
2706 |
(Menu new fromLiteralArrayEncoding:(DataSetBuilder menuToolbar)) startUp |
|
332 | 2707 |
" |
2708 |
||
2709 |
<resource: #menu> |
|
2710 |
||
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2711 |
^ |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2712 |
#(Menu |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2713 |
( |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2714 |
(MenuItem |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2715 |
activeHelpKey: fileNew |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2716 |
label: 'New' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2717 |
itemValue: doNew |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2718 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2719 |
isButton: true |
1887 | 2720 |
labelImage: (ResourceRetriever ToolbarIconLibrary newDataSetIcon) |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2721 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2722 |
(MenuItem |
2262 | 2723 |
label: '-' |
2724 |
) |
|
2725 |
(MenuItem |
|
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2726 |
activeHelpKey: fileLoad |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2727 |
label: 'Load' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2728 |
itemValue: doLoad |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2729 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2730 |
isButton: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2731 |
submenuChannel: menuHistory |
1887 | 2732 |
labelImage: (ResourceRetriever ToolbarIconLibrary loadFromMethodIcon) |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2733 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2734 |
(MenuItem |
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2735 |
activeHelpKey: fileSaveMethod |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2736 |
label: 'Save' |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2737 |
itemValue: doSave |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2738 |
translateLabel: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2739 |
isButton: true |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2740 |
isVisible: notEditingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2741 |
labelImage: (ResourceRetriever ToolbarIconLibrary saveAsMethodIcon) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2742 |
) |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2743 |
(MenuItem |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2744 |
activeHelpKey: fileSave |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2745 |
label: 'Save' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2746 |
itemValue: doSave |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2747 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2748 |
isButton: true |
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2749 |
isVisible: editingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2750 |
labelImage: (ResourceRetriever ToolbarIconLibrary saveToFileIcon) |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2751 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2752 |
(MenuItem |
1887 | 2753 |
label: '-' |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2754 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2755 |
(MenuItem |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2756 |
activeHelpKey: editCut |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2757 |
enabled: isColumnSelected |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2758 |
label: 'Cut' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2759 |
itemValue: doCut |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2760 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2761 |
isButton: true |
1887 | 2762 |
labelImage: (ResourceRetriever ToolbarIconLibrary cutWidgetIcon) |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2763 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2764 |
(MenuItem |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2765 |
activeHelpKey: editCopy |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2766 |
enabled: isColumnSelected |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2767 |
label: 'Copy' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2768 |
itemValue: doCopy |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2769 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2770 |
isButton: true |
1887 | 2771 |
labelImage: (ResourceRetriever ToolbarIconLibrary copyWidgetIcon) |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2772 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2773 |
(MenuItem |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2774 |
activeHelpKey: editPaste |
1990 | 2775 |
enabled: canPasteHolder |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2776 |
label: 'Paste' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2777 |
itemValue: doPaste |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2778 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2779 |
isButton: true |
1887 | 2780 |
labelImage: (ResourceRetriever ToolbarIconLibrary pasteWidgetIcon) |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2781 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2782 |
(MenuItem |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2783 |
activeHelpKey: editDelete |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2784 |
enabled: isColumnSelected |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2785 |
label: 'Delete' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2786 |
itemValue: doDelete |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2787 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2788 |
isButton: true |
1887 | 2789 |
isVisible: false |
2790 |
labelImage: (ResourceRetriever ToolbarIconLibrary deleteWidgetIcon) |
|
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2791 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2792 |
(MenuItem |
1887 | 2793 |
label: '-' |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2794 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2795 |
(MenuItem |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2796 |
activeHelpKey: addColumn |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2797 |
enabled: columnIsNotEditing |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2798 |
label: 'Add Column' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2799 |
itemValue: doCreateColumn |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2800 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2801 |
isButton: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2802 |
labelImage: (ResourceRetriever nil newColumnIcon) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2803 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2804 |
(MenuItem |
2262 | 2805 |
activeHelpKey: addNonSelectableColumn |
2806 |
enabled: columnIsNotEditing |
|
2807 |
label: 'Add Column (Non Selectable)' |
|
2808 |
itemValue: doCreateNonSelectableColumn |
|
2809 |
translateLabel: true |
|
2810 |
isButton: true |
|
2811 |
labelImage: (ResourceRetriever DataSetBuilder newColumnNonSelectableIcon) |
|
2812 |
) |
|
2813 |
(MenuItem |
|
2814 |
label: '' |
|
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2815 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2816 |
(MenuItem |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2817 |
activeHelpKey: editMoveUp |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2818 |
enabled: isColumnSelected |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2819 |
label: 'Move Up' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2820 |
itemValue: doMoveColumn: |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2821 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2822 |
isButton: true |
2262 | 2823 |
startGroup: right |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2824 |
labelImage: (ResourceRetriever Icon upIcon) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2825 |
argument: up |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2826 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2827 |
(MenuItem |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2828 |
activeHelpKey: editMoveDown |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2829 |
enabled: isColumnSelected |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2830 |
label: 'Move Down' |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2831 |
itemValue: doMoveColumn: |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2832 |
translateLabel: true |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2833 |
isButton: true |
2262 | 2834 |
startGroup: right |
1757
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2835 |
labelImage: (ResourceRetriever Icon downIcon) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2836 |
argument: down |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2837 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2838 |
) |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2839 |
nil |
c1b5a55649c9
toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents:
1754
diff
changeset
|
2840 |
nil |
332 | 2841 |
) |
2842 |
! ! |
|
2843 |
||
2844 |
!DataSetBuilder methodsFor:'accessing'! |
|
2845 |
||
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2846 |
acceptedColumns |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2847 |
"returns the last saved columns (internal, for specOnly edit mode)" |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2848 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2849 |
^ acceptedColumns |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2850 |
! |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2851 |
|
332 | 2852 |
columns |
419 | 2853 |
"returns list of columns" |
2854 |
||
818 | 2855 |
^ columns |
332 | 2856 |
! |
2857 |
||
818 | 2858 |
columns:aListOfColumns |
419 | 2859 |
"setup columns from a column view" |
2860 |
||
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2861 |
|list newColumns| |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2862 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2863 |
newColumns := OrderedCollection new. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2864 |
list := self seqList. |
332 | 2865 |
list removeAll. |
2866 |
||
818 | 2867 |
aListOfColumns size ~~ 0 ifTrue:[ |
2868 |
aListOfColumns do:[:aColumn||column| |
|
2869 |
(column := aColumn) isSequenceable ifTrue:[ |
|
2167 | 2870 |
column := DataSetColumnSpec decodeFromLiteralArray:aColumn |
818 | 2871 |
] ifFalse:[ |
2872 |
column := aColumn copy |
|
2873 |
]. |
|
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2874 |
newColumns add:column. |
825 | 2875 |
list add:(self labelFromColumn:column). |
332 | 2876 |
] |
818 | 2877 |
]. |
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2878 |
columns := newColumns. |
818 | 2879 |
self updateColumnView. |
2880 |
||
2167 | 2881 |
"Modified: / 27-03-2007 / 08:46:39 / cg" |
333 | 2882 |
! |
2883 |
||
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2884 |
editingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2885 |
^ editingSpecOnly ? false |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2886 |
! |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2887 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2888 |
editingSpecOnly:something |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2889 |
editingSpecOnly := something. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2890 |
! |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2891 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2892 |
notEditingSpecOnly |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2893 |
^ self editingSpecOnly not |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2894 |
! |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
2895 |
|
983 | 2896 |
resolveRowClass |
2897 |
"returns the resolved row class |
|
2898 |
" |
|
2899 |
^ Smalltalk resolveName:rowClass inClass:self class |
|
2900 |
! |
|
2901 |
||
333 | 2902 |
rowClassName |
419 | 2903 |
|
983 | 2904 |
^ self resolveRowClass notNil ifTrue:[rowClass] ifFalse:[nil] |
333 | 2905 |
! |
2906 |
||
2907 |
rowClassName:aClassName |
|
419 | 2908 |
|
333 | 2909 |
|cls| |
2910 |
||
818 | 2911 |
rowSuperClass := nil. |
333 | 2912 |
|
818 | 2913 |
(rowClass := aClassName) notNil ifTrue:[ |
983 | 2914 |
(cls := self resolveRowClass) notNil |
818 | 2915 |
ifTrue: [rowSuperClass := cls superclass name asString] |
2916 |
ifFalse:[rowSuperClass := 'Object'] |
|
333 | 2917 |
] |
2918 |
||
332 | 2919 |
! ! |
2920 |
||
419 | 2921 |
!DataSetBuilder methodsFor:'aspects'! |
332 | 2922 |
|
1300 | 2923 |
canvasHolder |
2924 |
"returns a value holder which keeps selected column" |
|
2925 |
||
2926 |
|holder| |
|
2927 |
||
2928 |
(holder := builder bindingAt:#canvasHolder) isNil ifTrue:[ |
|
2929 |
builder aspectAt:#canvasHolder put:(holder := ValueHolder new). |
|
2930 |
]. |
|
2931 |
^ holder |
|
2932 |
! |
|
2933 |
||
419 | 2934 |
columnIsNotEditing |
2262 | 2935 |
"returns a boolean value holder which returns true if a columns attributes have not |
2936 |
been modified (notebook fields)" |
|
332 | 2937 |
|
1311 | 2938 |
|holder| |
2939 |
||
2940 |
(holder := builder bindingAt:#columnIsNotEditing) isNil ifTrue:[ |
|
2941 |
holder := BlockValue forLogicalNot:(self modifiedChannel). |
|
2942 |
builder aspectAt:#columnIsNotEditing put:holder. |
|
2943 |
]. |
|
2944 |
^ holder |
|
332 | 2945 |
! |
2946 |
||
419 | 2947 |
editorTypeList |
2948 |
"generate list of supported editor types" |
|
332 | 2949 |
|
2950 |
|list| |
|
2951 |
||
1697 | 2952 |
(list := builder bindingAt:#editorTypeList) isNil ifTrue:[ |
2953 |
list := (DataSetColumnSpec slices collect:[:eachSlice | eachSlice at:1]) asSet. |
|
1700 | 2954 |
list := list asOrderedCollection sort. |
419 | 2955 |
builder aspectAt:#editorTypeList put:list |
332 | 2956 |
]. |
419 | 2957 |
^list |
332 | 2958 |
! |
2959 |
||
2262 | 2960 |
hasColumns |
2961 |
"returns a boolean value holder which is set to true if there are any columns" |
|
2962 |
||
2963 |
^ BlockValue |
|
2964 |
with:[:m | m notEmptyOrNil] |
|
2965 |
argument:(self seqList) |
|
2966 |
! |
|
2967 |
||
2968 |
hasSelection |
|
2969 |
^ (selectedColumnIndex isCollection not and:[ selectedColumnIndex ~~ 0 ]) |
|
2970 |
or:[ selectedColumnIndex size > 0 ] |
|
2971 |
! |
|
2972 |
||
408 | 2973 |
isColumnSelected |
2262 | 2974 |
"returns a boolean value holder which is set to true if some col is selected" |
419 | 2975 |
|
2976 |
^builder valueAspectFor:#isColumnSelected initialValue: false |
|
332 | 2977 |
! |
2978 |
||
1836 | 2979 |
menuEdit |
2371
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2980 |
"redefined to access my menu and not the one of the UIPainter" |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2981 |
|
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
2982 |
^ [self class menuEdit] |
1836 | 2983 |
! |
2984 |
||
2262 | 2985 |
possiblePrintConverterTypes |
2986 |
^ UISpecification possiblePrintConverterTypes |
|
2987 |
! |
|
2988 |
||
332 | 2989 |
rendererTypeList |
419 | 2990 |
"generate list of supported renderer types" |
2991 |
||
332 | 2992 |
|list| |
2993 |
||
1697 | 2994 |
(list := builder bindingAt:#rendererTypeList) isNil ifTrue:[ |
2995 |
list := (DataSetColumnSpec slices collect:[:eachSlice | eachSlice at:2]) asSet. |
|
1701 | 2996 |
list := list asOrderedCollection sort. |
419 | 2997 |
builder aspectAt:#rendererTypeList put:list |
332 | 2998 |
]. |
419 | 2999 |
^list |
332 | 3000 |
! |
3001 |
||
3002 |
selectedColumnModel |
|
419 | 3003 |
"returns a value holder which keeps selected column" |
332 | 3004 |
|
3005 |
|holder| |
|
3006 |
||
3007 |
(holder := builder bindingAt:#selectedColumnModel) isNil ifTrue:[ |
|
3008 |
holder := AspectAdaptor new subject:self; forAspect:#selectedColumnIndex. |
|
3009 |
builder aspectAt:#selectedColumnModel put:holder. |
|
3010 |
]. |
|
3011 |
^ holder |
|
3012 |
! |
|
3013 |
||
3014 |
seqList |
|
1182 | 3015 |
^ builder listAspectFor:#seqList |
332 | 3016 |
! |
3017 |
||
391 | 3018 |
style |
419 | 3019 |
|
3020 |
^self aspectFor:#labelFont |
|
391 | 3021 |
! |
3022 |
||
332 | 3023 |
tabList |
3024 |
||
419 | 3025 |
^self class slices collect:[:aSlice|aSlice first] |
332 | 3026 |
|
3027 |
! ! |
|
3028 |
||
818 | 3029 |
!DataSetBuilder methodsFor:'building'! |
3030 |
||
1974 | 3031 |
buildFromResourceSpec:aResourceSpec |
3032 |
||
3033 |
self columns:aResourceSpec. |
|
3034 |
||
3035 |
"/ columns notEmpty ifTrue: [ |
|
3036 |
"/ self tabModel value: 1. |
|
3037 |
"/ self selectedColumnModel value:nil; value:1. "/ toggle to force change |
|
3038 |
"/ self updateInputFields. |
|
3039 |
"/ self updateInfoLabel. |
|
3040 |
"/ self updateHistory |
|
3041 |
"/ ]. |
|
3042 |
||
3043 |
! |
|
3044 |
||
3045 |
loadFromClass:aClass andSelector:aSelector |
|
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3046 |
|cls list| |
825 | 3047 |
|
1974 | 3048 |
self assert:(aClass isNil or:[aClass isClass]). |
3049 |
||
825 | 3050 |
selectedColumnIndex := 0. |
3051 |
||
3052 |
"if opened on table columns" |
|
3053 |
||
3054 |
aClass isNil ifTrue: [ |
|
3055 |
self tabModel value: 0. |
|
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3056 |
"/ self columns removeAll. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3057 |
"/ self seqList removeAll. |
825 | 3058 |
self updateColumnView. |
3059 |
self updateInfoLabel. |
|
1974 | 3060 |
self isColumnSelected value: false. |
3061 |
^ self. |
|
825 | 3062 |
]. |
3063 |
||
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3064 |
specSelector isNil ifTrue: [ |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3065 |
self updateAfterColumnChange. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3066 |
^ self |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3067 |
]. |
818 | 3068 |
|
3069 |
list := nil. |
|
3070 |
||
3071 |
(aClass notNil or:[self isStandAlone or:[self window shown]]) ifTrue:[ |
|
3072 |
(aClass notNil and:[aSelector notNil]) ifTrue:[ |
|
1974 | 3073 |
cls := aClass isBehavior ifTrue:[ aClass ] ifFalse:[ self resolveName:aClass]. |
3074 |
||
3075 |
(cls respondsTo: aSelector) ifTrue:[ |
|
3076 |
list := cls perform: aSelector. |
|
3077 |
]. |
|
818 | 3078 |
] |
3079 |
] ifFalse:[ |
|
3080 |
list := columns |
|
3081 |
]. |
|
825 | 3082 |
self columns:list. |
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3083 |
self updateAfterColumnChange. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3084 |
! |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3085 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3086 |
updateAfterColumnChange |
2557 | 3087 |
self tabModel changed "value:0; value:1". "/ toggle to force change |
3088 |
self selectedColumnModel changed "value:nil; value:1". "/ toggle to force change |
|
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3089 |
self updateColumnView. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3090 |
self updateInputFields. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3091 |
self updateInfoLabel. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3092 |
self updateHistory. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3093 |
self clearModifiedFlag. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3094 |
self enablingCommitButtonsHolder value:false. |
818 | 3095 |
! ! |
3096 |
||
332 | 3097 |
!DataSetBuilder methodsFor:'code generation'! |
3098 |
||
3099 |
compile:aCode forClass:aClass inCategory:aCategory |
|
419 | 3100 |
"compile method for class in a category" |
3101 |
||
1569 | 3102 |
aClass |
3103 |
compile:(aCode withCRs) |
|
3104 |
classified:aCategory |
|
332 | 3105 |
! |
3106 |
||
380 | 3107 |
generateBackgroundSelectorIn:aClass |
419 | 3108 |
"generate code for #backgroundSelector" |
3109 |
||
380 | 3110 |
|sel catg code bCode| |
3111 |
||
1771 | 3112 |
catg := #'accessing look'. |
380 | 3113 |
code := '\' |
3114 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3115 |
, '\' |
|
3116 |
, ' "specific background color for a cell"\' |
|
3117 |
, '\' |
|
3118 |
. |
|
3119 |
||
419 | 3120 |
columns do: |
3121 |
[:aColumn| |
|
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3122 |
((sel := aColumn backgroundSelector) notNil and:[(aClass includesSelector:sel) not]) |
419 | 3123 |
ifTrue: |
3124 |
[ |
|
3125 |
bCode := sel asString, code, ' ^nil'. |
|
380 | 3126 |
self compile:bCode forClass:aClass inCategory:catg |
3127 |
] |
|
3128 |
] |
|
3129 |
! |
|
3130 |
||
332 | 3131 |
generateChoicesIn:aClass |
419 | 3132 |
"generate code for #choices" |
3133 |
||
1009 | 3134 |
|sel catg code edt| |
332 | 3135 |
|
1771 | 3136 |
catg := #'accessing menu'. |
332 | 3137 |
code := '\' |
3138 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3139 |
, '\' |
|
983 | 3140 |
, ' "get choices for visual editor; (a list of labels)..."\' |
332 | 3141 |
, '\' |
983 | 3142 |
, ' ^ #( foo bar baz )' |
332 | 3143 |
. |
3144 |
||
1009 | 3145 |
columns do:[:aColumn| |
3146 |
edt := aColumn editorType. |
|
3147 |
||
3148 |
( aColumn canSelect |
|
3149 |
and:[(sel := aColumn choices) notNil |
|
3150 |
and:[(edt == #ComboBox or:[edt == #ComboList]) |
|
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3151 |
and:[(aClass includesSelector:sel) not]]] |
1009 | 3152 |
) ifTrue:[ |
332 | 3153 |
self compile:(sel asString, code) forClass:aClass inCategory:catg |
3154 |
] |
|
3155 |
] |
|
3156 |
! |
|
3157 |
||
391 | 3158 |
generateDoubleClickSelectorIn:aClass |
419 | 3159 |
"generate code for #foregroundSelector" |
3160 |
||
391 | 3161 |
|sel catg code bCode| |
3162 |
||
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
3163 |
catg := #'accessing-action'. |
391 | 3164 |
code := '\' |
3165 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3166 |
, '\' |
|
3167 |
, ' "specific selector to be called on double click"\' |
|
3168 |
, '\' |
|
3169 |
. |
|
3170 |
||
419 | 3171 |
columns do: |
3172 |
[:aColumn| |
|
3173 |
((sel := aColumn doubleClickedSelector) notNil |
|
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3174 |
and:[(aClass includesSelector:sel) not]) |
419 | 3175 |
ifTrue: |
3176 |
[ |
|
391 | 3177 |
bCode := sel asString, code. |
3178 |
self compile:bCode forClass:aClass inCategory:catg |
|
3179 |
] |
|
3180 |
] |
|
3181 |
! |
|
3182 |
||
380 | 3183 |
generateForegroundSelectorIn:aClass |
3184 |
"generate code for #foregroundSelector |
|
3185 |
" |
|
3186 |
|sel catg code bCode| |
|
3187 |
||
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
3188 |
catg := #'accessing-look'. |
380 | 3189 |
code := '\' |
3190 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3191 |
, '\' |
|
3192 |
, ' "specific foreground color for a cell"\' |
|
3193 |
, '\' |
|
3194 |
. |
|
3195 |
||
419 | 3196 |
columns do: |
3197 |
[:aColumn| |
|
3198 |
((sel := aColumn foregroundSelector) notNil |
|
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3199 |
and:[(aClass includesSelector:sel) not]) |
419 | 3200 |
ifTrue: |
3201 |
[ |
|
1841
fb363ce089de
added selectedFg/selectedBG attributes
Claus Gittinger <cg@exept.de>
parents:
1836
diff
changeset
|
3202 |
bCode := sel asString, code, ' ^ nil'. |
380 | 3203 |
self compile:bCode forClass:aClass inCategory:catg |
3204 |
] |
|
3205 |
] |
|
3206 |
! |
|
3207 |
||
332 | 3208 |
generateMenuIn:aClass |
419 | 3209 |
"generate code for #menu" |
3210 |
||
332 | 3211 |
|sel catg code| |
3212 |
||
1771 | 3213 |
catg := #'accessing menu'. |
332 | 3214 |
code := '\' |
3215 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3216 |
, '\' |
|
3217 |
, ' "get middleButton menu for selected cell in column"\' |
|
3218 |
, '\' |
|
419 | 3219 |
, ' ^nil' |
332 | 3220 |
. |
3221 |
||
419 | 3222 |
columns do: |
3223 |
[:aColumn| |
|
3224 |
(aColumn canSelect |
|
3225 |
and:[(sel := aColumn menu) notNil |
|
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3226 |
and:[(aClass includesSelector:sel) not]]) |
419 | 3227 |
ifTrue: |
3228 |
[ |
|
332 | 3229 |
self compile:(sel asString, code) forClass:aClass inCategory:catg |
3230 |
] |
|
3231 |
] |
|
3232 |
! |
|
3233 |
||
3234 |
generatePrintSelectorIn:aClass |
|
419 | 3235 |
"generate code for #printSelector" |
3236 |
||
332 | 3237 |
|sel catg code| |
3238 |
||
1771 | 3239 |
catg := #'accessing'. |
1004 | 3240 |
code := '\' |
332 | 3241 |
, ' "automatically generated by DataSetBuilder ..."\' |
3242 |
, '\' |
|
3243 |
, ' "get drawable image or text on a gc"\' |
|
3244 |
, '\' |
|
1004 | 3245 |
, ' ^ ' |
332 | 3246 |
. |
3247 |
||
1004 | 3248 |
columns do:[:aColumn| |
3249 |
( aColumn rendererType ~~ #rowSelector |
|
3250 |
and:[(sel := aColumn printSelector) notNil |
|
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3251 |
and:[(aClass includesSelector:sel) not]] |
1004 | 3252 |
) ifTrue:[ |
1548 | 3253 |
|numArgs bcode keys| |
1004 | 3254 |
bcode := sel asString. |
1548 | 3255 |
numArgs := sel numArgs. |
3256 |
||
3257 |
numArgs ~~ 0 ifTrue:[ |
|
3258 |
numArgs == 1 ifTrue:[ |
|
1004 | 3259 |
bcode := bcode, 'aGC' |
3260 |
] ifFalse:[ |
|
3261 |
keys := sel keywords. |
|
3262 |
bcode := (keys at:1), 'aGC ', (keys at:2), 'aColNr'. |
|
3263 |
] |
|
3264 |
]. |
|
3265 |
self compile:(bcode, code, '''', bcode, '''') forClass:aClass inCategory:catg |
|
332 | 3266 |
] |
3267 |
] |
|
3268 |
! |
|
3269 |
||
3270 |
generateReadSelectorIn:aClass |
|
419 | 3271 |
"generate code for #readSelector" |
3272 |
||
332 | 3273 |
|sel catg code bCode| |
3274 |
||
1771 | 3275 |
catg := #'accessing'. |
332 | 3276 |
code := '\' |
3277 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3278 |
, '\' |
|
3279 |
, ' "get value"\' |
|
3280 |
, '\' |
|
3281 |
. |
|
3282 |
||
419 | 3283 |
columns do: |
3284 |
[:aColumn| |
|
3285 |
(aColumn rendererType ~~ #rowSelector |
|
3286 |
and:[(sel := aColumn readSelector) notNil |
|
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3287 |
and:[(aClass includesSelector:sel) not]]) |
419 | 3288 |
ifTrue: |
3289 |
[ |
|
3290 |
(aColumn printSelector isNil or:[aColumn canSelect]) |
|
3291 |
ifTrue: |
|
3292 |
[ |
|
1004 | 3293 |
|selName| |
3294 |
selName := sel asString. |
|
3295 |
||
419 | 3296 |
sel numArgs == 0 |
1004 | 3297 |
ifTrue: [bCode := selName, code] |
3298 |
ifFalse:[bCode := selName, 'anIndex\', code]. |
|
419 | 3299 |
aColumn rendererType == #CheckToggle |
1004 | 3300 |
ifFalse:[bCode := bCode, ' ^ ''', selName, ''''] |
419 | 3301 |
ifTrue: [bCode := bCode, ' ^true']. |
332 | 3302 |
self compile:bCode forClass:aClass inCategory:catg |
3303 |
] |
|
3304 |
] |
|
3305 |
] |
|
3306 |
! |
|
3307 |
||
983 | 3308 |
generateRowSeparatorSelectorIn:aClass |
3309 |
"generate code for #rowSeparatorSelector" |
|
3310 |
||
3311 |
|sel catg code bCode| |
|
3312 |
||
1771 | 3313 |
catg := #'accessing look'. |
983 | 3314 |
code := '\' |
3315 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3316 |
, '\' |
|
3317 |
, ' "specific row separator visibility for a cell"\' |
|
3318 |
, '\' |
|
3319 |
. |
|
3320 |
||
3321 |
columns do: |
|
3322 |
[:aColumn| |
|
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3323 |
((sel := aColumn rowSeparatorSelector) notNil and:[(aClass includesSelector:sel) not]) |
983 | 3324 |
ifTrue: |
3325 |
[ |
|
3326 |
bCode := sel asString, code, ' ^true'. |
|
3327 |
self compile:bCode forClass:aClass inCategory:catg |
|
3328 |
] |
|
3329 |
] |
|
3330 |
! |
|
3331 |
||
377 | 3332 |
generateSelectSelectorIn:aClass |
3333 |
"generate code for #selectSelector |
|
3334 |
" |
|
3335 |
|sel catg code bCode| |
|
3336 |
||
1771 | 3337 |
catg := #'accessing selection'. |
377 | 3338 |
code := '\' |
3339 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3340 |
, '\' |
|
3341 |
, ' "can select cell in column"\' |
|
3342 |
, '\' |
|
3343 |
. |
|
3344 |
||
419 | 3345 |
columns do: |
3346 |
[:aColumn| |
|
3347 |
(aColumn rendererType ~~ #rowSelector |
|
377 | 3348 |
and:[(sel := aColumn selectSelector) notNil |
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3349 |
and:[(aClass includesSelector:sel) not]]) |
419 | 3350 |
ifTrue: |
3351 |
[ |
|
3352 |
aColumn canSelect |
|
3353 |
ifTrue: |
|
3354 |
[ |
|
3355 |
bCode := sel asString, code, ' ^true'. |
|
377 | 3356 |
self compile:bCode forClass:aClass inCategory:catg |
3357 |
] |
|
3358 |
] |
|
3359 |
] |
|
3360 |
! |
|
3361 |
||
1009 | 3362 |
generateShowComboFieldSelectorIn:aClass |
3363 |
"generate code for #showComboFieldSelector |
|
3364 |
" |
|
3365 |
|sel catg code bCode edt state| |
|
3366 |
||
1771 | 3367 |
catg := #'accessing menu'. |
1009 | 3368 |
code := '\' |
3369 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3370 |
, '\' |
|
3371 |
, ' "open an editField on a combo list or box"\' |
|
3372 |
, '\' |
|
3373 |
. |
|
3374 |
||
3375 |
columns do:[:aColumn| |
|
3376 |
edt := aColumn editorType. |
|
3377 |
||
3378 |
( aColumn canSelect |
|
3379 |
and:[(sel := aColumn showComboFieldSelector) notNil |
|
3380 |
and:[(edt == #ComboBox or:[edt == #ComboList]) |
|
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3381 |
and:[(aClass includesSelector:sel) not]]] |
1009 | 3382 |
) ifTrue:[ |
3383 |
state := edt == #ComboBoxView. |
|
3384 |
||
3385 |
bCode := sel asString, code, ' ^ ', state printString. |
|
3386 |
self compile:bCode forClass:aClass inCategory:catg |
|
3387 |
] |
|
3388 |
] |
|
3389 |
! |
|
3390 |
||
332 | 3391 |
generateWriteSelectorIn:aClass |
419 | 3392 |
"generate code for #writeSelector" |
3393 |
||
379 | 3394 |
|sel catg code bCode sz| |
332 | 3395 |
|
1771 | 3396 |
catg := #'accessing'. |
332 | 3397 |
code := 'aValue\' |
3398 |
, ' "automatically generated by DataSetBuilder ..."\' |
|
3399 |
, '\' |
|
3400 |
, ' "set value"\' |
|
3401 |
. |
|
3402 |
||
419 | 3403 |
columns do: |
3404 |
[:aColumn| |
|
3405 |
((sel := aColumn writeSelector) notNil |
|
983 | 3406 |
and:[aColumn editorType ~~ #None |
419 | 3407 |
and:[aColumn canSelect |
1553
1d7fd5dde600
implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents:
1548
diff
changeset
|
3408 |
and:[(aClass includesSelector:sel) not]]]) |
419 | 3409 |
ifTrue: |
3410 |
[ |
|
3411 |
sel numArgs == 1 |
|
3412 |
ifTrue: |
|
3413 |
[ |
|
379 | 3414 |
bCode := sel asString |
419 | 3415 |
] |
3416 |
ifFalse: |
|
3417 |
[ |
|
379 | 3418 |
sz := sel indexOf:$:. |
3419 |
bCode := sel copyTo:sz. |
|
419 | 3420 |
bCode := bCode, 'anIndex ', (sel copyFrom:sz + 1) |
379 | 3421 |
]. |
3422 |
self compile:(bCode, code) forClass:aClass inCategory:catg |
|
332 | 3423 |
] |
3424 |
] |
|
3425 |
! ! |
|
3426 |
||
2262 | 3427 |
!DataSetBuilder methodsFor:'event handling'! |
3428 |
||
3429 |
processEvent:anEvent |
|
3430 |
"filter keyboard edit-events typed into the listOfItemsView. |
|
3431 |
Return true, if I have eaten the event" |
|
3432 |
||
3433 |
|evView inView rawKey key| |
|
3434 |
||
3435 |
anEvent isKeyPressEvent ifFalse:[^ false]. |
|
3436 |
||
3437 |
evView := anEvent targetView. |
|
3438 |
evView isNil ifTrue:[ ^ false ]. |
|
3439 |
||
3440 |
inView := evView isSameOrComponentOf:listOfItemsView. |
|
3441 |
inView ifTrue:[^ false]. |
|
3442 |
||
3443 |
key := anEvent key. |
|
3444 |
rawKey := anEvent rawKey. |
|
3445 |
||
3446 |
( key == #Delete |
|
3447 |
or:[key == #BackSpace |
|
3448 |
or:[key == #Cut]] |
|
3449 |
) ifTrue:[ |
|
3450 |
self doCut. |
|
3451 |
^ true. |
|
3452 |
]. |
|
3453 |
||
3454 |
key == #Copy ifTrue:[ self doCopy. ^ true ]. |
|
3455 |
key == #Paste ifTrue:[ self doPaste. ^ true ]. |
|
3456 |
||
3457 |
(rawKey == #CtrlCursorUp) ifTrue:[ |
|
3458 |
self doMoveUp. |
|
3459 |
^ true. |
|
3460 |
]. |
|
3461 |
(rawKey == #CtrlCursorDown) ifTrue:[ |
|
3462 |
self doMoveDown. |
|
3463 |
^ true. |
|
3464 |
]. |
|
3465 |
||
3466 |
^ false. |
|
3467 |
! ! |
|
3468 |
||
332 | 3469 |
!DataSetBuilder methodsFor:'initialization'! |
3470 |
||
3471 |
initialize |
|
825 | 3472 |
"initializes" |
332 | 3473 |
|
3474 |
super initialize. |
|
3475 |
||
825 | 3476 |
selectedColumnIndex := 0. |
1156 | 3477 |
columns := OrderedCollection new. |
3478 |
modalOpened := false. |
|
1300 | 3479 |
listOfSpecViews := Array new:(self class slices size). |
2557 | 3480 |
editingSpecOnly := false. |
1824 | 3481 |
! |
3482 |
||
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3483 |
loadFromResourceSpec: aResourceSpec |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3484 |
self columns:aResourceSpec copy. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3485 |
modified := false. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3486 |
hasSaved := false. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3487 |
self updateAfterColumnChange. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3488 |
! |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3489 |
|
1824 | 3490 |
setDefaultValuesInNewColumn:aDataSetColumnSpec |
1825 | 3491 |
"/ aDataSetColumnSpec readSelector: #'valueAtColumnIndex:'. |
3492 |
"/ aDataSetColumnSpec writeSelector: #'valueAtColumnIndex:put:'. |
|
3493 |
"/ aDataSetColumnSpec backgroundSelector: #'bgAtRowIndex:columnIndex:'. |
|
3494 |
"/ aDataSetColumnSpec foregroundSelector: #'fgAtRowIndex:columnIndex:'. |
|
3495 |
"/ aDataSetColumnSpec selectSelector: #'selectAtColumnIndex:'. |
|
3496 |
"/ aDataSetColumnSpec editorType: #InputField. |
|
332 | 3497 |
! ! |
3498 |
||
2262 | 3499 |
!DataSetBuilder methodsFor:'operations'! |
3500 |
||
3501 |
addCellSeparators |
|
3502 |
self addRowSeparators. |
|
3503 |
self addColumnSeparators. |
|
3504 |
! |
|
3505 |
||
3506 |
addColumnSeparators |
|
3507 |
self selectedColumnsDo:[:eachColDescr | |
|
3508 |
eachColDescr showColSeparator:true |
|
3509 |
]. |
|
3510 |
self updateAfterOperation. |
|
3511 |
! |
|
3512 |
||
3513 |
addLabelColumnSeparators |
|
3514 |
self selectedColumnsDo:[:eachColDescr | |
|
3515 |
eachColDescr labelButtonType:#Button |
|
3516 |
]. |
|
3517 |
self updateAfterOperation. |
|
3518 |
! |
|
3519 |
||
3520 |
addLabelSeparators |
|
3521 |
self selectedColumnsDo:[:eachColDescr | |
|
3522 |
eachColDescr labelButtonType:#Button |
|
3523 |
]. |
|
3524 |
self updateAfterOperation. |
|
3525 |
! |
|
3526 |
||
3527 |
addRowSeparators |
|
3528 |
self selectedColumnsDo:[:eachColDescr | |
|
3529 |
eachColDescr showRowSeparator:true |
|
3530 |
]. |
|
3531 |
self updateAfterOperation. |
|
3532 |
! |
|
3533 |
||
3534 |
alignColumns:how |
|
3535 |
self selectedColumnsDo:[:eachColDescr | |
|
3536 |
eachColDescr columnAlignment:how |
|
3537 |
]. |
|
3538 |
self updateAfterOperation. |
|
3539 |
! |
|
3540 |
||
3541 |
alignColumnsCentered |
|
3542 |
self alignColumns:#centered |
|
3543 |
! |
|
3544 |
||
3545 |
alignColumnsLeft |
|
3546 |
self alignColumns:#left |
|
3547 |
! |
|
3548 |
||
3549 |
alignColumnsRight |
|
3550 |
self alignColumns:#right |
|
3551 |
! |
|
3552 |
||
3553 |
alignLabels:how |
|
3554 |
self selectedColumnsDo:[:eachColDescr | |
|
3555 |
eachColDescr labelAlignment:how |
|
3556 |
]. |
|
3557 |
self updateAfterOperation. |
|
3558 |
! |
|
3559 |
||
3560 |
alignLabelsCentered |
|
3561 |
self alignLabels:#centered |
|
3562 |
! |
|
3563 |
||
3564 |
alignLabelsLeft |
|
3565 |
self alignLabels:#left |
|
3566 |
! |
|
3567 |
||
3568 |
alignLabelsRight |
|
3569 |
self alignLabels:#right |
|
3570 |
! |
|
3571 |
||
3572 |
makeColumnsSelectable |
|
3573 |
self makeColumnsSelectable:true |
|
3574 |
! |
|
3575 |
||
3576 |
makeColumnsSelectable:aBoolean |
|
3577 |
self selectedColumnsDo:[:eachColDescr | |
|
3578 |
eachColDescr canSelect:aBoolean |
|
3579 |
]. |
|
3580 |
self updateAfterOperation. |
|
3581 |
! |
|
3582 |
||
3583 |
makeColumnsUnselectable |
|
3584 |
self makeColumnsSelectable:false |
|
3585 |
! |
|
3586 |
||
2380
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3587 |
makeSelectedCellsSelectable |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3588 |
self selectedColumnsDo:[:eachColDescr | |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3589 |
eachColDescr canSelect:true |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3590 |
]. |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3591 |
self updateAfterOperation. |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3592 |
! |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3593 |
|
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3594 |
makeSelectedCellsUnselectable |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3595 |
self selectedColumnsDo:[:eachColDescr | |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3596 |
eachColDescr canSelect:false |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3597 |
]. |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3598 |
self updateAfterOperation. |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3599 |
! |
4dc5c818aa21
buld operation: selectable or not
Claus Gittinger <cg@exept.de>
parents:
2371
diff
changeset
|
3600 |
|
2262 | 3601 |
removeCellSeparators |
3602 |
self removeRowSeparators. |
|
3603 |
self removeColumnSeparators. |
|
3604 |
! |
|
3605 |
||
3606 |
removeColumnSeparators |
|
3607 |
self selectedColumnsDo:[:eachColDescr | |
|
3608 |
eachColDescr showColSeparator:false |
|
3609 |
]. |
|
3610 |
self updateAfterOperation. |
|
3611 |
! |
|
3612 |
||
3613 |
removeLabelColumnSeparators |
|
3614 |
self selectedColumnsDo:[:eachColDescr | |
|
3615 |
eachColDescr labelButtonType:#Group |
|
3616 |
]. |
|
3617 |
self updateAfterOperation. |
|
3618 |
! |
|
3619 |
||
3620 |
removeLabelSeparators |
|
3621 |
self selectedColumnsDo:[:eachColDescr | |
|
3622 |
eachColDescr labelButtonType:#None |
|
3623 |
]. |
|
3624 |
self updateAfterOperation. |
|
3625 |
! |
|
3626 |
||
3627 |
removeRowSeparators |
|
3628 |
self selectedColumnsDo:[:eachColDescr | |
|
3629 |
eachColDescr showRowSeparator:false |
|
3630 |
]. |
|
3631 |
self updateAfterOperation. |
|
3632 |
! |
|
3633 |
||
3634 |
selectedColumnsDo:aBlock |
|
3635 |
selectedColumnIndex isCollection ifTrue:[ |
|
3636 |
selectedColumnIndex do:[:idx | aBlock value:(columns at:idx)]. |
|
3637 |
] ifFalse:[ |
|
3638 |
selectedColumnIndex ~~ 0 ifTrue:[ |
|
3639 |
selectedColumnIndex notNil ifTrue:[ |
|
3640 |
aBlock value:(columns at:selectedColumnIndex) |
|
3641 |
] |
|
3642 |
]. |
|
3643 |
]. |
|
3644 |
! |
|
3645 |
||
2371
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3646 |
setCellColorSelectors |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3647 |
|fgSelector bgSelector| |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3648 |
|
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3649 |
fgSelector := Dialog request:'FG-Selector for all selected Columns (accept empty for none):'. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3650 |
fgSelector isNil ifTrue:[^ self]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3651 |
|
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3652 |
bgSelector := Dialog request:'BG-Selector for all selected Columns (accept empty for none):'. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3653 |
bgSelector isNil ifTrue:[^ self]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3654 |
|
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3655 |
self selectedColumnsDo:[:eachColDescr | |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3656 |
bgSelector notEmpty ifTrue:[ |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3657 |
eachColDescr backgroundSelector:bgSelector |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3658 |
]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3659 |
fgSelector notEmpty ifTrue:[ |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3660 |
eachColDescr foregroundSelector:fgSelector |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3661 |
]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3662 |
]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3663 |
self updateAfterOperation. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3664 |
! |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3665 |
|
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3666 |
setSelectedCellColorSelectors |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3667 |
|fgSelector bgSelector| |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3668 |
|
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3669 |
fgSelector := Dialog request:'Selected FG-Selector for all selected Columns (accept empty for none):'. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3670 |
fgSelector isNil ifTrue:[^ self]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3671 |
|
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3672 |
bgSelector := Dialog request:'Selected BG-Selector for all selected Columns (accept empty for none):'. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3673 |
bgSelector isNil ifTrue:[^ self]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3674 |
|
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3675 |
self selectedColumnsDo:[:eachColDescr | |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3676 |
bgSelector notEmpty ifTrue:[ |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3677 |
eachColDescr selectedBackgroundSelector:bgSelector |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3678 |
]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3679 |
fgSelector notEmpty ifTrue:[ |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3680 |
eachColDescr selectedForegroundSelector:fgSelector |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3681 |
]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3682 |
]. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3683 |
self updateAfterOperation. |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3684 |
! |
233e1bda3570
mass operations: color selected-color
Claus Gittinger <cg@exept.de>
parents:
2338
diff
changeset
|
3685 |
|
2262 | 3686 |
updateAfterOperation |
3687 |
self updateColumnView. |
|
3688 |
self updateInputFields. |
|
3689 |
self setModified. |
|
3690 |
! ! |
|
3691 |
||
332 | 3692 |
!DataSetBuilder methodsFor:'private'! |
3693 |
||
818 | 3694 |
labelFromColumn:aColumn |
1562
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3695 |
|label| |
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3696 |
|
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3697 |
aColumn rendererType == #rowSelector ifTrue:[ |
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3698 |
^ 'Row Selector' |
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3699 |
]. |
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3700 |
label := aColumn label. |
2152 | 3701 |
label isNil ifTrue:[^ nil]. |
1562
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3702 |
|
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3703 |
label isString ifTrue:[^ label]. |
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3704 |
|
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3705 |
label size > 0 ifTrue:[ |
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3706 |
label := label at:1. |
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3707 |
]. |
5bf39bbb2eb4
bugfix: if label is a sequence of strings, the row name
ca
parents:
1553
diff
changeset
|
3708 |
^ label printString |
1004 | 3709 |
! |
3710 |
||
3711 |
labelInPreviewPressed:anIndex |
|
1597
b670ad8c30e1
builder componentAt: -> self componentAt:
Claus Gittinger <cg@exept.de>
parents:
1580
diff
changeset
|
3712 |
(self componentAt:#labelAndColumns) selection:anIndex |
332 | 3713 |
! |
3714 |
||
3715 |
updateColumnView |
|
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3716 |
"updates the column view from column descriptions" |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3717 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3718 |
|size previewColumns columnList| |
825 | 3719 |
|
3720 |
columnView notNil ifTrue:[ |
|
3721 |
columnList := List new. |
|
1019 | 3722 |
previewColumns := OrderedCollection new. |
3723 |
||
3724 |
(size := columns size) ~~ 0 ifTrue:[ |
|
3725 |
columns do:[:aCol| |
|
3726 |
previewColumns add:(aCol copy) |
|
3727 |
]. |
|
1004 | 3728 |
previewColumns keysAndValuesDo:[:anIndex :column| |
1731 | 3729 |
column |
3730 |
readSelector: #at:; |
|
857 | 3731 |
writeSelector: #at:put:; |
3732 |
backgroundSelector:nil; |
|
3733 |
foregroundSelector:nil; |
|
983 | 3734 |
rowSeparatorSelector:nil; |
857 | 3735 |
selectSelector: nil; |
1009 | 3736 |
showComboFieldSelector: nil; |
1261 | 3737 |
selectSelector: nil; |
857 | 3738 |
doubleClickedSelector: nil; |
3739 |
printSelector: nil; |
|
1731 | 3740 |
visibilitySelector: nil; |
857 | 3741 |
menu: nil; |
1004 | 3742 |
labelActionSelector:#labelInPreviewPressed:; |
3743 |
labelActionArgument:anIndex; |
|
2626 | 3744 |
choices:#choices; |
3745 |
sortSelector: nil; |
|
3746 |
isSortable: false |
|
825 | 3747 |
]. |
1004 | 3748 |
#(' 1' ' 2' ' x') do:[:suffix| |
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3749 |
|oneRow| |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3750 |
|
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3751 |
oneRow := Row new:size. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3752 |
1 to:size do:[:i | oneRow at: i put: ('Cell%1-%2' bindWith:suffix with:i)]. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3753 |
columnList add: oneRow. |
825 | 3754 |
] |
3755 |
]. |
|
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
3756 |
|
825 | 3757 |
columnView list: #(). |
3758 |
columnView columnDescriptors: previewColumns. |
|
3759 |
columnView list: columnList. |
|
1156 | 3760 |
]. |
1014
9ddf012eba3e
need a deepCopy for previewColumns
Claus Gittinger <cg@exept.de>
parents:
1012
diff
changeset
|
3761 |
|
9ddf012eba3e
need a deepCopy for previewColumns
Claus Gittinger <cg@exept.de>
parents:
1012
diff
changeset
|
3762 |
"Modified: / 27.10.1998 / 14:41:16 / cg" |
419 | 3763 |
! |
3764 |
||
3765 |
updateInputFields |
|
825 | 3766 |
"reloads item value into input fields" |
419 | 3767 |
|
1836 | 3768 |
|column notifyValue| |
419 | 3769 |
|
1004 | 3770 |
(column := self selectedColumn) isNil ifTrue:[ |
419 | 3771 |
self tabModel value:0. |
1004 | 3772 |
] ifFalse:[ |
1836 | 3773 |
notifyValue := nil. "/ old: '' -> problems with Toggles (asBoolean) |
3774 |
||
3775 |
aspects do:[:anAspect| anAspect value:notifyValue ]. |
|
1036
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
3776 |
aspects keysAndValuesDo:[:aKey :aModel | |
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
3777 |
aModel value:(column perform:aKey) withoutNotifying: self |
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
3778 |
]. |
1311 | 3779 |
|
3780 |
"/ REPALCE nil by empty string for specific inputFields without an adapter |
|
3781 |
#( #labelActionArgument #formatString #id ) do:[:aKey| |model| |
|
3782 |
model := aspects at:aKey. |
|
1836 | 3783 |
model value isNil ifTrue:[model value:notifyValue withoutNotifying: self] |
1311 | 3784 |
]. |
3785 |
||
1156 | 3786 |
tabSelection == 0 ifTrue:[self tabModel value:1]. |
3787 |
]. |
|
332 | 3788 |
! ! |
3789 |
||
3790 |
!DataSetBuilder methodsFor:'selection'! |
|
3791 |
||
3792 |
selectedColumn |
|
419 | 3793 |
"returns selected column or nil" |
3794 |
||
2262 | 3795 |
selectedColumnIndex isCollection ifTrue:[ |
3796 |
^ selectedColumnIndex size == 1 |
|
3797 |
ifTrue:[ columns at:selectedColumnIndex first ] |
|
3798 |
ifFalse:[ nil ] |
|
3799 |
]. |
|
3800 |
||
419 | 3801 |
^selectedColumnIndex == 0 |
825 | 3802 |
ifFalse:[columns at:selectedColumnIndex ifAbsent: nil] |
419 | 3803 |
ifTrue: [nil] |
332 | 3804 |
! |
3805 |
||
3806 |
selectedColumnIndex |
|
419 | 3807 |
"returns selected column index or 0" |
3808 |
||
3809 |
^selectedColumnIndex |
|
332 | 3810 |
! |
3811 |
||
3812 |
selectedColumnIndex:something |
|
2262 | 3813 |
"changes selected column and updates specifications" |
419 | 3814 |
|
1004 | 3815 |
something == selectedColumnIndex ifFalse:[ |
332 | 3816 |
selectedColumnIndex := something ? 0. |
2557 | 3817 |
"/ self assert:( selectedColumnIndex <= columns size ). |
3818 |
"/ self assert:( selectedColumnIndex <= self seqList size ). |
|
408 | 3819 |
self isColumnSelected value: true |
1156 | 3820 |
]. |
332 | 3821 |
! |
3822 |
||
2262 | 3823 |
selectedColumnIndices |
3824 |
"returns selected column indices or #()" |
|
3825 |
||
3826 |
selectedColumnIndex == 0 ifTrue:[ ^ #() ]. |
|
3827 |
selectedColumnIndex isNumber ifTrue:[ ^ Array with:selectedColumnIndex ]. |
|
3828 |
^selectedColumnIndex |
|
3829 |
! |
|
3830 |
||
3831 |
selectedColumns |
|
3832 |
selectedColumnIndex isCollection ifTrue:[ |
|
3833 |
^ selectedColumnIndex collect:[:idx | columns at:idx] |
|
3834 |
]. |
|
3835 |
||
3836 |
^ selectedColumnIndex == 0 |
|
3837 |
ifFalse:[ Array with:(columns at:selectedColumnIndex) ] |
|
3838 |
ifTrue: [ #() ] |
|
3839 |
! |
|
3840 |
||
3841 |
singleSelectedColumnIndex |
|
3842 |
selectedColumnIndex isCollection ifTrue:[ |
|
3843 |
^ selectedColumnIndex size == 1 |
|
3844 |
ifTrue:[ selectedColumnIndex first ] |
|
3845 |
ifFalse:[ 0 ] |
|
3846 |
]. |
|
3847 |
||
3848 |
^ selectedColumnIndex |
|
3849 |
! |
|
3850 |
||
825 | 3851 |
tabSelection:something |
3852 |
"changes selected tab and set corresponding specification" |
|
419 | 3853 |
|
1300 | 3854 |
|view spec| |
3855 |
||
3856 |
something == tabSelection ifTrue:[^self]. |
|
3857 |
||
3858 |
(tabSelection := something) isNil ifTrue:[ |
|
3859 |
tabSelection == 0 ifTrue:[^ self]. |
|
3860 |
tabSelection := 0. |
|
3861 |
]. |
|
1004 | 3862 |
|
3863 |
self selectedColumn isNil ifTrue:[ |
|
1300 | 3864 |
tabSelection ~~ 0 ifTrue:[ |
3865 |
self tabModel value:0 |
|
3866 |
] ifFalse:[ |
|
3867 |
self canvasHolder value:nil |
|
3868 |
]. |
|
3869 |
^ self |
|
332 | 3870 |
]. |
1300 | 3871 |
|
3872 |
tabSelection == 0 ifTrue:[ |
|
3873 |
^ self tabModel value:1. |
|
1158 | 3874 |
]. |
1300 | 3875 |
|
3876 |
(view := listOfSpecViews at:tabSelection) isNil ifTrue:[ |
|
3877 |
view := SimpleView new. |
|
3878 |
spec := (self class slices at:tabSelection) last. |
|
1390 | 3879 |
|
3880 |
"/ view client:nil spec:(self class interfaceSpecFor:spec) builder:(self builder). |
|
1300 | 3881 |
view client:self spec:spec builder:(self builder). |
3882 |
listOfSpecViews at:tabSelection put:view. |
|
3883 |
]. |
|
3884 |
self canvasHolder value:view |
|
332 | 3885 |
! ! |
3886 |
||
1716 | 3887 |
!DataSetBuilder methodsFor:'startup & release'! |
408 | 3888 |
|
2000 | 3889 |
commonPostBuild |
3890 |
columnView := self componentAt:#columnView. |
|
3891 |
||
3892 |
columns notEmpty ifTrue: [ |
|
3893 |
self tabModel value: 1. |
|
3894 |
self selectedColumnModel value:nil; value:1. "/ toggle to force change |
|
3895 |
self updateInputFields. |
|
3896 |
self updateInfoLabel. |
|
3897 |
self updateHistory |
|
3898 |
]. |
|
3899 |
||
3900 |
(self componentAt: #labelAndColumns) |
|
3901 |
selectConditionBlock: [:i|self askForItemModification]; |
|
3902 |
action: [:i|self cancel]; |
|
3903 |
selection: 1. |
|
3904 |
||
3905 |
"/ using masters infoHolder ? |
|
3906 |
(builder aspectAt:#useAlienInfoLabelHolder) == true ifTrue:[ |
|
3907 |
(builder componentAt:#mainPanel) layout bottomOffset:0. |
|
3908 |
(builder componentAt:#infoBarSubSpec) beInvisible |
|
3909 |
] |
|
3910 |
! |
|
3911 |
||
826 | 3912 |
openModal |
3913 |
"sets the modalOpened flag, so later, |
|
3914 |
there is no need to ask for saving into a class" |
|
3915 |
||
3916 |
modalOpened := true. |
|
3917 |
super openModal |
|
3918 |
! |
|
3919 |
||
825 | 3920 |
openModalOnResourceSpec: aListSpec |
3921 |
"sets the modalOpened flag, so later, |
|
3922 |
there is no need to ask for saving into a class" |
|
419 | 3923 |
|
825 | 3924 |
modalOpened := true. |
3925 |
super openModalOnResourceSpec: aListSpec |
|
3926 |
||
3927 |
||
409 | 3928 |
! |
3929 |
||
2262 | 3930 |
postBuildListOfItemsView:aView |
3931 |
listOfItemsView := aView |
|
3932 |
! |
|
3933 |
||
3934 |
postBuildSpecView:aView |
|
3935 |
listOfItemsView := aView |
|
3936 |
! |
|
3937 |
||
1250 | 3938 |
postOpenWith:aBuilder |
2021 | 3939 |
"reset keyboardProcessor for menuBar" |
3940 |
||
2262 | 3941 |
super postOpenWith:aBuilder. |
1250 | 3942 |
aBuilder keyboardProcessor menuBar:nil. |
2262 | 3943 |
self windowGroup addPreEventHook:self. |
408 | 3944 |
! ! |
3945 |
||
419 | 3946 |
!DataSetBuilder methodsFor:'user actions'! |
3947 |
||
3948 |
accept |
|
3949 |
"accept changes made" |
|
3950 |
||
3951 |
|column type| |
|
3952 |
||
825 | 3953 |
super accept. |
419 | 3954 |
|
3955 |
(column := self selectedColumn) isNil ifTrue: [^self cancel]. |
|
3956 |
||
3957 |
type := (aspects at:#rendererType) value. |
|
3958 |
||
818 | 3959 |
type == #rowSelector ifTrue:[ |
1731 | 3960 |
#(label |
1944 | 3961 |
width minWidth usePreferredWidth editorType choices translatedChoices |
1731 | 3962 |
readSelector writeSelector printSelector visibilitySelector |
2816 | 3963 |
formatString formatSelector type converterSelector size height |
3964 |
canSelect selectSelector showComboFieldSelector |
|
1822 | 3965 |
minValue maxValue |
818 | 3966 |
) do:[:aKey| |
3967 |
(aspects at:aKey) value:nil |
|
3968 |
] |
|
419 | 3969 |
]. |
1036
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
3970 |
aspects keysAndValuesDo:[:aKey :aModel| |
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
3971 |
column perform:(aKey , ':') asSymbol with: aModel value |
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
3972 |
]. |
2262 | 3973 |
self seqList at:self singleSelectedColumnIndex put:(self labelFromColumn:column). |
419 | 3974 |
self updateColumnView. |
825 | 3975 |
self cancel. |
1974 | 3976 |
self clearModified. |
2816 | 3977 |
|
3978 |
"Modified: / 25-10-2010 / 10:41:55 / cg" |
|
419 | 3979 |
! |
3980 |
||
3981 |
cancel |
|
3982 |
"remove all changes and reload selected column values" |
|
3983 |
||
3984 |
self updateInputFields. |
|
1990 | 3985 |
self enablingCommitButtonsHolder value:false. |
1187 | 3986 |
self clearModifiedFlag. |
1990 | 3987 |
self enablingCommitButtonsHolder value:false. |
1014
9ddf012eba3e
need a deepCopy for previewColumns
Claus Gittinger <cg@exept.de>
parents:
1012
diff
changeset
|
3988 |
|
9ddf012eba3e
need a deepCopy for previewColumns
Claus Gittinger <cg@exept.de>
parents:
1012
diff
changeset
|
3989 |
"Modified: / 27.10.1998 / 14:41:41 / cg" |
419 | 3990 |
! |
3991 |
||
1036
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
3992 |
cutOrDelete:isCut |
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
3993 |
"remove selected column and optionally put it to the clipboard" |
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
3994 |
|
2262 | 3995 |
|indices selectionModel| |
3996 |
||
3997 |
((indices := self selectedColumnIndices) notEmpty and:[self askForItemModification]) ifFalse:[ |
|
1390 | 3998 |
^ self |
3999 |
]. |
|
4000 |
isCut ifTrue:[ |
|
2262 | 4001 |
self clipboard: (self selectedColumns) |
1390 | 4002 |
]. |
2262 | 4003 |
|
4004 |
selectionModel := self selectedColumnModel. |
|
4005 |
selectionModel value:0. |
|
4006 |
||
4007 |
indices sort reverseDo:[:idx | |
|
4008 |
columns removeIndex:idx. |
|
4009 |
self seqList removeIndex:idx. |
|
4010 |
]. |
|
4011 |
||
4012 |
selectionModel value:((indices max) min:(columns size)). |
|
4013 |
self updateColumnView. |
|
4014 |
self updateInputFields. |
|
1390 | 4015 |
|
4016 |
columns isEmpty ifTrue:[ |
|
4017 |
self isColumnSelected value: false |
|
4018 |
]. |
|
4019 |
self cancel. |
|
1974 | 4020 |
self setModified. |
1036
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
4021 |
! |
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
4022 |
|
2262 | 4023 |
doAddColumn:descr |
4024 |
"adds a new column after the selected column or at the left (if nothing is selected)" |
|
4025 |
||
2557 | 4026 |
columns add:descr afterIndex:(self singleSelectedColumnIndex min:columns size). |
2262 | 4027 |
self setDefaultValuesInNewColumn:descr. |
4028 |
self seqList add:(descr label) afterIndex:self singleSelectedColumnIndex. |
|
4029 |
self enablingCommitButtonsHolder value ifFalse:[ |
|
4030 |
self selectedColumnModel value:self singleSelectedColumnIndex + 1 |
|
4031 |
]. |
|
4032 |
self cancel. |
|
4033 |
self updateColumnView. |
|
4034 |
self setModified. |
|
4035 |
! |
|
4036 |
||
818 | 4037 |
doBrowseRowClass |
419 | 4038 |
"browse class of columns spec" |
4039 |
||
4040 |
|cls| |
|
4041 |
||
983 | 4042 |
(cls := self resolveRowClass) notNil |
2401 | 4043 |
ifTrue: [Smalltalk browseInClass:cls] |
842 | 4044 |
ifFalse:[self information:'No class defined !!'] |
4045 |
||
4046 |
"Modified: / 20.5.1998 / 03:48:04 / cg" |
|
419 | 4047 |
! |
4048 |
||
825 | 4049 |
doCopy |
2262 | 4050 |
"copy selected columns to the clipboard" |
4051 |
||
4052 |
|cols| |
|
4053 |
||
4054 |
cols := self selectedColumns. |
|
4055 |
cols notEmptyOrNil ifTrue:[ |
|
4056 |
self clipboard:(cols deepCopy) |
|
419 | 4057 |
] |
4058 |
! |
|
4059 |
||
4060 |
doCreateColumn |
|
4061 |
"create a new column after selected column or at left (nothing selected)" |
|
4062 |
||
2262 | 4063 |
|label list dscs descr| |
4064 |
||
4065 |
"/ list := self seqList. |
|
4066 |
"/ label := 'Column ', (list size + 1) printString. |
|
4067 |
"/ columns add:(dscs := DataSetColumnSpec label:label selector:nil) afterIndex:selectedColumnIndex. |
|
4068 |
"/ self setDefaultValuesInNewColumn:dscs. |
|
4069 |
"/ self seqList add:label afterIndex:selectedColumnIndex. |
|
4070 |
"/ self enablingCommitButtonsHolder value ifFalse:[ |
|
4071 |
"/ self selectedColumnModel value:selectedColumnIndex + 1 |
|
4072 |
"/ ]. |
|
4073 |
"/ self cancel. |
|
4074 |
"/ self updateColumnView. |
|
4075 |
"/ self setModified. |
|
4076 |
"/ |
|
4077 |
||
4078 |
label := 'Column ', (self seqList size + 1) printString. |
|
4079 |
descr := DataSetColumnSpec label:label selector:nil. |
|
4080 |
self doAddColumn:descr |
|
4081 |
! |
|
4082 |
||
4083 |
doCreateNonSelectableColumn |
|
4084 |
"create a new column after selected column or at left (nothing selected)" |
|
4085 |
||
4086 |
|label list dscs descr| |
|
4087 |
||
4088 |
"/ list := self seqList. |
|
4089 |
"/ label := 'Column ', (list size + 1) printString. |
|
4090 |
"/ columns add:(dscs := DataSetColumnSpec label:label selector:nil) afterIndex:selectedColumnIndex. |
|
4091 |
"/ self setDefaultValuesInNewColumn:dscs. |
|
4092 |
"/ self seqList add:label afterIndex:selectedColumnIndex. |
|
4093 |
"/ self enablingCommitButtonsHolder value ifFalse:[ |
|
4094 |
"/ self selectedColumnModel value:selectedColumnIndex + 1 |
|
4095 |
"/ ]. |
|
4096 |
"/ self cancel. |
|
4097 |
"/ self updateColumnView. |
|
4098 |
"/ self setModified. |
|
4099 |
"/ |
|
4100 |
||
4101 |
label := 'Column ', (self seqList size + 1) printString. |
|
4102 |
descr := DataSetColumnSpec label:label selector:nil. |
|
4103 |
descr canSelect:false. |
|
4104 |
self doAddColumn:descr |
|
419 | 4105 |
! |
4106 |
||
825 | 4107 |
doCut |
419 | 4108 |
"remove selected column and put it to the clipboard" |
4109 |
||
1036
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
4110 |
self cutOrDelete:true |
419 | 4111 |
! |
4112 |
||
818 | 4113 |
doDefineRowClass |
419 | 4114 |
"launch a dialog to define class and superclass" |
4115 |
||
1382 | 4116 |
|aspects cls oldClass oldSuper val classNameChannel superclassNameChannel| |
419 | 4117 |
|
4118 |
aspects := IdentityDictionary new. |
|
818 | 4119 |
oldClass := rowClass. |
4120 |
oldSuper := rowSuperClass. |
|
419 | 4121 |
|
4122 |
[true] |
|
4123 |
whileTrue: |
|
4124 |
[ |
|
1382 | 4125 |
rowClass notNil ifTrue:[ |
4126 |
(cls := self resolveRowClass) notNil ifTrue:[ |
|
818 | 4127 |
rowSuperClass := cls superclass name asString |
419 | 4128 |
]. |
1382 | 4129 |
val := rowClass |
4130 |
] ifFalse:[ |
|
4131 |
val := 'DSVRow' |
|
419 | 4132 |
]. |
1382 | 4133 |
aspects at:#classNameChannel put:(classNameChannel := ValueHolder with:val). |
419 | 4134 |
|
818 | 4135 |
rowSuperClass notNil |
1382 | 4136 |
ifTrue: [val := rowSuperClass] |
4137 |
ifFalse:[val := 'Object']. |
|
4138 |
aspects at:#superclassNameChannel put:(superclassNameChannel := ValueHolder with:val). |
|
419 | 4139 |
|
4140 |
(self openDialogInterface:#defineClassNameSpec withBindings:aspects) |
|
4141 |
ifFalse: |
|
4142 |
[ |
|
818 | 4143 |
rowClass := oldClass. |
4144 |
rowSuperClass := oldSuper. |
|
419 | 4145 |
^self |
4146 |
]. |
|
1382 | 4147 |
rowClass := (classNameChannel value) withoutSeparators. |
4148 |
rowSuperClass := (superclassNameChannel value) withoutSeparators. |
|
419 | 4149 |
|
818 | 4150 |
rowClass size == 0 |
419 | 4151 |
ifTrue: |
4152 |
[ |
|
818 | 4153 |
rowClass := nil. |
419 | 4154 |
self information:'no valid className' |
4155 |
] |
|
4156 |
ifFalse: |
|
4157 |
[ |
|
983 | 4158 |
cls := self resolveRowClass. |
419 | 4159 |
|
4160 |
cls notNil ifTrue:[cls := cls superclass name asString]. |
|
4161 |
||
818 | 4162 |
rowSuperClass size == 0 |
419 | 4163 |
ifTrue: |
4164 |
[ |
|
4165 |
cls notNil ifTrue:[ |
|
818 | 4166 |
rowSuperClass := cls |
419 | 4167 |
] ifFalse:[ |
818 | 4168 |
rowSuperClass := 'Object' |
419 | 4169 |
]. |
4170 |
self information: 'set superclassName' |
|
4171 |
] |
|
4172 |
ifFalse: |
|
4173 |
[ |
|
825 | 4174 |
(cls isNil or:[rowSuperClass = cls]) ifTrue:[^self]. |
818 | 4175 |
self information:('A global named ' , rowClass , ' exists,\' , |
4176 |
'but is not a subclass of ' , rowSuperClass, '.\\' , |
|
419 | 4177 |
'Check and try again if that is not what you want.') withCRs. |
4178 |
||
818 | 4179 |
rowSuperClass := cls |
419 | 4180 |
] |
4181 |
] |
|
4182 |
] |
|
846 | 4183 |
|
4184 |
"Modified: / 21.5.1998 / 03:08:42 / cg" |
|
419 | 4185 |
! |
4186 |
||
825 | 4187 |
doDelete |
4188 |
"remove selected column and put it to the clipboard" |
|
4189 |
||
1036
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
4190 |
self cutOrDelete:false |
26ebad245428
fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents:
1033
diff
changeset
|
4191 |
|
825 | 4192 |
! |
4193 |
||
419 | 4194 |
doGenerateCode |
4195 |
"generate code for column values" |
|
4196 |
||
4197 |
|cls superclass| |
|
4198 |
||
818 | 4199 |
rowClass isNil ifTrue:[^self information:'No class defined!!']. |
983 | 4200 |
cls := self resolveRowClass. |
419 | 4201 |
|
4202 |
cls isNil |
|
4203 |
ifTrue: |
|
4204 |
[ |
|
818 | 4205 |
superclass := Smalltalk resolveName:rowSuperClass inClass:self class. |
419 | 4206 |
|
4207 |
superclass isNil ifTrue:[^self information:'No superclass defined!!']. |
|
818 | 4208 |
(self confirm:'create ' , rowClass , ' ?') ifFalse:[^self]. |
4209 |
cls := superclass subclass:rowClass asSymbol |
|
419 | 4210 |
instanceVariableNames:'' |
4211 |
classVariableNames:'' |
|
4212 |
poolDictionaries:'' |
|
4213 |
category:'Applications'. |
|
4214 |
]. |
|
4215 |
||
4216 |
self generateChoicesIn:cls. |
|
4217 |
self generateMenuIn:cls. |
|
4218 |
self generatePrintSelectorIn:cls. |
|
4219 |
self generateReadSelectorIn:cls. |
|
4220 |
self generateBackgroundSelectorIn:cls. |
|
4221 |
self generateForegroundSelectorIn:cls. |
|
4222 |
self generateSelectSelectorIn:cls. |
|
4223 |
self generateWriteSelectorIn:cls. |
|
4224 |
self generateDoubleClickSelectorIn:cls. |
|
983 | 4225 |
self generateRowSeparatorSelectorIn:cls. |
1009 | 4226 |
self generateShowComboFieldSelectorIn:cls. |
4227 |
||
419 | 4228 |
! |
4229 |
||
4230 |
doMoveColumn:upOrDown |
|
4231 |
"move selected column up or down" |
|
4232 |
||
2558 | 4233 |
|idx list label col size tabIndex| |
419 | 4234 |
|
2262 | 4235 |
(idx := self singleSelectedColumnIndex) == 0 ifTrue:[^self]. |
419 | 4236 |
list := self seqList. |
4237 |
size := list size. |
|
4238 |
||
2558 | 4239 |
size > 1 ifFalse:[ ^ self ]. |
4240 |
||
419 | 4241 |
selectedColumnIndex := 0. |
2558 | 4242 |
tabIndex := self tabModel value. |
4243 |
||
419 | 4244 |
label := list at:idx. |
4245 |
col := columns at:idx. |
|
4246 |
list removeIndex:idx. |
|
4247 |
columns removeIndex:idx. |
|
4248 |
||
2262 | 4249 |
upOrDown == #up ifTrue:[ |
419 | 4250 |
idx == 1 ifTrue:[idx := size] |
4251 |
ifFalse:[idx := idx - 1] |
|
2262 | 4252 |
] ifFalse:[ |
419 | 4253 |
idx == size ifTrue:[idx := 1] |
4254 |
ifFalse:[idx := idx + 1] |
|
4255 |
]. |
|
4256 |
columns add:col beforeIndex:idx. |
|
2558 | 4257 |
list add:label beforeIndex:idx. |
4258 |
||
419 | 4259 |
self selectedColumnModel value:idx. |
4260 |
self updateColumnView. |
|
2558 | 4261 |
self tabModel value:tabIndex. |
4262 |
||
1974 | 4263 |
self setModified. |
419 | 4264 |
! |
4265 |
||
2262 | 4266 |
doMoveDown |
4267 |
self doMoveColumn:#down |
|
4268 |
! |
|
4269 |
||
4270 |
doMoveUp |
|
4271 |
self doMoveColumn:#up |
|
4272 |
! |
|
4273 |
||
825 | 4274 |
doPaste |
419 | 4275 |
"paste clipboard copy column after selected column or at left (nothing selected)" |
4276 |
||
2262 | 4277 |
|cols idx newSel| |
4278 |
||
4279 |
self askForItemModification ifFalse: [^ self]. |
|
4280 |
||
4281 |
cols := self class clipboard. |
|
4282 |
cols isEmptyOrNil ifTrue:[^ self]. |
|
4283 |
||
4284 |
idx := (self selectedColumnIndices) isEmpty |
|
4285 |
ifTrue:[ columns size ] |
|
4286 |
ifFalse:[ self selectedColumnIndices max ]. |
|
4287 |
||
4288 |
newSel := OrderedCollection new. |
|
4289 |
cols do:[:col | |
|
4290 |
| lbl| |
|
4291 |
||
4292 |
lbl := self labelFromColumn:col. |
|
4293 |
||
4294 |
columns add:(col deepCopy) afterIndex:idx. |
|
4295 |
self seqList add:lbl afterIndex:idx. |
|
4296 |
idx := idx + 1. |
|
4297 |
newSel add:idx. |
|
4298 |
]. |
|
419 | 4299 |
|
1990 | 4300 |
self enablingCommitButtonsHolder value ifFalse:[ |
2262 | 4301 |
self selectedColumnModel value:newSel "/idx |
818 | 4302 |
]. |
419 | 4303 |
self updateColumnView. |
556 | 4304 |
self updateInputFields. |
1974 | 4305 |
self setModified. |
818 | 4306 |
! |
4307 |
||
4308 |
doPickColumns |
|
4309 |
||
4310 |
|view cls| |
|
4311 |
||
4312 |
view := Screen current viewFromUser. |
|
4313 |
cls := view class. |
|
4314 |
||
4315 |
(cls == DSVColumnView or:[cls == DataSetView or:[cls == DSVLabelView]]) ifTrue:[ |
|
4316 |
self columns:(view columnView columnDescriptors) |
|
4317 |
] |
|
4318 |
! |
|
4319 |
||
4320 |
doSave |
|
1144 | 4321 |
|cls dst spc category mthd excla code resourceType| |
818 | 4322 |
|
2549
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
4323 |
editingSpecOnly == true ifTrue:[ |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
4324 |
acceptedColumns := columns. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
4325 |
hasSaved := true. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
4326 |
self clearModified. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
4327 |
^ self. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
4328 |
]. |
55c5ca5f8689
more fixes to run on spec only (no class/selector)
Claus Gittinger <cg@exept.de>
parents:
2484
diff
changeset
|
4329 |
|
818 | 4330 |
(columns size ~~ 0 and:[super doSave]) ifFalse:[ |
4331 |
^ nil |
|
4332 |
]. |
|
983 | 4333 |
|
818 | 4334 |
cls := self resolveName:specClass. |
4335 |
dst := columns collect:[:aCol| aCol literalArrayEncoding ]. |
|
4336 |
spc := WriteStream on:String new. |
|
1105
a19cdc769750
stupid code-generation from Thomas fixed.
Claus Gittinger <cg@exept.de>
parents:
1073
diff
changeset
|
4337 |
spc nextPutAll:' ^'. |
818 | 4338 |
UISpecification prettyPrintSpecArray:dst asArray on:spc indent:4. |
4339 |
spc := spc contents. |
|
4340 |
||
4341 |
"/ if that method already exists, do not overwrite the category |
|
4342 |
||
4343 |
resourceType := self class resourceType. |
|
4344 |
category := resourceType, ' specs'. |
|
4345 |
||
4346 |
(mthd := cls class compiledMethodAt:specSelector) notNil ifTrue:[ |
|
4347 |
category := mthd category. |
|
4348 |
]. |
|
4349 |
||
4350 |
excla := Character excla asString. |
|
4351 |
||
4352 |
code := excla |
|
4353 |
, (cls name , ' class methodsFor:' , category storeString) |
|
4354 |
, excla , '\\' |
|
4355 |
||
4356 |
, specSelector , '\' |
|
4357 |
, (self class codeGenerationComment replChar:$!! withString:'!!!!') |
|
4358 |
, '\\ "\' |
|
4359 |
, (' DataSetBuilder new openOnClass:' , cls name , ' andSelector:#' , specSelector , '\') |
|
4360 |
, ' "\'. |
|
4361 |
||
4362 |
code := code |
|
4363 |
, '\' |
|
4364 |
, ' <resource: #', resourceType, '>\\' |
|
4365 |
, spc |
|
4366 |
, '\' |
|
4367 |
, (excla , ' ' , excla) |
|
4368 |
, '\\'. |
|
4369 |
||
4370 |
code := code withCRs. |
|
4371 |
(ReadStream on:code) fileIn. |
|
4372 |
||
4373 |
"/ self isStandAlone ifTrue: [self helpTool installHelpSpecsOnClass:self specClass]. |
|
4374 |
||
4375 |
self updateHistory. |
|
4376 |
self updateInfoLabel. |
|
4377 |
||
4378 |
hasSaved := true. |
|
1974 | 4379 |
self clearModified. |
1619 | 4380 |
! |
4381 |
||
4382 |
openDocumentation |
|
4383 |
self openHTMLDocument:'tools/uipainter/DataSetBuilder.html'. |
|
419 | 4384 |
! ! |
4385 |
||
1004 | 4386 |
!DataSetBuilder::Row methodsFor:'accessing'! |
4387 |
||
4388 |
choices |
|
4389 |
^ #( 'foo' 'bar' 'baz' ) |
|
4390 |
||
4391 |
||
4392 |
! ! |
|
4393 |
||
4394 |
!DataSetBuilder::Row methodsFor:'message handling'! |
|
4395 |
||
4396 |
doesNotUnderstand:aMessage |
|
4397 |
"does not understand message; delegate to column view |
|
4398 |
" |
|
4399 |
^ nil |
|
4400 |
||
4401 |
! ! |
|
4402 |
||
332 | 4403 |
!DataSetBuilder class methodsFor:'documentation'! |
4404 |
||
4405 |
version |
|
4406 |
^ '$Header$' |
|
2625 | 4407 |
! |
4408 |
||
4409 |
version_CVS |
|
4410 |
^ '$Header$' |
|
332 | 4411 |
! ! |