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