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