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