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