DataSetBuilder.st
author tz
Wed, 21 Jan 1998 19:46:48 +0100
changeset 442 77009b480ba9
parent 439 118bfaf3f76b
child 470 e4401e30077a
permissions -rw-r--r--
rearranges in layout
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'
442
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
    82
              #'layout:' #(#LayoutFrame 85 0 195 0 373 0 450 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)
442
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
    86
              #'bounds:' #(#Rectangle 85 195 374 451)
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
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   110
                              #'model:' #label
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   111
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   112
                           #(#CheckBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   113
                              #'name:' 'labelIsImage'
442
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   114
                              #'layout:' #(#LayoutOrigin 107 0 103 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   115
                              #'activeHelpKey:' #labelIsImage
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   116
                              #'model:' #labelIsImage
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   117
                              #'label:' 'Label Is Image'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   118
                          )
439
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   119
                           #(#UISubSpecification
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   120
                              #'name:' 'fontSubSpec'
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   121
                              #'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
   122
                              #'minorKey:' #fontSpec
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   123
                          )
442
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   124
                           #(#PopUpListSpec
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   125
                              #'name:' 'Alignment'
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   126
                              #'layout:' #(#LayoutFrame 110 0 78 0 15 1.0 100 0)
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   127
                              #'label:' 'Alignment'
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   128
                              #'model:' #labelAlignment
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   129
                              #'menu:' 
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   130
                               #(#left
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   131
                                  #right #center
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   132
                              )
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   133
                              #'useIndex:' false
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   134
                          )
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   135
                           #(#LabelSpec
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   136
                              #'name:' 'JustificationLabel'
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   137
                              #'layout:' #(#AlignmentOrigin 107 0 89 0 1 0.5)
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   138
                              #'label:' 'Justification:'
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   139
                              #'adjust:' #left
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   140
                              #'resizeForLabel:' true
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   141
                          )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   142
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   143
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   144
                    #'label:' 'Header:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   145
                    #'labelPosition:' #topLeft
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   146
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   147
                 #(#FramedBoxSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   148
                    #'name:' 'typesFrame'
442
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   149
                    #'layout:' #(#LayoutFrame 0 0.0 145 0 0 1.0 227 0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   150
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   151
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   152
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   153
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   154
                           #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   155
                              #'name:' 'rendererLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   156
                              #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   157
                              #'label:' 'Renderer:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   158
                              #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   159
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   160
                           #(#ComboListSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   161
                              #'name:' 'rendererField'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   162
                              #'layout:' #(#LayoutFrame 110 0 18 0 15 1.0 40 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   163
                              #'activeHelpKey:' #rendererType
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   164
                              #'model:' #rendererType
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   165
                              #'comboList:' #rendererTypeList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   166
                              #'useIndex:' false
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   167
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   168
                           #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   169
                              #'name:' 'editorLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   170
                              #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   171
                              #'label:' 'Editor:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   172
                              #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   173
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   174
                           #(#ComboBoxSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   175
                              #'name:' 'editorField'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   176
                              #'layout:' #(#LayoutFrame 110 0 44 0 15 1.0 66 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   177
                              #'activeHelpKey:' #editorField
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   178
                              #'model:' #editorType
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   179
                              #'type:' #symbolOrNil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   180
                              #'comboList:' #editorTypeList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   181
                              #'useIndex:' false
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   182
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   183
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   184
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   185
                    #'label:' 'Cell Type:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   186
                    #'labelPosition:' #topLeft
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   187
                )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   188
              )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   189
          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   190
      )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   191
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   192
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   193
colorsEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   194
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   195
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   196
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   197
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   198
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   199
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   200
     UIPainter new openOnClass:DataSetBuilder andSelector:#colorsEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   201
     DataSetBuilder new openInterface:#colorsEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   202
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   203
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   204
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   205
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   206
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   207
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   208
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   209
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   210
           #(#WindowSpec
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   211
              #'name:' 'DataSet Misc'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   212
              #'layout:' #(#LayoutFrame 160 0 369 0 528 0 668 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   213
              #'label:' 'DataSet Misc'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   214
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   215
              #'max:' #(#Point 1280 1024)
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   216
              #'bounds:' #(#Rectangle 160 369 529 669)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   217
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   218
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   219
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   220
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   221
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   222
               #(
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   223
                 #(#FramedBoxSpec
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   224
                    #'name:' 'ColorsBox'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   225
                    #'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
   226
                    #'component:' 
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   227
                     #(#SpecCollection
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   228
                        #'collection:' 
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   229
                         #(
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   230
                           #(#ColorMenuSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   231
                              #'name:' 'colorMenu1'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   232
                              #'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
   233
                              #'activeHelpKey:' #foregroundColor
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   234
                              #'model:' #labelForegroundColor
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   235
                              #'labelsAreColored:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   236
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   237
                           #(#LabelSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   238
                              #'name:' 'label1'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   239
                              #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   240
                              #'label:' 'Foreground:'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   241
                              #'adjust:' #right
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   242
                              #'resizeForLabel:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   243
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   244
                           #(#LabelSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   245
                              #'name:' 'label2'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   246
                              #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   247
                              #'label:' 'Background:'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   248
                              #'adjust:' #right
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   249
                              #'resizeForLabel:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   250
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   251
                           #(#ColorMenuSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   252
                              #'name:' 'colorMenu2'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   253
                              #'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
   254
                              #'activeHelpKey:' #backgroundColor
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   255
                              #'model:' #labelBackgroundColor
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   256
                              #'labelsAreColored:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   257
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   258
                        )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   259
                    )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   260
                    #'label:' 'Label Colors:'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   261
                    #'labelPosition:' #topLeft
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
                 #(#FramedBoxSpec
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   264
                    #'name:' 'defaultColorsBox'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   265
                    #'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
   266
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   267
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   268
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   269
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   270
                           #(#ColorMenuSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   271
                              #'name:' 'fgMenu'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   272
                              #'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
   273
                              #'activeHelpKey:' #foregroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   274
                              #'model:' #foregroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   275
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   276
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   277
                              #'name:' 'fgLabel'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   278
                              #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   279
                              #'label:' 'Foreground:'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   280
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   281
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   282
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   283
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   284
                              #'name:' 'bgLabel'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   285
                              #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   286
                              #'label:' 'Background:'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   287
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   288
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   289
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   290
                           #(#ColorMenuSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   291
                              #'name:' 'bgMenu'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   292
                              #'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
   293
                              #'activeHelpKey:' #backgroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   294
                              #'model:' #backgroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   295
                          )
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   296
                           #(#LabelSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   297
                              #'name:' 'fgSelLabel'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   298
                              #'layout:' #(#AlignmentOrigin 107 0 89 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   299
                              #'label:' 'FG-Selector:'
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   300
                              #'adjust:' #right
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   301
                              #'resizeForLabel:' true
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   302
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   303
                           #(#LabelSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   304
                              #'name:' 'bgSelLabel'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   305
                              #'layout:' #(#AlignmentOrigin 107 0 114 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   306
                              #'label:' 'BG-Selector:'
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   307
                              #'adjust:' #right
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   308
                              #'resizeForLabel:' true
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   309
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   310
                           #(#InputFieldSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   311
                              #'name:' 'bgSelField'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   312
                              #'layout:' #(#LayoutFrame 110 0 103 0 15 1.0 125 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   313
                              #'activeHelpKey:' #backgroundSelector
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   314
                              #'model:' #backgroundSelector
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   315
                              #'type:' #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   316
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   317
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   318
                              #'name:' 'fgSelField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   319
                              #'layout:' #(#LayoutFrame 110 0 78 0 15 1.0 100 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   320
                              #'activeHelpKey:' #foregroundSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   321
                              #'model:' #foregroundSelector
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   322
                              #'type:' #symbolOrNil
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   323
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   324
                        )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   325
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   326
                    #'label:' 'Cell Colors:'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   327
                    #'labelPosition:' #topLeft
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   328
                )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   329
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   330
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   331
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   332
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   333
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   334
formatEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   335
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   336
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   337
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   338
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   339
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   340
    "
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   341
     UIPainter new openOnClass:DataSetBuilder andSelector:#formatEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   342
     DataSetBuilder new openInterface:#formatEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   343
    "
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   344
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   345
    <resource: #canvas>
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   346
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   347
    ^
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   348
     
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   349
       #(#FullSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   350
          #'window:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   351
           #(#WindowSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   352
              #'name:' 'DataSet Details'
442
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   353
              #'layout:' #(#LayoutFrame 429 0 280 0 816 0 571 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   354
              #'label:' 'DataSet Details'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   355
              #'min:' #(#Point 10 10)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   356
              #'max:' #(#Point 1280 1024)
442
77009b480ba9 rearranges in layout
tz
parents: 439
diff changeset
   357
              #'bounds:' #(#Rectangle 429 280 817 572)
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   358
              #'usePreferredExtent:' false
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   359
          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   360
          #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   361
           #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   362
              #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   363
               #(
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   364
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   365
                    #'name:' 'framedBox1'
439
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   366
                    #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 114 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   367
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   368
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   369
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   370
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   371
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   372
                              #'name:' 'typeLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   373
                              #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   374
                              #'label:' 'Input Type:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   375
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   376
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   377
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   378
                              #'name:' 'sizeLabel'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   379
                              #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   380
                              #'label:' 'Max Size:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   381
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   382
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   383
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   384
                              #'name:' 'sizeField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   385
                              #'layout:' #(#LayoutFrame 110 0 44 0 15 1.0 66 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   386
                              #'activeHelpKey:' #size
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   387
                              #'model:' #size
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   388
                              #'type:' #numberOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   389
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   390
                           #(#ComboListSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   391
                              #'name:' 'typeCombo'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   392
                              #'layout:' #(#LayoutFrame 110 0 18 0 15 1.0 40 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   393
                              #'activeHelpKey:' #type
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   394
                              #'model:' #type
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   395
                              #'comboList:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   396
                               #(#string
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   397
                                  #password #number
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   398
                                  #numberOrNil #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   399
                              )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   400
                              #'useIndex:' false
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   401
                          )
439
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   402
                           #(#InputFieldSpec
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   403
                              #'name:' 'formatField'
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   404
                              #'layout:' #(#LayoutFrame 110 0 69 0 15 1.0 91 0)
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   405
                              #'activeHelpKey:' #formatString
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   406
                              #'model:' #formatString
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   407
                          )
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   408
                           #(#LabelSpec
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   409
                              #'name:' 'formatLabel'
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   410
                              #'layout:' #(#AlignmentOrigin 107 0 80 0 1 0.5)
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   411
                              #'label:' 'Text Format:'
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   412
                              #'resizeForLabel:' true
118bfaf3f76b font define forgotten + correct hasChanged flag setting
tz
parents: 438
diff changeset
   413
                          )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   414
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   415
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   416
                    #'label:' 'Input Format'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   417
                    #'labelPosition:' #topLeft
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   418
                )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   419
              )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   420
          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   421
      )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   422
!
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   423
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   424
frameEditSpec
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   425
    "this window spec was automatically generated by the ST/X UIPainter"
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   426
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   427
    "do not manually edit this - the painter/builder may not be able to
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   428
     handle the specification if its corrupted."
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   429
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   430
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   431
     UIPainter new openOnClass:DataSetBuilder andSelector:#frameEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   432
     DataSetBuilder new openInterface:#frameEditSpec
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   433
    "
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   434
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   435
    <resource: #canvas>
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   436
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   437
    ^
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   438
     
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   439
       #(#FullSpec
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   440
          #'window:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   441
           #(#WindowSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   442
              #'name:' 'DataSet Dimension'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   443
              #'layout:' #(#LayoutFrame 250 0 405 0 540 0 618 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   444
              #'label:' 'DataSet Dimension'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   445
              #'min:' #(#Point 10 10)
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   446
              #'max:' #(#Point 1280 1024)
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   447
              #'bounds:' #(#Rectangle 250 405 541 619)
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   448
              #'usePreferredExtent:' false
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   449
          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   450
          #'component:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   451
           #(#SpecCollection
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   452
              #'collection:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   453
               #(
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   454
                 #(#FramedBoxSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   455
                    #'name:' 'separatorBox'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   456
                    #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 86 0)
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   457
                    #'component:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   458
                     #(#SpecCollection
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   459
                        #'collection:' 
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   460
                         #(
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   461
                           #(#CheckBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   462
                              #'name:' 'showRowSeparator'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   463
                              #'layout:' #(#LayoutFrame 18 0 19 0 194 0 42 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   464
                              #'activeHelpKey:' #showRowSeparator
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   465
                              #'model:' #showRowSeparator
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   466
                              #'label:' 'Show Row-Separator'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   467
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   468
                           #(#CheckBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   469
                              #'name:' 'showColSeparator'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   470
                              #'layout:' #(#LayoutFrame 18 0 45 0 194 0 68 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   471
                              #'activeHelpKey:' #showColumnSeparator
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   472
                              #'model:' #showColSeparator
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   473
                              #'label:' 'Show Column-Separator'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   474
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   475
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   476
                    )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   477
                    #'label:' 'Separators'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   478
                    #'labelPosition:' #topLeft
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   479
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   480
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   481
                    #'name:' 'framedBox1'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   482
                    #'layout:' #(#LayoutFrame 0 0.0 86 0 0 1.0 198 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   483
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   484
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   485
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   486
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   487
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   488
                              #'name:' 'heightField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   489
                              #'layout:' #(#LayoutFrame 110 0 73 0 15 1.0 95 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   490
                              #'activeHelpKey:' #height
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   491
                              #'model:' #height
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   492
                              #'type:' #numberOrNil
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   493
                          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   494
                           #(#LabelSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   495
                              #'name:' 'heightLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   496
                              #'layout:' #(#AlignmentOrigin 107 0.0 84 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   497
                              #'label:' 'Row Height:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   498
                              #'adjust:' #right
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   499
                              #'resizeForLabel:' true
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   500
                          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   501
                           #(#LabelSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   502
                              #'name:' 'minWidthLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   503
                              #'layout:' #(#AlignmentOrigin 107 0.0 53 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   504
                              #'label:' 'Min Width:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   505
                              #'adjust:' #right
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   506
                              #'resizeForLabel:' true
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   507
                          )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   508
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   509
                              #'name:' 'minWidthField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   510
                              #'layout:' #(#LayoutFrame 110 0 42 0 15 1.0 64 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   511
                              #'activeHelpKey:' #minWidth
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   512
                              #'model:' #minWidth
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   513
                              #'type:' #numberOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   514
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   515
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   516
                              #'name:' 'widthLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   517
                              #'layout:' #(#AlignmentOrigin 107 0.0 28 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   518
                              #'label:' 'Column Width:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   519
                              #'adjust:' #right
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   520
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   521
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   522
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   523
                              #'name:' 'widthField'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   524
                              #'layout:' #(#LayoutFrame 110 0 17 0 15 1.0 39 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   525
                              #'activeHelpKey:' #width
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   526
                              #'model:' #width
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   527
                              #'type:' #numberOrNil
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   528
                          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   529
                        )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   530
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   531
                    #'label:' 'Dimensions:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   532
                    #'labelPosition:' #topLeft
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   533
                )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   534
              )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   535
          )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   536
      )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   537
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   538
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   539
selectionEditSpec
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   540
    "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
   541
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   542
    "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
   543
     handle the specification if its corrupted."
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   544
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   545
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   546
     UIPainter new openOnClass:DataSetBuilder andSelector:#selectionEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   547
     DataSetBuilder new openInterface:#selectionEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   548
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   549
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   550
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   551
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   552
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   553
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   554
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   555
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   556
           #(#WindowSpec
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   557
              #'name:' 'DataSet Basic'
438
e9c1ae80550f selection frame boxes rearranged
tz
parents: 431
diff changeset
   558
              #'layout:' #(#LayoutFrame 228 0 401 0 516 0 656 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   559
              #'label:' 'DataSet Basic'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   560
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   561
              #'max:' #(#Point 1280 1024)
438
e9c1ae80550f selection frame boxes rearranged
tz
parents: 431
diff changeset
   562
              #'bounds:' #(#Rectangle 228 401 517 657)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   563
              #'usePreferredExtent:' false
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   564
          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   565
          #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   566
           #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   567
              #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   568
               #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   569
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   570
                    #'name:' 'framedBox1'
438
e9c1ae80550f selection frame boxes rearranged
tz
parents: 431
diff changeset
   571
                    #'layout:' #(#LayoutFrame 0 0.0 85 0 0 1.0 166 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   572
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   573
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   574
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   575
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   576
                           #(#CheckBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   577
                              #'name:' 'canSelect'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   578
                              #'layout:' #(#Point 107 17)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   579
                              #'activeHelpKey:' #canSelect
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   580
                              #'model:' #canSelect
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   581
                              #'label:' 'Is Selectable'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   582
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   583
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   584
                              #'name:' 'selectorLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   585
                              #'layout:' #(#AlignmentOrigin 107 0 53 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   586
                              #'label:' 'Selector:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   587
                              #'adjust:' #right
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   588
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   589
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   590
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   591
                              #'name:' 'selectSelector'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   592
                              #'layout:' #(#LayoutFrame 110 0 42 0 15 1.0 64 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   593
                              #'activeHelpKey:' #selectSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   594
                              #'model:' #selectSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   595
                              #'type:' #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   596
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   597
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   598
                    )
438
e9c1ae80550f selection frame boxes rearranged
tz
parents: 431
diff changeset
   599
                    #'label:' 'Cell Selection:'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   600
                    #'labelPosition:' #topLeft
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   601
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   602
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   603
                    #'name:' 'framedBox2'
438
e9c1ae80550f selection frame boxes rearranged
tz
parents: 431
diff changeset
   604
                    #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 85 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   605
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   606
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   607
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   608
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   609
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   610
                              #'name:' 'ActionLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   611
                              #'layout:' #(#AlignmentOrigin 107 0 28 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   612
                              #'label:' 'Selector:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   613
                              #'adjust:' #left
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   614
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   615
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   616
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   617
                              #'name:' 'ActionSelector'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   618
                              #'layout:' #(#LayoutFrame 110 0 17 0 15 1.0 39 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   619
                              #'model:' #labelActionSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   620
                              #'type:' #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   621
                          )
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   622
                           #(#LabelSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   623
                              #'name:' 'ArgumentLabel'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   624
                              #'layout:' #(#AlignmentOrigin 107 0 53 0 1 0.5)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   625
                              #'label:' 'Argument:'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   626
                              #'adjust:' #left
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   627
                              #'resizeForLabel:' true
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   628
                          )
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   629
                           #(#InputFieldSpec
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   630
                              #'name:' 'ArgumentValue'
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   631
                              #'layout:' #(#LayoutFrame 110 0 42 0 15 1.0 64 0)
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   632
                              #'model:' #labelActionArgument
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   633
                              #'type:' #string
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   634
                          )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   635
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   636
                    )
438
e9c1ae80550f selection frame boxes rearranged
tz
parents: 431
diff changeset
   637
                    #'label:' 'Label Select Action:'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   638
                    #'labelPosition:' #topLeft
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   639
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   640
                 #(#FramedBoxSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   641
                    #'name:' 'framedBox3'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   642
                    #'layout:' #(#LayoutFrame 0 0.0 166 0 0 1.0 220 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   643
                    #'component:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   644
                     #(#SpecCollection
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   645
                        #'collection:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   646
                         #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   647
                           #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   648
                              #'name:' 'doubleLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   649
                              #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   650
                              #'label:' 'Selector:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   651
                              #'adjust:' #right
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   652
                              #'resizeForLabel:' true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   653
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   654
                           #(#InputFieldSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   655
                              #'name:' 'doubleClicked'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   656
                              #'layout:' #(#LayoutFrame 110 0 16 0 15 1.0 38 0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   657
                              #'activeHelpKey:' #doubleClickedSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   658
                              #'model:' #doubleClickedSelector
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   659
                              #'type:' #symbolOrNil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   660
                          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   661
                        )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   662
                    )
438
e9c1ae80550f selection frame boxes rearranged
tz
parents: 431
diff changeset
   663
                    #'label:' 'Cell Double Click:'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   664
                    #'labelPosition:' #topLeft
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   665
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   666
              )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   667
          )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   668
      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   669
!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   670
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   671
valuesEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   672
    "this window spec was automatically generated by the ST/X UIPainter"
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   673
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   674
    "do not manually edit this - the painter/builder may not be able to
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   675
     handle the specification if its corrupted."
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   676
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   677
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   678
     UIPainter new openOnClass:DataSetBuilder andSelector:#valuesEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   679
     DataSetBuilder new openInterface:#valuesEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   680
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   681
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   682
    <resource: #canvas>
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   683
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   684
    ^
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   685
     
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   686
       #(#FullSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   687
          #'window:' 
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   688
           #(#WindowSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   689
              #'name:' 'DataSet Basic'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   690
              #'layout:' #(#LayoutFrame 250 0 438 0 545 0 743 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   691
              #'label:' 'DataSet Basic'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   692
              #'min:' #(#Point 10 10)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   693
              #'max:' #(#Point 1280 1024)
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   694
              #'bounds:' #(#Rectangle 250 438 546 744)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   695
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   696
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   697
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   698
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   699
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   700
               #(
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   701
                 #(#FramedBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   702
                    #'name:' 'valuesBox'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   703
                    #'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
   704
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   705
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   706
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   707
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   708
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   709
                              #'name:' 'readLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   710
                              #'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
   711
                              #'label:' 'Read:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   712
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   713
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   714
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   715
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   716
                              #'name:' 'readSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   717
                              #'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
   718
                              #'activeHelpKey:' #readSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   719
                              #'model:' #readSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   720
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   721
                          )
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   722
                           #(#InputFieldSpec
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   723
                              #'name:' 'writeSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   724
                              #'layout:' #(#LayoutFrame 110 0 43 0 15 1.0 63 0)
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   725
                              #'activeHelpKey:' #writeSelector
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   726
                              #'model:' #writeSelector
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   727
                              #'type:' #symbolOrNil
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   728
                          )
370
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:' 'printLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   731
                              #'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
   732
                              #'label:' 'Print:'
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:' 'printSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   738
                              #'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
   739
                              #'activeHelpKey:' #printSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   740
                              #'model:' #printSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   741
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   742
                          )
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   743
                           #(#LabelSpec
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   744
                              #'name:' 'writeLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   745
                              #'layout:' #(#AlignmentOrigin 107 0 54 0 1 0.5)
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   746
                              #'label:' 'Write:'
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   747
                              #'adjust:' #right
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   748
                              #'resizeForLabel:' true
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   749
                          )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   750
                        )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   751
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   752
                    #'label:' 'Value Selectors:'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   753
                    #'labelPosition:' #topLeft
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   754
                )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   755
                 #(#FramedBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   756
                    #'name:' 'menusBox'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   757
                    #'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
   758
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   759
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   760
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   761
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   762
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   763
                              #'name:' 'menuLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   764
                              #'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
   765
                              #'label:' 'Menu:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   766
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   767
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   768
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   769
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   770
                              #'name:' 'menuSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   771
                              #'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
   772
                              #'activeHelpKey:' #menuSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   773
                              #'model:' #menu
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   774
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   775
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   776
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   777
                              #'name:' 'choicesLabel'
427
ad235cdacee5 support for new color menu added + some rearranges
tz
parents: 421
diff changeset
   778
                              #'layout:' #(#AlignmentOrigin 107 0 52 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   779
                              #'label:' 'Choice:'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   780
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   781
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   782
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   783
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   784
                              #'name:' 'choicesSelector'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   785
                              #'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
   786
                              #'activeHelpKey:' #choices
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   787
                              #'model:' #choices
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   788
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   789
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   790
                        )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   791
                    )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   792
                    #'label:' 'Menu Selectors:'
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   793
                    #'labelPosition:' #topLeft
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   794
                )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   795
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   796
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   797
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   798
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   799
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   800
!DataSetBuilder class methodsFor:'help specs'!
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   801
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   802
helpSpec
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   803
    "return a dictionary filled with helpKey -> helptext associations.
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   804
     These are used by the activeHelp tool."
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   805
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   806
    "
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   807
    UIHelpTool openOnClass:DataSetBuilder    
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   808
    "
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   809
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   810
  ^ super helpSpec addPairsFrom:#(
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   811
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   812
#backgroundColor
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   813
'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
   814
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   815
#backgroundSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   816
'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
   817
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   818
#canSelect
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   819
'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
   820
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   821
#choices
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   822
'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
   823
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   824
#doubleClickedSelector
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   825
'Selector evaluated without arguments on selected column.'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   826
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   827
#editorField
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   828
'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
   829
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   830
#foregroundColor
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   831
'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
   832
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   833
#foregroundSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   834
'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
   835
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   836
#formatString
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   837
'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
   838
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   839
#height
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   840
'Preferred height (optional).'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   841
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   842
#label
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   843
'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
   844
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   845
#labelIsImage
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   846
'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
   847
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   848
#menuSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   849
'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
   850
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   851
#minWidth
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   852
'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
   853
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   854
#printSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   855
'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
   856
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   857
#readSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   858
'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
   859
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   860
#rendererType
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   861
'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
   862
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   863
#selectSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   864
'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
   865
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   866
#showColumnSeparator
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   867
'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
   868
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   869
#showRowSeparator
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   870
'Shows or hide the row separator (bottom horizontal separator).'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   871
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   872
#size
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   873
'Max size of an InputField, ComboBox or ComboList. 0 or nil means unlimited.'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   874
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   875
#type
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   876
'A type converter symbol used by the input field.'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   877
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   878
#width
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   879
'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
   880
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   881
#writeSelector
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
   882
'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
   883
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   884
)
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   885
! !
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   886
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   887
!DataSetBuilder class methodsFor:'interface specs'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   888
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   889
defineClassNameSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   890
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   891
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   892
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   893
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   894
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   895
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   896
     UIPainter new openOnClass:DataSetBuilder andSelector:#defineClassNameSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   897
     DataSetBuilder new openInterface:#defineClassNameSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   898
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   899
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   900
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   901
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   902
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   903
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   904
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   905
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   906
           #(#WindowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   907
              #'name:' 'Class Definition'
431
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   908
              #'layout:' #(#LayoutFrame 112 0 251 0 437 0 380 0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   909
              #'label:' 'Class Definition'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   910
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   911
              #'max:' #(#Point 1152 900)
431
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   912
              #'bounds:' #(#Rectangle 112 251 438 381)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   913
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   914
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   915
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   916
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   917
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   918
               #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   919
                 #(#LabelSpec
431
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   920
                    #'name:' 'topLabel'
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   921
                    #'layout:' #(#Point 2 10)
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   922
                    #'label:' 'Class for code:'
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   923
                    #'adjust:' #left
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   924
                    #'resizeForLabel:' true
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   925
                )
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   926
                 #(#LabelSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   927
                    #'name:' 'classLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   928
                    #'layout:' #(#AlignmentOrigin 50 0.11 50 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   929
                    #'label:' 'Class:'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   930
                    #'adjust:' #right
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   931
                    #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   932
                )
431
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   933
                 #(#InputFieldSpec
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   934
                    #'name:' 'classNameInputField'
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   935
                    #'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
   936
                    #'tabable:' true
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   937
                    #'model:' #classNameChannel
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   938
                )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   939
                 #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   940
                    #'name:' 'superClassLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   941
                    #'layout:' #(#AlignmentOrigin 50 0.11 77 0 1 0.5)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   942
                    #'label:' 'Superclass:'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   943
                    #'adjust:' #right
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   944
                    #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   945
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   946
                 #(#InputFieldSpec
431
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   947
                    #'name:' 'superclassNameInputField'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   948
                    #'layout:' #(#LayoutFrame 51 0.11 67 0 -2 1.0 89 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   949
                    #'tabable:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   950
                    #'model:' #superclassNameChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   951
                )
431
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   952
                 #(#UISubSpecification
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   953
                    #'name:' 'SubSpecification'
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   954
                    #'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
   955
                    #'majorKey:' #ToolApplicationModel
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   956
                    #'minorKey:' #windowSpecForCommitWithoutChannels
23ff7c325946 commit buttons replaced by subSpec in ToolApplicationModel
tz
parents: 429
diff changeset
   957
                )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   958
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   959
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   960
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   961
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   962
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   963
slices
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   964
    ^#(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   965
        (Basics         basicsEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   966
        (Values         valuesEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   967
        (Format         formatEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   968
        (Selection      selectionEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   969
        (Frame          frameEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   970
        (Colors         colorsEditSpec)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   971
    )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   972
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   973
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   974
windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   975
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   976
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   977
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   978
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   979
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   980
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   981
     UIPainter new openOnClass:DataSetBuilder andSelector:#windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   982
     DataSetBuilder new openInterface:#windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   983
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   984
    "DataSetBuilder open"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   985
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   986
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   987
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   988
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   989
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   990
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   991
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   992
           #(#WindowSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   993
              #'name:' 'Data Set Builder'
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
   994
              #'layout:' #(#LayoutFrame 109 0 262 0 595 0 621 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   995
              #'label:' 'Data Set Builder'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   996
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   997
              #'max:' #(#Point 1152 900)
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
   998
              #'bounds:' #(#Rectangle 109 262 596 622)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   999
              #'menu:' #menu
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1000
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1001
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1002
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1003
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1004
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1005
               #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1006
                 #(#MenuPanelSpec
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1007
                    #'name:' 'menuToolbarView'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1008
                    #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 32 0)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1009
                    #'menu:' #menuToolbar
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1010
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1011
                 #(#VariableHorizontalPanelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1012
                    #'name:' 'VariablePanel'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1013
                    #'layout:' #(#LayoutFrame 0 0.0 34 0.0 0 1.0 -22 1.0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1014
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1015
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1016
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1017
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1018
                           #(#ViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1019
                              #'name:' 'labelsView'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1020
                              #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1021
                               #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1022
                                  #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1023
                                   #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1024
                                     #(#SequenceViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1025
                                        #'name:' 'columnView'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1026
                                        #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1027
                                        #'model:' #selectedColumnModel
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1028
                                        #'menu:' #menuEdit
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1029
                                        #'hasHorizontalScrollBar:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1030
                                        #'hasVerticalScrollBar:' true
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1031
                                        #'miniScrollerHorizontal:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1032
                                        #'useIndex:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1033
                                        #'sequenceList:' #seqList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1034
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1035
                                  )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1036
                              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1037
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1038
                           #(#ViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1039
                              #'name:' 'specView'
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
                                     #(#TabViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1045
                                        #'name:' 'tabView'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1046
                                        #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 35 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1047
                                        #'model:' #tabModel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1048
                                        #'menu:' #tabList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1049
                                        #'useIndex:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1050
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1051
                                     #(#SubCanvasSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1052
                                        #'name:' 'specCanvas'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1053
                                        #'layout:' #(#LayoutFrame 0 0.0 35 0.0 0 1.0 -30 1.0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1054
                                        #'specHolder:' #specChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1055
                                    )
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1056
                                     #(#UISubSpecification
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1057
                                        #'name:' 'SubSpecification'
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1058
                                        #'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
  1059
                                        #'majorKey:' #ToolApplicationModel
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1060
                                        #'minorKey:' #windowSpecForCommit
332
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
                              #'borderWidth:' 1
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1065
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1066
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1067
                    )
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1068
                    #'handles:' #(#Any 0.265905 1.0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1069
                )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1070
                 #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1071
                    #'name:' 'infoLabel'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1072
                    #'layout:' #(#LayoutFrame 0 0.0 -22 1 -80 1.0 0 1.0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1073
                    #'labelChannel:' #valueOfInfoLabel
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1074
                    #'level:' 1
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1075
                    #'adjust:' #left
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1076
                )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1077
                 #(#LabelSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1078
                    #'name:' 'timeLabel'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1079
                    #'layout:' #(#LayoutFrame -80 1 -22 1 0 1.0 0 1.0)
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1080
                    #'labelChannel:' #valueOfTimeLabel
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1081
                    #'level:' 1
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1082
                    #'adjust:' #right
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1083
                )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1084
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1085
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1086
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1087
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1088
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1089
!DataSetBuilder class methodsFor:'menu specs'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1090
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1091
menu
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1092
    "this window spec was automatically generated by the ST/X MenuEditor"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1093
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1094
    "do not manually edit this - the builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1095
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1096
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1097
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1098
     MenuEditor new openOnClass:DataSetBuilder andSelector:#menu
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1099
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder menu)) startUp
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1100
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1101
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1102
    <resource: #menu>
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
       #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1107
          
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1108
           #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1109
             #(#MenuItem
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1110
                #'label:' 'About'
438
e9c1ae80550f selection frame boxes rearranged
tz
parents: 431
diff changeset
  1111
                #'labelImage:' #(#ResourceRetriever nil #icon)
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1112
                #'submenuChannel:' #menuAbout
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1113
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1114
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1115
                #'label:' 'File'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1116
                #'submenu:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1117
                 #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1118
                    
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1119
                     #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1120
                       #(#MenuItem
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1121
                          #'label:' 'Generate Code'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1122
                          #'value:' #doGenerateCode
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1123
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1124
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1125
                          #'label:' '-'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1126
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1127
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1128
                          #'label:' 'Define Class...'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1129
                          #'value:' #doDefineClass
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1130
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1131
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1132
                          #'label:' 'Browse Class'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1133
                          #'value:' #doBrowseClass
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1134
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1135
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1136
                          #'label:' '-'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1137
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1138
                       #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1139
                          #'label:' 'Exit'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1140
                          #'value:' #closeRequest
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1141
                      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1142
                    ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1143
                    nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1144
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1145
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1146
             #(#MenuItem
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1147
                #'label:' 'Edit'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1148
                #'submenuChannel:' #menuEdit
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1149
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1150
          ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1151
          nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1152
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1153
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1154
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1155
menuEdit
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1156
    "this window spec was automatically generated by the ST/X MenuEditor"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1157
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1158
    "do not manually edit this - the builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1159
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1160
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1161
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1162
     MenuEditor new openOnClass:DataSetBuilder andSelector:#menuEdit
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1163
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder menuEdit)) startUp
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1164
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1165
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1166
    <resource: #menu>
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1167
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1168
    ^
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1169
     
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1170
       #(#Menu
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1171
          
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1172
           #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1173
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1174
                #'label:' 'Cut'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1175
                #'value:' #doCutColumn
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1176
                #'enabled:' #isColumnSelected
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1177
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1178
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1179
                #'label:' 'Copy'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1180
                #'value:' #doCopyColumn
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1181
                #'enabled:' #isColumnSelected
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1182
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1183
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1184
                #'label:' 'Paste'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1185
                #'value:' #doPasteColumn
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1186
                #'enabled:' #valueOfHavingClipboard
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1187
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1188
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1189
                #'label:' '-'
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:' 'Create Column'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1193
                #'value:' #doCreateColumn
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1194
                #'enabled:' #columnIsNotEditing
417
a5335dd0a6f3 unnecessary selectors in windowSpec removed
tz
parents: 413
diff changeset
  1195
                #'labelImage:' #(#ResourceRetriever nil #newColumnIcon 'Create Column')
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1196
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1197
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1198
                #'label:' '-'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1199
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1200
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1201
                #'label:' 'Shift Up'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1202
                #'value:' #'doMoveColumn:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1203
                #'enabled:' #isColumnSelected
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1204
                #'argument:' #up
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1205
                #'labelImage:' #(#ResourceRetriever #DataSetBuilder #upIcon 'Shift Up')
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1206
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1207
             #(#MenuItem
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1208
                #'label:' 'Shift Down'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1209
                #'value:' #'doMoveColumn:'
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1210
                #'enabled:' #isColumnSelected
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1211
                #'argument:' #down
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1212
                #'labelImage:' #(#ResourceRetriever #DataSetBuilder #downIcon 'Shift Down')
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1213
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1214
          ) nil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1215
          nil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1216
      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1217
!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1218
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1219
menuToolbar
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1220
    "this window spec was automatically generated by the ST/X MenuEditor"
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1221
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1222
    "do not manually edit this - the builder may not be able to
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1223
     handle the specification if its corrupted."
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1224
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1225
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1226
     MenuEditor new openOnClass:DataSetBuilder andSelector:#menuToolbar
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1227
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder menuToolbar)) startUp
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1228
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1229
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1230
    <resource: #menu>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1231
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1232
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1233
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1234
       #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1235
          
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1236
           #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1237
             #(#MenuItem
417
a5335dd0a6f3 unnecessary selectors in windowSpec removed
tz
parents: 413
diff changeset
  1238
                #'label:' 'Create Column'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1239
                #'isButton:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1240
                #'value:' #doCreateColumn
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1241
                #'enabled:' #columnIsNotEditing
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1242
                #'labelImage:' #(#ResourceRetriever nil #newColumnIcon)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1243
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1244
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1245
                #'label:' ''
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1246
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1247
             #(#MenuItem
417
a5335dd0a6f3 unnecessary selectors in windowSpec removed
tz
parents: 413
diff changeset
  1248
                #'label:' 'Step Up'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1249
                #'isButton:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1250
                #'value:' #'doMoveColumn:'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1251
                #'enabled:' #isColumnSelected
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1252
                #'argument:' #up
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1253
                #'labelImage:' #(#ResourceRetriever nil #upIcon)
332
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:' 'Step Down'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1257
                #'isButton:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1258
                #'value:' #'doMoveColumn:'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1259
                #'enabled:' #isColumnSelected
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1260
                #'argument:' #down
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1261
                #'labelImage:' #(#ResourceRetriever nil #downIcon)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1262
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1263
          ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1264
          nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1265
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1266
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1267
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1268
!DataSetBuilder class methodsFor:'resources'!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1269
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1270
newColumnIcon
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1271
    "ImageEditor openOnClass:self andSelector:#newColumnIcon"
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1272
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1273
    <resource: #image>
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1274
    ^(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
  1275
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1276
!DataSetBuilder methodsFor:'accessing'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1277
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1278
columns
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1279
    "returns list of columns"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1280
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1281
    ^columns
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1282
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1283
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1284
columns:aListOfColumns fromView:aColumnView
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1285
    "setup columns from a column view"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1286
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1287
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1288
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1289
    columnView := aColumnView.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1290
    columns    := OrderedCollection new.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1291
    list       := self seqList.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1292
    hasChanged := false.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1293
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1294
    list removeAll.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1295
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1296
    aListOfColumns size ~~ 0 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1297
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1298
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1299
        aListOfColumns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1300
        [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1301
            columns add: aColumn copy.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1302
            aColumn rendererType == #rowSelector 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1303
                ifFalse:[list add: aColumn label]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1304
                ifTrue: [list add:'Row Selector']
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1305
        ]
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1306
    ]
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1307
!
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1308
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1309
rowClassName
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1310
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1311
    ^(Smalltalk resolveName:className inClass:self class) notNil ifTrue:[className] ifFalse:[nil]
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1312
!
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1313
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1314
rowClassName:aClassName
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1315
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1316
    |cls|
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1317
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1318
    superclassName := nil.
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1319
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1320
    (className := aClassName) notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1321
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1322
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1323
        (cls := self resolveClassNamed) notNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1324
            ifTrue: [superclassName := cls superclass name asString] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1325
            ifFalse:[superclassName := 'Object']
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1326
    ]
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1327
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1328
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1329
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1330
!DataSetBuilder methodsFor:'aspects'!
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1331
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1332
aspectFor:aKey
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1333
    "returns aspect for a key or nil"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1334
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1335
    ^aspects at:aKey ifAbsent:[super aspectFor:aKey]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1336
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1337
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1338
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1339
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1340
columnIsNotEditing
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1341
    "returns a boolean value holder which is set to true if column is not editing"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1342
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1343
    ^builder valueAspectFor:#columnIsNotEditing initialValue: true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1344
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1345
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1346
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1347
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1348
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1349
editorTypeList
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1350
    "generate list of supported editor types"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1351
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1352
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1353
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1354
    (list := builder bindingAt:#editorTypeList) isNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1355
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1356
    [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1357
        list := OrderedCollection new.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1358
        DataSetColumnSpec slices do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1359
        [:aSlice||type|
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1360
            type := aSlice at:1.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1361
            (list includes:type) ifFalse:[list add:type]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1362
        ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1363
        builder aspectAt:#editorTypeList put:list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1364
    ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1365
    ^list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1366
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1367
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1368
isColumnSelected
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1369
    "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
  1370
     and not accepted"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1371
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1372
    ^builder valueAspectFor:#isColumnSelected initialValue: false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1373
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1374
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1375
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1376
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1377
429
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1378
modifiedChannel
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1379
    "returns a boolean value holder which is set to true if something is modified
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1380
     and not accepted"
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1381
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1382
    ^builder booleanValueAspectFor:#modifiedChannel
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1383
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1384
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1385
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1386
!
132c3299631c all access characters removed
tz
parents: 427
diff changeset
  1387
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1388
rendererTypeList
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1389
    "generate list of supported renderer types"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1390
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1391
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1392
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1393
    (list := builder bindingAt:#rendererTypeList) isNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1394
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1395
    [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1396
        list := OrderedCollection new.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1397
        DataSetColumnSpec slices do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1398
        [:aSlice||type|
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1399
            type := aSlice at:2.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1400
            (list includes:type) ifFalse:[list add:type]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1401
        ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1402
        builder aspectAt:#rendererTypeList put:list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1403
    ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1404
    ^list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1405
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1406
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1407
selectedColumnModel
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1408
    "returns a value holder which keeps selected column"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1409
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1410
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1411
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1412
    (holder := builder bindingAt:#selectedColumnModel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1413
        holder := AspectAdaptor new subject:self; forAspect:#selectedColumnIndex.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1414
        builder aspectAt:#selectedColumnModel put:holder.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1415
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1416
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1417
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1418
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1419
seqList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1420
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1421
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1422
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1423
    (list := builder bindingAt:#seqList) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1424
        builder aspectAt:#seqList put:(list :=  List new).
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1425
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1426
    ^ list
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1427
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1428
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1429
specChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1430
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1431
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1432
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1433
    (holder := builder bindingAt:#specChannel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1434
        builder aspectAt:#specChannel put:(holder :=  ValueHolder new).
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1435
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1436
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1437
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1438
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1439
style
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1440
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1441
    ^self aspectFor:#labelFont
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1442
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1443
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1444
tabList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1445
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1446
    ^self class slices collect:[:aSlice|aSlice first]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1447
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1448
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1449
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1450
tabModel
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1451
    "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
  1452
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1453
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1454
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1455
    (holder := builder bindingAt:#tabModel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1456
        holder := AspectAdaptor new subject:self; forAspect:#tabSelectionIndex.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1457
        builder aspectAt:#tabModel put:holder.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1458
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1459
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1460
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1461
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1462
!DataSetBuilder methodsFor:'change & update'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1463
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1464
update:something with:aParameter from:someObject
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1465
    "one of my aspects has changed; update modified channel"
413
ac37b2a972ff select first column item after opening
tz
parents: 409
diff changeset
  1466
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1467
    isModified 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1468
    ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1469
    [
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  1470
        self valueOfEnablingCommitButtons value: true.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1471
        self columnIsNotEditing value: false