DataSetBuilder.st
author tz
Mon, 19 Jan 1998 11:38:41 +0100
changeset 430 fa18d386b936
parent 429 132c3299631c
child 431 23ff7c325946
permissions -rw-r--r--
commit buttons replaced by subSpec in ToolApplicationModel + new button icons
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
     1
"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
     2
 COPYRIGHT (c) 1997 by eXept Software AG / Claus Gittinger
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
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
    17
ToolApplicationModel subclass:#DataSetBuilder
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    18
	instanceVariableNames:'className superclassName hasChanged columnView columns
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    19
		selectedColumnIndex tabSelectionIndex aspects isModified'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    20
	classVariableNames:'Number'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    21
	poolDictionaries:''
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    22
	category:'Interface-UIPainter'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    23
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    24
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    25
!DataSetBuilder class methodsFor:'documentation'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    26
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    27
copyright
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    28
"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    29
 COPYRIGHT (c) 1997 by eXept Software AG / Claus Gittinger
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    30
              All Rights Reserved
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    31
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    32
 This software is furnished under a license and may be used
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    33
 only in accordance with the terms of that license and with the
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    34
 inclusion of the above copyright notice.   This software may not
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    35
 be provided or otherwise made available to, or used by, any
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    36
 other person.  No title to or ownership of the software is
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    37
 hereby transferred.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    38
"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    39
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    40
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    41
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    42
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    43
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    44
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    45
documentation
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    46
"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    47
    create and modify or inspect dataset columns; used by UIPainter (DataSetColumnSpec)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    48
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    49
    [see also:]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    50
        DataSetColumnSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    51
        DataSetSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    52
        DataSetView
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    53
        DataSetColumn
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    54
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    55
    [author:]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    56
        Claus Atzkern
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    57
"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    58
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    59
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    60
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    61
!DataSetBuilder class methodsFor:'columns specs'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    62
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    63
basicsEditSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    64
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    65
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    66
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    67
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    68
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    69
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    70
     UIPainter new openOnClass:DataSetBuilder andSelector:#basicsEditSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    71
     DataSetBuilder new openInterface:#basicsEditSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    72
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    73
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    74
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    75
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    76
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    77
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    78
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    79
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    80
           #(#WindowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    81
              #'name:' 'DataSet Basic'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
    82
              #'layout:' #(#LayoutFrame 203 0 383 0 491 0 638 0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    83
              #'label:' 'DataSet Basic'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    84
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    85
              #'max:' #(#Point 1280 1024)
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
    86
              #'bounds:' #(#Rectangle 203 383 492 639)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
    87
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    88
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    89
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    90
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    91
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    92
               #(
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
    93
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
    94
                    #'name:' 'framedBox1'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
    95
                    #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 92 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
    96
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
    97
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
    98
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
    99
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   100
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   101
                              #'name:' 'label1'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   102
                              #'layout:' #(#AlignmentOrigin 107 0 32 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   103
                              #'label:' 'Label:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   104
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   105
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   106
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   107
                              #'name:' 'labelField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   108
                              #'layout:' #(#LayoutFrame 110 0 21 0 15 1.0 43 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   109
                              #'activeHelpKey:' #label
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   110
                              #'model:' #label
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   111
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   112
                           #(#CheckBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   113
                              #'name:' 'labelIsImage'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   114
                              #'layout:' #(#LayoutOrigin 107 0 47 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   115
                              #'activeHelpKey:' #labelIsImage
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   116
                              #'model:' #labelIsImage
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   117
                              #'label:' 'Label Is Image'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   118
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   119
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   120
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   121
                    #'label:' 'Header:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   122
                    #'labelPosition:' #topLeft
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   123
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   124
                 #(#FramedBoxSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   125
                    #'name:' 'typesFrame'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   126
                    #'layout:' #(#LayoutFrame 0 0.0 92 0 0 1.0 174 0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   127
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   128
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   129
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   130
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   131
                           #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   132
                              #'name:' 'rendererLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   133
                              #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   134
                              #'label:' 'Renderer:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   135
                              #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   136
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   137
                           #(#ComboListSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   138
                              #'name:' 'rendererField'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   139
                              #'layout:' #(#LayoutFrame 110 0 18 0 15 1.0 40 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   140
                              #'activeHelpKey:' #rendererType
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   141
                              #'model:' #rendererType
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   142
                              #'comboList:' #rendererTypeList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   143
                              #'useIndex:' false
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   144
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   145
                           #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   146
                              #'name:' 'editorLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   147
                              #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   148
                              #'label:' 'Editor:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   149
                              #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   150
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   151
                           #(#ComboBoxSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   152
                              #'name:' 'editorField'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   153
                              #'layout:' #(#LayoutFrame 110 0 44 0 15 1.0 66 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   154
                              #'activeHelpKey:' #editorField
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   155
                              #'model:' #editorType
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   156
                              #'type:' #symbolOrNil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   157
                              #'comboList:' #editorTypeList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   158
                              #'useIndex:' false
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   159
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   160
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   161
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   162
                    #'label:' 'Cell Type:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   163
                    #'labelPosition:' #topLeft
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   164
                )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   165
              )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   166
          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   167
      )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   168
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   169
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   170
colorsEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   171
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   172
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   173
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   174
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   175
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   176
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   177
     UIPainter new openOnClass:DataSetBuilder andSelector:#colorsEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   178
     DataSetBuilder new openInterface:#colorsEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   179
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   180
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   181
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   182
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   183
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   184
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   185
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   186
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   187
           #(#WindowSpec
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   188
              #'name:' 'DataSet Misc'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   189
              #'layout:' #(#LayoutFrame 160 0 369 0 528 0 668 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   190
              #'label:' 'DataSet Misc'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   191
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   192
              #'max:' #(#Point 1280 1024)
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   193
              #'bounds:' #(#Rectangle 160 369 529 669)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   194
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   195
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   196
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   197
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   198
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   199
               #(
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   200
                 #(#FramedBoxSpec
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   201
                    #'name:' 'ColorsBox'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   202
                    #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 88 0)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   203
                    #'component:' 
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   204
                     #(#SpecCollection
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   205
                        #'collection:' 
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   206
                         #(
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   207
                           #(#ColorMenuSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   208
                              #'name:' 'colorMenu1'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   209
                              #'layout:' #(#LayoutFrame 110 0 15 0 12 1.0 37 0)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   210
                              #'activeHelpKey:' #foregroundColor
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   211
                              #'model:' #labelForegroundColor
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   212
                              #'labelsAreColored:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   213
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   214
                           #(#LabelSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   215
                              #'name:' 'label1'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   216
                              #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   217
                              #'label:' 'Foreground:'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   218
                              #'adjust:' #right
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   219
                              #'resizeForLabel:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   220
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   221
                           #(#LabelSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   222
                              #'name:' 'label2'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   223
                              #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   224
                              #'label:' 'Background:'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   225
                              #'adjust:' #right
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   226
                              #'resizeForLabel:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   227
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   228
                           #(#ColorMenuSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   229
                              #'name:' 'colorMenu2'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   230
                              #'layout:' #(#LayoutFrame 110 0 43 0 12 1.0 65 0)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   231
                              #'activeHelpKey:' #backgroundColor
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   232
                              #'model:' #labelBackgroundColor
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   233
                              #'labelsAreColored:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   234
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   235
                        )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   236
                    )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   237
                    #'label:' 'Label Colors:'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   238
                    #'labelPosition:' #topLeft
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   239
                )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   240
                 #(#FramedBoxSpec
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   241
                    #'name:' 'defaultColorsBox'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   242
                    #'layout:' #(#LayoutFrame 0 0.0 88 0 0 1.0 230 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   243
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   244
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   245
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   246
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   247
                           #(#ColorMenuSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   248
                              #'name:' 'fgMenu'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   249
                              #'layout:' #(#LayoutFrame 110 0 15 0 12 1.0 37 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   250
                              #'activeHelpKey:' #foregroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   251
                              #'model:' #foregroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   252
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   253
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   254
                              #'name:' 'fgLabel'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   255
                              #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   256
                              #'label:' 'Foreground:'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   257
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   258
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   259
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   260
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   261
                              #'name:' 'bgLabel'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   262
                              #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   263
                              #'label:' 'Background:'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   264
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   265
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   266
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   267
                           #(#ColorMenuSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   268
                              #'name:' 'bgMenu'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   269
                              #'layout:' #(#LayoutFrame 110 0 43 0 12 1.0 65 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   270
                              #'activeHelpKey:' #backgroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   271
                              #'model:' #backgroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   272
                          )
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   273
                           #(#LabelSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   274
                              #'name:' 'fgSelLabel'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   275
                              #'layout:' #(#AlignmentOrigin 107 0 89 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   276
                              #'label:' 'FG-Selector:'
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   277
                              #'adjust:' #right
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   278
                              #'resizeForLabel:' true
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   279
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   280
                           #(#LabelSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   281
                              #'name:' 'bgSelLabel'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   282
                              #'layout:' #(#AlignmentOrigin 107 0 114 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   283
                              #'label:' 'BG-Selector:'
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   284
                              #'adjust:' #right
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   285
                              #'resizeForLabel:' true
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   286
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   287
                           #(#InputFieldSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   288
                              #'name:' 'bgSelField'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   289
                              #'layout:' #(#LayoutFrame 110 0 103 0 15 1.0 125 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   290
                              #'activeHelpKey:' #backgroundSelector
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   291
                              #'model:' #backgroundSelector
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   292
                              #'type:' #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   293
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   294
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   295
                              #'name:' 'fgSelField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   296
                              #'layout:' #(#LayoutFrame 110 0 78 0 15 1.0 100 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   297
                              #'activeHelpKey:' #foregroundSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   298
                              #'model:' #foregroundSelector
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   299
                              #'type:' #symbolOrNil
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   300
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   301
                        )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   302
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   303
                    #'label:' 'Cell Colors:'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   304
                    #'labelPosition:' #topLeft
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   305
                )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   306
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   307
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   308
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   309
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   310
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   311
formatEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   312
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   313
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   314
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   315
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   316
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   317
    "
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   318
     UIPainter new openOnClass:DataSetBuilder andSelector:#formatEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   319
     DataSetBuilder new openInterface:#formatEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   320
    "
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   321
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   322
    <resource: #canvas>
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   323
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   324
    ^
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   325
     
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   326
       #(#FullSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   327
          #'window:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   328
           #(#WindowSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   329
              #'name:' 'DataSet Details'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   330
              #'layout:' #(#LayoutFrame 231 0 359 0 618 0 650 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   331
              #'label:' 'DataSet Details'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   332
              #'min:' #(#Point 10 10)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   333
              #'max:' #(#Point 1280 1024)
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   334
              #'bounds:' #(#Rectangle 231 359 619 651)
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   335
              #'usePreferredExtent:' false
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   336
          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   337
          #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   338
           #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   339
              #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   340
               #(
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   341
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   342
                    #'name:' 'framedBox1'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   343
                    #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 87 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   344
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   345
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   346
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   347
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   348
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   349
                              #'name:' 'typeLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   350
                              #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   351
                              #'label:' 'Input Type:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   352
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   353
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   354
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   355
                              #'name:' 'sizeLabel'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   356
                              #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   357
                              #'label:' 'Max Size:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   358
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   359
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   360
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   361
                              #'name:' 'sizeField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   362
                              #'layout:' #(#LayoutFrame 110 0 44 0 15 1.0 66 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   363
                              #'activeHelpKey:' #size
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   364
                              #'model:' #size
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   365
                              #'type:' #numberOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   366
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   367
                           #(#ComboListSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   368
                              #'name:' 'typeCombo'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   369
                              #'layout:' #(#LayoutFrame 110 0 18 0 15 1.0 40 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   370
                              #'activeHelpKey:' #type
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   371
                              #'model:' #type
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   372
                              #'comboList:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   373
                               #(#string
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   374
                                  #password #number
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   375
                                  #numberOrNil #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   376
                              )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   377
                              #'useIndex:' false
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   378
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   379
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   380
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   381
                    #'label:' 'Input Format'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   382
                    #'labelPosition:' #topLeft
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   383
                )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   384
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   385
                    #'name:' 'framedBox2'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   386
                    #'layout:' #(#LayoutFrame 0 0.0 87 0 0 1.0 175 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   387
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   388
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   389
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   390
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   391
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   392
                              #'name:' 'formatLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   393
                              #'layout:' #(#AlignmentOrigin 107 0 56 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   394
                              #'label:' 'Text Format:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   395
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   396
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   397
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   398
                              #'name:' 'JustificationLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   399
                              #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   400
                              #'label:' 'Justification:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   401
                              #'adjust:' #left
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   402
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   403
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   404
                           #(#PopUpListSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   405
                              #'name:' 'Alignment'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   406
                              #'layout:' #(#LayoutFrame 110 0 18 0 15 1.0 40 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   407
                              #'label:' 'Alignment'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   408
                              #'model:' #labelAlignment
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   409
                              #'menu:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   410
                               #(#left
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   411
                                  #right #center
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   412
                              )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   413
                              #'useIndex:' false
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   414
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   415
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   416
                              #'name:' 'formatField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   417
                              #'layout:' #(#LayoutFrame 110 0 45 0 15 1.0 67 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   418
                              #'activeHelpKey:' #formatString
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   419
                              #'model:' #formatString
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   420
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   421
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   422
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   423
                    #'label:' 'Output Format'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   424
                    #'labelPosition:' #topLeft
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   425
                )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   426
              )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   427
          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   428
      )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   429
!
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   430
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   431
frameEditSpec
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   432
    "this window spec was automatically generated by the ST/X UIPainter"
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   433
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   434
    "do not manually edit this - the painter/builder may not be able to
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   435
     handle the specification if its corrupted."
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   436
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   437
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   438
     UIPainter new openOnClass:DataSetBuilder andSelector:#frameEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   439
     DataSetBuilder new openInterface:#frameEditSpec
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   440
    "
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   441
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   442
    <resource: #canvas>
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   443
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   444
    ^
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   445
     
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   446
       #(#FullSpec
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   447
          #'window:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   448
           #(#WindowSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   449
              #'name:' 'DataSet Dimension'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   450
              #'layout:' #(#LayoutFrame 250 0 405 0 540 0 618 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   451
              #'label:' 'DataSet Dimension'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   452
              #'min:' #(#Point 10 10)
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   453
              #'max:' #(#Point 1280 1024)
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   454
              #'bounds:' #(#Rectangle 250 405 541 619)
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   455
              #'usePreferredExtent:' false
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   456
          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   457
          #'component:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   458
           #(#SpecCollection
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   459
              #'collection:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   460
               #(
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   461
                 #(#FramedBoxSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   462
                    #'name:' 'separatorBox'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   463
                    #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 86 0)
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   464
                    #'component:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   465
                     #(#SpecCollection
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   466
                        #'collection:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   467
                         #(
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   468
                           #(#CheckBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   469
                              #'name:' 'showRowSeparator'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   470
                              #'layout:' #(#LayoutFrame 18 0 19 0 194 0 42 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   471
                              #'activeHelpKey:' #showRowSeparator
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   472
                              #'model:' #showRowSeparator
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   473
                              #'label:' 'Show Row-Separator'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   474
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   475
                           #(#CheckBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   476
                              #'name:' 'showColSeparator'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   477
                              #'layout:' #(#LayoutFrame 18 0 45 0 194 0 68 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   478
                              #'activeHelpKey:' #showColumnSeparator
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   479
                              #'model:' #showColSeparator
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   480
                              #'label:' 'Show Column-Separator'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   481
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   482
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   483
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   484
                    #'label:' 'Separators'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   485
                    #'labelPosition:' #topLeft
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   486
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   487
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   488
                    #'name:' 'framedBox1'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   489
                    #'layout:' #(#LayoutFrame 0 0.0 86 0 0 1.0 198 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   490
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   491
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   492
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   493
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   494
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   495
                              #'name:' 'heightField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   496
                              #'layout:' #(#LayoutFrame 110 0 73 0 15 1.0 95 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   497
                              #'activeHelpKey:' #height
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   498
                              #'model:' #height
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   499
                              #'type:' #numberOrNil
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   500
                          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   501
                           #(#LabelSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   502
                              #'name:' 'heightLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   503
                              #'layout:' #(#AlignmentOrigin 107 0.0 84 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   504
                              #'label:' 'Row Height:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   505
                              #'adjust:' #right
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   506
                              #'resizeForLabel:' true
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   507
                          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   508
                           #(#LabelSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   509
                              #'name:' 'minWidthLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   510
                              #'layout:' #(#AlignmentOrigin 107 0.0 53 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   511
                              #'label:' 'Min Width:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   512
                              #'adjust:' #right
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   513
                              #'resizeForLabel:' true
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   514
                          )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   515
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   516
                              #'name:' 'minWidthField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   517
                              #'layout:' #(#LayoutFrame 110 0 42 0 15 1.0 64 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   518
                              #'activeHelpKey:' #minWidth
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   519
                              #'model:' #minWidth
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   520
                              #'type:' #numberOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   521
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   522
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   523
                              #'name:' 'widthLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   524
                              #'layout:' #(#AlignmentOrigin 107 0.0 28 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   525
                              #'label:' 'Column Width:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   526
                              #'adjust:' #right
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   527
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   528
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   529
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   530
                              #'name:' 'widthField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   531
                              #'layout:' #(#LayoutFrame 110 0 17 0 15 1.0 39 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   532
                              #'activeHelpKey:' #width
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   533
                              #'model:' #width
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   534
                              #'type:' #numberOrNil
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   535
                          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   536
                        )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   537
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   538
                    #'label:' 'Dimensions:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   539
                    #'labelPosition:' #topLeft
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   540
                )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   541
              )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   542
          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   543
      )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   544
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   545
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   546
selectionEditSpec
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   547
    "this window spec was automatically generated by the ST/X UIPainter"
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   548
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   549
    "do not manually edit this - the painter/builder may not be able to
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   550
     handle the specification if its corrupted."
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   551
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   552
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   553
     UIPainter new openOnClass:DataSetBuilder andSelector:#selectionEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   554
     DataSetBuilder new openInterface:#selectionEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   555
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   556
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   557
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   558
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   559
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   560
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   561
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   562
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   563
           #(#WindowSpec
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   564
              #'name:' 'DataSet Basic'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   565
              #'layout:' #(#LayoutFrame 305 0 415 0 593 0 670 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   566
              #'label:' 'DataSet Basic'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   567
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   568
              #'max:' #(#Point 1280 1024)
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   569
              #'bounds:' #(#Rectangle 305 415 594 671)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   570
              #'usePreferredExtent:' false
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   571
          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   572
          #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   573
           #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   574
              #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   575
               #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   576
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   577
                    #'name:' 'framedBox1'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   578
                    #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 84 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   579
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   580
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   581
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   582
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   583
                           #(#CheckBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   584
                              #'name:' 'canSelect'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   585
                              #'layout:' #(#Point 107 17)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   586
                              #'activeHelpKey:' #canSelect
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   587
                              #'model:' #canSelect
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   588
                              #'label:' 'Is Selectable'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   589
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   590
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   591
                              #'name:' 'selectorLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   592
                              #'layout:' #(#AlignmentOrigin 107 0 53 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   593
                              #'label:' 'Selector:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   594
                              #'adjust:' #right
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   595
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   596
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   597
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   598
                              #'name:' 'selectSelector'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   599
                              #'layout:' #(#LayoutFrame 110 0 42 0 15 1.0 64 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   600
                              #'activeHelpKey:' #selectSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   601
                              #'model:' #selectSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   602
                              #'type:' #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   603
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   604
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   605
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   606
                    #'label:' 'Selection:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   607
                    #'labelPosition:' #topLeft
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   608
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   609
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   610
                    #'name:' 'framedBox2'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   611
                    #'layout:' #(#LayoutFrame 0 0.0 84 0 0 1.0 166 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   612
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   613
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   614
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   615
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   616
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   617
                              #'name:' 'ActionLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   618
                              #'layout:' #(#AlignmentOrigin 107 0 28 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   619
                              #'label:' 'Selector:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   620
                              #'adjust:' #left
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   621
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   622
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   623
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   624
                              #'name:' 'ActionSelector'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   625
                              #'layout:' #(#LayoutFrame 110 0 17 0 15 1.0 39 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   626
                              #'model:' #labelActionSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   627
                              #'type:' #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   628
                          )
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   629
                           #(#LabelSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   630
                              #'name:' 'ArgumentLabel'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   631
                              #'layout:' #(#AlignmentOrigin 107 0 53 0 1 0.5)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   632
                              #'label:' 'Argument:'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   633
                              #'adjust:' #left
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   634
                              #'resizeForLabel:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   635
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   636
                           #(#InputFieldSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   637
                              #'name:' 'ArgumentValue'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   638
                              #'layout:' #(#LayoutFrame 110 0 42 0 15 1.0 64 0)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   639
                              #'model:' #labelActionArgument
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   640
                              #'type:' #string
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   641
                          )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   642
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   643
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   644
                    #'label:' 'Select Action:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   645
                    #'labelPosition:' #topLeft
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   646
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   647
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   648
                    #'name:' 'framedBox3'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   649
                    #'layout:' #(#LayoutFrame 0 0.0 166 0 0 1.0 220 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   650
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   651
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   652
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   653
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   654
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   655
                              #'name:' 'doubleLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   656
                              #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   657
                              #'label:' 'Selector:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   658
                              #'adjust:' #right
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   659
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   660
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   661
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   662
                              #'name:' 'doubleClicked'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   663
                              #'layout:' #(#LayoutFrame 110 0 16 0 15 1.0 38 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   664
                              #'activeHelpKey:' #doubleClickedSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   665
                              #'model:' #doubleClickedSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   666
                              #'type:' #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   667
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   668
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   669
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   670
                    #'label:' 'Doubel Click:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   671
                    #'labelPosition:' #topLeft
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   672
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   673
              )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   674
          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   675
      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   676
!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   677
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   678
valuesEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   679
    "this window spec was automatically generated by the ST/X UIPainter"
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   680
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   681
    "do not manually edit this - the painter/builder may not be able to
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   682
     handle the specification if its corrupted."
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   683
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   684
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   685
     UIPainter new openOnClass:DataSetBuilder andSelector:#valuesEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   686
     DataSetBuilder new openInterface:#valuesEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   687
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   688
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   689
    <resource: #canvas>
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   690
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   691
    ^
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   692
     
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   693
       #(#FullSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   694
          #'window:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   695
           #(#WindowSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   696
              #'name:' 'DataSet Basic'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   697
              #'layout:' #(#LayoutFrame 250 0 438 0 545 0 743 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   698
              #'label:' 'DataSet Basic'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   699
              #'min:' #(#Point 10 10)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   700
              #'max:' #(#Point 1280 1024)
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   701
              #'bounds:' #(#Rectangle 250 438 546 744)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   702
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   703
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   704
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   705
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   706
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   707
               #(
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   708
                 #(#FramedBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   709
                    #'name:' 'valuesBox'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   710
                    #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 107 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   711
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   712
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   713
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   714
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   715
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   716
                              #'name:' 'readLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   717
                              #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   718
                              #'label:' 'Read:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   719
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   720
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   721
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   722
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   723
                              #'name:' 'readSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   724
                              #'layout:' #(#LayoutFrame 110 0 18 0 15 1.0 40 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   725
                              #'activeHelpKey:' #readSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   726
                              #'model:' #readSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   727
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   728
                          )
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   729
                           #(#InputFieldSpec
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   730
                              #'name:' 'writeSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   731
                              #'layout:' #(#LayoutFrame 110 0 43 0 15 1.0 63 0)
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   732
                              #'activeHelpKey:' #writeSelector
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   733
                              #'model:' #writeSelector
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   734
                              #'type:' #symbolOrNil
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   735
                          )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   736
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   737
                              #'name:' 'printLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   738
                              #'layout:' #(#AlignmentOrigin 107 0 77 0 1 0.5)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   739
                              #'label:' 'Print:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   740
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   741
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   742
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   743
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   744
                              #'name:' 'printSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   745
                              #'layout:' #(#LayoutFrame 110 0 66 0 15 1.0 86 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   746
                              #'activeHelpKey:' #printSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   747
                              #'model:' #printSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   748
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   749
                          )
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   750
                           #(#LabelSpec
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   751
                              #'name:' 'writeLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   752
                              #'layout:' #(#AlignmentOrigin 107 0 54 0 1 0.5)
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   753
                              #'label:' 'Write:'
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   754
                              #'adjust:' #right
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   755
                              #'resizeForLabel:' true
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   756
                          )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   757
                        )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   758
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   759
                    #'label:' 'Value Selectors:'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   760
                    #'labelPosition:' #topLeft
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   761
                )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   762
                 #(#FramedBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   763
                    #'name:' 'menusBox'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   764
                    #'layout:' #(#LayoutFrame 0 0.0 107 0 0 1.0 186 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   765
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   766
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   767
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   768
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   769
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   770
                              #'name:' 'menuLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   771
                              #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   772
                              #'label:' 'Menu:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   773
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   774
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   775
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   776
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   777
                              #'name:' 'menuSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   778
                              #'layout:' #(#LayoutFrame 110 0 18 0 15 1.0 38 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   779
                              #'activeHelpKey:' #menuSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   780
                              #'model:' #menu
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   781
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   782
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   783
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   784
                              #'name:' 'choicesLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   785
                              #'layout:' #(#AlignmentOrigin 107 0 52 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   786
                              #'label:' 'Choice:'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   787
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   788
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   789
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   790
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   791
                              #'name:' 'choicesSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   792
                              #'layout:' #(#LayoutFrame 110 0 41 0 15 1.0 61 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   793
                              #'activeHelpKey:' #choices
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   794
                              #'model:' #choices
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   795
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   796
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   797
                        )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   798
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   799
                    #'label:' 'Menu Selectors:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   800
                    #'labelPosition:' #topLeft
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   801
                )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   802
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   803
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   804
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   805
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   806
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   807
!DataSetBuilder class methodsFor:'help specs'!
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   808
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   809
helpSpec
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   810
    "return a dictionary filled with helpKey -> helptext associations.
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   811
     These are used by the activeHelp tool."
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   812
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   813
    "
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   814
    UIHelpTool openOnClass:DataSetBuilder    
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   815
    "
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   816
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   817
  ^ super helpSpec addPairsFrom:#(
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   818
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   819
#backgroundColor
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   820
'Sets the background color of the column if the color-checkBox is turned on. Otherwise, the column uses its default background color (which is specified in the styleSheet).'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   821
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   822
#backgroundSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   823
'Selector which returns the background color for a cell (optional). If the selector is nil or returns nil, the default background color is set.'
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   824
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   825
#canSelect
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   826
'If true, each cell in the column can be selected. In case of having a menu, the menu can be opened by selecting the cell and pressing down the right or middle button of the mouse. if false, the whole line is selected. The menu opened derives from the DataSetView, which is specified in the window specification (Basics).'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   827
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   828
#choices
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   829
'Selector to get the collection of choices for a column which is selectable and its editor is kind of a ComboBox or ComboList. If a cell in the column is selected, the visual editor is opened and in case of having choices, the choices are assigned to the widget.'
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   830
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   831
#doubleClickedSelector
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   832
'Selector evaluated without arguments on selected column.'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   833
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   834
#editorField
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   835
'Type of visual editor (using default editors) or a selector, which will return an visual editor. If the cell is selected, a visual editor is opened in in the cell. In case of an unsupported selector (user defined editor), the row object is asked for the visual editor by performing the selector on the row. A widget instance must be returned which is opened in the cell.'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   836
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   837
#foregroundColor
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   838
'Sets the foreground color of the column  if the color-checkBox is turned on. Otherwise, the column uses its default foreground color (which is specified in the styleSheet).'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   839
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   840
#foregroundSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   841
'Selector which returns the foreground color for a cell (optional). If the selector is nil or returns nil, the default foreground color is set.'
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   842
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   843
#formatString
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   844
'Format string, which specifies the output format of a text in a cell. At the moment  only numbers are supported  (for example: 0.0000).'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   845
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   846
#height
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   847
'Preferred height (optional).'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   848
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   849
#label
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   850
'The label of the column. If ''label is image'' is off, this is the label string. Otherwise, it specifies the applications selector, which returns the label - either a string or a bitmap image.'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   851
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   852
#labelIsImage
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   853
'If ''label is image'' is off (the default), the columns label is the string as entered in the label aspect. Otherwise, its the name of the message sent to the application - this should return a string or bitmap image, which is used as logo in the column.'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   854
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   855
#menuSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   856
'A selector to access the middleButton menu or nil. If a cell is selected. The menu will be opened by selecting the cell and pressing down the right or middle button of the mouse.'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   857
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   858
#minWidth
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   859
'Makes sense if the width is set to 0 or nil. This is the minimum size required; no computation dependent on the contents. When resizing the view the column may grow or shrink to the minimum width.'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   860
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   861
#printSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   862
'A selector with one argument, the DataSetView. Used to access a drawable display object. In case of nil, the value derived from the readSelector is shown in the unselected cell.\ \ Using bitmaps, the DataSetView offers three important methods:\ \ #registerImage:anImage key:aSymbol\ register an image with an unique symbol. This symbol can be used by the row object to access the image, using #registeredImageAt:. The image will be associated to the device.\ \ #registeredImageAt:aSymbol\ returns an image assigned to the symbol or nil. The image returned is associated to the device.\ \ #releaseAllRegisteredImages\ relaese all registered images.'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   863
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   864
#readSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   865
'A selector, which is used to get or set (if the write selector is undefined) the value of a cell. The value returned by the method can be a string object or a bitmap. The set operation only is performed if the column is selectable.'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   866
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   867
#rendererType
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   868
'This type specifies, how the text of an unselected cell should be shown. As Text, CheckToggle, ComboBox, ComboList or as a RowSelector.'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   869
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   870
#selectSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   871
'An optional selector, which is used to test whether the cell in the column is selectable; the ''Is Selectable'' flag must be enabled.'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   872
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   873
#showColumnSeparator
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   874
'Shows or hide the column separator (right vertical separator).'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   875
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   876
#showRowSeparator
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   877
'Shows or hide the row separator (bottom horizontal separator).'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   878
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   879
#size
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   880
'Max size of an InputField, ComboBox or ComboList. 0 or nil means unlimited.'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   881
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   882
#type
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   883
'A type converter symbol used by the input field.'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   884
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   885
#width
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   886
'The width of a fixed column; in case of nil or 0 the column width will be computed dependent on the contents.'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   887
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   888
#writeSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   889
'A selector, which is used to set the value of a cell. If the selector is not defined, the selector derives from the printSelector.'
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   890
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   891
)
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   892
! !
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   893
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   894
!DataSetBuilder class methodsFor:'interface specs'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   895
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   896
defineClassNameSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   897
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   898
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   899
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   900
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   901
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   902
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   903
     UIPainter new openOnClass:DataSetBuilder andSelector:#defineClassNameSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   904
     DataSetBuilder new openInterface:#defineClassNameSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   905
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   906
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   907
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   908
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   909
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   910
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   911
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   912
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   913
           #(#WindowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   914
              #'name:' 'Class Definition'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   915
              #'layout:' #(#LayoutFrame 299 0 162 0 624 0 291 0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   916
              #'label:' 'Class Definition'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   917
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   918
              #'max:' #(#Point 1152 900)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   919
              #'bounds:' #(#Rectangle 299 162 625 292)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   920
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   921
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   922
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   923
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   924
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   925
               #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   926
                 #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   927
                    #'name:' 'classLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   928
                    #'layout:' #(#AlignmentOrigin 50 0.11 50 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   929
                    #'label:' 'Class:'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   930
                    #'adjust:' #right
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   931
                    #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   932
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   933
                 #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   934
                    #'name:' 'superClassLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   935
                    #'layout:' #(#AlignmentOrigin 50 0.11 77 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   936
                    #'label:' 'Superclass:'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   937
                    #'adjust:' #right
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   938
                    #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   939
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   940
                 #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   941
                    #'name:' 'topLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   942
                    #'layout:' #(#Point 2 10)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   943
                    #'label:' 'Class for code:'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   944
                    #'adjust:' #left
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   945
                    #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   946
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   947
                 #(#InputFieldSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   948
                    #'name:' 'classNameField'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   949
                    #'layout:' #(#LayoutFrame 51 0.11 39 0 -2 1.0 61 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   950
                    #'tabable:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   951
                    #'model:' #classNameChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   952
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   953
                 #(#HorizontalPanelViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   954
                    #'name:' 'commitPanel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   955
                    #'layout:' #(#LayoutFrame 2 0.0 -30 1.0 -2 1.0 -2 1.0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   956
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   957
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   958
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   959
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   960
                           #(#ActionButtonSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   961
                              #'name:' 'button1'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   962
                              #'label:' 'Cancel'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   963
                              #'tabable:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   964
                              #'model:' #cancel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   965
                              #'extent:' #(#Point 156 22)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   966
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   967
                           #(#ActionButtonSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   968
                              #'name:' 'button2'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   969
                              #'label:' 'OK'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   970
                              #'tabable:' true
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   971
                              #'model:' #accept
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   972
                              #'isDefault:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   973
                              #'extent:' #(#Point 157 22)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   974
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   975
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   976
                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   977
                    #'horizontalLayout:' #fitSpace
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   978
                    #'verticalLayout:' #fitSpace
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   979
                    #'horizontalSpace:' 3
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   980
                    #'verticalSpace:' 3
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   981
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   982
                 #(#InputFieldSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   983
                    #'name:' 'inputField1'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   984
                    #'layout:' #(#LayoutFrame 51 0.11 67 0 -2 1.0 89 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   985
                    #'tabable:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   986
                    #'model:' #superclassNameChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   987
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   988
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   989
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   990
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   991
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   992
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   993
slices
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   994
    ^#(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   995
        (Basics         basicsEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   996
        (Values         valuesEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   997
        (Format         formatEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   998
        (Selection      selectionEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   999
        (Frame          frameEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1000
        (Colors         colorsEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1001
    )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1002
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1003
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1004
windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1005
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1006
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1007
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1008
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1009
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1010
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1011
     UIPainter new openOnClass:DataSetBuilder andSelector:#windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1012
     DataSetBuilder new openInterface:#windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1013
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1014
    "DataSetBuilder open"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1015
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1016
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1017
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1018
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1019
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1020
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1021
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1022
           #(#WindowSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1023
              #'name:' 'Data Set Builder'
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1024
              #'layout:' #(#LayoutFrame 109 0 262 0 595 0 621 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1025
              #'label:' 'Data Set Builder'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1026
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1027
              #'max:' #(#Point 1152 900)
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1028
              #'bounds:' #(#Rectangle 109 262 596 622)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1029
              #'menu:' #menu
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1030
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1031
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1032
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1033
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1034
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1035
               #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1036
                 #(#MenuPanelSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1037
                    #'name:' 'menuToolbarView'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1038
                    #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 32 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1039
                    #'menu:' #menuToolbar
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1040
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1041
                 #(#VariableHorizontalPanelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1042
                    #'name:' 'VariablePanel'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1043
                    #'layout:' #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -22 1.0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1044
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1045
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1046
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1047
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1048
                           #(#ViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1049
                              #'name:' 'labelsView'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1050
                              #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1051
                               #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1052
                                  #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1053
                                   #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1054
                                     #(#SequenceViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1055
                                        #'name:' 'columnView'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1056
                                        #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1057
                                        #'model:' #selectedColumnModel
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1058
                                        #'menu:' #menuEdit
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1059
                                        #'hasHorizontalScrollBar:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1060
                                        #'hasVerticalScrollBar:' true
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1061
                                        #'miniScrollerHorizontal:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1062
                                        #'useIndex:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1063
                                        #'sequenceList:' #seqList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1064
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1065
                                  )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1066
                              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1067
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1068
                           #(#ViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1069
                              #'name:' 'specView'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1070
                              #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1071
                               #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1072
                                  #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1073
                                   #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1074
                                     #(#TabViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1075
                                        #'name:' 'tabView'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1076
                                        #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 35 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1077
                                        #'model:' #tabModel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1078
                                        #'menu:' #tabList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1079
                                        #'useIndex:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1080
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1081
                                     #(#SubCanvasSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1082
                                        #'name:' 'specCanvas'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1083
                                        #'layout:' #(#LayoutFrame 0 0.0 35 0.0 0 1.0 -30 1.0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1084
                                        #'specHolder:' #specChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1085
                                    )
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1086
                                     #(#UISubSpecification
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1087
                                        #'name:' 'SubSpecification'
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1088
                                        #'layout:' #(#LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0)
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1089
                                        #'majorKey:' #ToolApplicationModel
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1090
                                        #'minorKey:' #windowSpecForCommit
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1091
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1092
                                  )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1093
                              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1094
                              #'borderWidth:' 1
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1095
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1096
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1097
                    )
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1098
                    #'handles:' #(#Any 0.265905 1.0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1099
                )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1100
                 #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1101
                    #'name:' 'infoLabel'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1102
                    #'layout:' #(#LayoutFrame 0 0.0 -22 1 -80 1.0 0 1.0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1103
                    #'labelChannel:' #valueOfInfoLabel
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1104
                    #'level:' 1
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1105
                    #'adjust:' #left
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1106
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1107
                 #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1108
                    #'name:' 'timeLabel'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1109
                    #'layout:' #(#LayoutFrame -80 1 -22 1 0 1.0 0 1.0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1110
                    #'labelChannel:' #valueOfTimeLabel
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1111
                    #'level:' 1
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1112
                    #'adjust:' #right
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1113
                )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1114
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1115
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1116
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1117
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1118
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1119
!DataSetBuilder class methodsFor:'menu specs'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1120
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1121
menu
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1122
    "this window spec was automatically generated by the ST/X MenuEditor"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1123
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1124
    "do not manually edit this - the builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1125
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1126
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1127
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1128
     MenuEditor new openOnClass:DataSetBuilder andSelector:#menu
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1129
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder menu)) startUp
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1130
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1131
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1132
    <resource: #menu>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1133
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1134
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1135
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1136
       #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1137
          
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1138
           #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1139
             #(#MenuItem
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1140
                #'label:' 'About'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1141
                #'labelImage:' #(#ResourceRetriever #UIPainter #icon)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1142
                #'submenuChannel:' #menuAbout
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1143
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1144
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1145
                #'label:' 'File'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1146
                #'submenu:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1147
                 #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1148
                    
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1149
                     #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1150
                       #(#MenuItem
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1151
                          #'label:' 'Generate Code'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1152
                          #'value:' #doGenerateCode
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1153
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1154
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1155
                          #'label:' '-'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1156
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1157
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1158
                          #'label:' 'Define Class...'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1159
                          #'value:' #doDefineClass
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1160
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1161
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1162
                          #'label:' 'Browse Class'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1163
                          #'value:' #doBrowseClass
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1164
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1165
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1166
                          #'label:' '-'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1167
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1168
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1169
                          #'label:' 'Exit'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1170
                          #'value:' #closeRequest
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1171
                      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1172
                    ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1173
                    nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1174
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1175
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1176
             #(#MenuItem
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1177
                #'label:' 'Edit'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1178
                #'submenuChannel:' #menuEdit
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1179
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1180
          ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1181
          nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1182
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1183
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1184
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1185
menuEdit
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1186
    "this window spec was automatically generated by the ST/X MenuEditor"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1187
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1188
    "do not manually edit this - the builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1189
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1190
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1191
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1192
     MenuEditor new openOnClass:DataSetBuilder andSelector:#menuEdit
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1193
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder menuEdit)) startUp
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1194
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1195
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1196
    <resource: #menu>
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1197
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1198
    ^
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1199
     
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1200
       #(#Menu
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1201
          
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1202
           #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1203
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1204
                #'label:' 'Cut'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1205
                #'value:' #doCutColumn
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1206
                #'enabled:' #isColumnSelected
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1207
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1208
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1209
                #'label:' 'Copy'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1210
                #'value:' #doCopyColumn
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1211
                #'enabled:' #isColumnSelected
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1212
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1213
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1214
                #'label:' 'Paste'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1215
                #'value:' #doPasteColumn
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1216
                #'enabled:' #valueOfHavingClipboard
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1217
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1218
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1219
                #'label:' '-'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1220
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1221
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1222
                #'label:' 'Create Column'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1223
                #'value:' #doCreateColumn
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1224
                #'enabled:' #columnIsNotEditing
417
a5335dd0a6f3 unnecessary selectors in windowSpec removed
tz
parents: 413
diff changeset
  1225
                #'labelImage:' #(#ResourceRetriever nil #newColumnIcon 'Create Column')
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1226
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1227
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1228
                #'label:' '-'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1229
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1230
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1231
                #'label:' 'Shift Up'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1232
                #'value:' #'doMoveColumn:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1233
                #'enabled:' #isColumnSelected
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1234
                #'argument:' #up
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1235
                #'labelImage:' #(#ResourceRetriever #DataSetBuilder #upIcon 'Shift Up')
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1236
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1237
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1238
                #'label:' 'Shift Down'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1239
                #'value:' #'doMoveColumn:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1240
                #'enabled:' #isColumnSelected
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1241
                #'argument:' #down
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1242
                #'labelImage:' #(#ResourceRetriever #DataSetBuilder #downIcon 'Shift Down')
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1243
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1244
          ) nil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1245
          nil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1246
      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1247
!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1248
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1249
menuToolbar
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1250
    "this window spec was automatically generated by the ST/X MenuEditor"
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1251
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1252
    "do not manually edit this - the builder may not be able to
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1253
     handle the specification if its corrupted."
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1254
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1255
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1256
     MenuEditor new openOnClass:DataSetBuilder andSelector:#menuToolbar
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1257
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder menuToolbar)) startUp
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1258
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1259
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1260
    <resource: #menu>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1261
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1262
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1263
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1264
       #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1265
          
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1266
           #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1267
             #(#MenuItem
417
a5335dd0a6f3 unnecessary selectors in windowSpec removed
tz
parents: 413
diff changeset
  1268
                #'label:' 'Create Column'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1269
                #'isButton:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1270
                #'value:' #doCreateColumn
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1271
                #'enabled:' #columnIsNotEditing
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1272
                #'labelImage:' #(#ResourceRetriever nil #newColumnIcon)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1273
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1274
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1275
                #'label:' ''
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1276
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1277
             #(#MenuItem
417
a5335dd0a6f3 unnecessary selectors in windowSpec removed
tz
parents: 413
diff changeset
  1278
                #'label:' 'Step Up'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1279
                #'isButton:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1280
                #'value:' #'doMoveColumn:'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1281
                #'enabled:' #isColumnSelected
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1282
                #'argument:' #up
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1283
                #'labelImage:' #(#ResourceRetriever nil #upIcon)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1284
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1285
             #(#MenuItem
417
a5335dd0a6f3 unnecessary selectors in windowSpec removed
tz
parents: 413
diff changeset
  1286
                #'label:' 'Step Down'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1287
                #'isButton:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1288
                #'value:' #'doMoveColumn:'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1289
                #'enabled:' #isColumnSelected
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1290
                #'argument:' #down
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1291
                #'labelImage:' #(#ResourceRetriever nil #downIcon)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1292
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1293
          ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1294
          nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1295
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1296
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1297
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1298
!DataSetBuilder class methodsFor:'resources'!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1299
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1300
newColumnIcon
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1301
    "ImageEditor openOnClass:self andSelector:#newColumnIcon"
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1302
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1303
    <resource: #image>
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1304
    ^(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(#[85 64 0 0 5 80 85 69 85 85 133 80 85 70 170 170 197 80 85 70 130 138 197 80 85 70 42 34 197 89 85 70 42 34 197 80 85 70 130 138 197 80 69 70 170 170 197 80 85 70 42 34 197 80 85 70 42 34 197 80 85 70 42 34 197 80 85 70 2 2 197 80 85 70 170 170 197 80 85 70 170 170 197 80 85 70 34 34 197 89 85 70 2 2 197 80 85 70 34 2 197 80 85 70 34 34 197 80 85 70 170 170 197 80 85 70 170 170 197 80 85 75 255 255 197 80 85 64 0 0 5 80]) ; colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color grey:66.9978)); at:4 put:((Color grey:49.9962)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[7 255 192 7 255 192 7 255 192 7 255 192 7 255 192 7 255 192 7 255 192 7 255 192 7 255 195 7 255 192 7 255 192 7 255 192 7 255 192 7 255 195 7 255 193 7 255 192 7 255 195 7 255 192 7 255 195 7 255 192 7 255 192 7 255 193]) ; yourself); yourself! !
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1305
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1306
!DataSetBuilder methodsFor:'accessing'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1307
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1308
columns
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1309
    "returns list of columns"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1310
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1311
    ^columns
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1312
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1313
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1314
columns:aListOfColumns fromView:aColumnView
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1315
    "setup columns from a column view"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1316
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1317
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1318
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1319
    columnView := aColumnView.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1320
    columns    := OrderedCollection new.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1321
    list       := self seqList.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1322
    hasChanged := false.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1323
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1324
    list removeAll.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1325
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1326
    aListOfColumns size ~~ 0 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1327
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1328
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1329
        aListOfColumns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1330
        [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1331
            columns add: aColumn copy.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1332
            aColumn rendererType == #rowSelector 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1333
                ifFalse:[list add: aColumn label]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1334
                ifTrue: [list add:'Row Selector']
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1335
        ]
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1336
    ]
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1337
!
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1338
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1339
rowClassName
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1340
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1341
    ^(Smalltalk resolveName:className inClass:self class) notNil ifTrue:[className] ifFalse:[nil]
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1342
!
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1343
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1344
rowClassName:aClassName
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1345
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1346
    |cls|
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1347
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1348
    superclassName := nil.
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1349
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1350
    (className := aClassName) notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1351
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1352
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1353
        (cls := self resolveClassNamed) notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1354
            ifTrue: [superclassName := cls superclass name asString] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1355
            ifFalse:[superclassName := 'Object']
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1356
    ]
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1357
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1358
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1359
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1360
!DataSetBuilder methodsFor:'aspects'!
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1361
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1362
aspectFor:aKey
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1363
    "returns aspect for a key or nil"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1364
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1365
    ^aspects at:aKey ifAbsent:[super aspectFor:aKey]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1366
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1367
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1368
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1369
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1370
columnIsNotEditing
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1371
    "returns a boolean value holder which is set to true if column is not editing"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1372
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1373
    ^builder valueAspectFor:#columnIsNotEditing initialValue: true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1374
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1375
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1376
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1377
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1378
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1379
editorTypeList
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1380
    "generate list of supported editor types"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1381
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1382
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1383
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1384
    (list := builder bindingAt:#editorTypeList) isNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1385
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1386
    [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1387
        list := OrderedCollection new.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1388
        DataSetColumnSpec slices do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1389
        [:aSlice||type|
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1390
            type := aSlice at:1.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1391
            (list includes:type) ifFalse:[list add:type]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1392
        ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1393
        builder aspectAt:#editorTypeList put:list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1394
    ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1395
    ^list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1396
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1397
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1398
isColumnSelected
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1399
    "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
  1400
     and not accepted"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1401
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1402
    ^builder valueAspectFor:#isColumnSelected initialValue: false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1403
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1404
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1405
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1406
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1407
429
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1408
modifiedChannel
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1409
    "returns a boolean value holder which is set to true if something is modified
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1410
     and not accepted"
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1411
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1412
    ^builder booleanValueAspectFor:#modifiedChannel
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1413
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1414
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1415
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1416
!
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1417
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1418
rendererTypeList
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1419
    "generate list of supported renderer types"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1420
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1421
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1422
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1423
    (list := builder bindingAt:#rendererTypeList) isNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1424
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1425
    [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1426
        list := OrderedCollection new.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1427
        DataSetColumnSpec slices do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1428
        [:aSlice||type|
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1429
            type := aSlice at:2.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1430
            (list includes:type) ifFalse:[list add:type]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1431
        ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1432
        builder aspectAt:#rendererTypeList put:list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1433
    ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1434
    ^list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1435
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1436
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1437
selectedColumnModel
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1438
    "returns a value holder which keeps selected column"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1439
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1440
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1441
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1442
    (holder := builder bindingAt:#selectedColumnModel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1443
        holder := AspectAdaptor new subject:self; forAspect:#selectedColumnIndex.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1444
        builder aspectAt:#selectedColumnModel put:holder.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1445
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1446
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1447
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1448
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1449
seqList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1450
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1451
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1452
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1453
    (list := builder bindingAt:#seqList) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1454
        builder aspectAt:#seqList put:(list :=  List new).
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1455
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1456
    ^ list
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1457
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1458
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1459
specChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1460
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1461
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1462
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1463
    (holder := builder bindingAt:#specChannel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1464
        builder aspectAt:#specChannel put:(holder :=  ValueHolder new).
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1465
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1466
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1467
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1468
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1469
style
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1470
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1471
    ^self aspectFor:#labelFont
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1472
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1473
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1474
tabList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1475
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1476
    ^self class slices collect:[:aSlice|aSlice first]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1477
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1478
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1479
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1480
tabModel
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1481
    "returns a value holder which keeps the index of the current selected tab or 0"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1482
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1483
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1484
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1485
    (holder := builder bindingAt:#tabModel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1486
        holder := AspectAdaptor new subject:self; forAspect:#tabSelectionIndex.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1487
        builder aspectAt:#tabModel put:holder.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1488
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1489
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1490
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1491
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1492
!DataSetBuilder methodsFor:'change & update'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1493
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1494
update:something with:aParameter from:someObject
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1495
    "one of my aspects has changed; update modified channel"
413
ac37b2a972ff select first column item after opening
tz
parents: 409
diff changeset
  1496
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1497
    isModified 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1498
    ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1499
    [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1500
        isModified := hasChanged := true.
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1501
        self valueOfEnablingCommitButtons value: true.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1502
        self columnIsNotEditing value: false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1503
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1504
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1505
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1506
!DataSetBuilder methodsFor:'code generation'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1507
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1508
compile:aCode forClass:aClass inCategory:aCategory
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1509
    "compile method for class in a category"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1510
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1511
    ByteCodeCompiler compile:aCode withCRs forClass:aClass inCategory:aCategory
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1512
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1513
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1514
generateBackgroundSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1515
    "generate code for #backgroundSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1516
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1517
    |sel catg code bCode|
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1518
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1519
    catg := 'accessing look' asSymbol.
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1520
    code :=   '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1521
            , '    "automatically generated by DataSetBuilder ..."\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1522
            , '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1523
            , '    "specific background color for a cell"\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1524
            , '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1525
            .
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1526
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1527
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1528
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1529
        ((sel := aColumn backgroundSelector) notNil and:[(aClass implements:sel) not]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1530
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1531
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1532
            bCode := sel asString, code, '    ^nil'.
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1533
            self compile:bCode forClass:aClass inCategory:catg
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1534
        ]
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1535
    ]
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1536
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1537
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1538
!
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1539
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1540
generateChoicesIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1541
    "generate code for #choices"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1542
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1543
    |sel catg code|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1544
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1545
    catg := 'accessing menu' asSymbol.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1546
    code :=   '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1547
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1548
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1549
            , '    "get choices for visual editor; (a list of labels)\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1550
            , '\'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1551
            , '    ^nil'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1552
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1553
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1554
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1555
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1556
        (aColumn canSelect
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1557
        and:[aColumn rendererType ~~ #rowSelector
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1558
        and:[(sel := aColumn choices) notNil
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1559
        and:[(aClass implements:sel) not]]]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1560
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1561
        [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1562
            self compile:(sel asString, code) forClass:aClass inCategory:catg
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1563
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1564
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1565
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1566
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1567
generateDoubleClickSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1568
    "generate code for #foregroundSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1569
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1570
    |sel catg code bCode|
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1571
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1572
    catg := 'accessing action' asSymbol.
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1573
    code :=   '\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1574
            , '    "automatically generated by DataSetBuilder ..."\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1575
            , '\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1576
            , '    "specific selector to be called on double click"\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1577
            , '\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1578
            .
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1579
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1580
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1581
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1582
        ((sel := aColumn doubleClickedSelector) notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1583
        and:[(aClass implements:sel) not]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1584
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1585
        [
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1586
            bCode := sel asString, code.
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1587
            self compile:bCode forClass:aClass inCategory:catg
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1588
        ]
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1589
    ]
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1590
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1591
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1592
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1593
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1594
generateForegroundSelectorIn:aClass
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1595
    "generate code for #foregroundSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1596
    "
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1597
    |sel catg code bCode|
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1598
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1599
    catg := 'accessing look' asSymbol.
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1600
    code :=   '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1601
            , '    "automatically generated by DataSetBuilder ..."\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1602
            , '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1603
            , '    "specific foreground color for a cell"\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1604
            , '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1605
            .
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1606
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1607
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1608
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1609
        ((sel := aColumn foregroundSelector) notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1610
        and:[(aClass implements:sel) not]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1611
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1612
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1613
            bCode := sel asString, code, '    ^nil'.
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1614
            self compile:bCode forClass:aClass inCategory:catg
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1615
        ]
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1616
    ]
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1617
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1618
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1619
!
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1620
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1621
generateMenuIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1622
    "generate code for #menu"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1623
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1624
    |sel catg code|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1625
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1626
    catg := 'accessing menu' asSymbol.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1627
    code :=   '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1628
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1629
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1630
            , '    "get middleButton menu for selected cell in column"\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1631
            , '\'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1632
            , '    ^nil'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1633
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1634
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1635
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1636
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1637
        (aColumn canSelect
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1638
        and:[(sel := aColumn menu) notNil
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1639
        and:[(aClass implements:sel) not]]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1640
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1641
        [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1642
            self compile:(sel asString, code) forClass:aClass inCategory:catg
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1643
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1644
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1645
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1646
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1647
generatePrintSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1648
    "generate code for #printSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1649
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1650
    |sel catg code|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1651
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1652
    catg := 'accessing' asSymbol.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1653
    code :=   'aGC\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1654
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1655
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1656
            , '    "get drawable image or text on a gc"\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1657
            , '\'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1658
            , '    ^nil'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1659
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1660
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1661
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1662
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1663
        (aColumn rendererType ~~ #rowSelector
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1664
        and:[(sel := aColumn printSelector) notNil
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1665
        and:[(aClass implements:sel) not]]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1666
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1667
        [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1668
            self compile:(sel asString, code) forClass:aClass inCategory:catg
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1669
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1670
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1671
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1672
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1673
generateReadSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1674
    "generate code for #readSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1675
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1676
    |sel catg code bCode|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1677
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1678
    catg := 'accessing' asSymbol.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1679
    code :=   '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1680
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1681
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1682
            , '    "get value"\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1683
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1684
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1685
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1686
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1687
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1688
        (aColumn rendererType ~~ #rowSelector 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1689
        and:[(sel := aColumn readSelector) notNil
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1690
        and:[(aClass implements:sel) not]]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1691
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1692
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1693
            (aColumn printSelector isNil or:[aColumn canSelect]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1694
            ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1695
            [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1696
                sel numArgs == 0 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1697
                    ifTrue: [bCode := sel asString, code] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1698
                    ifFalse:[bCode := sel asString, 'anIndex\', code].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1699
                aColumn rendererType == #CheckToggle 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1700
                    ifFalse:[bCode := bCode, '    ^nil'] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1701
                    ifTrue: [bCode := bCode, '    ^true']. 
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1702
                self compile:bCode forClass:aClass inCategory:catg
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1703
            ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1704
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1705
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1706
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1707
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1708
generateSelectSelectorIn:aClass
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1709
    "generate code for #selectSelector
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1710
    "
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1711
    |sel catg code bCode|
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1712
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1713
    catg := 'accessing selection' asSymbol.
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1714
    code :=   '\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1715
            , '    "automatically generated by DataSetBuilder ..."\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1716
            , '\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1717
            , '    "can select cell in column"\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1718
            , '\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1719
            .
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1720
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1721
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1722
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1723
        (aColumn rendererType ~~ #rowSelector 
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1724
         and:[(sel := aColumn selectSelector) notNil
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1725
         and:[(aClass implements:sel) not]]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1726
         ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1727
         [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1728
            aColumn canSelect 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1729
            ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1730
            [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1731
                bCode := sel asString, code, '    ^true'.
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1732
                self compile:bCode forClass:aClass inCategory:catg
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1733
            ]
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1734
        ]
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1735
    ]
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1736
!
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1737
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1738
generateWriteSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1739
    "generate code for #writeSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1740
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  1741
    |sel catg code bCode sz|
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1742
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1743
    catg := 'accessing' asSymbol.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1744
    code :=   'aValue\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1745
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1746
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1747
            , '    "set value"\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1748
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1749
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1750
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1751
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1752
        ((sel := aColumn writeSelector) notNil
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1753
         and:[aColumn canSelect
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1754
         and:[(aClass implements:sel) not]]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1755
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1756
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1757
            sel numArgs == 1 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1758
            ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1759
            [
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  1760
                bCode := sel asString
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1761
            ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1762
            ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1763
            [
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  1764
                sz := sel indexOf:$:.
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  1765
                bCode := sel copyTo:sz.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1766
                bCode := bCode, 'anIndex ', (sel copyFrom:sz + 1)
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  1767
            ].
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  1768
            self compile:(bCode, code) forClass:aClass inCategory:catg
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1769
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1770
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1771
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1772
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1773
!DataSetBuilder methodsFor:'initialization'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1774
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1775
initialize
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1776
    "setup aspects used by column description specifications"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1777
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1778
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1779
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1780
    super initialize.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1781
    selectedColumnIndex := 0.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1782
    tabSelectionIndex   := 0.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1783
    columns := OrderedCollection new.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1784
    aspects := IdentityDictionary new.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1785
    hasChanged := false.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1786
    isModified := false.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1787
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1788
    #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1789
        label
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1790
        canSelect
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1791
        choices
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1792
        editorType
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1793
        formatString
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1794
        labelIsImage
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1795
        size
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1796
        type
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1797
        width
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1798
        minWidth
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1799
        height
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1800
        menu
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1801
        foregroundSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1802
        backgroundSelector
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1803
        doubleClickedSelector
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1804
        selectSelector
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1805
        printSelector
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1806
        readSelector
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  1807
        writeSelector
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1808
        rendererType
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1809
        showColSeparator
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1810
        showRowSeparator
357
076b7eb71bcf support of foreground and background colors
ca
parents: 342
diff changeset
  1811
        backgroundColor
076b7eb71bcf support of foreground and background colors
ca
parents: 342
diff changeset
  1812
        foregroundColor
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1813
        labelForegroundColor
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1814
        labelBackgroundColor
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1815
        labelFont
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1816
        labelActionSelector
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1817
        labelActionArgument
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1818
        labelAlignment
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1819
     ) do:[:aKey|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1820
        aspects at:aKey put:(holder := ValueHolder new).
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1821
        holder addDependent:self
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1822
    ]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1823
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1824
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1825
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1826
!DataSetBuilder methodsFor:'private'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1827
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1828
checkMenuItemModified
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1829
    "check column modification"
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1830
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1831
    self valueOfEnablingCommitButtons value
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1832
    ifTrue:
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1833
    [
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1834
        ((YesNoBox title:'Column was modified!!\Save it?\' withCRs)        
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1835
            noText:'No';
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1836
            yesText:'Yes';
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1837
            showAtPointer;
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1838
            accepted) ifFalse: [self valueOfEnablingCommitButtons value: false. ^true].
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1839
        self accept
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1840
    ].
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1841
    ^true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1842
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1843
!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1844
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1845
resolveClassNamed
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1846
    "returns current class or nil"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1847
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1848
    ^Smalltalk resolveName:className inClass:self class.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1849
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1850
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1851
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1852
updateColumnView
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1853
    "update column view from column descriptions"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1854
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1855
    columnView notNil ifTrue:[columnView columnDescriptors:columns]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1856
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1857
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1858
updateInputFields
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1859
    "reload item value into input fields"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1860
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1861
    |column|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1862
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1863
    (column := self selectedColumn) isNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1864
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1865
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1866
        self tabModel value:0.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1867
    ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1868
    ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1869
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1870
        aspects keysAndValuesDo:[:aKey :aModel|aModel value:(column perform:aKey)].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1871
        tabSelectionIndex == 0 ifTrue:[self tabModel value:1]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1872
    ]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1873
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1874
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1875
!DataSetBuilder methodsFor:'queries'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1876
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1877
hasChanged
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1878
    "returns true if changes are done to the original column description"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1879
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1880
    ^hasChanged
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1881
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1882
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1883
!DataSetBuilder methodsFor:'selection'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1884
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1885
selectedColumn
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1886
    "returns selected column or nil"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1887
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1888
    ^selectedColumnIndex == 0 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1889
        ifFalse:[columns at:selectedColumnIndex]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1890
        ifTrue: [nil]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1891
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1892
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1893
selectedColumnIndex
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1894
    "returns selected column index or 0"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1895
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1896
    ^selectedColumnIndex
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1897
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1898
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1899
selectedColumnIndex:something
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1900
    "change selected column and update specifications"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1901
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1902
    something == selectedColumnIndex 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1903
    ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1904
    [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1905
        selectedColumnIndex := something ? 0.
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1906
        self isColumnSelected value: true
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1907
    ]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1908
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1909
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1910
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1911
tabSelectionIndex
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1912
    "returns selected tab index or 0"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1913
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1914
    ^tabSelectionIndex
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1915
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1916
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1917
tabSelectionIndex:something
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1918
    "change selected tab and set corresponding specification"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1919
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1920
    |specSelector|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1921
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1922
    something == tabSelectionIndex ifTrue:[^self].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1923
    self selectedColumn isNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1924
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1925
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1926
        tabSelectionIndex == 0 ifTrue:[^self].
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1927
        tabSelectionIndex := 0
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1928
    ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1929
    ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1930
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1931
        (tabSelectionIndex := something) ~~ 0 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1932
            ifTrue: [specSelector := (self class slices at:tabSelectionIndex) last]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1933
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1934
    self specChannel value:specSelector
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1935
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1936
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1937
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1938
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1939
!DataSetBuilder methodsFor:'startup / release'!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1940
409
6fbb954fdd75 column save request after close request
tz
parents: 408
diff changeset
  1941
closeRequest
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1942
    "close request"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1943
409
6fbb954fdd75 column save request after close request
tz
parents: 408
diff changeset
  1944
    self checkMenuItemModified ifTrue: [super closeRequest]
6fbb954fdd75 column save request after close request
tz
parents: 408
diff changeset
  1945
!
6fbb954fdd75 column save request after close request
tz
parents: 408
diff changeset
  1946
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1947
postBuildWith:builder
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1948
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1949
    super postBuildWith:builder.
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1950
413
ac37b2a972ff select first column item after opening
tz
parents: 409
diff changeset
  1951
    (builder componentAt: #columnView) 
ac37b2a972ff select first column item after opening
tz
parents: 409
diff changeset
  1952
        selectConditionBlock: [:i|self checkMenuItemModified];
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1953
        action: [:i|self cancel];
413
ac37b2a972ff select first column item after opening
tz
parents: 409
diff changeset
  1954
        selection: 1
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1955
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1956
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1957
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1958
! !
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1959
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1960
!DataSetBuilder methodsFor:'user actions'!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1961
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1962
accept
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1963
    "accept changes made"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1964
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1965
    |column type|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1966
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1967
    self valueOfEnablingCommitButtons value == false ifTrue: [^self].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1968
    isModified := true.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1969
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1970
    (column := self selectedColumn) isNil ifTrue: [^self cancel].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1971
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1972
    type := (aspects at:#rendererType) value.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1973
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1974
    type == #rowSelector 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1975
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1976
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1977
        #(label width minWidth editorType choices readSelector writeSelector printSelector
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1978
          formatString type size height canSelect selectSelector) do:[:aKey|(aspects at:aKey) value:nil]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1979
    ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1980
        
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1981
    aspects keysAndValuesDo:[:aKey :aModel| column perform:(aKey , ':') asSymbol with: aModel value].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1982
    self seqList at:selectedColumnIndex put: (aspects at:#label) value.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1983
    self updateColumnView.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1984
    self cancel
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1985
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1986
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1987
cancel
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1988
    "remove all changes and reload selected column values"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1989
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1990
    |column|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1991
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1992
    self updateInputFields.
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1993
    self valueOfEnablingCommitButtons value:false.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1994
    self columnIsNotEditing value: true.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1995
    isModified := false
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1996
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1997
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1998
doBrowseClass
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1999
    "browse class of columns spec"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2000
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2001
    |cls|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2002
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2003
    (cls := self resolveClassNamed) notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2004
        ifTrue: [SystemBrowser openInClass:cls] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2005
        ifFalse:[self information:'No class defined!!']
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2006
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2007
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2008
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2009
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2010
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2011
doCopyColumn
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2012
    "copy selected column to the clipboard"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2013
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2014
    |idx|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2015
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2016
    (idx := selectedColumnIndex) ~~ 0 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2017
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2018
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2019
        self clipboard: (columns at: idx) deepCopy
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2020
    ]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2021
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2022
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2023
doCreateColumn
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2024
    "create a new column after selected column or at left (nothing selected)"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2025
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2026
    |label list|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2027
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2028
    list := self seqList.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2029
    label := 'Column ', list size printString.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2030
    columns add:(DataSetColumnSpec label:label selector:nil) afterIndex:selectedColumnIndex.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2031
    self seqList add:label afterIndex:selectedColumnIndex.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2032
    hasChanged := true.
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  2033
    self valueOfEnablingCommitButtons value ifFalse:[self selectedColumnModel value:selectedColumnIndex + 1].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2034
    self cancel
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2035
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2036
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2037
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2038
doCutColumn
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2039
    "remove selected column and put it to the clipboard"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2040
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2041
    |idx|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2042
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2043
    ((idx := selectedColumnIndex) ~~ 0 and: [self checkMenuItemModified]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2044
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2045
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2046
        self selectedColumnModel value:0.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2047
        self clipboard: (columns at: idx).
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2048
        columns removeIndex:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2049
        self seqList removeIndex:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2050
        self updateColumnView.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2051
        columns isEmpty ifTrue: [self isColumnSelected value: false].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2052
        hasChanged := true
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2053
    ]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2054
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2055
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2056
doDefineClass
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2057
    "launch a dialog to define class and superclass"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2058
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2059
    |aspects cls oldClass oldSuper|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2060
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2061
    aspects  := IdentityDictionary new.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2062
    oldClass := className.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2063
    oldSuper := superclassName.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2064
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2065
    [true] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2066
    whileTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2067
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2068
        className notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2069
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2070
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2071
            (cls := self resolveClassNamed) notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2072
            ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2073
            [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2074
                superclassName := cls superclass name asString
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2075
            ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2076
            aspects at:#classNameChannel put:className asValue
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2077
        ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2078
        ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2079
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2080
            aspects at:#classNameChannel put:'DSVRow' asValue
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2081
        ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2082
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2083
        superclassName notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2084
            ifTrue: [aspects at:#superclassNameChannel put:superclassName asValue] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2085
            ifFalse:[aspects at:#superclassNameChannel put:'Object' asValue].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2086
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2087
        (self openDialogInterface:#defineClassNameSpec withBindings:aspects) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2088
        ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2089
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2090
            className := oldClass.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2091
            superclassName := oldSuper.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2092
            ^self
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2093
        ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2094
        className      := ((aspects at:#classNameChannel) value)      withoutSeparators.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2095
        superclassName := ((aspects at:#superclassNameChannel) value) withoutSeparators.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2096
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2097
        className size == 0 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2098
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2099
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2100
            className := nil.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2101
            self information:'no valid className'
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2102
        ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2103
        ifFalse: 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2104
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2105
            cls := self resolveClassNamed.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2106
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2107
            cls notNil ifTrue:[cls := cls superclass name asString].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2108
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2109
            superclassName size == 0 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2110
            ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2111
            [        
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2112
                cls notNil ifTrue:[
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2113
                    superclassName := cls
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2114
                ] ifFalse:[
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2115
                    superclassName := 'Object'
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2116
                ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2117
                self information: 'set superclassName'
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2118
            ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2119
            ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2120
            [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2121
                (cls isNil or:[superclassName = cls]) ifTrue:[hasChanged := true. ^self].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2122
                self information:('A global named ' , className , ' exists,\' ,
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2123
                                  'but is not a subclass of ' , superclassName, '.\\' ,
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2124
                                  'Check and try again if that is not what you want.') withCRs.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2125
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2126
                superclassName := cls
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2127
            ]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2128
        ]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2129
    ]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2130
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2131
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2132
doGenerateCode
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2133
    "generate code for column values"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2134
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2135
    |cls superclass|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2136
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2137
    className isNil ifTrue:[^self information:'No class defined!!'].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2138
    cls := self resolveClassNamed.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2139
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2140
    cls isNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2141
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2142
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2143
        superclass := Smalltalk resolveName:superclassName inClass:self class.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2144
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2145
        superclass isNil ifTrue:[^self information:'No superclass defined!!'].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2146
        (self confirm:'create ' , className , ' ?') ifFalse:[^self].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2147
        cls := superclass subclass:className asSymbol
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2148
                     instanceVariableNames:''
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2149
                     classVariableNames:''
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2150
                     poolDictionaries:''
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2151
                     category:'Applications'.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2152
    ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2153
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2154
    self generateChoicesIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2155
    self generateMenuIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2156
    self generatePrintSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2157
    self generateReadSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2158
    self generateBackgroundSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2159
    self generateForegroundSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2160
    self generateSelectSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2161
    self generateWriteSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2162
    self generateDoubleClickSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2163
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2164
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2165
doMoveColumn:upOrDown
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2166
    "move selected column up or down"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2167
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2168
    |idx list label col size|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2169
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2170
    (idx := selectedColumnIndex) == 0 ifTrue:[^self].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2171
    list := self seqList.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2172
    size := list size.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2173
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2174
    size == 1 ifTrue:[^self].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2175
    hasChanged := true.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2176
    selectedColumnIndex := 0.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2177
    label := list at:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2178
    col   := columns at:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2179
    list    removeIndex:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2180
    columns removeIndex:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2181
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2182
    upOrDown == #up 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2183
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2184
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2185
        idx == 1 ifTrue:[idx := size]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2186
                ifFalse:[idx := idx - 1]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2187
    ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2188
    ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2189
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2190
        idx == size ifTrue:[idx := 1]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2191
                   ifFalse:[idx := idx + 1]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2192
    ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2193
    columns add:col   beforeIndex:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2194
    list    add:label beforeIndex:idx.  
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2195
    self selectedColumnModel value:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2196
    self updateColumnView.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2197
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2198
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2199
doPasteColumn
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2200
    "paste clipboard copy column after selected column or at left (nothing selected)"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2201
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2202
    |label list|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2203
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2204
    list := self seqList.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2205
    label := self class clipboard label.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2206
    columns add: self class clipboard deepCopy afterIndex:selectedColumnIndex.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2207
    self seqList add: label afterIndex:selectedColumnIndex.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2208
    hasChanged := true.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2209
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  2210
    self valueOfEnablingCommitButtons value ifFalse:[self selectedColumnModel value:selectedColumnIndex + 1].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2211
    self updateColumnView.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2212
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2213
! !
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2214
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2215
!DataSetBuilder class methodsFor:'documentation'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2216
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2217
version
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2218
    ^ '$Header$'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2219
! !