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