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