DataSetBuilder.st
author Claus Gittinger <cg@exept.de>
Tue, 28 Oct 2003 21:25:36 +0100
changeset 1760 8419c463c4f6
parent 1757 c1b5a55649c9
child 1771 1bb15bba99ee
permissions -rw-r--r--
use #and: - not #& you lazy bone, you
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
     1
"
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
     2
 COPYRIGHT (c) 1997 by eXept Software AG
332
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
1382
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
    17
"{ Package: 'stx:libtool2' }"
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
    18
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
    19
ResourceSpecEditor subclass:#DataSetBuilder
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    20
	instanceVariableNames:'rowClass rowSuperClass columnView columns selectedColumnIndex
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
    21
		modalOpened listOfSpecViews'
816
b3d2c7c1c5db *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 799
diff changeset
    22
	classVariableNames:''
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    23
	poolDictionaries:''
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    24
	category:'Interface-UIPainter'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    25
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    26
1033
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
    27
Array variableSubclass:#Row
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
    28
	instanceVariableNames:''
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
    29
	classVariableNames:''
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
    30
	poolDictionaries:''
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
    31
	privateIn:DataSetBuilder
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
    32
!
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
    33
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    34
!DataSetBuilder class methodsFor:'documentation'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    35
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    36
copyright
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    37
"
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    38
 COPYRIGHT (c) 1997 by eXept Software AG
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    39
              All Rights Reserved
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    40
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    41
 This software is furnished under a license and may be used
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    42
 only in accordance with the terms of that license and with the
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    43
 inclusion of the above copyright notice.   This software may not
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    44
 be provided or otherwise made available to, or used by, any
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    45
 other person.  No title to or ownership of the software is
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    46
 hereby transferred.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    47
"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    48
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    49
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    50
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    51
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    52
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    53
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    54
documentation
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    55
"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    56
    create and modify or inspect dataset columns; used by UIPainter (DataSetColumnSpec)
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    57
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    58
    [see also:]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    59
        DataSetColumnSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    60
        DataSetSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    61
        DataSetView
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    62
        DataSetColumn
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    63
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    64
    [author:]
545
25a3072fd268 help menu item aligned to the right
tz
parents: 528
diff changeset
    65
        Claus Atzkern, eXept Software AG
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    66
"
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    67
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    68
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
    69
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    70
!DataSetBuilder class methodsFor:'accessing'!
799
22734b99f830 added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents: 687
diff changeset
    71
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
    72
resourceType
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
    73
    "get the type of resource of the method generated by the MenuEditor"
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
    74
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    75
    ^#tableColumns
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    76
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    77
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    78
! !
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    79
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    80
!DataSetBuilder class methodsFor:'aspects'!
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    81
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    82
aspects
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    83
    "get the aspects for the attributes of the table columns"
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    84
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    85
    ^#(
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
    86
        id
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    87
        label
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    88
        canSelect
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    89
        choices
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    90
        editorType
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    91
        formatString
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    92
        labelIsImage
1262
2849b1a15ec8 checkin from browser
ca
parents: 1261
diff changeset
    93
        labelButtonType
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
    94
        translateLabel
1666
f5518913df05 added longStringCompression
Claus Gittinger <cg@exept.de>
parents: 1619
diff changeset
    95
        longStringCompression
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    96
        size
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    97
        type
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    98
        width
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
    99
        minWidth
1216
dd318d1c4aea checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1215
diff changeset
   100
        usePreferredWidth
1452
3e0e927f5cb8 enable/disable resizeability
ca
parents: 1392
diff changeset
   101
        isResizeable
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   102
        height
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   103
        menu
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   104
        foregroundSelector
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   105
        backgroundSelector
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   106
        doubleClickedSelector
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
   107
        rowSeparatorSelector
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   108
        selectSelector
1261
247e8db2d0e7 add type converter support
ca
parents: 1259
diff changeset
   109
        converterSelector
1009
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
   110
        showComboFieldSelector
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   111
        printSelector
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   112
        readSelector
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   113
        writeSelector
1731
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
   114
        visibilitySelector
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   115
        rendererType
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   116
        showColSeparator
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
   117
        showSelectionHighLighted
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   118
        showRowSeparator
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   119
        backgroundColor
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   120
        foregroundColor
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   121
        labelForegroundColor
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   122
        labelBackgroundColor
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   123
        labelFont
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   124
        labelActionSelector
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   125
        labelActionArgument
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   126
        labelAlignment
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   127
        columnAlignment
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   128
     )
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   129
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   130
    "Modified: / 19.5.1998 / 21:27:06 / cg"
799
22734b99f830 added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents: 687
diff changeset
   131
! !
22734b99f830 added dummy openOnClass:andSelector: (invoked by Browser)
Claus Gittinger <cg@exept.de>
parents: 687
diff changeset
   132
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   133
!DataSetBuilder class methodsFor:'help specs'!
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   134
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   135
helpSpec
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
   136
    "This resource specification was automatically generated
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
   137
     by the UIHelpTool of ST/X."
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
   138
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
   139
    "Do not manually edit this!! If it is corrupted,
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
   140
     the UIHelpTool may not be able to read the specification."
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   141
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   142
    "
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
   143
     UIHelpTool openOnClass:DataSetBuilder    
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   144
    "
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   145
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
   146
    <resource: #help>
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
   147
1731
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
   148
    ^ super helpSpec addPairsFrom:#(
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   149
550
35cffcc6036e help texts added
tz
parents: 545
diff changeset
   150
#addColumn
35cffcc6036e help texts added
tz
parents: 545
diff changeset
   151
'Adds a new column.'
35cffcc6036e help texts added
tz
parents: 545
diff changeset
   152
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   153
#basicsEditor
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   154
'Default widget type or a selector returning an instance of a user defined widget opened in the cell.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   155
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   156
#basicsFont
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   157
'Sets the font of the labeled text.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   158
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   159
#basicsJustification
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   160
'Aligns the label to the left, right, or center in the cell.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   161
1064
1a9bbca19e25 help spec;
Claus Gittinger <cg@exept.de>
parents: 1036
diff changeset
   162
#basicsJustificationEditor
1a9bbca19e25 help spec;
Claus Gittinger <cg@exept.de>
parents: 1036
diff changeset
   163
'Aligns the column editor to the left, right, or center in the cell.'
1a9bbca19e25 help spec;
Claus Gittinger <cg@exept.de>
parents: 1036
diff changeset
   164
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   165
#basicsLabel
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   166
'The label of the column (String or StringCollection) or a selector returning the label.'
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   167
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   168
#basicsLabelId
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   169
'Unique identifier of the column (optional).'
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   170
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   171
#basicsLabelIsImage
1064
1a9bbca19e25 help spec;
Claus Gittinger <cg@exept.de>
parents: 1036
diff changeset
   172
'Label is actually the selector of a message providing an image-label.'
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   173
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   174
#basicsLabelTranslate
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   175
'Translate the label via the resource mechanism to a national language string.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   176
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   177
#basicsRenderer
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   178
'Specifies displaying cell as Text, CheckToggle, ComboBox, ComboList or as a RowSelector.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   179
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   180
#browseRowClass
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   181
'Open a browser on the row class'
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   182
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   183
#colorsBackgroundCellColor
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   184
'Sets the background color of the column.'
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   185
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   186
#colorsBackgroundLabelColor
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   187
'Sets the background color of the label.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   188
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   189
#colorsBackgroundSelector
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   190
'Selector returning the background color for a cell (optional).'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   191
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   192
#colorsForegroundCellColor
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   193
'Sets the foreground color of the column.'
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   194
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   195
#colorsForegroundLabelColor
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   196
'Sets the foreground color of the label.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   197
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   198
#colorsForegroundSelector
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   199
'Selector returning the foreground color for a cell (optional).'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   200
1261
247e8db2d0e7 add type converter support
ca
parents: 1259
diff changeset
   201
#converterSelector
247e8db2d0e7 add type converter support
ca
parents: 1259
diff changeset
   202
'Selector returning a TypeConverter on the model the argument or nil.'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   203
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   204
#fileLoad
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   205
'Specify class/selector and edit that column description'
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   206
1261
247e8db2d0e7 add type converter support
ca
parents: 1259
diff changeset
   207
#fileNew
247e8db2d0e7 add type converter support
ca
parents: 1259
diff changeset
   208
'Discard changes and continue with a new, empty column description'
247e8db2d0e7 add type converter support
ca
parents: 1259
diff changeset
   209
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   210
#fileSave
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   211
'Install the column description'
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   212
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   213
#fileSaveAs
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   214
'Specify class/selector and install the column description'
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   215
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   216
#formatInputType
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   217
'A type converter symbol used by the input field.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   218
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   219
#formatMaxSize
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   220
'Maximum size of the string which can be typed in. 0 or nil means unlimited.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   221
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   222
#formatTextFormat
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   223
'Format string specifying the output format of the cell text. In this release, only numbers are supported (for example: 0.0000).'
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   224
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   225
#frameColumnWidth
1202
439c86e2dd82 support of relative values
Claus Gittinger <cg@exept.de>
parents: 1187
diff changeset
   226
'Width (fixed or relative) of a column (optional).'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   227
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   228
#frameMinWidth
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   229
'Minimum width of the column (optional).'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   230
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   231
#frameRowHeight
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   232
'Height of the row (optional).'
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   233
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   234
#frameShowColumnSeparator
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   235
'Turns on/off displaying column separators.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   236
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   237
#frameShowRowSeparator
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   238
'Turns on/off displaying row separators.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   239
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
   240
#frameShowRowSeparatorSelector
1580
c606e46c4420 checkin from browser
penk
parents: 1569
diff changeset
   241
'Message selector to test if the bottom separator is shown.'
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
   242
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   243
#generateCode
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   244
'Generate code and install in the selected class/selector.'
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   245
1580
c606e46c4420 checkin from browser
penk
parents: 1569
diff changeset
   246
#isResizable
c606e46c4420 checkin from browser
penk
parents: 1569
diff changeset
   247
'Column can be resized by user.'
c606e46c4420 checkin from browser
penk
parents: 1569
diff changeset
   248
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   249
#pickColumns
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   250
'Select an open view and readOut the column specification from it.'
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
   251
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   252
#selectionCellClickSelector
1753
f3db5271acd6 help texts
Claus Gittinger <cg@exept.de>
parents: 1737
diff changeset
   253
'Message sent if cell is about to be selected - return boolean to en/disable editing'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   254
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   255
#selectionCellDoubleClickSelector
1753
f3db5271acd6 help texts
Claus Gittinger <cg@exept.de>
parents: 1737
diff changeset
   256
'Message sent if cell is double clicked'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   257
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   258
#selectionCellSelector
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   259
'Name of the message sent to the row to validate a selection.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   260
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   261
#selectionIsSelectable
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   262
'Turns on/off selection behavior of a column.'
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   263
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   264
#selectionLabelClickSelector
1754
a2a5ce9f00a5 help texts
Claus Gittinger <cg@exept.de>
parents: 1753
diff changeset
   265
'Message sent if a columns label was clicked on'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   266
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   267
#selectionLabelSelectorArgument
1064
1a9bbca19e25 help spec;
Claus Gittinger <cg@exept.de>
parents: 1036
diff changeset
   268
'An optional argument passed with the message above.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   269
1009
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
   270
#showComboFieldSelector
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
   271
'Selector which returns true if the editor on the ComboBox/List has an input field.'
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
   272
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
   273
#showSelectionHighLighted
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
   274
'Show selected cell highligthened (change fg/bg color).'
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
   275
1580
c606e46c4420 checkin from browser
penk
parents: 1569
diff changeset
   276
#usePreferredWidth
c606e46c4420 checkin from browser
penk
parents: 1569
diff changeset
   277
'Compute width from first 10 row items.'
c606e46c4420 checkin from browser
penk
parents: 1569
diff changeset
   278
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   279
#valuesChoiceSelector
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   280
'Selector to get a collection of choices for a cell having a ComboBox or a ComboList widget.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   281
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   282
#valuesMenuSelector
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   283
'Selector to retrive the middle button menu.'
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   284
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   285
#valuesPrintSelector
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   286
'Selector used to register images on a DSVColumnView (the arg). For more detailed info see #register... methods in DSVColumnView.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   287
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   288
#valuesReadSelector
1731
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
   289
'Selector returning the label to be displayed (string, bitmap or a collection).'
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
   290
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
   291
#valuesVisibilitySelector
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
   292
'Boolean message selector controlling the columns visibility.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   293
597
3116330c3d57 help texts added
tz
parents: 567
diff changeset
   294
#valuesWriteSelector
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
   295
'Selector used to set the value derived from the editor.'
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   296
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   297
)
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   298
! !
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   299
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   300
!DataSetBuilder class methodsFor:'image specs'!
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   301
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   302
newColumnIcon
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   303
    "This resource specification was automatically generated
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   304
     by the ImageEditor of ST/X."
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   305
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   306
    "Do not manually edit this!! If it is corrupted,
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   307
     the ImageEditor may not be able to read the specification."
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   308
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   309
    "
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   310
     self newColumnIcon inspect
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   311
     ImageEditor openOnClass:self andSelector:#newColumnIcon
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   312
    "
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   313
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   314
    <resource: #image>
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   315
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   316
    ^Icon
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   317
        constantNamed:#'DataSetBuilder newColumnIcon'
1452
3e0e927f5cb8 enable/disable resizeability
ca
parents: 1392
diff changeset
   318
        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') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; 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]
3e0e927f5cb8 enable/disable resizeability
ca
parents: 1392
diff changeset
   319
! !
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
   320
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   321
!DataSetBuilder class methodsFor:'interface specs'!
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   322
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   323
basicsEditSpec
817
d350f49ae748 add column justification
ca
parents: 816
diff changeset
   324
    "This resource specification was automatically generated
d350f49ae748 add column justification
ca
parents: 816
diff changeset
   325
     by the UIPainter of ST/X."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   326
817
d350f49ae748 add column justification
ca
parents: 816
diff changeset
   327
    "Do not manually edit this!! If it is corrupted,
d350f49ae748 add column justification
ca
parents: 816
diff changeset
   328
     the UIPainter may not be able to read the specification."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   329
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   330
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   331
     UIPainter new openOnClass:DataSetBuilder andSelector:#basicsEditSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   332
     DataSetBuilder new openInterface:#basicsEditSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   333
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   334
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   335
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   336
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   337
    ^ 
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   338
     #(FullSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   339
        name: basicsEditSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   340
        window: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   341
       (WindowSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   342
          label: 'DataSet Basic'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   343
          name: 'DataSet Basic'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   344
          min: (Point 10 10)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   345
          bounds: (Rectangle 14 46 403 372)
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   346
        )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   347
        component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   348
       (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   349
          collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   350
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   351
              label: 'Header:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   352
              name: 'framedBox1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   353
              layout: (LayoutFrame 0 0.0 3 0 0 1.0 183 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   354
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   355
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   356
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   357
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   358
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   359
                    label: 'ID:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   360
                    name: 'idLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   361
                    layout: (AlignmentOrigin 94 0 14 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   362
                    resizeForLabel: true
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
   363
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   364
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   365
                    name: 'idField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   366
                    layout: (LayoutFrame 97 0 0 0 2 1.0 22 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   367
                    activeHelpKey: basicsLabelId
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   368
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   369
                    model: id
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   370
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   371
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   372
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   373
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   374
                    acceptOnPointerLeave: false
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
   375
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   376
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   377
                    label: 'Label:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   378
                    name: 'label1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   379
                    layout: (AlignmentOrigin 94 0 39 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   380
                    resizeForLabel: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   381
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   382
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   383
                    name: 'labelField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   384
                    layout: (LayoutFrame 97 0 28 0 2 1.0 50 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   385
                    activeHelpKey: basicsLabel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   386
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   387
                    model: label
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   388
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   389
                    type: smalltalkObject
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   390
                    immediateAccept: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   391
                    acceptOnLeave: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   392
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   393
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   394
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   395
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   396
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   397
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   398
                    label: 'Font:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   399
                    name: 'LabelFont'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   400
                    layout: (AlignmentOrigin 94 0 68 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   401
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   402
                    adjust: left
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   403
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   404
                 (FontMenuSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   405
                    name: 'fontMenu'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   406
                    layout: (LayoutFrame 97 0 56 0 0 1.0 78 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   407
                    activeHelpKey: labelFont
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   408
                    model: style
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   409
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   410
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   411
                    label: 'Type:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   412
                    name: 'Type'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   413
                    layout: (AlignmentOrigin 52 0 105 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   414
                    translateLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   415
                    resizeForLabel: true
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
   416
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   417
                 (ComboListSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   418
                    name: 'labelButtonType'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   419
                    layout: (LayoutFrame 57 0 96 0 182 0 116 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   420
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   421
                    model: labelButtonType
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   422
                    comboList: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   423
                   (None
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   424
                      Button Group
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   425
                    )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   426
                    useIndex: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   427
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   428
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   429
                    label: 'Align:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   430
                    name: 'JustificationLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   431
                    layout: (LayoutFrame 191 0 97 0 236 0 118 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   432
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   433
                    adjust: left
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   434
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   435
                 (PopUpListSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   436
                    label: 'Alignment'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   437
                    name: 'Alignment'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   438
                    layout: (LayoutFrame 248 0 97 0 2 1.0 119 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   439
                    activeHelpKey: basicsJustification
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   440
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   441
                    model: labelAlignment
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   442
                    menu: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   443
                   (left
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   444
                      right center
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
   445
                    )
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
   446
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   447
                 (CheckBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   448
                    label: 'Label Is Image'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   449
                    name: 'labelIsImage'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   450
                    layout: (LayoutOrigin -3 0 126 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   451
                    activeHelpKey: basicsLabelIsImage
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   452
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   453
                    model: labelIsImage
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   454
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   455
                 (CheckBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   456
                    label: 'Translate Label'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   457
                    name: 'CheckBox2'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   458
                    layout: (LayoutOrigin 160 0 126 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   459
                    activeHelpKey: basicsLabelTranslate
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   460
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   461
                    model: translateLabel
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   462
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   463
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   464
               
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   465
              )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   466
            )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   467
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   468
              label: 'Cell Type:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   469
              name: 'typesFrame'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   470
              layout: (LayoutFrame 0 0.0 187 0 0 1.0 325 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   471
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   472
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   473
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   474
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   475
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   476
                    label: 'Renderer:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   477
                    name: 'rendererLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   478
                    layout: (AlignmentOrigin 94 0 16 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   479
                    resizeForLabel: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   480
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   481
                 (ComboListSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   482
                    name: 'rendererField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   483
                    layout: (LayoutFrame 97 0 5 0 2 1.0 27 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   484
                    activeHelpKey: basicsRenderer
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   485
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   486
                    model: rendererType
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   487
                    comboList: rendererTypeList
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   488
                    useIndex: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   489
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   490
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   491
                    label: 'Editor:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   492
                    name: 'editorLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   493
                    layout: (AlignmentOrigin 94 0 42 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   494
                    resizeForLabel: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   495
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   496
                 (ComboBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   497
                    name: 'editorField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   498
                    layout: (LayoutFrame 97 0 31 0 2 1.0 53 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   499
                    activeHelpKey: basicsEditor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   500
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   501
                    model: editorType
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   502
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   503
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   504
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   505
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   506
                    acceptOnPointerLeave: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   507
                    comboList: editorTypeList
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   508
                    useIndex: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   509
                    isFilenameBox: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   510
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   511
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   512
                    label: 'Align:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   513
                    name: 'JustificationC'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   514
                    layout: (LayoutFrame 191 0 58 0 236 0 79 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   515
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   516
                    adjust: left
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   517
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   518
                 (PopUpListSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   519
                    label: 'Alignment'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   520
                    name: 'AlignmentC'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   521
                    layout: (LayoutFrame 248 0 58 0 2 1.0 80 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   522
                    activeHelpKey: basicsJustificationEditor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   523
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   524
                    model: columnAlignment
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   525
                    menu: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   526
                   (left
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   527
                      right center
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   528
                      decimal
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   529
                    )
1666
f5518913df05 added longStringCompression
Claus Gittinger <cg@exept.de>
parents: 1619
diff changeset
   530
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   531
                 (CheckBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   532
                    label: 'Compress Long Strings'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   533
                    name: 'LongStringCompressionCheckBox'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   534
                    layout: (LayoutOrigin 160 0 82 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   535
                    activeHelpKey: basicsLabelTranslate
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   536
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   537
                    model: longStringCompression
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   538
                    translateLabel: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   539
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   540
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   541
               
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   542
              )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   543
            )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   544
           )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   545
         
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   546
        )
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   547
      )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   548
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   549
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   550
colorsEditSpec
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   551
    "This resource specification was automatically generated
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   552
     by the UIPainter of ST/X."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   553
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   554
    "Do not manually edit this!! If it is corrupted,
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   555
     the UIPainter may not be able to read the specification."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   556
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   557
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   558
     UIPainter new openOnClass:DataSetBuilder andSelector:#colorsEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   559
     DataSetBuilder new openInterface:#colorsEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   560
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   561
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   562
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   563
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   564
    ^ 
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   565
     #(FullSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   566
        name: colorsEditSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   567
        window: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   568
       (WindowSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   569
          label: 'DataSet Misc'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   570
          name: 'DataSet Misc'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   571
          min: (Point 10 10)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   572
          bounds: (Rectangle 14 46 383 346)
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   573
        )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   574
        component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   575
       (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   576
          collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   577
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   578
              label: 'Label Colors:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   579
              name: 'ColorsBox'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   580
              layout: (LayoutFrame 0 0.0 3 0 0 1.0 95 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   581
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   582
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   583
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   584
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   585
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   586
                    label: 'Foreground:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   587
                    name: 'label1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   588
                    layout: (AlignmentOrigin 112 0 24 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   589
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   590
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   591
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   592
                 (ColorMenuSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   593
                    name: 'colorMenu1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   594
                    layout: (LayoutFrame 115 0 12 0 -3 1.0 34 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   595
                    activeHelpKey: colorsForegroundLabelColor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   596
                    model: labelForegroundColor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   597
                    labelsAreColored: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   598
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   599
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   600
                    label: 'Background:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   601
                    name: 'label2'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   602
                    layout: (AlignmentOrigin 112 0 52 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   603
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   604
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   605
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   606
                 (ColorMenuSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   607
                    name: 'colorMenu2'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   608
                    layout: (LayoutFrame 115 0 40 0 -3 1.0 62 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   609
                    activeHelpKey: colorsBackgroundLabelColor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   610
                    model: labelBackgroundColor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   611
                    labelsAreColored: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   612
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   613
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   614
               
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   615
              )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   616
            )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   617
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   618
              label: 'Cell Colors:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   619
              name: 'defaultColorsBox'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   620
              layout: (LayoutFrame 0 0.0 108 0 0 1.0 263 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   621
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   622
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   623
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   624
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   625
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   626
                    label: 'Foreground:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   627
                    name: 'fgLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   628
                    layout: (AlignmentOrigin 112 0 28 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   629
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   630
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   631
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   632
                 (ColorMenuSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   633
                    name: 'fgMenu'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   634
                    layout: (LayoutFrame 115 0 16 0 -3 1.0 38 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   635
                    activeHelpKey: colorsForegroundCellColor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   636
                    model: foregroundColor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   637
                    labelsAreColored: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   638
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   639
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   640
                    label: 'Background:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   641
                    name: 'bgLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   642
                    layout: (AlignmentOrigin 112 0 56 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   643
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   644
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   645
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   646
                 (ColorMenuSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   647
                    name: 'bgMenu'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   648
                    layout: (LayoutFrame 115 0 44 0 -3 1.0 66 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   649
                    activeHelpKey: colorsBackgroundCellColor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   650
                    model: backgroundColor
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   651
                    labelsAreColored: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   652
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   653
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   654
                    label: 'FG-Selector:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   655
                    name: 'fgSelLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   656
                    layout: (AlignmentOrigin 112 0 90 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   657
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   658
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   659
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   660
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   661
                    name: 'fgSelField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   662
                    layout: (LayoutFrame 115 0 79 0 0 1.0 101 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   663
                    activeHelpKey: colorsForegroundSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   664
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   665
                    model: foregroundSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   666
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   667
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   668
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   669
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   670
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   671
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   672
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   673
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   674
                    label: 'BG-Selector:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   675
                    name: 'bgSelLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   676
                    layout: (AlignmentOrigin 112 0 115 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   677
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   678
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   679
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   680
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   681
                    name: 'bgSelField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   682
                    layout: (LayoutFrame 115 0 104 0 0 1.0 126 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   683
                    activeHelpKey: colorsBackgroundSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   684
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   685
                    model: backgroundSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   686
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   687
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   688
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   689
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   690
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   691
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   692
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   693
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   694
               
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   695
              )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   696
            )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   697
           )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   698
         
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   699
        )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   700
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   701
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   702
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   703
defineClassNameSpec
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   704
    "This resource specification was automatically generated
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   705
     by the UIPainter of ST/X."
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   706
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   707
    "Do not manually edit this!! If it is corrupted,
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   708
     the UIPainter may not be able to read the specification."
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   709
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   710
    "
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   711
     UIPainter new openOnClass:DataSetBuilder andSelector:#defineClassNameSpec
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   712
     DataSetBuilder new openInterface:#defineClassNameSpec
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   713
    "
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   714
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   715
    <resource: #canvas>
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   716
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   717
    ^ 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   718
     #(FullSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   719
        name: defineClassNameSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   720
        window: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   721
       (WindowSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   722
          label: 'Data Set Builder'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   723
          name: 'Data Set Builder'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   724
          min: (Point 10 10)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   725
          bounds: (Rectangle 14 46 341 182)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   726
        )
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   727
        component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   728
       (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   729
          collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   730
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   731
              label: 'Class for code'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   732
              name: 'framedBox1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   733
              layout: (LayoutFrame 0 0.0 3 0.0 0 1.0 -34 1.0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   734
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   735
              translateLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   736
            )
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   737
           (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   738
              label: 'Class:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   739
              name: 'classLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   740
              layout: (AlignmentOrigin 73 0.11 38 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   741
              translateLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   742
              resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   743
              adjust: right
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   744
            )
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   745
           (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   746
              name: 'classNameInputField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   747
              layout: (LayoutFrame 77 0.11 27 0 -16 1.0 49 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   748
              tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   749
              model: classNameChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   750
              acceptOnPointerLeave: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   751
            )
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   752
           (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   753
              label: 'Superclass:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   754
              name: 'superClassLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   755
              layout: (AlignmentOrigin 73 0.11 65 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   756
              translateLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   757
              resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   758
              adjust: right
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   759
            )
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   760
           (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   761
              name: 'superclassNameInputField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   762
              layout: (LayoutFrame 76 0.11 55 0 -16 1.0 77 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   763
              tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   764
              model: superclassNameChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   765
              acceptOnPointerLeave: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   766
            )
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   767
           (UISubSpecification
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   768
              name: 'SubSpecification'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   769
              layout: (LayoutFrame 0 0.0 -29 1 0 1.0 -5 1.0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   770
              majorKey: ToolApplicationModel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   771
              minorKey: windowSpecForCommitWithoutChannels
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   772
            )
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   773
           )
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   774
         
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   775
        )
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   776
      )
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   777
!
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
   778
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   779
formatEditSpec
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   780
    "This resource specification was automatically generated
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   781
     by the UIPainter of ST/X."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   782
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   783
    "Do not manually edit this!! If it is corrupted,
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   784
     the UIPainter may not be able to read the specification."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   785
b895330fc7aa intitial checkin
ca
parents:
diff changeset
   786
    "
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   787
     UIPainter new openOnClass:DataSetBuilder andSelector:#formatEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   788
     DataSetBuilder new openInterface:#formatEditSpec
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   789
    "
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   790
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   791
    <resource: #canvas>
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   792
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   793
    ^ 
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   794
     #(FullSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   795
        name: formatEditSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   796
        window: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   797
       (WindowSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   798
          label: 'DataSet Details'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   799
          name: 'DataSet Details'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   800
          min: (Point 10 10)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   801
          bounds: (Rectangle 14 46 402 338)
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   802
        )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   803
        component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   804
       (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   805
          collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   806
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   807
              label: 'Input Format'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   808
              name: 'framedBox1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   809
              layout: (LayoutFrame 0 0.0 3 0 0 1.0 127 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   810
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   811
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   812
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   813
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   814
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   815
                    label: 'Input Type:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   816
                    name: 'typeLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   817
                    layout: (AlignmentOrigin 115 0 26 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   818
                    resizeForLabel: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   819
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   820
                 (ComboListSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   821
                    name: 'typeCombo'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   822
                    layout: (LayoutFrame 118 0 15 0 3 1.0 37 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   823
                    activeHelpKey: formatInputType
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   824
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   825
                    model: type
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   826
                    comboList: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   827
                   (string
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   828
                      password number
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   829
                      numberOrNil symbolOrNil
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   830
                    )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   831
                    useIndex: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   832
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   833
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   834
                    label: 'Max Size:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   835
                    name: 'sizeLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   836
                    layout: (AlignmentOrigin 115 0 52 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   837
                    resizeForLabel: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   838
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   839
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   840
                    name: 'sizeField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   841
                    layout: (LayoutFrame 118 0 41 0 3 1.0 63 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   842
                    activeHelpKey: formatMaxSize
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   843
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   844
                    model: size
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   845
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   846
                    type: numberOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   847
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   848
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   849
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   850
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   851
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   852
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   853
                    label: 'Text Format:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   854
                    name: 'formatLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   855
                    layout: (AlignmentOrigin 115 0 77 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   856
                    resizeForLabel: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   857
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   858
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   859
                    name: 'formatField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   860
                    layout: (LayoutFrame 118 0 66 0 3 1.0 88 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   861
                    activeHelpKey: formatTextFormat
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   862
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   863
                    model: formatString
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   864
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   865
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   866
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   867
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   868
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   869
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   870
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   871
               
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   872
              )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   873
            )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   874
           )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   875
         
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   876
        )
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   877
      )
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   878
!
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
   879
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   880
frameEditSpec
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   881
    "This resource specification was automatically generated
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   882
     by the UIPainter of ST/X."
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   883
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   884
    "Do not manually edit this!! If it is corrupted,
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
   885
     the UIPainter may not be able to read the specification."
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   886
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   887
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   888
     UIPainter new openOnClass:DataSetBuilder andSelector:#frameEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
   889
     DataSetBuilder new openInterface:#frameEditSpec
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   890
    "
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   891
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   892
    <resource: #canvas>
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   893
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   894
    ^ 
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   895
     #(FullSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   896
        name: frameEditSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   897
        window: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   898
       (WindowSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   899
          label: 'DataSet Dimension'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   900
          name: 'DataSet Dimension'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   901
          min: (Point 10 10)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   902
          bounds: (Rectangle 14 46 410 359)
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   903
        )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   904
        component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   905
       (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   906
          collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   907
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   908
              label: 'Separators'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   909
              name: 'separatorBox'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   910
              layout: (LayoutFrame 0 0.0 3 0 0 1.0 132 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   911
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   912
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   913
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   914
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   915
                 (CheckBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   916
                    label: 'Show Row-Separator'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   917
                    name: 'showRowSeparator'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   918
                    layout: (LayoutFrame 5 0 15 0 293 0 38 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   919
                    activeHelpKey: frameShowRowSeparator
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   920
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   921
                    model: showRowSeparator
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   922
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   923
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   924
                    name: 'rowSeparatorSelector'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   925
                    layout: (LayoutFrame 142 0 41 0 2 1.0 63 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   926
                    activeHelpKey: frameShowRowSeparatorSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   927
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   928
                    model: rowSeparatorSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   929
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   930
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   931
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   932
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   933
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   934
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   935
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   936
                 (CheckBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   937
                    label: 'Show Column-Separator'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   938
                    name: 'showColSeparator'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   939
                    layout: (LayoutFrame 5 0 70 0 294 0 93 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   940
                    activeHelpKey: frameShowColumnSeparator
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   941
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   942
                    model: showColSeparator
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   943
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   944
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   945
                    label: 'Selector:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   946
                    name: 'Label1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   947
                    layout: (LayoutFrame 80 0.0 44 0 140 0.0 61 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   948
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   949
                    adjust: right
1580
c606e46c4420 checkin from browser
penk
parents: 1569
diff changeset
   950
                  )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   951
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   952
               
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
   953
              )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   954
            )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   955
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   956
              label: 'Dimensions:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   957
              name: 'framedBox1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   958
              layout: (LayoutFrame 0 0.0 133 0 0 1.0 305 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   959
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   960
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   961
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   962
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   963
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   964
                    label: 'Column Width:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   965
                    name: 'widthLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   966
                    layout: (AlignmentOrigin 140 0.0 23 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   967
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   968
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   969
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   970
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   971
                    name: 'widthField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   972
                    layout: (LayoutFrame 142 0 12 0 2 1.0 34 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   973
                    activeHelpKey: frameColumnWidth
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   974
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   975
                    model: width
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   976
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   977
                    type: numberOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   978
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   979
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   980
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   981
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   982
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   983
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   984
                    label: 'Min. Width:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   985
                    name: 'minWidthLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   986
                    layout: (AlignmentOrigin 140 0.0 51 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   987
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   988
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
   989
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   990
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   991
                    name: 'minWidthField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   992
                    layout: (LayoutFrame 142 0 40 0 2 1.0 62 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   993
                    activeHelpKey: frameMinWidth
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   994
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   995
                    model: minWidth
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   996
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   997
                    type: numberOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   998
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
   999
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1000
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1001
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1002
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1003
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1004
                    label: 'Row Height:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1005
                    name: 'heightLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1006
                    layout: (AlignmentOrigin 140 0.0 79 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1007
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1008
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1009
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1010
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1011
                    name: 'heightField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1012
                    layout: (LayoutFrame 142 0 68 0 2 1.0 90 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1013
                    activeHelpKey: frameRowHeight
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1014
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1015
                    model: height
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1016
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1017
                    type: numberOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1018
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1019
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1020
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1021
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1022
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1023
                 (CheckBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1024
                    label: 'Compute Width From Items'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1025
                    name: 'usePreferredWidth'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1026
                    layout: (LayoutFrame 5 0 96 0 324 0 118 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1027
                    activeHelpKey: usePreferredWidth
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1028
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1029
                    model: usePreferredWidth
1216
dd318d1c4aea checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1215
diff changeset
  1030
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1031
                 (CheckBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1032
                    label: 'Is Resizeable'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1033
                    name: 'isResizeable'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1034
                    layout: (LayoutFrame -361 1.0 121 0 -28 1.0 144 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1035
                    activeHelpKey: isResizeable
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1036
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1037
                    model: isResizeable
1452
3e0e927f5cb8 enable/disable resizeability
ca
parents: 1392
diff changeset
  1038
                  )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1039
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1040
               
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1041
              )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1042
            )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1043
           )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1044
         
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1045
        )
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1046
      )
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1047
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  1048
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1049
selectionEditSpec
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1050
    "This resource specification was automatically generated
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1051
     by the UIPainter of ST/X."
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1052
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1053
    "Do not manually edit this!! If it is corrupted,
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1054
     the UIPainter may not be able to read the specification."
370
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1055
c90e57ac04a5 add help text and support of label is image
ca
parents: 357
diff changeset
  1056
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1057
     UIPainter new openOnClass:DataSetBuilder andSelector:#selectionEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1058
     DataSetBuilder new openInterface:#selectionEditSpec
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1059
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1060
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1061
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1062
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1063
    ^ 
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1064
     #(FullSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1065
        name: selectionEditSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1066
        window: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1067
       (WindowSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1068
          label: 'DataSet Basic'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1069
          name: 'DataSet Basic'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1070
          min: (Point 10 10)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1071
          bounds: (Rectangle 14 46 345 374)
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1072
        )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1073
        component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1074
       (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1075
          collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1076
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1077
              label: 'Label Select Action:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1078
              name: 'LabelSelectAction'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1079
              layout: (LayoutFrame 0 0.0 3 0 0 1.0 97 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1080
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1081
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1082
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1083
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1084
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1085
                    label: 'Selector:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1086
                    name: 'ActionLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1087
                    layout: (AlignmentOrigin 95 0 20 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1088
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1089
                    adjust: left
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1090
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1091
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1092
                    name: 'ActionSelector'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1093
                    layout: (LayoutFrame 98 0 9 0 3 1.0 31 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1094
                    activeHelpKey: selectionLabelClickSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1095
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1096
                    model: labelActionSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1097
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1098
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1099
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1100
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1101
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1102
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1103
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1104
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1105
                    label: 'Argument:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1106
                    name: 'ArgumentLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1107
                    layout: (AlignmentOrigin 95 0 48 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1108
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1109
                    adjust: left
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1110
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1111
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1112
                    name: 'ArgumentValue'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1113
                    layout: (LayoutFrame 98 0 37 0 3 1.0 59 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1114
                    activeHelpKey: selectionLabelSelectorArgument
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1115
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1116
                    model: labelActionArgument
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1117
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1118
                    type: string
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1119
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1120
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1121
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1122
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1123
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1124
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1125
               
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1126
              )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1127
            )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1128
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1129
              label: 'Cell Selection:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1130
              name: 'CellSelection'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1131
              layout: (LayoutFrame 0 0.0 105 0 0 1.0 215 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1132
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1133
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1134
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1135
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1136
                 (CheckBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1137
                    label: 'Is Selectable'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1138
                    name: 'canSelect'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1139
                    layout: (Point 95 1)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1140
                    activeHelpKey: selectionIsSelectable
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1141
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1142
                    model: canSelect
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1143
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1144
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1145
                    label: 'Selector:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1146
                    name: 'selectorLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1147
                    layout: (AlignmentOrigin 95 0 37 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1148
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1149
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1150
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1151
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1152
                    name: 'selectSelector'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1153
                    layout: (LayoutFrame 98 0 26 0 3 1.0 48 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1154
                    activeHelpKey: selectionCellClickSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1155
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1156
                    model: selectSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1157
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1158
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1159
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1160
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1161
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1162
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1163
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1164
                 (CheckBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1165
                    label: 'Show Selection HighLightened'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1166
                    name: 'showSelectionHighLightened'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1167
                    layout: (LayoutFrame 95 0 53 0 3 1.0 77 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1168
                    activeHelpKey: showSelectionHighLighted
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1169
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1170
                    model: showSelectionHighLighted
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1171
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1172
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1173
               
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1174
              )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1175
            )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1176
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1177
              label: 'Cell Double Click:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1178
              name: 'CellDoubleClick'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1179
              layout: (LayoutFrame 0 0.0 227 0 0 1.0 293 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1180
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1181
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1182
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1183
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1184
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1185
                    label: 'Selector:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1186
                    name: 'doubleLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1187
                    layout: (AlignmentOrigin 95 0 19 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1188
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1189
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1190
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1191
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1192
                    name: 'doubleClicked'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1193
                    layout: (LayoutFrame 98 0 8 0 3 1.0 30 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1194
                    activeHelpKey: selectionCellDoubleClickSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1195
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1196
                    model: doubleClickedSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1197
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1198
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1199
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1200
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1201
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1202
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1203
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1204
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1205
               
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1206
              )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1207
            )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1208
           )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1209
         
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1210
        )
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1211
      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1212
!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1213
528
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1214
slices
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1215
    ^#(
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1216
        (Basics         basicsEditSpec)
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1217
        (Values         valuesEditSpec)
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1218
        (Format         formatEditSpec)
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1219
        (Selection      selectionEditSpec)
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1220
        (Frame          frameEditSpec)
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1221
        (Colors         colorsEditSpec)
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1222
    )
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1223
!
4c6acd1fa911 dialog style revised
tz
parents: 524
diff changeset
  1224
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1225
valuesEditSpec
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1226
    "This resource specification was automatically generated
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1227
     by the UIPainter of ST/X."
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1228
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1229
    "Do not manually edit this!! If it is corrupted,
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1230
     the UIPainter may not be able to read the specification."
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1231
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1232
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1233
     UIPainter new openOnClass:DataSetBuilder andSelector:#valuesEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1234
     DataSetBuilder new openInterface:#valuesEditSpec
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1235
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1236
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1237
    <resource: #canvas>
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1238
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1239
    ^ 
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1240
     #(FullSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1241
        name: valuesEditSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1242
        window: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1243
       (WindowSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1244
          label: 'DataSet Basic'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1245
          name: 'DataSet Basic'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1246
          min: (Point 10 10)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1247
          bounds: (Rectangle 14 46 310 360)
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1248
        )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1249
        component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1250
       (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1251
          collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1252
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1253
              label: 'Value Selectors:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1254
              name: 'valuesBox'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1255
              layout: (LayoutFrame 0 0.0 3 0 0 1.0 160 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1256
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1257
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1258
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1259
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1260
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1261
                    label: 'Read:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1262
                    name: 'readLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1263
                    layout: (AlignmentOrigin 94 0 15 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1264
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1265
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1266
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1267
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1268
                    name: 'readSelector'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1269
                    layout: (LayoutFrame 97 0 4 0 2 1.0 26 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1270
                    activeHelpKey: valuesReadSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1271
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1272
                    model: readSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1273
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1274
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1275
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1276
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1277
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1278
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1279
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1280
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1281
                    label: 'Write:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1282
                    name: 'writeLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1283
                    layout: (AlignmentOrigin 94 0 40 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1284
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1285
                    adjust: right
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1286
                  )
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1287
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1288
                    name: 'writeSelector'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1289
                    layout: (LayoutFrame 97 0 29 0 2 1.0 51 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1290
                    activeHelpKey: valuesWriteSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1291
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1292
                    model: writeSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1293
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1294
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1295
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1296
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1297
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1298
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1299
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1300
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1301
                    label: 'Converter:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1302
                    name: 'converterLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1303
                    layout: (AlignmentOrigin 94 0 65 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1304
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1305
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1306
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1307
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1308
                    name: 'converterField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1309
                    layout: (LayoutFrame 97 0 54 0 2 1.0 76 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1310
                    activeHelpKey: converterSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1311
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1312
                    model: converterSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1313
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1314
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1315
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1316
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1317
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1318
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1319
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1320
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1321
                    label: 'Print:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1322
                    name: 'printLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1323
                    layout: (AlignmentOrigin 94 0 90 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1324
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1325
                    adjust: right
1261
247e8db2d0e7 add type converter support
ca
parents: 1259
diff changeset
  1326
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1327
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1328
                    name: 'printSelector'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1329
                    layout: (LayoutFrame 97 0 79 0 2 1.0 101 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1330
                    activeHelpKey: valuesPrintSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1331
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1332
                    model: printSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1333
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1334
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1335
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1336
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1337
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1338
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1339
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1340
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1341
                    label: 'Visibility:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1342
                    name: 'visibilityLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1343
                    layout: (AlignmentOrigin 94 0 115 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1344
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1345
                    adjust: right
1731
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
  1346
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1347
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1348
                    name: 'visibilitySelector'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1349
                    layout: (LayoutFrame 97 0 104 0 2 1.0 126 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1350
                    activeHelpKey: valuesVisibilitySelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1351
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1352
                    model: visibilitySelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1353
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1354
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1355
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1356
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1357
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1358
                    acceptOnPointerLeave: false
1731
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
  1359
                  )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1360
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1361
               
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1362
              )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1363
            )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1364
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1365
              label: 'Menu:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1366
              name: 'menusBox'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1367
              layout: (LayoutFrame 0 0.0 161 0 0 1.0 218 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1368
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1369
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1370
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1371
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1372
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1373
                    label: 'Selector:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1374
                    name: 'menuLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1375
                    layout: (AlignmentOrigin 94 0 12 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1376
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1377
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1378
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1379
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1380
                    name: 'menuSelector'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1381
                    layout: (LayoutFrame 97 0 1 0 2 1.0 23 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1382
                    activeHelpKey: valuesMenuSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1383
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1384
                    model: menu
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1385
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1386
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1387
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1388
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1389
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1390
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1391
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1392
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1393
               
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1394
              )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1395
            )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1396
           (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1397
              label: 'Combo List/Box Selectors:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1398
              name: 'framedBox1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1399
              layout: (LayoutFrame 1 0.0 223 0 1 1.0 311 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1400
              labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1401
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1402
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1403
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1404
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1405
                    label: 'Choices:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1406
                    name: 'ChoicesLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1407
                    layout: (AlignmentOrigin 94 0 15 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1408
                    activeHelpKey: valuesChoiceSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1409
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1410
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1411
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1412
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1413
                    name: 'ChoicesField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1414
                    layout: (LayoutFrame 97 0 4 0 2 1.0 26 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1415
                    activeHelpKey: valuesChoiceSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1416
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1417
                    model: choices
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1418
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1419
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1420
                    acceptOnLeave: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1421
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1422
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1423
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1424
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1425
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1426
                 (LabelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1427
                    label: 'Editable:'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1428
                    name: 'ShowInputFieldLabel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1429
                    layout: (AlignmentOrigin 94 0 41 0 1 0.5)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1430
                    activeHelpKey: showComboFieldSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1431
                    resizeForLabel: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1432
                    adjust: right
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1433
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1434
                 (InputFieldSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1435
                    name: 'ShowInputFieldField'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1436
                    layout: (LayoutFrame 97 0 30 0 2 1.0 52 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1437
                    activeHelpKey: showComboFieldSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1438
                    tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1439
                    model: showComboFieldSelector
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1440
                    group: inputGroup
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1441
                    type: symbolOrNil
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1442
                    acceptOnLeave: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1443
                    acceptOnLostFocus: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1444
                    acceptChannel: acceptChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1445
                    modifiedChannel: modifiedChannel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1446
                    acceptOnPointerLeave: false
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1447
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1448
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1449
               
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1450
              )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1451
            )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1452
           )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1453
         
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1454
        )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1455
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1456
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1457
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1458
windowSpec
817
d350f49ae748 add column justification
ca
parents: 816
diff changeset
  1459
    "This resource specification was automatically generated
d350f49ae748 add column justification
ca
parents: 816
diff changeset
  1460
     by the UIPainter of ST/X."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1461
817
d350f49ae748 add column justification
ca
parents: 816
diff changeset
  1462
    "Do not manually edit this!! If it is corrupted,
d350f49ae748 add column justification
ca
parents: 816
diff changeset
  1463
     the UIPainter may not be able to read the specification."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1464
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1465
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1466
     UIPainter new openOnClass:DataSetBuilder andSelector:#windowSpec
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1467
     DataSetBuilder new openInterface:#windowSpec
817
d350f49ae748 add column justification
ca
parents: 816
diff changeset
  1468
     DataSetBuilder open
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1469
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1470
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1471
    <resource: #canvas>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1472
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1473
    ^ 
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1474
     #(FullSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1475
        name: windowSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1476
        window: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1477
       (WindowSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1478
          label: 'Data Set Builder'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1479
          name: 'Data Set Builder'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1480
          min: (Point 10 10)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1481
          bounds: (Rectangle 14 46 647 613)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1482
          menu: menu
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1483
        )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1484
        component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1485
       (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1486
          collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1487
           (MenuPanelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1488
              name: 'menuToolbarView'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1489
              layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 32 0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1490
              tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1491
              menu: menuToolbar
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1492
            )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1493
           (VariableVerticalPanelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1494
              name: 'VariableVerticalPanel1'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1495
              layout: (LayoutFrame 0 0.0 38 0.0 0 1.0 -26 1.0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1496
              component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1497
             (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1498
                collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1499
                 (FramedBoxSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1500
                    label: 'Table Columns'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1501
                    name: 'FramedBox'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1502
                    labelPosition: topLeft
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1503
                    component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1504
                   (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1505
                      collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1506
                       (DataSetSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1507
                          name: 'columnView'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1508
                          layout: (LayoutFrame 2 0.0 6 0.0 2 1.0 6 1.0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1509
                          hasHorizontalScrollBar: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1510
                          hasVerticalScrollBar: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1511
                          miniScrollerHorizontal: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1512
                          useIndex: false
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1513
                          has3Dsepartors: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1514
                          has3Dseparators: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1515
                        )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1516
                       )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1517
                     
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1518
                    )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1519
                  )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1520
                 (VariableHorizontalPanelSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1521
                    name: 'VariablePanel'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1522
                    level: -1
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1523
                    component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1524
                   (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1525
                      collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1526
                       (ViewSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1527
                          name: 'labelsView'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1528
                          component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1529
                         (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1530
                            collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1531
                             (SequenceViewSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1532
                                name: 'labelAndColumns'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1533
                                layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1534
                                tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1535
                                model: selectedColumnModel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1536
                                menu: menuEdit
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1537
                                hasHorizontalScrollBar: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1538
                                hasVerticalScrollBar: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1539
                                miniScrollerHorizontal: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1540
                                useIndex: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1541
                                sequenceList: seqList
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1542
                              )
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1543
                             )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1544
                           
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1545
                          )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1546
                        )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1547
                       (ViewSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1548
                          name: 'specView'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1549
                          level: -1
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1550
                          component: 
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1551
                         (SpecCollection
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1552
                            collection: (
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1553
                             (NoteBookViewSpec
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1554
                                name: 'NoteBook'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1555
                                layout: (LayoutFrame 1 0.0 0 0.0 0 1.0 -30 1.0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1556
                                tabable: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1557
                                model: tabModel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1558
                                menu: tabList
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1559
                                useIndex: true
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1560
                                canvas: canvasHolder
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1561
                                keepCanvasAlive: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1562
                              )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1563
                             (UISubSpecification
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1564
                                name: 'SubSpecification'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1565
                                layout: (LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1566
                                majorKey: ToolApplicationModel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1567
                                minorKey: windowSpecForCommit
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1568
                              )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1569
                             )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1570
                           
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1571
                          )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1572
                        )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1573
                       )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1574
                     
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1575
                    )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1576
                    handles: (Any 0.235387 1.0)
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1577
                  )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1578
                 )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1579
               
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1580
              )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1581
              handles: (Any 0.25 1.0)
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1582
            )
1737
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1583
           (UISubSpecification
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1584
              name: 'infoBarSubSpec'
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1585
              layout: (LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1586
              majorKey: ToolApplicationModel
de6abd3c55d2 Delete #max: (- windowsize) in windowSpecs
Stefan Vogel <sv@exept.de>
parents: 1731
diff changeset
  1587
              minorKey: windowSpecForInfoBar
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1588
            )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1589
           )
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1590
         
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  1591
        )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1592
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1593
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1594
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1595
!DataSetBuilder class methodsFor:'menu specs'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1596
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1597
menu
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1598
    "This resource specification was automatically generated
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1599
     by the MenuEditor of ST/X."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1600
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1601
    "Do not manually edit this!! If it is corrupted,
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1602
     the MenuEditor may not be able to read the specification."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1603
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1604
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1605
     MenuEditor new openOnClass:DataSetBuilder andSelector:#menu
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1606
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder menu)) startUp
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1607
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1608
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1609
    <resource: #menu>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1610
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1611
    ^
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1612
     
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1613
       #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1614
          
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1615
           #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1616
             #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1617
                #label: 'File'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1618
                #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1619
                #activeHelpKey: #file
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1620
                #submenu: 
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1621
                 #(#Menu
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1622
                    
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1623
                     #(
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1624
                       #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1625
                          #label: 'New'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1626
                          #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1627
                          #value: #doNew
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1628
                          #activeHelpKey: #fileNew
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1629
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1630
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1631
                          #label: '-'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1632
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1633
                       #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1634
                          #label: 'Load...'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1635
                          #translateLabel: true
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1636
                          #value: #doLoad
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1637
                          #activeHelpKey: #fileLoad
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1638
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1639
                       #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1640
                          #label: '-'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1641
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1642
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1643
                          #label: 'Save'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1644
                          #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1645
                          #value: #doSave
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1646
                          #activeHelpKey: #fileSave
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1647
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1648
                       #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1649
                          #label: 'Save As...'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1650
                          #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1651
                          #value: #doSaveAs
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1652
                          #activeHelpKey: #fileSaveAs
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1653
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1654
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1655
                          #label: '-'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1656
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1657
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1658
                          #label: 'Pick Columns...'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1659
                          #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1660
                          #value: #doPickColumns
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1661
                          #activeHelpKey: #pickColumns
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1662
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1663
                       #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1664
                          #label: '-'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1665
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1666
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1667
                          #label: 'Browse Class'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1668
                          #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1669
                          #value: #doBrowseClass
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1670
                          #activeHelpKey: #fileBrowseClass
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1671
                      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1672
                       #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1673
                          #label: '-'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1674
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1675
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1676
                          #label: 'Exit'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1677
                          #translateLabel: true
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1678
                          #value: #closeRequest
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1679
                          #activeHelpKey: #fileExit
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1680
                      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1681
                    ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1682
                    nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1683
                )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1684
            )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1685
             #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1686
                #label: 'Edit'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1687
                #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1688
                #activeHelpKey: #edit
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1689
                #submenuChannel: #menuEdit
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1690
            )
521
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1691
             #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1692
                #label: 'Add'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1693
                #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1694
                #submenu: 
521
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1695
                 #(#Menu
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1696
                    
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1697
                     #(
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1698
                       #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1699
                          #label: 'Column'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1700
                          #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1701
                          #value: #doCreateColumn
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1702
                          #activeHelpKey: #addColumn
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1703
                          #enabled: #columnIsNotEditing
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1704
                          #labelImage: #(#ResourceRetriever nil #newColumnIcon 'Column')
521
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1705
                      )
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1706
                    ) nil
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1707
                    nil
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1708
                )
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1709
            )
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1710
             #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1711
                #label: 'Generate'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1712
                #translateLabel: true
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1713
                #activeHelpKey: #generate
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1714
                #submenu: 
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1715
                 #(#Menu
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1716
                    
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1717
                     #(
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1718
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1719
                          #label: 'Define Row Class...'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1720
                          #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1721
                          #value: #doDefineRowClass
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1722
                          #activeHelpKey: #fileDefineClass
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1723
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1724
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1725
                          #label: 'Browse Row Class'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1726
                          #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1727
                          #value: #doBrowseRowClass
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1728
                          #activeHelpKey: #browseRowClass
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1729
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1730
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1731
                          #label: '-'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1732
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1733
                       #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1734
                          #label: 'Generate Code'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1735
                          #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1736
                          #value: #doGenerateCode
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1737
                          #activeHelpKey: #generateCode
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1738
                      )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1739
                    ) nil
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1740
                    nil
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1741
                )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1742
            )
1033
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1743
"/             #(#MenuItem
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1744
"/                #label: 'Settings'
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1745
"/                #translateLabel: true
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1746
"/                #activeHelpKey: #settings
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1747
"/                #submenu: 
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1748
"/                 #(#Menu
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1749
"/                    
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1750
"/                     #(
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1751
"/                       #(#MenuItem
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1752
"/                          #label: 'Fonts'
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1753
"/                          #translateLabel: true
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1754
"/                          #submenuChannel: #menuFont
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1755
"/                      )
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1756
"/                    ) nil
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1757
"/                    nil
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1758
"/                )
21b3bc025e0c removed the (stupid) fontSettings menu support.
Claus Gittinger <cg@exept.de>
parents: 1019
diff changeset
  1759
"/            )
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1760
             #(#MenuItem
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1761
                #label: 'History'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1762
                #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1763
                #activeHelpKey: #history
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1764
                #submenuChannel: #menuHistory
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1765
            )
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1766
             #(#MenuItem
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1767
                #label: 'Help'
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1768
                #translateLabel: true
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1769
                #startGroup: #right
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1770
                #submenuChannel: #menuHelp
521
61569efc19f4 menu rearranged
tz
parents: 505
diff changeset
  1771
            )
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1772
          ) nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1773
          nil
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1774
      )
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1775
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1776
    "Modified: / 19.5.1998 / 23:10:01 / cg"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1777
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1778
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1779
menuEdit
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1780
    "This resource specification was automatically generated
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1781
     by the MenuEditor of ST/X."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1782
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1783
    "Do not manually edit this!! If it is corrupted,
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1784
     the MenuEditor may not be able to read the specification."
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1785
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1786
    "
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1787
     MenuEditor new openOnClass:DataSetBuilder andSelector:#menuEdit
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1788
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder menuEdit)) startUp
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1789
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1790
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1791
    <resource: #menu>
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1792
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1793
    ^
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1794
     
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1795
       #(#Menu
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1796
          
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1797
           #(
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1798
             #(#MenuItem
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1799
                #label: 'Cut'
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
  1800
                #translateLabel: true
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1801
                #value: #doCut
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1802
                #activeHelpKey: #editCut
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1803
                #enabled: #isColumnSelected
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1804
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1805
             #(#MenuItem
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1806
                #label: 'Copy'
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
  1807
                #translateLabel: true
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1808
                #value: #doCopy
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1809
                #activeHelpKey: #editCopy
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1810
                #enabled: #isColumnSelected
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1811
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1812
             #(#MenuItem
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1813
                #label: 'Paste'
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
  1814
                #translateLabel: true
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1815
                #value: #doPaste
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1816
                #activeHelpKey: #editPaste
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1817
                #enabled: #valueOfHavingClipboard
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1818
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1819
             #(#MenuItem
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1820
                #label: 'Delete'
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
  1821
                #translateLabel: true
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1822
                #value: #doDelete
829
dac49512301a language strings, help spec & initial handle position of panel
Claus Gittinger <cg@exept.de>
parents: 826
diff changeset
  1823
                #activeHelpKey: #editDelete
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1824
                #enabled: #valueOfHavingClipboard
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1825
            )
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1826
             #(#MenuItem
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1827
                #label: '-'
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1828
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1829
             #(#MenuItem
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1830
                #label: 'Move Up'
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
  1831
                #translateLabel: true
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1832
                #value: #doMoveColumn:
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1833
                #activeHelpKey: #editMoveUp
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1834
                #enabled: #isColumnSelected
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1835
                #argument: #up
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
  1836
                #labelImage: #(#ResourceRetriever #Icon #upIcon 'Move Up')
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1837
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1838
             #(#MenuItem
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1839
                #label: 'Move Down'
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
  1840
                #translateLabel: true
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1841
                #value: #doMoveColumn:
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1842
                #activeHelpKey: #editMoveDown
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1843
                #enabled: #isColumnSelected
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1844
                #argument: #down
881
9054767c0080 images moved to class Icon
tz
parents: 857
diff changeset
  1845
                #labelImage: #(#ResourceRetriever #Icon #downIcon 'Move Down')
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1846
            )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1847
          ) nil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1848
          nil
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1849
      )
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1850
!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1851
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1852
menuToolbar
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1853
    "This resource specification was automatically generated
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1854
     by the MenuEditor of ST/X."
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1855
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1856
    "Do not manually edit this!! If it is corrupted,
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  1857
     the MenuEditor may not be able to read the specification."
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1858
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1859
    "
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1860
     MenuEditor new openOnClass:DataSetBuilder andSelector:#menuToolbar
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  1861
     (Menu new fromLiteralArrayEncoding:(DataSetBuilder menuToolbar)) startUp
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1862
    "
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1863
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1864
    <resource: #menu>
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1865
1757
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1866
    ^ 
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1867
     #(Menu
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1868
        (
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1869
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1870
            activeHelpKey: fileNew
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1871
            label: 'New'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1872
            itemValue: doNew
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1873
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1874
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1875
            labelImage: (ResourceRetriever ToolbarIconLibrary newDataSet24x24Icon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1876
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1877
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1878
            activeHelpKey: fileLoad
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1879
            label: 'Load'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1880
            itemValue: doLoad
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1881
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1882
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1883
            submenuChannel: menuHistory
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1884
            labelImage: (ResourceRetriever ToolbarIconLibrary load22x22Icon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1885
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1886
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1887
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1888
            activeHelpKey: fileSave
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1889
            label: 'Save'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1890
            itemValue: doSave
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1891
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1892
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1893
            labelImage: (ResourceRetriever ToolbarIconLibrary saveAsMethod22x22Icon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1894
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1895
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1896
            label: ''
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1897
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1898
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1899
            activeHelpKey: editCut
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1900
            enabled: isColumnSelected
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1901
            label: 'Cut'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1902
            itemValue: doCut
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1903
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1904
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1905
            labelImage: (ResourceRetriever Icon cutIcon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1906
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1907
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1908
            activeHelpKey: editCopy
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1909
            enabled: isColumnSelected
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1910
            label: 'Copy'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1911
            itemValue: doCopy
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1912
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1913
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1914
            labelImage: (ResourceRetriever Icon copyIcon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1915
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1916
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1917
            activeHelpKey: editPaste
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1918
            enabled: valueOfCanPaste
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1919
            label: 'Paste'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1920
            itemValue: doPaste
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1921
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1922
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1923
            labelImage: (ResourceRetriever Icon pasteIcon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1924
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1925
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1926
            activeHelpKey: editDelete
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1927
            enabled: isColumnSelected
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1928
            label: 'Delete'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1929
            itemValue: doDelete
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1930
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1931
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1932
            labelImage: (ResourceRetriever Icon deleteIcon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1933
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1934
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1935
            label: ''
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1936
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1937
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1938
            activeHelpKey: addColumn
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1939
            enabled: columnIsNotEditing
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1940
            label: 'Add Column'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1941
            itemValue: doCreateColumn
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1942
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1943
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1944
            labelImage: (ResourceRetriever nil newColumnIcon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1945
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1946
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1947
            label: ''
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1948
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1949
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1950
            activeHelpKey: editMoveUp
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1951
            enabled: isColumnSelected
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1952
            label: 'Move Up'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1953
            itemValue: doMoveColumn:
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1954
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1955
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1956
            labelImage: (ResourceRetriever Icon upIcon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1957
            argument: up
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1958
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1959
         (MenuItem
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1960
            activeHelpKey: editMoveDown
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1961
            enabled: isColumnSelected
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1962
            label: 'Move Down'
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1963
            itemValue: doMoveColumn:
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1964
            translateLabel: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1965
            isButton: true
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1966
            labelImage: (ResourceRetriever Icon downIcon)
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1967
            argument: down
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1968
          )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1969
         )
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1970
        nil
c1b5a55649c9 toolbar: new-dataSet icon & load history
Claus Gittinger <cg@exept.de>
parents: 1754
diff changeset
  1971
        nil
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1972
      )
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1973
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1974
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1975
!DataSetBuilder methodsFor:'accessing'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1976
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1977
columns
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1978
    "returns list of columns"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1979
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1980
    ^ columns
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1981
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1982
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1983
columns:aListOfColumns
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1984
    "setup columns from a column view"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  1985
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1986
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1987
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1988
    columns    := OrderedCollection new.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1989
    list       := self seqList.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1990
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1991
    list removeAll.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  1992
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1993
    aListOfColumns size ~~ 0 ifTrue:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1994
        aListOfColumns do:[:aColumn||column|
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1995
            (column := aColumn) isSequenceable ifTrue:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1996
                column := DataSetColumnSpec new fromLiteralArrayEncoding:aColumn
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1997
            ] ifFalse:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1998
                column := aColumn copy
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  1999
            ].
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2000
            columns add:column.
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2001
            list add:(self labelFromColumn:column).  
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2002
        ]
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2003
    ].
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2004
    self updateColumnView.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2005
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2006
!
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2007
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2008
resolveRowClass
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2009
    "returns the resolved row class
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2010
    "
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2011
    ^ Smalltalk resolveName:rowClass inClass:self class
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2012
!
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2013
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2014
rowClassName
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2015
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2016
    ^ self resolveRowClass notNil ifTrue:[rowClass] ifFalse:[nil]
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2017
!
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2018
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2019
rowClassName:aClassName
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2020
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2021
    |cls|
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2022
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2023
    rowSuperClass := nil.
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2024
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2025
    (rowClass := aClassName) notNil ifTrue:[
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2026
        (cls := self resolveRowClass) notNil 
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2027
            ifTrue: [rowSuperClass := cls superclass name asString] 
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2028
            ifFalse:[rowSuperClass := 'Object']
333
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2029
    ]
a2e23dea36bf change className to rowClassName
ca
parents: 332
diff changeset
  2030
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2031
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2032
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2033
!DataSetBuilder methodsFor:'aspects'!
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2034
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2035
canvasHolder
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2036
    "returns a value holder which keeps selected column"
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2037
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2038
    |holder|
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2039
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2040
    (holder := builder bindingAt:#canvasHolder) isNil ifTrue:[
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2041
        builder aspectAt:#canvasHolder put:(holder := ValueHolder new).
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2042
    ].
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2043
    ^ holder
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2044
!
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2045
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2046
columnIsNotEditing
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2047
    "returns a boolean value holder which is set to true if column is not editing"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2048
1311
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2049
    |holder|
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2050
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2051
    (holder := builder bindingAt:#columnIsNotEditing) isNil ifTrue:[
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2052
        holder := BlockValue forLogicalNot:(self modifiedChannel).
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2053
        builder aspectAt:#columnIsNotEditing put:holder.
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2054
    ].
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2055
    ^ holder
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2056
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2057
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2058
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2059
editorTypeList
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2060
    "generate list of supported editor types"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2061
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2062
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2063
1697
50a84654ab9b code cleanup
Claus Gittinger <cg@exept.de>
parents: 1667
diff changeset
  2064
    (list := builder bindingAt:#editorTypeList) isNil ifTrue:[
50a84654ab9b code cleanup
Claus Gittinger <cg@exept.de>
parents: 1667
diff changeset
  2065
        list := (DataSetColumnSpec slices collect:[:eachSlice | eachSlice at:1]) asSet.
1700
martin
parents: 1699
diff changeset
  2066
        list := list asOrderedCollection sort.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2067
        builder aspectAt:#editorTypeList put:list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2068
    ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2069
    ^list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2070
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2071
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2072
isColumnSelected
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2073
    "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
  2074
     and not accepted"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2075
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2076
    ^builder valueAspectFor:#isColumnSelected initialValue: false
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2077
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2078
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2079
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2080
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2081
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2082
rendererTypeList
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2083
    "generate list of supported renderer types"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2084
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2085
    |list|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2086
1697
50a84654ab9b code cleanup
Claus Gittinger <cg@exept.de>
parents: 1667
diff changeset
  2087
    (list := builder bindingAt:#rendererTypeList) isNil ifTrue:[
50a84654ab9b code cleanup
Claus Gittinger <cg@exept.de>
parents: 1667
diff changeset
  2088
        list := (DataSetColumnSpec slices collect:[:eachSlice | eachSlice at:2]) asSet.
1701
079827c2760d no sets as lists
martin
parents: 1700
diff changeset
  2089
        list := list asOrderedCollection sort.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2090
        builder aspectAt:#rendererTypeList put:list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2091
    ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2092
    ^list
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2093
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2094
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2095
selectedColumnModel
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2096
    "returns a value holder which keeps selected column"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2097
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2098
    |holder|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2099
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2100
    (holder := builder bindingAt:#selectedColumnModel) isNil ifTrue:[
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2101
        holder := AspectAdaptor new subject:self; forAspect:#selectedColumnIndex.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2102
        builder aspectAt:#selectedColumnModel put:holder.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2103
    ].
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2104
    ^ holder
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2105
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2106
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2107
seqList
1182
ad878ef29fa7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1158
diff changeset
  2108
    ^ builder listAspectFor:#seqList
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2109
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2110
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2111
style
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2112
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2113
    ^self aspectFor:#labelFont
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2114
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2115
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2116
tabList
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2117
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2118
    ^self class slices collect:[:aSlice|aSlice first]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2119
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2120
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2121
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2122
!DataSetBuilder methodsFor:'building'!
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2123
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2124
buildFromClass:aClass andSelector:aSelector
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2125
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2126
    |updateBlock cls list|
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2127
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2128
    selectedColumnIndex := 0.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2129
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2130
    updateBlock := [
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2131
        columns notEmpty ifTrue: [
1187
e413149dabe6 code cleanup
Claus Gittinger <cg@exept.de>
parents: 1182
diff changeset
  2132
            self tabModel value:0; value:1.                 "/ toggle to force change
e413149dabe6 code cleanup
Claus Gittinger <cg@exept.de>
parents: 1182
diff changeset
  2133
            self selectedColumnModel value:nil; value:1.    "/ toggle to force change
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2134
            self updateColumnView.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2135
            self updateInputFields.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2136
            self updateInfoLabel.
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2137
            self updateHistory.
1187
e413149dabe6 code cleanup
Claus Gittinger <cg@exept.de>
parents: 1182
diff changeset
  2138
            self clearModifiedFlag.
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2139
            self valueOfEnablingCommitButtons value:false.
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2140
        ]
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2141
    ].
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2142
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2143
    "if opened on table columns"  
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2144
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2145
    aClass isNil ifTrue: [ 
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2146
        self tabModel value: 0. 
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2147
        self columns removeAll.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2148
        self seqList removeAll.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2149
        self updateColumnView.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2150
        self updateInfoLabel.
1158
37cbe3507ca9 optimize:
Claus Gittinger <cg@exept.de>
parents: 1156
diff changeset
  2151
      ^ self isColumnSelected value: false.
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2152
    ].
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2153
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2154
    specSelector isNil ifTrue: [updateBlock value. ^self].
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2155
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2156
    list := nil.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2157
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2158
    (aClass notNil or:[self isStandAlone or:[self window shown]]) ifTrue:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2159
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2160
        (aClass notNil and:[aSelector notNil]) ifTrue:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2161
            cls := self resolveName:aClass.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2162
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2163
            (cls respondsTo:aSelector) ifTrue:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2164
                list := cls perform:aSelector        
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2165
            ]
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2166
        ]
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2167
    ] ifFalse:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2168
        list := columns
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2169
    ].
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2170
    self columns:list.
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2171
    updateBlock value.
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2172
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2173
!
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2174
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2175
buildFromResourceSpec:aResourceSpec
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2176
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2177
    self columns:aResourceSpec.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2178
1465
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2179
"/    columns notEmpty ifTrue: [
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2180
"/        self tabModel value: 1. 
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2181
"/        self selectedColumnModel value:nil; value:1.    "/ toggle to force change
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2182
"/        self updateInputFields.
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2183
"/        self updateInfoLabel.
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2184
"/        self updateHistory
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2185
"/    ].
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2186
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2187
! !
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2188
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2189
!DataSetBuilder methodsFor:'code generation'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2190
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2191
compile:aCode forClass:aClass inCategory:aCategory
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2192
    "compile method for class in a category"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2193
1569
782fa8f8e64c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1562
diff changeset
  2194
    aClass 
782fa8f8e64c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1562
diff changeset
  2195
        compile:(aCode withCRs) 
782fa8f8e64c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1562
diff changeset
  2196
        classified:aCategory
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2197
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2198
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2199
generateBackgroundSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2200
    "generate code for #backgroundSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2201
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2202
    |sel catg code bCode|
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2203
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2204
    catg := 'accessing look' asSymbol.
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2205
    code :=   '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2206
            , '    "automatically generated by DataSetBuilder ..."\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2207
            , '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2208
            , '    "specific background color for a cell"\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2209
            , '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2210
            .
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2211
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2212
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2213
    [:aColumn|
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2214
        ((sel := aColumn backgroundSelector) notNil and:[(aClass includesSelector:sel) not]) 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2215
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2216
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2217
            bCode := sel asString, code, '    ^nil'.
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2218
            self compile:bCode forClass:aClass inCategory:catg
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2219
        ]
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2220
    ]
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2221
!
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2222
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2223
generateChoicesIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2224
    "generate code for #choices"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2225
1009
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2226
    |sel catg code edt|
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2227
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2228
    catg := 'accessing menu' asSymbol.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2229
    code :=   '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2230
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2231
            , '\'
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2232
            , '    "get choices for visual editor; (a list of labels)..."\'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2233
            , '\'
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2234
            , '    ^ #( foo bar baz )'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2235
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2236
1009
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2237
    columns do:[:aColumn|
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2238
        edt := aColumn editorType.
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2239
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2240
        (      aColumn canSelect
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2241
          and:[(sel := aColumn choices) notNil
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2242
          and:[(edt == #ComboBox or:[edt == #ComboList])
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2243
          and:[(aClass includesSelector:sel) not]]]
1009
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2244
        ) ifTrue:[
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2245
            self compile:(sel asString, code) forClass:aClass inCategory:catg
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2246
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2247
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2248
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2249
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2250
generateDoubleClickSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2251
    "generate code for #foregroundSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2252
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2253
    |sel catg code bCode|
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2254
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2255
    catg := 'accessing action' asSymbol.
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2256
    code :=   '\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2257
            , '    "automatically generated by DataSetBuilder ..."\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2258
            , '\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2259
            , '    "specific selector to be called on double click"\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2260
            , '\'
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2261
            .
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2262
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2263
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2264
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2265
        ((sel := aColumn doubleClickedSelector) notNil 
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2266
        and:[(aClass includesSelector:sel) not]) 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2267
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2268
        [
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2269
            bCode := sel asString, code.
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2270
            self compile:bCode forClass:aClass inCategory:catg
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2271
        ]
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2272
    ]
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2273
!
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2274
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2275
generateForegroundSelectorIn:aClass
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2276
    "generate code for #foregroundSelector
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2277
    "
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2278
    |sel catg code bCode|
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2279
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2280
    catg := 'accessing look' asSymbol.
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2281
    code :=   '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2282
            , '    "automatically generated by DataSetBuilder ..."\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2283
            , '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2284
            , '    "specific foreground color for a cell"\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2285
            , '\'
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2286
            .
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2287
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2288
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2289
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2290
        ((sel := aColumn foregroundSelector) notNil 
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2291
        and:[(aClass includesSelector:sel) not]) 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2292
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2293
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2294
            bCode := sel asString, code, '    ^nil'.
380
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2295
            self compile:bCode forClass:aClass inCategory:catg
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2296
        ]
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2297
    ]
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2298
!
42aacfc3d263 add new attributes and help
ca
parents: 379
diff changeset
  2299
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2300
generateMenuIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2301
    "generate code for #menu"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2302
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2303
    |sel catg code|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2304
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2305
    catg := 'accessing menu' asSymbol.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2306
    code :=   '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2307
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2308
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2309
            , '    "get middleButton menu for selected cell in column"\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2310
            , '\'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2311
            , '    ^nil'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2312
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2313
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2314
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2315
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2316
        (aColumn canSelect
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2317
        and:[(sel := aColumn menu) notNil
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2318
        and:[(aClass includesSelector:sel) not]]) 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2319
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2320
        [
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2321
            self compile:(sel asString, code) forClass:aClass inCategory:catg
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2322
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2323
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2324
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2325
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2326
generatePrintSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2327
    "generate code for #printSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2328
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2329
    |sel catg code|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2330
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2331
    catg := 'accessing' asSymbol.
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2332
    code :=   '\'
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2333
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2334
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2335
            , '    "get drawable image or text on a gc"\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2336
            , '\'
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2337
            , '    ^ '
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2338
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2339
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2340
    columns do:[:aColumn|
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2341
        (     aColumn rendererType ~~ #rowSelector
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2342
         and:[(sel := aColumn printSelector) notNil
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2343
         and:[(aClass includesSelector:sel) not]]
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2344
        ) ifTrue:[
1548
dae6daf3b566 variableName
Claus Gittinger <cg@exept.de>
parents: 1499
diff changeset
  2345
            |numArgs bcode keys|
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2346
            bcode   := sel asString.
1548
dae6daf3b566 variableName
Claus Gittinger <cg@exept.de>
parents: 1499
diff changeset
  2347
            numArgs    := sel numArgs.
dae6daf3b566 variableName
Claus Gittinger <cg@exept.de>
parents: 1499
diff changeset
  2348
dae6daf3b566 variableName
Claus Gittinger <cg@exept.de>
parents: 1499
diff changeset
  2349
            numArgs ~~ 0 ifTrue:[
dae6daf3b566 variableName
Claus Gittinger <cg@exept.de>
parents: 1499
diff changeset
  2350
                numArgs == 1 ifTrue:[
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2351
                    bcode := bcode, 'aGC'
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2352
                ] ifFalse:[
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2353
                    keys := sel keywords.
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2354
                    bcode := (keys at:1), 'aGC ', (keys at:2), 'aColNr'.
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2355
                ]
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2356
            ].
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2357
            self compile:(bcode, code, '''', bcode, '''') forClass:aClass inCategory:catg
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2358
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2359
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2360
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2361
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2362
generateReadSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2363
    "generate code for #readSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2364
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2365
    |sel catg code bCode|
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2366
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2367
    catg := 'accessing' asSymbol.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2368
    code :=   '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2369
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2370
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2371
            , '    "get value"\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2372
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2373
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2374
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2375
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2376
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2377
        (aColumn rendererType ~~ #rowSelector 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2378
        and:[(sel := aColumn readSelector) notNil
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2379
        and:[(aClass includesSelector:sel) not]]) 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2380
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2381
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2382
            (aColumn printSelector isNil or:[aColumn canSelect]) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2383
            ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2384
            [
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2385
                |selName|
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2386
                selName := sel asString.
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2387
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2388
                sel numArgs == 0 
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2389
                    ifTrue: [bCode := selName, code] 
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2390
                    ifFalse:[bCode := selName, 'anIndex\', code].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2391
                aColumn rendererType == #CheckToggle 
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2392
                    ifFalse:[bCode := bCode, '    ^ ''', selName, ''''] 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2393
                    ifTrue: [bCode := bCode, '    ^true']. 
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2394
                self compile:bCode forClass:aClass inCategory:catg
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2395
            ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2396
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2397
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2398
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2399
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2400
generateRowSeparatorSelectorIn:aClass
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2401
    "generate code for #rowSeparatorSelector"
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2402
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2403
    |sel catg code bCode|
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2404
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2405
    catg := 'accessing look' asSymbol.
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2406
    code :=   '\'
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2407
            , '    "automatically generated by DataSetBuilder ..."\'
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2408
            , '\'
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2409
            , '    "specific row separator visibility for a cell"\'
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2410
            , '\'
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2411
            .
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2412
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2413
    columns do:
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2414
    [:aColumn|
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2415
        ((sel := aColumn rowSeparatorSelector) notNil and:[(aClass includesSelector:sel) not]) 
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2416
        ifTrue:
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2417
        [
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2418
            bCode := sel asString, code, '    ^true'.
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2419
            self compile:bCode forClass:aClass inCategory:catg
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2420
        ]
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2421
    ]
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2422
!
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2423
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2424
generateSelectSelectorIn:aClass
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2425
    "generate code for #selectSelector
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2426
    "
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2427
    |sel catg code bCode|
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2428
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2429
    catg := 'accessing selection' asSymbol.
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2430
    code :=   '\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2431
            , '    "automatically generated by DataSetBuilder ..."\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2432
            , '\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2433
            , '    "can select cell in column"\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2434
            , '\'
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2435
            .
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2436
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2437
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2438
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2439
        (aColumn rendererType ~~ #rowSelector 
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2440
         and:[(sel := aColumn selectSelector) notNil
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2441
         and:[(aClass includesSelector:sel) not]]) 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2442
         ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2443
         [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2444
            aColumn canSelect 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2445
            ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2446
            [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2447
                bCode := sel asString, code, '    ^true'.
377
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2448
                self compile:bCode forClass:aClass inCategory:catg
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2449
            ]
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2450
        ]
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2451
    ]
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2452
!
5cbb117efc19 refine selection on row base:
ca
parents: 370
diff changeset
  2453
1009
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2454
generateShowComboFieldSelectorIn:aClass
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2455
    "generate code for #showComboFieldSelector
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2456
    "
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2457
    |sel catg code bCode edt state|
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2458
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2459
    catg := 'accessing menu' asSymbol.
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2460
    code :=   '\'
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2461
            , '    "automatically generated by DataSetBuilder ..."\'
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2462
            , '\'
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2463
            , '    "open an editField on a combo list or box"\'
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2464
            , '\'
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2465
            .
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2466
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2467
    columns do:[:aColumn|
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2468
        edt := aColumn editorType.
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2469
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2470
        (      aColumn canSelect
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2471
          and:[(sel := aColumn showComboFieldSelector) notNil
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2472
          and:[(edt == #ComboBox or:[edt == #ComboList])
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2473
          and:[(aClass includesSelector:sel) not]]]
1009
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2474
        ) ifTrue:[
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2475
            state := edt == #ComboBoxView.
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2476
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2477
            bCode := sel asString, code, '    ^ ', state printString.
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2478
            self compile:bCode forClass:aClass inCategory:catg
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2479
        ]
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2480
    ]
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2481
!
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2482
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2483
generateWriteSelectorIn:aClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2484
    "generate code for #writeSelector"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2485
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  2486
    |sel catg code bCode sz|
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2487
391
5c7fa5484d14 VW compatible
ca
parents: 380
diff changeset
  2488
    catg := 'accessing' asSymbol.
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2489
    code :=   'aValue\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2490
            , '    "automatically generated by DataSetBuilder ..."\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2491
            , '\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2492
            , '    "set value"\'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2493
            .
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2494
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2495
    columns do:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2496
    [:aColumn|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2497
        ((sel := aColumn writeSelector) notNil
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2498
         and:[aColumn editorType ~~ #None
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2499
         and:[aColumn canSelect
1553
1d7fd5dde600 implements -> includesSelector
Claus Gittinger <cg@exept.de>
parents: 1548
diff changeset
  2500
         and:[(aClass includesSelector:sel) not]]]) 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2501
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2502
        [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2503
            sel numArgs == 1 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2504
            ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2505
            [
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  2506
                bCode := sel asString
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2507
            ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2508
            ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2509
            [
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  2510
                sz := sel indexOf:$:.
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  2511
                bCode := sel copyTo:sz.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2512
                bCode := bCode, 'anIndex ', (sel copyFrom:sz + 1)
379
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  2513
            ].
1a24037cd490 support of writeSelector
ca
parents: 377
diff changeset
  2514
            self compile:(bCode, code) forClass:aClass inCategory:catg
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2515
        ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2516
    ]
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2517
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2518
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2519
!DataSetBuilder methodsFor:'initialization'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2520
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2521
initialize
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2522
    "initializes"
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2523
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2524
    super initialize.
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2525
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2526
    selectedColumnIndex := 0.
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2527
    columns     := OrderedCollection new.
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2528
    modalOpened := false.
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2529
    listOfSpecViews := Array new:(self class slices size).
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2530
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2531
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2532
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2533
!DataSetBuilder methodsFor:'private'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2534
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2535
askForListModification
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2536
    "asks for resource modification"
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2537
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2538
    modalOpened ifFalse:[
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2539
        ^ super askForListModification
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2540
    ].
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2541
    ^true
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2542
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2543
!
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2544
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2545
labelFromColumn:aColumn
1562
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2546
    |label|
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2547
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2548
    aColumn rendererType == #rowSelector ifTrue:[
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2549
        ^ 'Row Selector'
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2550
    ].
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2551
    label := aColumn label.
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2552
    label ifNil:[^ nil].
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2553
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2554
    label isString ifTrue:[^ label].
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2555
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2556
    label size > 0 ifTrue:[
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2557
         label := label at:1.
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2558
    ].
5bf39bbb2eb4 bugfix: if label is a sequence of strings, the row name
ca
parents: 1553
diff changeset
  2559
    ^ label printString
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2560
!
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2561
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2562
labelInPreviewPressed:anIndex
1597
b670ad8c30e1 builder componentAt: -> self componentAt:
Claus Gittinger <cg@exept.de>
parents: 1580
diff changeset
  2563
   (self componentAt:#labelAndColumns) selection:anIndex
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2564
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2565
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2566
updateColumnView
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2567
    "updates column view from column descriptions
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2568
    "   
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2569
    |size|
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2570
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2571
    columnView notNil ifTrue:[
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2572
        |previewColumns columnItems columnList|
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2573
        columnList     := List new.
1019
1629a7eecb33 change deepCopy to copy; something happens
ca
parents: 1014
diff changeset
  2574
        previewColumns := OrderedCollection new.
1629a7eecb33 change deepCopy to copy; something happens
ca
parents: 1014
diff changeset
  2575
1629a7eecb33 change deepCopy to copy; something happens
ca
parents: 1014
diff changeset
  2576
        (size := columns size) ~~ 0 ifTrue:[
1629a7eecb33 change deepCopy to copy; something happens
ca
parents: 1014
diff changeset
  2577
            columns do:[:aCol|
1629a7eecb33 change deepCopy to copy; something happens
ca
parents: 1014
diff changeset
  2578
                previewColumns add:(aCol copy)
1629a7eecb33 change deepCopy to copy; something happens
ca
parents: 1014
diff changeset
  2579
            ].
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2580
            previewColumns keysAndValuesDo:[:anIndex :column| 
1731
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
  2581
                column 
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
  2582
                    readSelector:  #at:;
857
eabfba82d601 set #choices to nil for the preview
tz
parents: 856
diff changeset
  2583
                    writeSelector: #at:put:;
eabfba82d601 set #choices to nil for the preview
tz
parents: 856
diff changeset
  2584
                    backgroundSelector:nil;
eabfba82d601 set #choices to nil for the preview
tz
parents: 856
diff changeset
  2585
                    foregroundSelector:nil;
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2586
                    rowSeparatorSelector:nil;
857
eabfba82d601 set #choices to nil for the preview
tz
parents: 856
diff changeset
  2587
                    selectSelector: nil;
1009
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2588
                    showComboFieldSelector: nil;
1261
247e8db2d0e7 add type converter support
ca
parents: 1259
diff changeset
  2589
                    selectSelector: nil;
857
eabfba82d601 set #choices to nil for the preview
tz
parents: 856
diff changeset
  2590
                    doubleClickedSelector: nil;
eabfba82d601 set #choices to nil for the preview
tz
parents: 856
diff changeset
  2591
                    printSelector: nil;
1731
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
  2592
                    visibilitySelector: nil;
857
eabfba82d601 set #choices to nil for the preview
tz
parents: 856
diff changeset
  2593
                    menu: nil;
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2594
                    labelActionSelector:#labelInPreviewPressed:;
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2595
                    labelActionArgument:anIndex;
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2596
                    choices:#choices
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2597
            ].
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2598
            #(' 1' ' 2' ' x') do:[:suffix|
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2599
                columnItems := Row new:size.
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2600
                1 to:size do:[:i| columnItems at: i put: ('Cell', suffix)].
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2601
                columnList add: columnItems.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2602
            ]
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2603
        ].
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2604
        columnView list: #().
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2605
        columnView columnDescriptors: previewColumns.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2606
        columnView list: columnList.
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2607
    ].
1014
9ddf012eba3e need a deepCopy for previewColumns
Claus Gittinger <cg@exept.de>
parents: 1012
diff changeset
  2608
9ddf012eba3e need a deepCopy for previewColumns
Claus Gittinger <cg@exept.de>
parents: 1012
diff changeset
  2609
    "Modified: / 27.10.1998 / 14:41:16 / cg"
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2610
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2611
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2612
updateInputFields
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2613
    "reloads item value into input fields"
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2614
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2615
    |column|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2616
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2617
    (column := self selectedColumn) isNil ifTrue:[
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2618
        self tabModel value:0.
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2619
    ] ifFalse:[
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2620
        aspects do:[:anAspect| anAspect value:'' ].
1036
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2621
        aspects keysAndValuesDo:[:aKey :aModel |
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2622
            aModel value:(column perform:aKey) withoutNotifying: self
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2623
        ].
1311
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2624
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2625
"/ REPALCE nil by empty string for specific inputFields without an adapter
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2626
        #( #labelActionArgument #formatString #id ) do:[:aKey| |model|
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2627
            model := aspects at:aKey.
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2628
            model value isNil ifTrue:[model value:'' withoutNotifying: self]
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2629
        ].
84a556c31ac6 make tabable correct working
ca
parents: 1300
diff changeset
  2630
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2631
        tabSelection == 0 ifTrue:[self tabModel value:1].
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2632
    ].
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2633
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2634
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2635
!DataSetBuilder methodsFor:'selection'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2636
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2637
selectedColumn
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2638
    "returns selected column or nil"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2639
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2640
    ^selectedColumnIndex == 0 
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2641
        ifFalse:[columns at:selectedColumnIndex ifAbsent: nil]
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2642
        ifTrue: [nil]
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2643
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2644
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2645
selectedColumnIndex
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2646
    "returns selected column index or 0"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2647
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2648
    ^selectedColumnIndex
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2649
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2650
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2651
selectedColumnIndex:something
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2652
    "changes selected column and update specifications"
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2653
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2654
    something == selectedColumnIndex ifFalse:[
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2655
        selectedColumnIndex := something ? 0.
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2656
        self isColumnSelected value: true
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2657
    ].
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2658
!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2659
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2660
tabSelection:something
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2661
    "changes selected tab and set corresponding specification"
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2662
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2663
    |view spec|
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2664
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2665
    something == tabSelection ifTrue:[^self].
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2666
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2667
    (tabSelection := something) isNil ifTrue:[
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2668
        tabSelection == 0 ifTrue:[^ self].
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2669
        tabSelection := 0.
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2670
    ].
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2671
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2672
    self selectedColumn isNil ifTrue:[
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2673
        tabSelection ~~ 0 ifTrue:[
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2674
            self tabModel value:0
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2675
        ] ifFalse:[
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2676
            self canvasHolder value:nil
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2677
        ].
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2678
        ^ self
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2679
    ].
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2680
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2681
    tabSelection == 0 ifTrue:[
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2682
        ^ self tabModel value:1.
1158
37cbe3507ca9 optimize:
Claus Gittinger <cg@exept.de>
parents: 1156
diff changeset
  2683
    ].
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2684
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2685
    (view := listOfSpecViews at:tabSelection) isNil ifTrue:[
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2686
        view := SimpleView new.
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2687
        spec := (self class slices at:tabSelection) last.
1390
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2688
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2689
"/        view client:nil spec:(self class interfaceSpecFor:spec) builder:(self builder).
1300
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2690
        view client:self spec:spec builder:(self builder).
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2691
        listOfSpecViews at:tabSelection put:view.
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2692
    ].
7514e12ff1b8 unmap previous canvasView; prepare focus sequence
ca
parents: 1262
diff changeset
  2693
    self canvasHolder value:view
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2694
! !
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  2695
1716
5ae373f6fef0 method category rename
Claus Gittinger <cg@exept.de>
parents: 1701
diff changeset
  2696
!DataSetBuilder methodsFor:'startup & release'!
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2697
826
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2698
openModal
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2699
    "sets the modalOpened flag, so later, 
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2700
     there is no need to ask for saving into a class"
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2701
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2702
    modalOpened := true.
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2703
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2704
    super openModal
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2705
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2706
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2707
!
6c879f404dfe checkin from browser
tz
parents: 825
diff changeset
  2708
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2709
openModalOnResourceSpec: aListSpec
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2710
    "sets the modalOpened flag, so later, 
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2711
     there is no need to ask for saving into a class"
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2712
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2713
    modalOpened := true.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2714
    super openModalOnResourceSpec: aListSpec
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2715
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2716
409
6fbb954fdd75 column save request after close request
tz
parents: 408
diff changeset
  2717
!
6fbb954fdd75 column save request after close request
tz
parents: 408
diff changeset
  2718
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2719
postBuildWith:builder
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2720
1597
b670ad8c30e1 builder componentAt: -> self componentAt:
Claus Gittinger <cg@exept.de>
parents: 1580
diff changeset
  2721
    columnView := self componentAt:#columnView.
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  2722
    "/ columnView labelView enabled:false.
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2723
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2724
    super postBuildWith:builder.
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2725
1465
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2726
    columns notEmpty ifTrue: [
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2727
        self tabModel value: 1. 
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2728
        self selectedColumnModel value:nil; value:1.    "/ toggle to force change
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2729
        self updateInputFields.
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2730
        self updateInfoLabel.
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2731
        self updateHistory
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2732
    ].
4ff489c07764 late valueHolder & subcanvas setup (in postbuild)
Claus Gittinger <cg@exept.de>
parents: 1452
diff changeset
  2733
1597
b670ad8c30e1 builder componentAt: -> self componentAt:
Claus Gittinger <cg@exept.de>
parents: 1580
diff changeset
  2734
    (self componentAt: #labelAndColumns) 
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2735
        selectConditionBlock: [:i|self askForItemModification];
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2736
        action: [:i|self cancel];
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2737
        selection: 1.
1250
644ed357b524 reset menuBar in keyProcessor
ca
parents: 1221
diff changeset
  2738
!
644ed357b524 reset menuBar in keyProcessor
ca
parents: 1221
diff changeset
  2739
644ed357b524 reset menuBar in keyProcessor
ca
parents: 1221
diff changeset
  2740
postOpenWith:aBuilder
644ed357b524 reset menuBar in keyProcessor
ca
parents: 1221
diff changeset
  2741
    "reset keyboardProcessor for menuBar
644ed357b524 reset menuBar in keyProcessor
ca
parents: 1221
diff changeset
  2742
    "
644ed357b524 reset menuBar in keyProcessor
ca
parents: 1221
diff changeset
  2743
    super postOpenWith: aBuilder.
644ed357b524 reset menuBar in keyProcessor
ca
parents: 1221
diff changeset
  2744
    aBuilder keyboardProcessor menuBar:nil.
644ed357b524 reset menuBar in keyProcessor
ca
parents: 1221
diff changeset
  2745
408
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2746
! !
9215eb553600 totally revised version
tz
parents: 391
diff changeset
  2747
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2748
!DataSetBuilder methodsFor:'user actions'!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2749
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2750
accept
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2751
    "accept changes made"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2752
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2753
    |column type|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2754
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2755
    super accept.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2756
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2757
    (column := self selectedColumn) isNil ifTrue: [^self cancel].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2758
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2759
    type := (aspects at:#rendererType) value.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2760
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2761
    type == #rowSelector ifTrue:[
1731
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
  2762
        #(label 
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
  2763
          width minWidth usePreferredWidth editorType choices 
d76ed66a63ed +visibilitySelector
penk
parents: 1716
diff changeset
  2764
          readSelector writeSelector printSelector visibilitySelector
1261
247e8db2d0e7 add type converter support
ca
parents: 1259
diff changeset
  2765
          formatString type converterSelector size height canSelect selectSelector showComboFieldSelector
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2766
         ) do:[:aKey|
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2767
            (aspects at:aKey) value:nil
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2768
        ]
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2769
    ].
1036
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2770
    aspects keysAndValuesDo:[:aKey :aModel| 
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2771
        column perform:(aKey , ':') asSymbol with: aModel value
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2772
    ].
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2773
    self seqList at:selectedColumnIndex put:(self labelFromColumn:column).
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2774
    self updateColumnView.
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2775
    self cancel.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2776
    modified := true.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2777
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2778
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2779
cancel
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2780
    "remove all changes and reload selected column values"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2781
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2782
    self updateInputFields.
421
b8094b7c7fe7 commit buttons moved as subSpec to ToolApplicationModel
tz
parents: 419
diff changeset
  2783
    self valueOfEnablingCommitButtons value:false.
1187
e413149dabe6 code cleanup
Claus Gittinger <cg@exept.de>
parents: 1182
diff changeset
  2784
    self clearModifiedFlag.
1156
65f9583a133e modified stuff
Claus Gittinger <cg@exept.de>
parents: 1144
diff changeset
  2785
    self valueOfEnablingCommitButtons value:false.
1014
9ddf012eba3e need a deepCopy for previewColumns
Claus Gittinger <cg@exept.de>
parents: 1012
diff changeset
  2786
9ddf012eba3e need a deepCopy for previewColumns
Claus Gittinger <cg@exept.de>
parents: 1012
diff changeset
  2787
    "Modified: / 27.10.1998 / 14:41:41 / cg"
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2788
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2789
1036
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2790
cutOrDelete:isCut
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2791
    "remove selected column and optionally put it to the clipboard"
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2792
1390
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2793
    |idx model|
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2794
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2795
    ((idx := selectedColumnIndex) ~~ 0 and:[self askForItemModification]) ifFalse:[
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2796
        ^ self
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2797
    ].
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2798
    model := self selectedColumnModel.
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2799
    model value:0.
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2800
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2801
    isCut ifTrue:[
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2802
        self clipboard: (columns at: idx)
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2803
    ].
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2804
    columns removeIndex:idx.
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2805
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2806
    self  seqList removeIndex:idx.
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2807
    model value:(idx min:(columns size)).
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2808
    self  updateColumnView.
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2809
    self  updateInputFields.
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2810
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2811
    columns isEmpty ifTrue:[
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2812
        self isColumnSelected value: false
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2813
    ].
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2814
    self cancel.
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2815
    modified := true.
36383f7e61b6 change selection behaviour after delete
ca
parents: 1382
diff changeset
  2816
1036
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2817
!
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2818
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2819
doBrowseRowClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2820
    "browse class of columns spec"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2821
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2822
    |cls|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2823
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2824
    (cls := self resolveRowClass) notNil 
1488
cb1867473e3e UserPreference access
Claus Gittinger <cg@exept.de>
parents: 1465
diff changeset
  2825
        ifTrue: [UserPreferences systemBrowserClass openInClass:cls] 
842
b412ee25ae80 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 831
diff changeset
  2826
        ifFalse:[self information:'No class defined !!']
b412ee25ae80 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 831
diff changeset
  2827
b412ee25ae80 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 831
diff changeset
  2828
    "Modified: / 20.5.1998 / 03:48:04 / cg"
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2829
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2830
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2831
doCopy
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2832
    "copy selected column to the clipboard"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2833
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2834
    |idx|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2835
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2836
    (idx := selectedColumnIndex) ~~ 0 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2837
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2838
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2839
        self clipboard: (columns at: idx) deepCopy
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2840
    ]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2841
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2842
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2843
doCreateColumn
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2844
    "create a new column after selected column or at left (nothing selected)"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2845
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2846
    |label list|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2847
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2848
    list := self seqList.
554
34ceed6455fa numerating labels changed
tz
parents: 550
diff changeset
  2849
    label := 'Column ', (list size + 1) printString.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2850
    columns add:(DataSetColumnSpec label:label selector:nil) afterIndex:selectedColumnIndex.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2851
    self seqList add:label afterIndex:selectedColumnIndex.
1036
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2852
    self valueOfEnablingCommitButtons value ifFalse:[
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2853
        self selectedColumnModel value:selectedColumnIndex + 1
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2854
    ].
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2855
    self cancel.
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2856
    self updateColumnView.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2857
    modified := true.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2858
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2859
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2860
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2861
doCut
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2862
    "remove selected column and put it to the clipboard"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2863
1036
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2864
    self cutOrDelete:true
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2865
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2866
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2867
doDefineRowClass
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2868
    "launch a dialog to define class and superclass"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2869
1382
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2870
    |aspects cls oldClass oldSuper val classNameChannel superclassNameChannel|
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2871
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2872
    aspects  := IdentityDictionary new.
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2873
    oldClass := rowClass.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2874
    oldSuper := rowSuperClass.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2875
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2876
    [true] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2877
    whileTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2878
    [
1382
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2879
        rowClass notNil ifTrue:[
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2880
            (cls := self resolveRowClass) notNil ifTrue:[
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2881
                rowSuperClass := cls superclass name asString
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2882
            ].
1382
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2883
            val := rowClass
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2884
        ] ifFalse:[
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2885
            val := 'DSVRow'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2886
        ].
1382
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2887
        aspects at:#classNameChannel put:(classNameChannel := ValueHolder with:val).
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2888
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2889
        rowSuperClass notNil 
1382
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2890
            ifTrue: [val := rowSuperClass] 
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2891
            ifFalse:[val := 'Object'].
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2892
        aspects at:#superclassNameChannel put:(superclassNameChannel := ValueHolder with:val).
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2893
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2894
        (self openDialogInterface:#defineClassNameSpec withBindings:aspects) 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2895
        ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2896
        [
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2897
            rowClass := oldClass.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2898
            rowSuperClass := oldSuper.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2899
            ^self
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2900
        ].
1382
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2901
        rowClass      := (classNameChannel value)      withoutSeparators.
bf0c6d52d103 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
  2902
        rowSuperClass := (superclassNameChannel value) withoutSeparators.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2903
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2904
        rowClass size == 0 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2905
        ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2906
        [
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2907
            rowClass := nil.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2908
            self information:'no valid className'
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2909
        ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2910
        ifFalse: 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2911
        [
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2912
            cls := self resolveRowClass.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2913
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2914
            cls notNil ifTrue:[cls := cls superclass name asString].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2915
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2916
            rowSuperClass size == 0 
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2917
            ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2918
            [        
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2919
                cls notNil ifTrue:[
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2920
                    rowSuperClass := cls
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2921
                ] ifFalse:[
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2922
                    rowSuperClass := 'Object'
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2923
                ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2924
                self information: 'set superclassName'
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2925
            ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2926
            ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2927
            [
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2928
                (cls isNil or:[rowSuperClass = cls]) ifTrue:[^self].
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2929
                self information:('A global named ' , rowClass , ' exists,\' ,
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2930
                                  'but is not a subclass of ' , rowSuperClass, '.\\' ,
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2931
                                  'Check and try again if that is not what you want.') withCRs.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2932
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2933
                rowSuperClass := cls
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2934
            ]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2935
        ]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2936
    ]
846
c028ad61ac0e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 842
diff changeset
  2937
c028ad61ac0e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 842
diff changeset
  2938
    "Modified: / 21.5.1998 / 03:08:42 / cg"
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2939
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2940
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2941
doDelete
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2942
    "remove selected column and put it to the clipboard"
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2943
1036
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2944
    self cutOrDelete:false
26ebad245428 fix name entry (did not enable ok-button)
Claus Gittinger <cg@exept.de>
parents: 1033
diff changeset
  2945
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2946
!
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  2947
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2948
doGenerateCode
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2949
    "generate code for column values"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2950
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2951
    |cls superclass|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2952
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2953
    rowClass isNil ifTrue:[^self information:'No class defined!!'].
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2954
    cls := self resolveRowClass.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2955
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2956
    cls isNil 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2957
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2958
    [
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2959
        superclass := Smalltalk resolveName:rowSuperClass inClass:self class.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2960
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2961
        superclass isNil ifTrue:[^self information:'No superclass defined!!'].
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2962
        (self confirm:'create ' , rowClass , ' ?') ifFalse:[^self].
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  2963
        cls := superclass subclass:rowClass asSymbol
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2964
                     instanceVariableNames:''
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2965
                     classVariableNames:''
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2966
                     poolDictionaries:''
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2967
                     category:'Applications'.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2968
    ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2969
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2970
    self generateChoicesIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2971
    self generateMenuIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2972
    self generatePrintSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2973
    self generateReadSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2974
    self generateBackgroundSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2975
    self generateForegroundSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2976
    self generateSelectSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2977
    self generateWriteSelectorIn:cls.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2978
    self generateDoubleClickSelectorIn:cls.
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  2979
    self generateRowSeparatorSelectorIn:cls.
1009
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2980
    self generateShowComboFieldSelectorIn:cls.
b153d1426731 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1004
diff changeset
  2981
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2982
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2983
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2984
doMoveColumn:upOrDown
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2985
    "move selected column up or down"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2986
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2987
    |idx list label col size|
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2988
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2989
    (idx := selectedColumnIndex) == 0 ifTrue:[^self].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2990
    list := self seqList.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2991
    size := list size.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2992
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2993
    size == 1 ifTrue:[^self].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2994
    selectedColumnIndex := 0.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2995
    label := list at:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2996
    col   := columns at:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2997
    list    removeIndex:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2998
    columns removeIndex:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  2999
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3000
    upOrDown == #up 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3001
    ifTrue:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3002
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3003
        idx == 1 ifTrue:[idx := size]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3004
                ifFalse:[idx := idx - 1]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3005
    ] 
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3006
    ifFalse:
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3007
    [
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3008
        idx == size ifTrue:[idx := 1]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3009
                   ifFalse:[idx := idx + 1]
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3010
    ].
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3011
    columns add:col   beforeIndex:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3012
    list    add:label beforeIndex:idx.  
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3013
    self selectedColumnModel value:idx.
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3014
    self updateColumnView.
856
cb620acf3397 set modified flag after moving up or down a column
tz
parents: 846
diff changeset
  3015
    modified := true.
cb620acf3397 set modified flag after moving up or down a column
tz
parents: 846
diff changeset
  3016
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3017
!
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3018
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  3019
doPaste
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3020
    "paste clipboard copy column after selected column or at left (nothing selected)"
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3021
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3022
    |col lbl|
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3023
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  3024
    self askForItemModification ifFalse: [^nil].
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3025
    col := self class clipboard deepCopy.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3026
    lbl := self labelFromColumn:col.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3027
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3028
    columns add:col afterIndex:selectedColumnIndex.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3029
    self seqList add:lbl afterIndex:selectedColumnIndex.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3030
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3031
    self valueOfEnablingCommitButtons value ifFalse:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3032
        self selectedColumnModel value:selectedColumnIndex + 1
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3033
    ].
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3034
    self updateColumnView.
556
914a2f26aa72 isModified is obselete
tz
parents: 555
diff changeset
  3035
    self updateInputFields.
825
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  3036
    modified := true.
89719cf96c63 revised for superclass ResourceSpecEditor
tz
parents: 818
diff changeset
  3037
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3038
!
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3039
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3040
doPickColumns
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3041
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3042
    |view cls|
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3043
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3044
    view := Screen current viewFromUser.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3045
    cls  := view class.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3046
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3047
    (cls == DSVColumnView or:[cls == DataSetView or:[cls == DSVLabelView]]) ifTrue:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3048
        self columns:(view columnView columnDescriptors)
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3049
    ]
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3050
!
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3051
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3052
doSave
1144
480d64f9ad81 removed unused local
Claus Gittinger <cg@exept.de>
parents: 1105
diff changeset
  3053
    |cls dst spc category mthd excla code resourceType|
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3054
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3055
    (columns size ~~ 0 and:[super doSave]) ifFalse:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3056
        ^ nil
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3057
    ].
983
286a039ea7d1 add more functionality
ca
parents: 949
diff changeset
  3058
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3059
    cls := self resolveName:specClass.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3060
    dst := columns collect:[:aCol| aCol literalArrayEncoding ].
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3061
    spc := WriteStream on:String new.
1105
a19cdc769750 stupid code-generation from Thomas fixed.
Claus Gittinger <cg@exept.de>
parents: 1073
diff changeset
  3062
    spc nextPutAll:'    ^'.
818
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3063
    UISpecification prettyPrintSpecArray:dst asArray on:spc indent:4.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3064
    spc := spc contents.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3065
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3066
    "/ if that method already exists, do not overwrite the category
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3067
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3068
    resourceType := self class resourceType.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3069
    category     := resourceType, ' specs'.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3070
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3071
    (mthd := cls class compiledMethodAt:specSelector) notNil ifTrue:[
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3072
        category := mthd category.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3073
    ].
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3074
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3075
    excla := Character excla asString.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3076
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3077
    code := excla
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3078
            , (cls name , ' class methodsFor:' , category storeString)
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3079
            , excla , '\\'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3080
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3081
            , specSelector , '\'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3082
            , (self class codeGenerationComment replChar:$!! withString:'!!!!')
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3083
            , '\\    "\'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3084
            , ('     DataSetBuilder new openOnClass:' , cls name , ' andSelector:#' , specSelector , '\')
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3085
            , '    "\'.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3086
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3087
    code := code 
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3088
            , '\'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3089
            , '    <resource: #', resourceType, '>\\'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3090
            , spc
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3091
            , '\'
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3092
            , (excla , ' ' , excla)
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3093
            , '\\'.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3094
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3095
    code := code withCRs.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3096
    (ReadStream on:code) fileIn.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3097
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3098
"/    self isStandAlone ifTrue: [self helpTool installHelpSpecsOnClass:self specClass].
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3099
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3100
    self updateHistory.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3101
    self updateInfoLabel.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3102
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3103
    hasSaved := true.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3104
    modified := false.
5bd68980f09a support standAlone mode
ca
parents: 817
diff changeset
  3105
1619
3f0c7e425d93 *** empty log message ***
ca
parents: 1597
diff changeset
  3106
!
3f0c7e425d93 *** empty log message ***
ca
parents: 1597
diff changeset
  3107
3f0c7e425d93 *** empty log message ***
ca
parents: 1597
diff changeset
  3108
openDocumentation
3f0c7e425d93 *** empty log message ***
ca
parents: 1597
diff changeset
  3109
   self openHTMLDocument:'tools/uipainter/DataSetBuilder.html'.
419
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3110
! !
34cc530118c6 I hope this one runs
tz
parents: 417
diff changeset
  3111
1004
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3112
!DataSetBuilder::Row methodsFor:'accessing'!
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3113
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3114
choices
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3115
    ^ #( 'foo' 'bar' 'baz' )
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3116
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3117
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3118
! !
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3119
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3120
!DataSetBuilder::Row methodsFor:'message handling'!
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3121
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3122
doesNotUnderstand:aMessage
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3123
    "does not understand message; delegate to column view
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3124
    "
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3125
    ^ nil
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3126
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3127
! !
b7bfaa2d6ecd fix code generation
Claus Gittinger <cg@exept.de>
parents: 983
diff changeset
  3128
332
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  3129
!DataSetBuilder class methodsFor:'documentation'!
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  3130
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  3131
version
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  3132
    ^ '$Header$'
b895330fc7aa intitial checkin
ca
parents:
diff changeset
  3133
! !