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