DataSetBuilder.st
author ca
Fri, 14 Nov 1997 10:53:23 +0100
changeset 380 42aacfc3d263
parent 379 1a24037cd490
child 391 5c7fa5484d14
permissions -rw-r--r--
add new attributes and help
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
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    17
ApplicationModel subclass:#DataSetBuilder
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'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
    82
              #'layout:' #(#LayoutFrame 219 0 193 0 507 0 448 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)
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
    86
              #'bounds:' #(#Rectangle 219 193 508 449)
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
               #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    93
                 #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    94
                    #'name:' 'labelLabel'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
    95
                    #'layout:' #(#AlignmentOrigin 70 0 30 0 1 0.5)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    96
                    #'label:' 'Label:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    97
                    #'adjust:' #right
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    98
                    #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    99
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   100
                 #(#InputFieldSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   101
                    #'name:' 'labelField'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   102
                    #'layout:' #(#LayoutFrame 74 0 22 0 -12 1.0 40 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   103
                    #'activeHelpKey:' #label
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   104
                    #'model:' #label
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   105
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   106
                 #(#FramedBoxSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   107
                    #'name:' 'typesFrame'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   108
                    #'layout:' #(#LayoutFrame 8 0.0 69 0 0 1.0 149 0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   109
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   110
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   111
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   112
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   113
                           #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   114
                              #'name:' 'rendererLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   115
                              #'layout:' #(#AlignmentOrigin 84 0 26 0 1 0.5)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   116
                              #'label:' 'Renderer:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   117
                              #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   118
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   119
                           #(#ComboListSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   120
                              #'name:' 'rendererField'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   121
                              #'layout:' #(#LayoutFrame 86 0 16 0 17 1.0 36 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   122
                              #'activeHelpKey:' #rendererType
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   123
                              #'model:' #rendererType
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   124
                              #'comboList:' #rendererTypeList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   125
                              #'useIndex:' false
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   126
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   127
                           #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   128
                              #'name:' 'editorLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   129
                              #'layout:' #(#AlignmentOrigin 84 0 50 0 1 0.5)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   130
                              #'label:' 'Editor:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   131
                              #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   132
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   133
                           #(#ComboBoxSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   134
                              #'name:' 'editorField'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   135
                              #'layout:' #(#LayoutFrame 86 0 41 0 17 1.0 61 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   136
                              #'activeHelpKey:' #editorField
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   137
                              #'model:' #editorType
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   138
                              #'type:' #symbolOrNil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   139
                              #'comboList:' #editorTypeList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   140
                              #'useIndex:' false
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   141
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   142
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   143
                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   144
                    #'label:' 'Types:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   145
                    #'labelPosition:' #topLeft
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   146
                )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   147
                 #(#CheckBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   148
                    #'name:' 'labelIsImage'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   149
                    #'layout:' #(#LayoutOrigin 9 0 189 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   150
                    #'activeHelpKey:' #labelIsImage
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   151
                    #'model:' #labelIsImage
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   152
                    #'label:' 'Label Is Image'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   153
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   154
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   155
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   156
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   157
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   158
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   159
colorEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   160
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   161
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   162
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   163
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   164
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   165
    "
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   166
     UIPainter new openOnClass:DataSetBuilder andSelector:#colorEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   167
     DataSetBuilder new openInterface:#colorEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   168
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   169
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   170
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   171
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   172
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   173
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   174
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   175
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   176
           #(#WindowSpec
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   177
              #'name:' 'DataSet Misc'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   178
              #'layout:' #(#LayoutFrame 219 0 193 0 496 0 423 0)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   179
              #'label:' 'DataSet Misc'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   180
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   181
              #'max:' #(#Point 1280 1024)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   182
              #'bounds:' #(#Rectangle 219 193 497 424)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   183
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   184
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   185
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   186
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   187
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   188
               #(
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   189
                 #(#FramedBoxSpec
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   190
                    #'name:' 'defaultColorsBox'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   191
                    #'layout:' #(#LayoutFrame 0 0.0 22 0 0 1.0 121 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   192
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   193
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   194
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   195
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   196
                           #(#ColorMenuSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   197
                              #'name:' 'fgMenu'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   198
                              #'layout:' #(#LayoutFrame 101 0 17 0 10 1.0 45 0)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   199
                              #'activeHelpKey:' #foregroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   200
                              #'model:' #foregroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   201
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   202
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   203
                              #'name:' 'fgLabel'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   204
                              #'layout:' #(#AlignmentOrigin 100 0 32 0 1 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   205
                              #'label:' 'FG-Color:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   206
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   207
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   208
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   209
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   210
                              #'name:' 'bgLabel'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   211
                              #'layout:' #(#AlignmentOrigin 100 0 66 0 1 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   212
                              #'label:' 'BG-Color:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   213
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   214
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   215
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   216
                           #(#ColorMenuSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   217
                              #'name:' 'bgMenu'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   218
                              #'layout:' #(#LayoutFrame 101 0 52 0 10 1.0 80 0)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   219
                              #'activeHelpKey:' #backgroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   220
                              #'model:' #backgroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   221
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   222
                        )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   223
                    )
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   224
                    #'label:' 'Default Colors:'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   225
                    #'labelPosition:' #topLeft
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   226
                )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   227
                 #(#FramedBoxSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   228
                    #'name:' 'cellColorsBox'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   229
                    #'layout:' #(#LayoutFrame 0 0 127 0 0 1.0 226 0)
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   230
                    #'component:' 
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   231
                     #(#SpecCollection
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   232
                        #'collection:' 
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   233
                         #(
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   234
                           #(#LabelSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   235
                              #'name:' 'fgSelLabel'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   236
                              #'layout:' #(#AlignmentOrigin 100 0 32 0 1 0.5)
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   237
                              #'label:' 'FG-Color:'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   238
                              #'adjust:' #right
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   239
                              #'resizeForLabel:' true
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   240
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   241
                           #(#InputFieldSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   242
                              #'name:' 'fgSelField'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   243
                              #'layout:' #(#LayoutFrame 101 0 23 0 10 1.0 45 0)
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   244
                              #'model:' #foregroundSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   245
                              #'activeHelpKey:' #foregroundSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   246
                              #'type:' #symbolOrNil
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   247
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   248
                           #(#LabelSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   249
                              #'name:' 'bgSelLabel'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   250
                              #'layout:' #(#AlignmentOrigin 100 0 66 0 1 0.5)
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   251
                              #'label:' 'BG-Color:'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   252
                              #'adjust:' #right
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   253
                              #'resizeForLabel:' true
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   254
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   255
                           #(#InputFieldSpec
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   256
                              #'name:' 'bgSelField'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   257
                              #'layout:' #(#LayoutFrame 101 0 57 0 10 1.0 79 0)
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   258
                              #'model:' #backgroundSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   259
                              #'activeHelpKey:' #backgroundSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   260
                              #'type:' #symbolOrNil
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   261
                          )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   262
                        )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   263
                    )
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   264
                    #'label:' 'Color Selectors (Cell):'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   265
                    #'labelPosition:' #topLeft
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   266
                )
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   267
              )
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   268
          )
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   269
      )
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   270
!
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   271
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   272
detailsEditSpec
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   273
    "this window spec was automatically generated by the ST/X UIPainter"
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   274
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   275
    "do not manually edit this - the painter/builder may not be able to
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   276
     handle the specification if its corrupted."
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   277
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   278
    "
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   279
     UIPainter new openOnClass:DataSetBuilder andSelector:#detailsEditSpec
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   280
     DataSetBuilder new openInterface:#detailsEditSpec
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   281
    "
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   282
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   283
    <resource: #canvas>
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   284
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   285
    ^
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   286
     
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   287
       #(#FullSpec
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   288
          #'window:' 
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   289
           #(#WindowSpec
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   290
              #'name:' 'DataSet Basic'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   291
              #'layout:' #(#LayoutFrame 219 0 193 0 507 0 448 0)
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   292
              #'label:' 'DataSet Basic'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   293
              #'min:' #(#Point 10 10)
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   294
              #'max:' #(#Point 1280 1024)
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   295
              #'bounds:' #(#Rectangle 219 193 508 449)
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   296
              #'usePreferredExtent:' false
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   297
          )
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   298
          #'component:' 
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   299
           #(#SpecCollection
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   300
              #'collection:' 
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   301
               #(
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   302
                 #(#FramedBoxSpec
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   303
                    #'name:' 'selectionBox'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   304
                    #'layout:' #(#LayoutFrame 0 0.0 20 0 0 1.0 101 0)
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   305
                    #'component:' 
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   306
                     #(#SpecCollection
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   307
                        #'collection:' 
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   308
                         #(
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   309
                           #(#CheckBoxSpec
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   310
                              #'name:' 'canSelect'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   311
                              #'layout:' #(#Point 83 15)
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   312
                              #'activeHelpKey:' #canSelect
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   313
                              #'model:' #canSelect
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   314
                              #'label:' 'Is Selectable'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   315
                          )
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   316
                           #(#LabelSpec
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   317
                              #'name:' 'selectorLabel'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   318
                              #'layout:' #(#AlignmentOrigin 84 0 51 0 1 0.5)
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   319
                              #'label:' 'Selector:'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   320
                              #'adjust:' #right
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   321
                              #'resizeForLabel:' true
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   322
                          )
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   323
                           #(#InputFieldSpec
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   324
                              #'name:' 'selectSelector'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   325
                              #'layout:' #(#LayoutFrame 86 0 42 0 17 1.0 62 0)
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   326
                              #'activeHelpKey:' #selectSelector
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   327
                              #'model:' #selectSelector
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   328
                              #'type:' #symbolOrNil
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   329
                          )
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   330
                        )
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   331
                    )
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   332
                    #'label:' 'Selection:'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   333
                    #'labelPosition:' #topLeft
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   334
                )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   335
                 #(#FramedBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   336
                    #'name:' 'separatorBox'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   337
                    #'layout:' #(#LayoutFrame 0 0.0 131 0 0 1.0 217 0)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   338
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   339
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   340
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   341
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   342
                           #(#CheckBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   343
                              #'name:' 'showRowSeparator'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   344
                              #'layout:' #(#AlignmentOrigin 39 0 30 0 0 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   345
                              #'activeHelpKey:' #showRowSeparator
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   346
                              #'model:' #showRowSeparator
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   347
                              #'label:' 'Show Row-Separator'
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
                           #(#CheckBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   350
                              #'name:' 'showColSeparator'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   351
                              #'layout:' #(#AlignmentOrigin 39 0 56 0 0 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   352
                              #'activeHelpKey:' #showColumnSeparator
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   353
                              #'model:' #showColSeparator
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   354
                              #'label:' 'Show Column-Separator'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   355
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   356
                        )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   357
                    )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   358
                    #'label:' 'Separators'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   359
                    #'labelPosition:' #topLeft
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   360
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   361
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   362
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   363
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   364
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   365
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   366
dimensionEditSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   367
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   368
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   369
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   370
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   371
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   372
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   373
     UIPainter new openOnClass:DataSetBuilder andSelector:#dimensionEditSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   374
     DataSetBuilder new openInterface:#dimensionEditSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   375
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   376
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   377
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   378
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   379
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   380
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   381
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   382
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   383
           #(#WindowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   384
              #'name:' 'DataSet Dimension'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   385
              #'layout:' #(#LayoutFrame 197 0 172 0 487 0 385 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   386
              #'label:' 'DataSet Dimension'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   387
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   388
              #'max:' #(#Point 1280 1024)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   389
              #'bounds:' #(#Rectangle 197 172 488 386)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   390
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   391
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   392
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   393
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   394
               #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   395
                 #(#FramedBoxSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   396
                    #'name:' 'columnWidthFrame'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   397
                    #'layout:' #(#LayoutFrame 0 0.0 20 0 0 1.0 107 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   398
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   399
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   400
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   401
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   402
                           #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   403
                              #'name:' 'widthLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   404
                              #'layout:' #(#AlignmentOrigin 68 0.0 27 0 1 0.5)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   405
                              #'label:' 'width:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   406
                              #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   407
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   408
                           #(#InputFieldSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   409
                              #'name:' 'widthField'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   410
                              #'layout:' #(#LayoutFrame 70 0 17 0 0 1.0 39 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   411
                              #'activeHelpKey:' #width
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   412
                              #'model:' #width
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   413
                              #'type:' #numberOrNil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   414
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   415
                           #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   416
                              #'name:' 'minWidthLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   417
                              #'layout:' #(#AlignmentOrigin 68 0.0 56 0 1 0.5)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   418
                              #'label:' 'minWidth:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   419
                              #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   420
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   421
                           #(#InputFieldSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   422
                              #'name:' 'minWidthField'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   423
                              #'layout:' #(#LayoutFrame 70 0 46 0 0 1.0 68 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   424
                              #'activeHelpKey:' #minWidth
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   425
                              #'model:' #minWidth
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   426
                              #'type:' #numberOrNil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   427
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   428
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   429
                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   430
                    #'label:' 'Column Width:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   431
                    #'labelPosition:' #topLeft
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   432
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   433
                 #(#FramedBoxSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   434
                    #'name:' 'rowHeightFrame'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   435
                    #'layout:' #(#LayoutFrame 0 0.0 134 0 0 1.0 194 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   436
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   437
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   438
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   439
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   440
                           #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   441
                              #'name:' 'heightLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   442
                              #'layout:' #(#AlignmentOrigin 68 0.0 29 0 1 0.5)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   443
                              #'label:' 'height:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   444
                              #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   445
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   446
                           #(#InputFieldSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   447
                              #'name:' 'heightField'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   448
                              #'layout:' #(#LayoutFrame 70 0 19 0 0 1.0 41 0)
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   449
                              #'activeHelpKey:' #height
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   450
                              #'model:' #height
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   451
                              #'type:' #numberOrNil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   452
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   453
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   454
                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   455
                    #'label:' 'Row Height:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   456
                    #'labelPosition:' #topLeft
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   457
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   458
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   459
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   460
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   461
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   462
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   463
formatEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   464
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   465
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   466
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   467
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   468
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   469
    "
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   470
     UIPainter new openOnClass:DataSetBuilder andSelector:#formatEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   471
     DataSetBuilder new openInterface:#formatEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   472
    "
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   473
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   474
    <resource: #canvas>
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   475
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   476
    ^
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   477
     
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   478
       #(#FullSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   479
          #'window:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   480
           #(#WindowSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   481
              #'name:' 'DataSet Details'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   482
              #'layout:' #(#LayoutFrame 219 0 193 0 509 0 406 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   483
              #'label:' 'DataSet Details'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   484
              #'min:' #(#Point 10 10)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   485
              #'max:' #(#Point 1280 1024)
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   486
              #'bounds:' #(#Rectangle 219 193 510 407)
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   487
              #'usePreferredExtent:' false
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   488
          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   489
          #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   490
           #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   491
              #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   492
               #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   493
                 #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   494
                    #'name:' 'textDescription'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   495
                    #'layout:' #(#Point 10 15)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   496
                    #'label:' 'Text Description:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   497
                    #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   498
                )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   499
                 #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   500
                    #'name:' 'formatLabel'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   501
                    #'layout:' #(#AlignmentOrigin 83 0 47 0 1 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   502
                    #'label:' 'Format:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   503
                    #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   504
                )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   505
                 #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   506
                    #'name:' 'formatField'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   507
                    #'layout:' #(#LayoutFrame 87 0 37 0 -2 1.0 59 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   508
                    #'activeHelpKey:' #formatString
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   509
                    #'model:' #formatString
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   510
                )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   511
                 #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   512
                    #'name:' 'inpFieldDescription'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   513
                    #'layout:' #(#Point 10 80)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   514
                    #'label:' 'InputField Description:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   515
                    #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   516
                )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   517
                 #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   518
                    #'name:' 'typeLabel'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   519
                    #'layout:' #(#AlignmentOrigin 83 0 111 0 1 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   520
                    #'label:' 'Type:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   521
                    #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   522
                )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   523
                 #(#ComboListSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   524
                    #'name:' 'typeCombo'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   525
                    #'layout:' #(#LayoutFrame 87 0 102 0 -2 1.0 122 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   526
                    #'activeHelpKey:' #type
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   527
                    #'model:' #type
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   528
                    #'comboList:' #typeList
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   529
                    #'useIndex:' false
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   530
                )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   531
                 #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   532
                    #'name:' 'sizeLabel'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   533
                    #'layout:' #(#AlignmentOrigin 83 0 136 0 1 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   534
                    #'label:' 'Size:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   535
                    #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   536
                )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   537
                 #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   538
                    #'name:' 'sizeField'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   539
                    #'layout:' #(#LayoutFrame 87 0 126 0 -2 1.0 148 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   540
                    #'activeHelpKey:' #size
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   541
                    #'model:' #size
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   542
                    #'type:' #numberOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   543
                )
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
          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   546
      )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   547
!
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   548
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   549
selectorsEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   550
    "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
   551
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   552
    "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
   553
     handle the specification if its corrupted."
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   554
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   555
    "
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   556
     UIPainter new openOnClass:DataSetBuilder andSelector:#selectorsEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   557
     DataSetBuilder new openInterface:#selectorsEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   558
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   559
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   560
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   561
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   562
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   563
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   564
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   565
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   566
           #(#WindowSpec
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   567
              #'name:' 'DataSet Basic'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   568
              #'layout:' #(#LayoutFrame 219 0 193 0 507 0 448 0)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   569
              #'label:' 'DataSet Basic'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   570
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   571
              #'max:' #(#Point 1280 1024)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   572
              #'bounds:' #(#Rectangle 219 193 508 449)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   573
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   574
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   575
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   576
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   577
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   578
               #(
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   579
                 #(#FramedBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   580
                    #'name:' 'valuesBox'
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   581
                    #'layout:' #(#LayoutFrame 0 0.0 20 0 0 1.0 125 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   582
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   583
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   584
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   585
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   586
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   587
                              #'name:' 'readLabel'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   588
                              #'layout:' #(#AlignmentOrigin 84 0 25 0 1 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   589
                              #'label:' 'Read:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   590
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   591
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   592
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   593
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   594
                              #'name:' 'readSelector'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   595
                              #'layout:' #(#LayoutFrame 86 0 16 0 17 1.0 36 0)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   596
                              #'activeHelpKey:' #readSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   597
                              #'model:' #readSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   598
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   599
                          )
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   600
                           #(#InputFieldSpec
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   601
                              #'name:' 'writeSelector'
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   602
                              #'layout:' #(#LayoutFrame 86 0 38 0 17 1.0 58 0)
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   603
                              #'activeHelpKey:' #writeSelector
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   604
                              #'model:' #writeSelector
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   605
                              #'type:' #symbolOrNil
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   606
                          )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   607
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   608
                              #'name:' 'printLabel'
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   609
                              #'layout:' #(#AlignmentOrigin 84 0 78 0 1 0.5)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   610
                              #'label:' 'Print:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   611
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   612
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   613
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   614
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   615
                              #'name:' 'printSelector'
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   616
                              #'layout:' #(#LayoutFrame 86 0 69 0 17 1.0 89 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   617
                              #'activeHelpKey:' #printSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   618
                              #'model:' #printSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   619
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   620
                          )
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   621
                           #(#LabelSpec
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   622
                              #'name:' 'writeLabel'
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   623
                              #'layout:' #(#AlignmentOrigin 84 0 48 0 1 0.5)
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   624
                              #'label:' 'Write:'
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   625
                              #'adjust:' #right
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   626
                              #'resizeForLabel:' true
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   627
                          )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   628
                        )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   629
                    )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   630
                    #'label:' 'Values:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   631
                    #'labelPosition:' #topLeft
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   632
                )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   633
                 #(#FramedBoxSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   634
                    #'name:' 'menusBox'
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
   635
                    #'layout:' #(#LayoutFrame 0 0.0 137 0 0 1.0 217 0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   636
                    #'component:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   637
                     #(#SpecCollection
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   638
                        #'collection:' 
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   639
                         #(
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   640
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   641
                              #'name:' 'menuLabel'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   642
                              #'layout:' #(#AlignmentOrigin 84 0 25 0 1 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   643
                              #'label:' 'Menu:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   644
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   645
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   646
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   647
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   648
                              #'name:' 'menuSelector'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   649
                              #'layout:' #(#LayoutFrame 86 0 16 0 17 1.0 36 0)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   650
                              #'activeHelpKey:' #menuSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   651
                              #'model:' #menu
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   652
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   653
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   654
                           #(#LabelSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   655
                              #'name:' 'choicesLabel'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   656
                              #'layout:' #(#AlignmentOrigin 84 0 51 0 1 0.5)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   657
                              #'label:' 'Choices:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   658
                              #'adjust:' #right
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   659
                              #'resizeForLabel:' true
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   660
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   661
                           #(#InputFieldSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   662
                              #'name:' 'choicesSelector'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   663
                              #'layout:' #(#LayoutFrame 86 0 42 0 17 1.0 62 0)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   664
                              #'activeHelpKey:' #choices
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   665
                              #'model:' #choices
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   666
                              #'type:' #symbolOrNil
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   667
                          )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   668
                        )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   669
                    )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   670
                    #'label:' 'Menus:'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   671
                    #'labelPosition:' #topLeft
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   672
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   673
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   674
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   675
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   676
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   677
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   678
!DataSetBuilder class methodsFor:'help specs'!
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   679
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   680
helpSpec
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   681
    "return a dictionary filled with helpKey -> helptext associations.
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   682
     These are used by the activeHelp tool."
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   683
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   684
    "
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   685
    UIHelpTool openOnClass:DataSetBuilder    
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   686
    "
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   687
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   688
  ^ super helpSpec addPairsFrom:#(
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   689
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   690
#backgroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   691
'set 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
   692
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   693
#backgroundSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   694
'selector which returns the background color for a cell (optional). If the selector is nil or returns nil, the default background color is set.'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   695
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   696
#canSelect
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   697
'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).'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   698
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   699
#choices
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   700
'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.'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   701
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   702
#editorField
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   703
'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.'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   704
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   705
#foregroundColor
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   706
'set 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
   707
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   708
#foregroundSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   709
'selector which returns the foreground color for a cell (optional). If the selector is nil or returns nil, the default foreground color is set.'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   710
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   711
#formatString
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   712
'format string, which specifies the output format of a text in a cell. \ At the moment only numbers are supported. \ \ for example: 0.0000'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   713
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   714
#height
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   715
'preferred height (optional)'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   716
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   717
#label
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   718
'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.'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   719
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   720
#labelIsImage
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   721
'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.'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   722
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   723
#menuSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   724
'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.'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   725
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   726
#minWidth
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   727
'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.'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   728
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   729
#printSelector
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   730
'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'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   731
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   732
#readSelector
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   733
'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
   734
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   735
#rendererType
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   736
'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
   737
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   738
#selectSelector
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   739
'an optional selector, which is used to test whether the cell in the column is selectable; the ''Is Selectable'' flag must be enabled.'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   740
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   741
#showColumnSeparator
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   742
'show or hide the column separator (right vertical separator).'
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   743
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   744
#showRowSeparator
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   745
'show or hide the row separator (bottom horizontal separator)'
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   746
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   747
#size
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   748
'max size of an InputField, ComboBox or ComboList. 0 or nil means unlimited.'
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   749
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   750
#type
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   751
'a type converter symbol used by the input field'
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   752
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   753
#width
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   754
'the width of a fixed column; in case of nil or 0 the column width will be computed dependent on the contents.'
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   755
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   756
#writeSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   757
'a selector, which is used to set the value of a cell. If the selector is not defined, the selector derives from the printSelector.'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
   758
338
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   759
)
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   760
! !
ea36cf31c084 add some help text
ca
parents: 333
diff changeset
   761
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   762
!DataSetBuilder class methodsFor:'images'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   763
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   764
iconCreateItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   765
    ^ MenuEditor iconCreateItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   766
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   767
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   768
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   769
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   770
!DataSetBuilder class methodsFor:'interface specs'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   771
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   772
defineClassNameSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   773
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   774
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   775
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   776
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   777
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   778
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   779
     UIPainter new openOnClass:DataSetBuilder andSelector:#defineClassNameSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   780
     DataSetBuilder new openInterface:#defineClassNameSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   781
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   782
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   783
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   784
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   785
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   786
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   787
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   788
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   789
           #(#WindowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   790
              #'name:' 'Class Definition'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   791
              #'layout:' #(#LayoutFrame 76 0 249 0 401 0 378 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   792
              #'label:' 'Class Definition'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   793
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   794
              #'max:' #(#Point 1152 900)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   795
              #'bounds:' #(#Rectangle 76 249 402 379)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   796
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   797
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   798
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   799
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   800
               #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   801
                 #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   802
                    #'name:' 'classLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   803
                    #'layout:' #(#AlignmentOrigin 50 0.11 50 0 1 0.5)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   804
                    #'label:' 'class:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   805
                    #'adjust:' #right
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   806
                    #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   807
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   808
                 #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   809
                    #'name:' 'superClassLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   810
                    #'layout:' #(#AlignmentOrigin 50 0.11 77 0 1 0.5)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   811
                    #'label:' 'superclass:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   812
                    #'adjust:' #right
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   813
                    #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   814
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   815
                 #(#LabelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   816
                    #'name:' 'topLabel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   817
                    #'layout:' #(#Point 2 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   818
                    #'label:' 'class for code:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   819
                    #'adjust:' #left
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   820
                    #'resizeForLabel:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   821
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   822
                 #(#InputFieldSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   823
                    #'name:' 'classNameField'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   824
                    #'layout:' #(#LayoutFrame 51 0.11 39 0 -2 1.0 61 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   825
                    #'tabable:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   826
                    #'model:' #classNameChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   827
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   828
                 #(#HorizontalPanelViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   829
                    #'name:' 'commitPanel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   830
                    #'layout:' #(#LayoutFrame 2 0.0 -30 1.0 -2 1.0 -2 1.0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   831
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   832
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   833
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   834
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   835
                           #(#ActionButtonSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   836
                              #'name:' 'button1'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   837
                              #'label:' 'cancel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   838
                              #'tabable:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   839
                              #'model:' #cancel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   840
                              #'extent:' #(#Point 156 22)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   841
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   842
                           #(#ActionButtonSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   843
                              #'name:' 'button2'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   844
                              #'label:' 'ok'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   845
                              #'tabable:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   846
                              #'isDefault:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   847
                              #'model:' #accept
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   848
                              #'extent:' #(#Point 157 22)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   849
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   850
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   851
                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   852
                    #'horizontalLayout:' #fitSpace
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   853
                    #'verticalLayout:' #fitSpace
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   854
                    #'horizontalSpace:' 3
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   855
                    #'verticalSpace:' 3
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   856
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   857
                 #(#InputFieldSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   858
                    #'name:' 'inputField1'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   859
                    #'layout:' #(#LayoutFrame 51 0.11 67 0 -2 1.0 89 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   860
                    #'tabable:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   861
                    #'model:' #superclassNameChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   862
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   863
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   864
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   865
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   866
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   867
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   868
slices
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   869
    ^  #(       (Basics         basicsEditSpec)
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   870
                (Details        detailsEditSpec)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   871
                (Selectors      selectorsEditSpec)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   872
                (Format         formatEditSpec)
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   873
                (Colors         colorEditSpec)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   874
                (Dimension      dimensionEditSpec)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   875
        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   876
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   877
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   878
windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   879
    "this window spec was automatically generated by the ST/X UIPainter"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   880
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   881
    "do not manually edit this - the painter/builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   882
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   883
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   884
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   885
     UIPainter new openOnClass:DataSetBuilder andSelector:#windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   886
     DataSetBuilder new openInterface:#windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   887
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   888
    "DataSetBuilder open"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   889
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   890
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   891
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   892
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   893
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   894
       #(#FullSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   895
          #'window:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   896
           #(#WindowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   897
              #'name:' 'unnamed canvas'
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   898
              #'layout:' #(#LayoutFrame 262 0 460 0 774 0 802 0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   899
              #'label:' 'unnamed canvas'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   900
              #'min:' #(#Point 10 10)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   901
              #'max:' #(#Point 1152 900)
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   902
              #'bounds:' #(#Rectangle 262 460 775 803)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   903
              #'usePreferredExtent:' false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   904
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   905
          #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   906
           #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   907
              #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   908
               #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   909
                 #(#MenuPanelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   910
                    #'name:' 'mainMenu'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   911
                    #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 25 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   912
                    #'menu:' #mainMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   913
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   914
                 #(#VariableHorizontalPanelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   915
                    #'name:' 'VariablePanel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   916
                    #'layout:' #(#LayoutFrame 0 0.0 25 0.0 0 1.0 0 1.0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   917
                    #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   918
                     #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   919
                        #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   920
                         #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   921
                           #(#ViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   922
                              #'name:' 'labelsView'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   923
                              #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   924
                               #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   925
                                  #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   926
                                   #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   927
                                     #(#MenuPanelSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   928
                                        #'name:' 'subMenu'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   929
                                        #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 35 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   930
                                        #'menu:' #subMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   931
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   932
                                     #(#SequenceViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   933
                                        #'name:' 'columnView'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   934
                                        #'layout:' #(#LayoutFrame 0 0.0 35 0.0 0 1.0 0 1.0)
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   935
                                        #'enableChannel:' #isNotModified
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   936
                                        #'model:' #selectedColumnModel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   937
                                        #'menu:' #columnMenu
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   938
                                        #'hasHorizontalScrollBar:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   939
                                        #'hasVerticalScrollBar:' true
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   940
                                        #'miniScrollerHorizontal:' true
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   941
                                        #'useIndex:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   942
                                        #'sequenceList:' #seqList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   943
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   944
                                  )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   945
                              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   946
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   947
                           #(#ViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   948
                              #'name:' 'specView'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   949
                              #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   950
                               #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   951
                                  #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   952
                                   #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   953
                                     #(#TabViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   954
                                        #'name:' 'tabView'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   955
                                        #'layout:' #(#LayoutFrame 0 0.0 0 0 0 1.0 35 0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   956
                                        #'model:' #tabModel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   957
                                        #'menu:' #tabList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   958
                                        #'useIndex:' true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   959
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   960
                                     #(#SubCanvasSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   961
                                        #'name:' 'specCanvas'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   962
                                        #'layout:' #(#LayoutFrame 0 0.0 35 0.0 0 1.0 -30 1.0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   963
                                        #'specHolder:' #specChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   964
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   965
                                     #(#HorizontalPanelViewSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   966
                                        #'name:' 'modifyPanel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   967
                                        #'layout:' #(#LayoutFrame 0 0.0 -30 1.0 0 1.0 0 1.0)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   968
                                        #'component:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   969
                                         #(#SpecCollection
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   970
                                            #'collection:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   971
                                             #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   972
                                               #(#ActionButtonSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   973
                                                  #'name:' 'cancelButton'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   974
                                                  #'label:' 'cancel'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   975
                                                  #'model:' #cancel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   976
                                                  #'enableChannel:' #modifiedChannel
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   977
                                                  #'extent:' #(#Point 171 24)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   978
                                              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   979
                                               #(#ActionButtonSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   980
                                                  #'name:' 'acceptButton'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   981
                                                  #'label:' 'ok'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   982
                                                  #'model:' #accept
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   983
                                                  #'enableChannel:' #modifiedChannel
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   984
                                                  #'extent:' #(#Point 172 24)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   985
                                              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   986
                                            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   987
                                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   988
                                        #'horizontalLayout:' #fitSpace
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   989
                                        #'verticalLayout:' #fitSpace
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   990
                                        #'horizontalSpace:' 3
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   991
                                        #'verticalSpace:' 3
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   992
                                    )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   993
                                  )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   994
                              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   995
                              #'borderWidth:' 1
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   996
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   997
                        )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   998
                    )
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
   999
                    #'handles:' #(#Any 0.307992 1.0)
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1000
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1001
              )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1002
          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1003
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1004
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1005
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1006
!DataSetBuilder class methodsFor:'menu specs'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1007
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1008
columnMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1009
    "this window spec was automatically generated by the ST/X MenuEditor"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1010
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1011
    "do not manually edit this - the builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1012
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1013
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1014
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1015
     MenuEditor new openOnClass:DataSetBuilder andSelector:#columnMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1016
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder columnMenu)) startUp
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1017
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1018
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1019
    <resource: #menu>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1020
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1021
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1022
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1023
       #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1024
          
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1025
           #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1026
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1027
                #'label:' 'cut'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1028
                #'value:' #doCutColumn
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1029
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1030
          ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1031
          nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1032
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1033
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1034
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1035
mainMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1036
    "this window spec was automatically generated by the ST/X MenuEditor"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1037
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1038
    "do not manually edit this - the builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1039
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1040
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1041
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1042
     MenuEditor new openOnClass:DataSetBuilder andSelector:#mainMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1043
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder mainMenu)) startUp
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1044
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1045
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1046
    <resource: #menu>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1047
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1048
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1049
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1050
       #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1051
          
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1052
           #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1053
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1054
                #'label:' 'file'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1055
                #'submenu:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1056
                 #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1057
                    
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1058
                     #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1059
                       #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1060
                          #'label:' 'close'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1061
                          #'value:' #closeRequest
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1062
                      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1063
                    ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1064
                    nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1065
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1066
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1067
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1068
                #'label:' 'code'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1069
                #'submenu:' 
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1070
                 #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1071
                    
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1072
                     #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1073
                       #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1074
                          #'label:' 'class'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1075
                          #'value:' #doDefineClass
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1076
                      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1077
                       #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1078
                          #'label:' 'generate code'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1079
                          #'value:' #doGenerateCode
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1080
                      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1081
                       #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1082
                          #'label:' '-'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1083
                      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1084
                       #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1085
                          #'label:' 'browse class'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1086
                          #'value:' #doBrowseClass
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1087
                      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1088
                    ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1089
                    nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1090
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1091
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1092
          ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1093
          nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1094
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1095
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1096
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1097
subMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1098
    "this window spec was automatically generated by the ST/X MenuEditor"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1099
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1100
    "do not manually edit this - the builder may not be able to
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1101
     handle the specification if its corrupted."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1102
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1103
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1104
     MenuEditor new openOnClass:DataSetBuilder andSelector:#subMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1105
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder subMenu)) startUp
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1106
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1107
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1108
    <resource: #menu>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1109
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1110
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1111
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1112
       #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1113
          
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1114
           #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1115
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1116
                #'label:' 'createColumn'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1117
                #'value:' #doCreateColumn
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1118
                #'enabled:' #isNotModified
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1119
                #'labelImage:' #(#ResourceRetriever #MenuEditor #iconCreateItem)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1120
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1121
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1122
                #'label:' '-'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1123
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1124
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1125
                #'label:' ''
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1126
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1127
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1128
                #'label:' '-'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1129
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1130
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1131
                #'label:' 'stepUp'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1132
                #'value:' #'doMoveColumn:'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1133
                #'enabled:' #isNotModified
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1134
                #'argument:' #up
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1135
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconStepUp)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1136
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1137
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1138
                #'label:' '-'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1139
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1140
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1141
                #'label:' 'stepDown'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1142
                #'value:' #'doMoveColumn:'
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1143
                #'enabled:' #isNotModified
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1144
                #'argument:' #down
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1145
                #'labelImage:' #(#ResourceRetriever #UIPainter #iconStepDown)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1146
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1147
             #(#MenuItem
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1148
                #'label:' '-'
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
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1155
!DataSetBuilder methodsFor:'accessing'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1156
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1157
columns
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1158
    "returns list of columns
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1159
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1160
    ^ columns
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1161
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1162
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1163
columns:aListOfColumns fromView:aColumnView
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1164
    "setup columns from a column view
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1165
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1166
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1167
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1168
    columnView := aColumnView.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1169
    columns    := OrderedCollection new.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1170
    list       := self seqList.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1171
    hasChanged := false.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1172
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1173
    list removeAll.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1174
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1175
    aListOfColumns size ~~ 0 ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1176
        aListOfColumns do:[:aCol|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1177
            columns add:(aCol copy).
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1178
            aCol rendererType == #rowSelector ifFalse:[list add:(aCol label)]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1179
                                               ifTrue:[list add:'Row Selector'].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1180
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1181
    ].
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1182
!
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1183
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1184
rowClassName
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1185
    ^ (Smalltalk resolveName:className inClass:self class) notNil ifTrue:[className] ifFalse:[nil]
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1186
!
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1187
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1188
rowClassName:aClassName
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1189
    |cls|
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1190
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1191
    superclassName := nil.
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1192
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1193
    (className := aClassName) notNil ifTrue:[
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1194
        (cls := self resolveClassNamed) notNil ifTrue:[
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1195
            superclassName := cls superclass name asString.
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1196
        ] ifFalse:[
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1197
            superclassName := 'Object'
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1198
        ]
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1199
    ]
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  1200
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1201
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1202
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1203
!DataSetBuilder methodsFor:'accessing menu'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1204
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1205
columnMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1206
    "this window spec was automatically generated by the UI Builder"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1207
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1208
    ^ self class columnMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1209
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1210
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1211
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1212
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1213
doBrowseClass
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1214
    |cls|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1215
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1216
    (cls := self resolveClassNamed) notNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1217
        SystemBrowser openInClass:cls
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1218
    ] ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1219
        self information:'no class yet'.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1220
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1221
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1222
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1223
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1224
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1225
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1226
doCreateColumn
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1227
    "create a new column after selected column or at left (nothing selected)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1228
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1229
    |label list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1230
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1231
    list := self seqList.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1232
    label := 'column ', list size printString.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1233
    columns add:(DataSetColumnSpec label:label selector:#ToBeDefined) afterIndex:selectedColumnIndex.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1234
    self seqList add:label afterIndex:selectedColumnIndex.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1235
    hasChanged := true.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1236
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1237
    self modified ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1238
        self selectedColumnModel value:(selectedColumnIndex + 1)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1239
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1240
    self updateColumnView.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1241
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1242
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1243
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1244
doCutColumn
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1245
    "remove selected column
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1246
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1247
    |idx|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1248
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1249
    (idx := selectedColumnIndex) ~~ 0 ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1250
        self selectedColumnModel value:0.
342
df086591eb11 add more functionality
ca
parents: 338
diff changeset
  1251
        columns removeIndex:idx.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1252
        self seqList removeIndex:idx.
342
df086591eb11 add more functionality
ca
parents: 338
diff changeset
  1253
        self updateColumnView.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1254
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1255
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1256
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1257
doDefineClass
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1258
    "launch a dialog to define class and superclass
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1259
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1260
    |aspects cls oldClass oldSuper|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1261
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1262
    aspects  := IdentityDictionary new.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1263
    oldClass := className.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1264
    oldSuper := superclassName.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1265
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1266
    [true] whileTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1267
        className notNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1268
            (cls := self resolveClassNamed) notNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1269
                superclassName := cls superclass name asString.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1270
            ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1271
            aspects at:#classNameChannel put:className asValue
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1272
        ] ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1273
            aspects at:#classNameChannel put:'DSVRow' asValue
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1274
        ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1275
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1276
        superclassName notNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1277
            aspects at:#superclassNameChannel put:superclassName asValue
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1278
        ] ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1279
            aspects at:#superclassNameChannel put:'Object' asValue
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1280
        ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1281
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1282
        (self openDialogInterface:#defineClassNameSpec withBindings:aspects) ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1283
            className := oldClass.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1284
            superclassName := oldSuper.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1285
          ^ self
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1286
        ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1287
        className      := ((aspects at:#classNameChannel) value)      withoutSeparators.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1288
        superclassName := ((aspects at:#superclassNameChannel) value) withoutSeparators.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1289
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1290
        className size == 0 ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1291
            className := nil.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1292
            self information:'no valid className'.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1293
        ] ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1294
            cls := self resolveClassNamed.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1295
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1296
            cls notNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1297
                cls := cls superclass name asString
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1298
            ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1299
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1300
            superclassName size == 0 ifTrue:[        
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1301
                cls notNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1302
                    superclassName := cls
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1303
                ] ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1304
                    superclassName := 'Object'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1305
                ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1306
                self information:( 'set superclassName' ).
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1307
            ] ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1308
                (cls isNil or:[superclassName = cls]) ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1309
                    hasChanged := true.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1310
                    ^ self
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1311
                ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1312
                self information:('a global named ' , className , ' exists,\' ,
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1313
                                  'but is not a subclass of ' , superclassName, '.\\' ,
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1314
                                  'Check and try again if that is not what you want.') withCRs.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1315
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1316
                superclassName := cls.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1317
            ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1318
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1319
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1320
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1321
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1322
doGenerateCode
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1323
    |cls superclass|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1324
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1325
    className isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1326
        ^ self information:'no class defined'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1327
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1328
    cls := self resolveClassNamed.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1329
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1330
    cls isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1331
        superclass := Smalltalk resolveName:superclassName inClass:self class.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1333
        superclass isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1334
            ^ self information:'no superclass defined'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1335
        ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1336
        (self confirm:'create ' , className , ' ?') ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1337
            ^ self
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1338
        ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1339
        cls := superclass subclass:(className asSymbol)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1340
                     instanceVariableNames:''
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1341
                     classVariableNames:''
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1342
                     poolDictionaries:''
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1343
                     category:'Applications'.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1344
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1345
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1346
    self generateChoicesIn:cls.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1347
    self generateMenuIn:cls.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1348
    self generatePrintSelectorIn:cls.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1349
    self generateReadSelectorIn:cls.
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1350
    self generateBackgroundSelectorIn:cls.
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  1351
    self generateForegroundSelectorIn:cls.
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1352
    self generateSelectSelectorIn:cls.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1353
    self generateWriteSelectorIn:cls.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1354
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1355
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1356
doMoveColumn:upOrDown
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1357
    "move selected column up or down
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1358
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1359
    |idx list label col size|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1360
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1361
    (idx := selectedColumnIndex) == 0 ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1362
        ^ self
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1363
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1364
    list := self seqList.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1365
    size := list size.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1366
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1367
    size == 1 ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1368
        ^ self
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1369
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1370
    hasChanged := true.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1371
    selectedColumnIndex := 0.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1372
    label := list at:idx.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1373
    col   := columns at:idx.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1374
    list    removeIndex:idx.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1375
    columns removeIndex:idx.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1376
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1377
    upOrDown == #up ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1378
        idx == 1 ifTrue:[idx := size]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1379
                ifFalse:[idx := idx - 1]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1380
    ] ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1381
        idx == size ifTrue:[idx := 1]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1382
                   ifFalse:[idx := idx + 1]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1383
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1384
    columns add:col   beforeIndex:idx.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1385
    list    add:label beforeIndex:idx.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1386
    self selectedColumnModel value:idx.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1387
    self updateColumnView.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1388
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1389
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1390
mainMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1391
    "this window spec was automatically generated by the UI Builder"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1392
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1393
    ^ self class mainMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1394
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1395
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1396
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1397
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1398
subMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1399
    "this window spec was automatically generated by the UI Builder"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1400
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1401
    ^ self class subMenu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1402
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1403
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1404
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1405
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1406
!DataSetBuilder methodsFor:'actions'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1407
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1408
accept
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1409
    "accept changes made
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1410
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1411
    |column type|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1412
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1413
    self modifiedChannel value == false ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1414
        ^ self
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1415
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1416
    isModified := true.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1417
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1418
    (column := self selectedColumn) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1419
        ^ self cancel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1420
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1421
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1422
    type := (aspects at:#rendererType) value.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1423
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1424
    type == #rowSelector ifTrue:[
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  1425
        #( label width minWidth editorType choices readSelector writeSelector printSelector
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  1426
           formatString type size height canSelect selectSelector
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1427
         ) do:[:aKey| (aspects at:aKey) value:nil ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1428
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1429
        
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1430
    aspects keysAndValuesDo:[:aKey :aModel|
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1431
        column perform:(aKey , ':') asSymbol with:(aModel value).
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1432
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1433
    self seqList at:selectedColumnIndex put:((aspects at:#label) value).
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1434
    self updateColumnView.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1435
    self cancel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1436
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1437
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1438
cancel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1439
    "remove all changes and reload selected column
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1440
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1441
    |column|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1442
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1443
    isModified := true.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1444
    (column := self selectedColumn) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1445
        self tabModel value:0.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1446
    ] ifFalse:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1447
        aspects keysAndValuesDo:[:aKey :aModel|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1448
            aModel value:(column perform:aKey)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1449
        ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1450
        tabSelectionIndex == 0 ifTrue:[self tabModel value:1].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1451
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1452
    self modifiedChannel value:false.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1453
    self isNotModified   value:true.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1454
    isModified := false.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1455
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1456
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1457
!DataSetBuilder methodsFor:'aspects'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1458
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1459
aspectFor:aKey
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1460
    "returns aspect for a key or nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1461
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1462
  ^ aspects at:aKey ifAbsent:[ super aspectFor:aKey ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1463
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1464
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1465
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1466
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1467
editorTypeList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1468
    "generate list of supported editor types
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1469
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1470
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1471
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1472
    (list := builder bindingAt:#editorTypeList) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1473
        list := OrderedCollection new.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1474
        DataSetColumnSpec slices do:[:aSlice||type|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1475
            type := aSlice at:1.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1476
            (list includes:type) ifFalse:[list add:type].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1477
        ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1478
        builder aspectAt:#editorTypeList put:list.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1479
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1480
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1481
    ^ list
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1482
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1483
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1484
isNotModified
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1485
    "returns a boolean value holder which is set to true if something is modified
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1486
     and not accepted
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1487
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1488
    ^ builder valueAspectFor:#isNotModified initialValue:true
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1489
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1490
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1491
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1492
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1493
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1494
modifiedChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1495
    "returns a boolean value holder which is set to true if something is modified
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1496
     and not accepted
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1497
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1498
    ^ builder booleanValueAspectFor:#modifiedChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1499
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1500
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1501
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1502
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1503
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1504
rendererTypeList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1505
    "generate list of supported renderer types
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1506
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1507
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1508
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1509
    (list := builder bindingAt:#rendererTypeList) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1510
        list := OrderedCollection new.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1511
        DataSetColumnSpec slices do:[:aSlice||type|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1512
            type := aSlice at:2.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1513
            (list includes:type) ifFalse:[list add:type].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1514
        ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1515
        builder aspectAt:#rendererTypeList put:list.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1516
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1517
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1518
    ^ list
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1519
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1520
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1521
selectedColumnModel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1522
    "automatically generated by UIPainter ..."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1523
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1524
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1525
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1526
    (holder := builder bindingAt:#selectedColumnModel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1527
        holder := AspectAdaptor new subject:self; forAspect:#selectedColumnIndex.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1528
        builder aspectAt:#selectedColumnModel put:holder.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1529
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1530
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1531
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1532
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1533
seqList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1534
    "automatically generated by UIPainter ..."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1535
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1536
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1537
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1538
    (list := builder bindingAt:#seqList) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1539
        builder aspectAt:#seqList put:(list :=  List new).
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1540
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1541
    ^ list
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1542
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1543
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1544
specChannel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1545
    "automatically generated by UIPainter ..."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1546
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1547
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1548
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1549
    (holder := builder bindingAt:#specChannel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1550
        builder aspectAt:#specChannel put:(holder :=  ValueHolder new).
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1551
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1552
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1553
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1554
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1555
tabList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1556
    "automatically generated by UIPainter ..."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1557
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1558
    ^ self class slices collect:[:aSlice| aSlice first ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1559
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1560
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1561
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1562
tabModel
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1563
    "returns a value holder which keeps the index of the current selected tab or 0
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1564
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1565
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1566
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1567
    (holder := builder bindingAt:#tabModel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1568
        holder := AspectAdaptor new subject:self; forAspect:#tabSelectionIndex.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1569
        builder aspectAt:#tabModel put:holder.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1570
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1571
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1572
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1573
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1574
typeList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1575
    "automatically generated by UIPainter ..."
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1576
b895330fc7aa intitial checkin
ca
parents:
diff changeset