UISelectionPanel.st
author Claus Gittinger <cg@exept.de>
Fri, 30 Jan 1998 15:19:38 +0100
changeset 536 3991e37ec19f
parent 531 ca500f8698eb
child 598 fba415c8cf52
permissions -rw-r--r--
pass special dictionary as bindings-environmnt (passing the builder)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
     1
"
182
ca
parents: 167
diff changeset
     2
 COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG
ca
parents: 167
diff changeset
     3
              All Rights Reserved
ca
parents: 167
diff changeset
     4
ca
parents: 167
diff changeset
     5
 This software is furnished under a license and may be used
ca
parents: 167
diff changeset
     6
 only in accordance with the terms of that license and with the
ca
parents: 167
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
ca
parents: 167
diff changeset
     8
 be provided or otherwise made available to, or used by, any
ca
parents: 167
diff changeset
     9
 other person.  No title to or ownership of the software is
ca
parents: 167
diff changeset
    10
 hereby transferred.
ca
parents: 167
diff changeset
    11
"
ca
parents: 167
diff changeset
    12
ca
parents: 167
diff changeset
    13
ca
parents: 167
diff changeset
    14
ca
parents: 167
diff changeset
    15
ApplicationModel subclass:#UISelectionPanel
ca
parents: 167
diff changeset
    16
	instanceVariableNames:'userClass userSpecs userLabels majorSelection clipBoardSpec'
ca
parents: 167
diff changeset
    17
	classVariableNames:'UserClass UserSpecs UserLabels'
ca
parents: 167
diff changeset
    18
	poolDictionaries:''
ca
parents: 167
diff changeset
    19
	category:'Interface-UIPainter'
ca
parents: 167
diff changeset
    20
!
ca
parents: 167
diff changeset
    21
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
    22
Object subclass:#UserDefinedGallery
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    23
	instanceVariableNames:''
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
    24
	classVariableNames:'LabelList SelectorList HolderList NextUniqueNumber'
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    25
	poolDictionaries:''
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    26
	privateIn:UISelectionPanel
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    27
!
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    28
182
ca
parents: 167
diff changeset
    29
!UISelectionPanel class methodsFor:'documentation'!
ca
parents: 167
diff changeset
    30
ca
parents: 167
diff changeset
    31
copyright
ca
parents: 167
diff changeset
    32
"
ca
parents: 167
diff changeset
    33
 COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    34
              All Rights Reserved
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    35
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    36
 This software is furnished under a license and may be used
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    37
 only in accordance with the terms of that license and with the
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    38
 inclusion of the above copyright notice.   This software may not
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    39
 be provided or otherwise made available to, or used by, any
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    40
 other person.  No title to or ownership of the software is
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    41
 hereby transferred.
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    42
"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    43
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    44
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    45
!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    46
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    47
documentation
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    48
"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    49
    implements a selection panel, keeping widgets which could be placed
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    50
    into the UIPainter by drag & drop.
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    51
182
ca
parents: 167
diff changeset
    52
    [start with:]
ca
parents: 167
diff changeset
    53
        UISelectionPanel open
ca
parents: 167
diff changeset
    54
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    55
    [author:]
182
ca
parents: 167
diff changeset
    56
        Claus Gittinger
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    57
        Claus Atzkern
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    58
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    59
    [see also:]
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    60
        TabView
182
ca
parents: 167
diff changeset
    61
        NoteBookView
ca
parents: 167
diff changeset
    62
        UIGalleryView
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    63
        UIPainter
104
da9db8500b67 update:
ca
parents: 98
diff changeset
    64
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    65
"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    66
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    67
! !
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    68
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    69
!UISelectionPanel class methodsFor:'initialization'!
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    70
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    71
initialize
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    72
    super initialize.
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
    73
    UserClass  := UISelectionPanel::UserDefinedGallery.
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    74
    UserSpecs  := #listOfSelectors.
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    75
    UserLabels := #listOfLabels.
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
    76
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
    77
    "Modified: / 8.12.1997 / 18:53:06 / cg"
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    78
! !
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    79
182
ca
parents: 167
diff changeset
    80
!UISelectionPanel class methodsFor:'accessing'!
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    81
182
ca
parents: 167
diff changeset
    82
specifications
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
    83
182
ca
parents: 167
diff changeset
    84
    ^ #(
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    85
        #( 'Standards'  #( 
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    86
                            #('Button & Toggle'         standardButtonToggle)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    87
                            #('Menus'                   standardMenus)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    88
                            #('Panel'                   standardPanels)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    89
                            #('Text'                    standardText)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
    90
                            #('Lists'                   standartLists)
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    91
                            #('Views'                   standardViews)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    92
                            #('Canvas'                  standardCanvas)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    93
                            #('Sliders'                 standardSliders)
182
ca
parents: 167
diff changeset
    94
                         )
ca
parents: 167
diff changeset
    95
         )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    96
182
ca
parents: 167
diff changeset
    97
        #( 'Clip Board'  #(
ca
parents: 167
diff changeset
    98
                            #('Copy & Paste Buffer'     clipBoardSpec)
ca
parents: 167
diff changeset
    99
                          )
ca
parents: 167
diff changeset
   100
         )
135
8f4b6117ccaa new withDefault
ca
parents: 125
diff changeset
   101
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   102
        #( 'User Def.'   #userDefined )
182
ca
parents: 167
diff changeset
   103
     )
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   104
!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   105
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   106
userClass
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   107
    "return the class which provides the user defined gallery specs."
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   108
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   109
    ^ UserClass
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   110
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   111
    "Created: / 5.12.1997 / 15:12:50 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   112
!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   113
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   114
userClass:aClass specSelector:aSpecAccessSelector labelSelector:aLabelListAccessSelector
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   115
    "change the class which provides the user defined gallery specs."
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   116
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   117
    UserClass := aClass.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   118
    UserSpecs := aSpecAccessSelector.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   119
    UserLabels := aLabelListAccessSelector.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   120
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   121
    "
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   122
     UISelectionPanel 
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   123
        userClass:UISelectionPanel::VariableUserDefinedGallery
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   124
        specSelector:#listOfSelectors
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   125
        labelSelector:#listOfLabels
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   126
    "
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   127
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   128
    "Modified: / 5.12.1997 / 13:54:47 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
   129
    "Created: / 5.12.1997 / 13:56:10 / cg"
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   130
! !
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   131
182
ca
parents: 167
diff changeset
   132
!UISelectionPanel class methodsFor:'interface specification'!
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   133
182
ca
parents: 167
diff changeset
   134
nameAndSelectorSpec
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   135
    "this window spec was automatically generated by the ST/X UIPainter"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   136
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   137
    "do not manually edit this - the painter/builder may not be able to
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   138
     handle the specification if its corrupted."
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   139
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   140
    "
182
ca
parents: 167
diff changeset
   141
     UIPainter new openOnClass:UISelectionPanel andSelector:#nameAndSelectorSpec
ca
parents: 167
diff changeset
   142
     UISelectionPanel new openInterface:#nameAndSelectorSpec
ca
parents: 167
diff changeset
   143
    "
ca
parents: 167
diff changeset
   144
ca
parents: 167
diff changeset
   145
    <resource: #canvas>
ca
parents: 167
diff changeset
   146
ca
parents: 167
diff changeset
   147
    ^
ca
parents: 167
diff changeset
   148
     
ca
parents: 167
diff changeset
   149
       #(#FullSpec
ca
parents: 167
diff changeset
   150
          #'window:' 
ca
parents: 167
diff changeset
   151
           #(#WindowSpec
ca
parents: 167
diff changeset
   152
              #'name:' 'uIPainterView'
ca
parents: 167
diff changeset
   153
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
ca
parents: 167
diff changeset
   154
              #'label:' 'Painter'
ca
parents: 167
diff changeset
   155
              #'bounds:' #(#Rectangle 0 0 315 216)
ca
parents: 167
diff changeset
   156
          )
ca
parents: 167
diff changeset
   157
          #'component:' 
ca
parents: 167
diff changeset
   158
           #(#SpecCollection
ca
parents: 167
diff changeset
   159
              #'collection:' 
ca
parents: 167
diff changeset
   160
               #(
ca
parents: 167
diff changeset
   161
                 #(#LabelSpec
ca
parents: 167
diff changeset
   162
                    #'name:' 'title'
ca
parents: 167
diff changeset
   163
                    #'layout:' #(#Point 5 10)
ca
parents: 167
diff changeset
   164
                    #'label:' 'class & selectors to access user specs:'
ca
parents: 167
diff changeset
   165
                    #'adjust:' #left
ca
parents: 167
diff changeset
   166
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   167
                )
ca
parents: 167
diff changeset
   168
                 #(#LabelSpec
ca
parents: 167
diff changeset
   169
                    #'name:' 'classLabel'
ca
parents: 167
diff changeset
   170
                    #'layout:' #(#AlignmentOrigin 68 0.11 51 0 1 0.5)
ca
parents: 167
diff changeset
   171
                    #'label:' 'Class:'
ca
parents: 167
diff changeset
   172
                    #'adjust:' #right
ca
parents: 167
diff changeset
   173
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   174
                )
ca
parents: 167
diff changeset
   175
                 #(#InputFieldSpec
ca
parents: 167
diff changeset
   176
                    #'name:' 'classField'
ca
parents: 167
diff changeset
   177
                    #'layout:' #(#LayoutFrame 74 0.11 39 0 -5 1.0 61 0)
ca
parents: 167
diff changeset
   178
                    #'tabable:' true
ca
parents: 167
diff changeset
   179
                    #'model:' #className
ca
parents: 167
diff changeset
   180
                    #'type:' #string
ca
parents: 167
diff changeset
   181
                )
ca
parents: 167
diff changeset
   182
                 #(#LabelSpec
ca
parents: 167
diff changeset
   183
                    #'name:' 'labelsLabel'
ca
parents: 167
diff changeset
   184
                    #'layout:' #(#AlignmentOrigin 68 0.11 74 0 1 0.5)
ca
parents: 167
diff changeset
   185
                    #'label:' 'Labels:'
ca
parents: 167
diff changeset
   186
                    #'adjust:' #right
ca
parents: 167
diff changeset
   187
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   188
                )
ca
parents: 167
diff changeset
   189
                 #(#InputFieldSpec
ca
parents: 167
diff changeset
   190
                    #'name:' 'labelsField'
ca
parents: 167
diff changeset
   191
                    #'layout:' #(#LayoutFrame 74 0.11 64 0 -5 1.0 86 0)
ca
parents: 167
diff changeset
   192
                    #'tabable:' true
ca
parents: 167
diff changeset
   193
                    #'model:' #labelsKey
ca
parents: 167
diff changeset
   194
                    #'type:' #symbolOrNil
ca
parents: 167
diff changeset
   195
                )
ca
parents: 167
diff changeset
   196
                 #(#LabelSpec
ca
parents: 167
diff changeset
   197
                    #'name:' 'specsLabel'
ca
parents: 167
diff changeset
   198
                    #'layout:' #(#AlignmentOrigin 68 0.11 99 0 1 0.5)
ca
parents: 167
diff changeset
   199
                    #'label:' 'Specifications:'
ca
parents: 167
diff changeset
   200
                    #'adjust:' #right
ca
parents: 167
diff changeset
   201
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   202
                )
ca
parents: 167
diff changeset
   203
                 #(#InputFieldSpec
ca
parents: 167
diff changeset
   204
                    #'name:' 'specsField'
ca
parents: 167
diff changeset
   205
                    #'layout:' #(#LayoutFrame 74 0.11 89 0 -5 1.0 111 0)
ca
parents: 167
diff changeset
   206
                    #'tabable:' true
ca
parents: 167
diff changeset
   207
                    #'model:' #specsKey
ca
parents: 167
diff changeset
   208
                    #'type:' #symbolOrNil
ca
parents: 167
diff changeset
   209
                )
ca
parents: 167
diff changeset
   210
                 #(#HorizontalPanelViewSpec
ca
parents: 167
diff changeset
   211
                    #'name:' 'commitPanel'
ca
parents: 167
diff changeset
   212
                    #'layout:' #(#LayoutFrame 0 0.0 -23 1.0 0 1.0 0 1.0)
ca
parents: 167
diff changeset
   213
                    #'component:' 
ca
parents: 167
diff changeset
   214
                     #(#SpecCollection
ca
parents: 167
diff changeset
   215
                        #'collection:' 
ca
parents: 167
diff changeset
   216
                         #(
ca
parents: 167
diff changeset
   217
                           #(#ActionButtonSpec
ca
parents: 167
diff changeset
   218
                              #'name:' 'cancel'
ca
parents: 167
diff changeset
   219
                              #'label:' 'cancel'
ca
parents: 167
diff changeset
   220
                              #'tabable:' true
ca
parents: 167
diff changeset
   221
                              #'model:' #cancel
ca
parents: 167
diff changeset
   222
                              #'extent:' #(#Point 153 23)
ca
parents: 167
diff changeset
   223
                          )
ca
parents: 167
diff changeset
   224
                           #(#ActionButtonSpec
ca
parents: 167
diff changeset
   225
                              #'name:' 'accept'
ca
parents: 167
diff changeset
   226
                              #'label:' 'ok'
ca
parents: 167
diff changeset
   227
                              #'tabable:' true
ca
parents: 167
diff changeset
   228
                              #'isDefault:' true
ca
parents: 167
diff changeset
   229
                              #'model:' #accept
ca
parents: 167
diff changeset
   230
                              #'extent:' #(#Point 153 23)
ca
parents: 167
diff changeset
   231
                          )
ca
parents: 167
diff changeset
   232
                        )
ca
parents: 167
diff changeset
   233
                    )
ca
parents: 167
diff changeset
   234
                    #'horizontalLayout:' #fitSpace
ca
parents: 167
diff changeset
   235
                    #'verticalLayout:' #fit
ca
parents: 167
diff changeset
   236
                    #'horizontalSpace:' 3
ca
parents: 167
diff changeset
   237
                    #'verticalSpace:' 3
ca
parents: 167
diff changeset
   238
                )
ca
parents: 167
diff changeset
   239
                 #(#CheckBoxSpec
ca
parents: 167
diff changeset
   240
                    #'name:' 'updateDefaultResources'
ca
parents: 167
diff changeset
   241
                    #'layout:' #(#Point 5 133)
ca
parents: 167
diff changeset
   242
                    #'model:' #updateDefaultResources
ca
parents: 167
diff changeset
   243
                    #'label:' 'Update Default Resources'
ca
parents: 167
diff changeset
   244
                )
ca
parents: 167
diff changeset
   245
              )
ca
parents: 167
diff changeset
   246
          )
ca
parents: 167
diff changeset
   247
      )
ca
parents: 167
diff changeset
   248
!
ca
parents: 167
diff changeset
   249
ca
parents: 167
diff changeset
   250
windowSpec
ca
parents: 167
diff changeset
   251
    "this window spec was automatically generated by the ST/X UIPainter"
ca
parents: 167
diff changeset
   252
ca
parents: 167
diff changeset
   253
    "do not manually edit this - the painter/builder may not be able to
ca
parents: 167
diff changeset
   254
     handle the specification if its corrupted."
ca
parents: 167
diff changeset
   255
ca
parents: 167
diff changeset
   256
    "
ca
parents: 167
diff changeset
   257
     UIPainter new openOnClass:UISelectionPanel andSelector:#windowSpec
ca
parents: 167
diff changeset
   258
     UISelectionPanel new openInterface:#windowSpec
ca
parents: 167
diff changeset
   259
    "
ca
parents: 167
diff changeset
   260
    "UISelectionPanel open"
ca
parents: 167
diff changeset
   261
ca
parents: 167
diff changeset
   262
    <resource: #canvas>
ca
parents: 167
diff changeset
   263
ca
parents: 167
diff changeset
   264
    ^
ca
parents: 167
diff changeset
   265
     
ca
parents: 167
diff changeset
   266
       #(#FullSpec
ca
parents: 167
diff changeset
   267
          #'window:' 
ca
parents: 167
diff changeset
   268
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   269
              #'name:' 'Component Gallery'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   270
              #'layout:' #(#LayoutFrame 78 0 70 0 598 0 352 0)
182
ca
parents: 167
diff changeset
   271
              #'label:' 'Component Gallery'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   272
              #'min:' #(#Point 100 280)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   273
              #'max:' #(#Point 1160 870)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   274
              #'bounds:' #(#Rectangle 78 70 599 353)
182
ca
parents: 167
diff changeset
   275
          )
ca
parents: 167
diff changeset
   276
          #'component:' 
ca
parents: 167
diff changeset
   277
           #(#SpecCollection
ca
parents: 167
diff changeset
   278
              #'collection:' 
ca
parents: 167
diff changeset
   279
               #(
ca
parents: 167
diff changeset
   280
                 #(#UIGalleryViewSpec
ca
parents: 167
diff changeset
   281
                    #'name:' 'gallery'
ca
parents: 167
diff changeset
   282
                    #'layout:' #(#LayoutFrame 0 0.0 0 0.0 -40 1.0 0 1.0)
ca
parents: 167
diff changeset
   283
                    #'tabable:' true
ca
parents: 167
diff changeset
   284
                    #'menu:' #galleryList
ca
parents: 167
diff changeset
   285
                    #'style:' 
ca
parents: 167
diff changeset
   286
                     #(#FontDescription
ca
parents: 167
diff changeset
   287
                        #helvetica #medium
ca
parents: 167
diff changeset
   288
                        #roman #'10'
ca
parents: 167
diff changeset
   289
                    )
ca
parents: 167
diff changeset
   290
                    #'model:' #galleryModel
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   291
                    #'useIndex:' true
182
ca
parents: 167
diff changeset
   292
                    #'minorKeys:' #minorKeys
ca
parents: 167
diff changeset
   293
                    #'clientSpec:' #clientSpec
ca
parents: 167
diff changeset
   294
                    #'raiseMenu:' #raiseMenu
ca
parents: 167
diff changeset
   295
                )
ca
parents: 167
diff changeset
   296
                 #(#TabViewSpec
ca
parents: 167
diff changeset
   297
                    #'name:' 'major'
ca
parents: 167
diff changeset
   298
                    #'layout:' #(#LayoutFrame -40 1.0 30 0.0 0 1.0 0 1.0)
ca
parents: 167
diff changeset
   299
                    #'menu:' #majorList
ca
parents: 167
diff changeset
   300
                    #'style:' 
ca
parents: 167
diff changeset
   301
                     #(#FontDescription
ca
parents: 167
diff changeset
   302
                        #helvetica #medium
ca
parents: 167
diff changeset
   303
                        #roman #'10'
ca
parents: 167
diff changeset
   304
                    )
ca
parents: 167
diff changeset
   305
                    #'model:' #majorChannel
ca
parents: 167
diff changeset
   306
                    #'direction:' #right
ca
parents: 167
diff changeset
   307
                    #'useIndex:' true
ca
parents: 167
diff changeset
   308
                )
ca
parents: 167
diff changeset
   309
              )
ca
parents: 167
diff changeset
   310
          )
ca
parents: 167
diff changeset
   311
      )
ca
parents: 167
diff changeset
   312
! !
ca
parents: 167
diff changeset
   313
ca
parents: 167
diff changeset
   314
!UISelectionPanel class methodsFor:'menus'!
ca
parents: 167
diff changeset
   315
ca
parents: 167
diff changeset
   316
menuSelected
359
6193ef5b6e74 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 355
diff changeset
   317
6193ef5b6e74 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 355
diff changeset
   318
    <resource: #menu>
6193ef5b6e74 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 355
diff changeset
   319
182
ca
parents: 167
diff changeset
   320
    ^ #(#Menu #(
ca
parents: 167
diff changeset
   321
                #(#MenuItem
ca
parents: 167
diff changeset
   322
                        #'label:' 'copy'
ca
parents: 167
diff changeset
   323
                        #'value:' #copy
ca
parents: 167
diff changeset
   324
                 )
ca
parents: 167
diff changeset
   325
                #(#MenuItem
ca
parents: 167
diff changeset
   326
                        #'label:' 'cut'
ca
parents: 167
diff changeset
   327
                        #'value:' #cut
ca
parents: 167
diff changeset
   328
                 )
ca
parents: 167
diff changeset
   329
                )
ca
parents: 167
diff changeset
   330
               nil
ca
parents: 167
diff changeset
   331
               nil
ca
parents: 167
diff changeset
   332
        )
ca
parents: 167
diff changeset
   333
359
6193ef5b6e74 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 355
diff changeset
   334
    "Modified: / 29.10.1997 / 03:20:30 / cg"
182
ca
parents: 167
diff changeset
   335
!
ca
parents: 167
diff changeset
   336
ca
parents: 167
diff changeset
   337
menuUnselected
359
6193ef5b6e74 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 355
diff changeset
   338
    <resource: #menu>
6193ef5b6e74 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 355
diff changeset
   339
182
ca
parents: 167
diff changeset
   340
    ^ #(#Menu #(
ca
parents: 167
diff changeset
   341
                #(#MenuItem
ca
parents: 167
diff changeset
   342
                        #'label:' 'paste'
ca
parents: 167
diff changeset
   343
                        #'value:' #paste
ca
parents: 167
diff changeset
   344
                 )
ca
parents: 167
diff changeset
   345
                )
ca
parents: 167
diff changeset
   346
               nil
ca
parents: 167
diff changeset
   347
               nil
ca
parents: 167
diff changeset
   348
        )
ca
parents: 167
diff changeset
   349
359
6193ef5b6e74 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 355
diff changeset
   350
    "Modified: / 29.10.1997 / 03:20:38 / cg"
182
ca
parents: 167
diff changeset
   351
! !
ca
parents: 167
diff changeset
   352
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   353
!UISelectionPanel class methodsFor:'standard specifications'!
182
ca
parents: 167
diff changeset
   354
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   355
standardButtonToggle
182
ca
parents: 167
diff changeset
   356
    "this window spec was automatically generated by the ST/X UIPainter"
ca
parents: 167
diff changeset
   357
ca
parents: 167
diff changeset
   358
    "do not manually edit this - the painter/builder may not be able to
ca
parents: 167
diff changeset
   359
     handle the specification if its corrupted."
ca
parents: 167
diff changeset
   360
ca
parents: 167
diff changeset
   361
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   362
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardButtonToggle
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   363
     UISelectionPanel new openInterface:#standardButtonToggle
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   364
    "
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   365
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   366
    <resource: #canvas>
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   367
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   368
    ^
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
   369
     
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   370
       #(#FullSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   371
          #'window:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   372
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   373
              #'name:' 'Buttons'
531
ca500f8698eb added ModelButton
Claus Gittinger <cg@exept.de>
parents: 397
diff changeset
   374
              #'layout:' #(#LayoutFrame 74 0 56 0 552 0 255 0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   375
              #'label:' 'Buttons'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   376
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   377
              #'max:' #(#Point 1280 1024)
531
ca500f8698eb added ModelButton
Claus Gittinger <cg@exept.de>
parents: 397
diff changeset
   378
              #'bounds:' #(#Rectangle 74 56 553 256)
ca500f8698eb added ModelButton
Claus Gittinger <cg@exept.de>
parents: 397
diff changeset
   379
              #'usePreferredExtent:' false
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   380
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   381
          #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   382
           #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   383
              #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   384
               #(
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   385
                 #(#ArrowButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   386
                    #'name:' 'ArrowButton up'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   387
                    #'layout:' #(#LayoutFrame 276 0 15 0 298 0 37 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   388
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   389
                    #'direction:' #up
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   390
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   391
                 #(#ActionButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   392
                    #'name:' 'Button'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   393
                    #'layout:' #(#LayoutFrame 20 0 15 0 119 0 37 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   394
                    #'label:' 'Button'
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   395
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   396
                 #(#RadioButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   397
                    #'name:' 'RadioButton'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   398
                    #'layout:' #(#LayoutFrame 135 0.0 15 0 258 0 37 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   399
                    #'label:' 'RadioButton'
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   400
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   401
                    #'showLamp:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   402
                    #'lampColor:' #(#Color 100.0 100.0 0.0)
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   403
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   404
                 #(#ArrowButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   405
                    #'name:' 'ArrowButton down'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   406
                    #'layout:' #(#LayoutFrame 276 0 46 0 298 0 68 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   407
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   408
                    #'direction:' #down
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   409
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   410
                 #(#ArrowButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   411
                    #'name:' 'ArrowButton left'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   412
                    #'layout:' #(#LayoutFrame 276 0 77 0 298 0 99 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   413
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   414
                    #'direction:' #left
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   415
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   416
                 #(#ArrowButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   417
                    #'name:' 'ArrowButton right'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   418
                    #'layout:' #(#LayoutFrame 276 0 108 0 298 0 130 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   419
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   420
                    #'direction:' #right
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   421
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   422
                 #(#CheckToggleSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   423
                    #'name:' 'CheckToggle'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   424
                    #'layout:' #(#LayoutFrame 317 0 77 0 337 0 97 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   425
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   426
                    #'showLamp:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   427
                    #'lampColor:' #(#Color 100.0 100.0 0.0)
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   428
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   429
                 #(#ToggleSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   430
                    #'name:' 'Toggle'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   431
                    #'layout:' #(#LayoutFrame 317 0 15 0 436 0 37 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   432
                    #'label:' 'Toggle'
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   433
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   434
                    #'showLamp:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   435
                    #'lampColor:' #(#Color 100.0 100.0 0.0)
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   436
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   437
                 #(#CheckBoxSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   438
                    #'name:' 'CheckBox'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   439
                    #'layout:' #(#LayoutFrame 317 0 46 0 436 0 68 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   440
                    #'label:' 'CheckBox'
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   441
                )
105
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   442
                 #(#ActionButtonSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   443
                    #'name:' 'Button - ok'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   444
                    #'layout:' #(#LayoutFrame 20 0 46 0 119 0 68 0)
105
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   445
                    #'label:' 'ok'
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   446
                    #'model:' #accept
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   447
                )
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   448
                 #(#ActionButtonSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   449
                    #'name:' 'Button - cancel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   450
                    #'layout:' #(#LayoutFrame 20 0 77 0 119 0 99 0)
105
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   451
                    #'label:' 'cancel'
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   452
                    #'model:' #cancel
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   453
                )
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   454
                 #(#ActionButtonSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   455
                    #'name:' 'Button - help'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   456
                    #'layout:' #(#LayoutFrame 20 0 108 0 119 0 130 0)
105
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   457
                    #'label:' 'help'
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   458
                    #'model:' #help
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   459
                )
323
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   460
                 #(#ActionButtonSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   461
                    #'name:' 'Button - close'
323
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   462
                    #'layout:' #(#LayoutFrame 20 0 139 0 119 0 161 0)
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   463
                    #'label:' 'dismiss'
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   464
                    #'model:' #closeRequest
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   465
                )
531
ca500f8698eb added ModelButton
Claus Gittinger <cg@exept.de>
parents: 397
diff changeset
   466
                 #(#ButtonSpec
ca500f8698eb added ModelButton
Claus Gittinger <cg@exept.de>
parents: 397
diff changeset
   467
                    #'name:' 'ModelButton'
ca500f8698eb added ModelButton
Claus Gittinger <cg@exept.de>
parents: 397
diff changeset
   468
                    #'layout:' #(#LayoutFrame 135 0 139 0 234 0 161 0)
ca500f8698eb added ModelButton
Claus Gittinger <cg@exept.de>
parents: 397
diff changeset
   469
                    #'label:' 'ModelButton'
ca500f8698eb added ModelButton
Claus Gittinger <cg@exept.de>
parents: 397
diff changeset
   470
                )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   471
              )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   472
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   473
      )
323
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   474
531
ca500f8698eb added ModelButton
Claus Gittinger <cg@exept.de>
parents: 397
diff changeset
   475
    "Modified: / 30.1.1998 / 04:35:59 / cg"
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   476
!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   477
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   478
standardCanvas
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   479
    "this window spec was automatically generated by the ST/X UIPainter"
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   480
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   481
    "do not manually edit this - the painter/builder may not be able to
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   482
     handle the specification if its corrupted."
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   483
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   484
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   485
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardCanvas
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   486
     UISelectionPanel new openInterface:#standardCanvas
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   487
    "
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   488
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   489
    <resource: #canvas>
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   490
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   491
    ^
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   492
     
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   493
       #(#FullSpec
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   494
          #'window:' 
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   495
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   496
              #'name:' 'Canvas'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   497
              #'layout:' #(#LayoutFrame 62 0 64 0 516 0 292 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   498
              #'label:' 'Canvas'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   499
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   500
              #'max:' #(#Point 1160 870)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   501
              #'bounds:' #(#Rectangle 62 64 517 293)
182
ca
parents: 167
diff changeset
   502
          )
ca
parents: 167
diff changeset
   503
          #'component:' 
ca
parents: 167
diff changeset
   504
           #(#SpecCollection
ca
parents: 167
diff changeset
   505
              #'collection:' 
ca
parents: 167
diff changeset
   506
               #(
ca
parents: 167
diff changeset
   507
                 #(#UIGalleryViewSpec
ca
parents: 167
diff changeset
   508
                    #'name:' 'Gallery'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   509
                    #'layout:' #(#LayoutFrame 20 0 15 0 197 0 106 0)
182
ca
parents: 167
diff changeset
   510
                )
ca
parents: 167
diff changeset
   511
                 #(#LabelSpec
ca
parents: 167
diff changeset
   512
                    #'name:' 'GalleryLabel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   513
                    #'layout:' #(#Point 24 84)
182
ca
parents: 167
diff changeset
   514
                    #'label:' 'Gallery'
ca
parents: 167
diff changeset
   515
                    #'style:' 
ca
parents: 167
diff changeset
   516
                     #(#FontDescription
ca
parents: 167
diff changeset
   517
                        #helvetica #medium
ca
parents: 167
diff changeset
   518
                        #roman #'10'
ca
parents: 167
diff changeset
   519
                    )
ca
parents: 167
diff changeset
   520
                    #'adjust:' #left
ca
parents: 167
diff changeset
   521
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   522
                    #'canUIDrag:' false
ca
parents: 167
diff changeset
   523
                )
ca
parents: 167
diff changeset
   524
                 #(#UISubSpecification
ca
parents: 167
diff changeset
   525
                    #'name:' 'SubSpecification'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   526
                    #'layout:' #(#LayoutFrame 218 0 15 0 395 0 106 0)
182
ca
parents: 167
diff changeset
   527
                )
ca
parents: 167
diff changeset
   528
                 #(#LabelSpec
ca
parents: 167
diff changeset
   529
                    #'name:' 'SubSpecificationLabel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   530
                    #'layout:' #(#Point 222 84)
182
ca
parents: 167
diff changeset
   531
                    #'label:' 'SubSpecification'
ca
parents: 167
diff changeset
   532
                    #'style:' 
ca
parents: 167
diff changeset
   533
                     #(#FontDescription
ca
parents: 167
diff changeset
   534
                        #helvetica #medium
ca
parents: 167
diff changeset
   535
                        #roman #'10'
ca
parents: 167
diff changeset
   536
                    )
ca
parents: 167
diff changeset
   537
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   538
                    #'canUIDrag:' false
ca
parents: 167
diff changeset
   539
                )
ca
parents: 167
diff changeset
   540
                 #(#SubCanvasSpec
ca
parents: 167
diff changeset
   541
                    #'name:' 'SubCanvas'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   542
                    #'layout:' #(#LayoutFrame 20 0 126 0 197 0 217 0)
182
ca
parents: 167
diff changeset
   543
                    #'hasHorizontalScrollBar:' true
ca
parents: 167
diff changeset
   544
                    #'hasVerticalScrollBar:' true
ca
parents: 167
diff changeset
   545
                )
ca
parents: 167
diff changeset
   546
                 #(#LabelSpec
ca
parents: 167
diff changeset
   547
                    #'name:' 'subCanvasLabel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   548
                    #'layout:' #(#AlignmentOrigin 95 0 197 0 0 0)
182
ca
parents: 167
diff changeset
   549
                    #'label:' 'SubCanvas'
ca
parents: 167
diff changeset
   550
                    #'style:' 
ca
parents: 167
diff changeset
   551
                     #(#FontDescription
ca
parents: 167
diff changeset
   552
                        #helvetica #medium
ca
parents: 167
diff changeset
   553
                        #roman #'10'
ca
parents: 167
diff changeset
   554
                    )
ca
parents: 167
diff changeset
   555
                    #'adjust:' #left
ca
parents: 167
diff changeset
   556
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   557
                    #'canUIDrag:' false
ca
parents: 167
diff changeset
   558
                )
ca
parents: 167
diff changeset
   559
              )
ca
parents: 167
diff changeset
   560
          )
ca
parents: 167
diff changeset
   561
      )
ca
parents: 167
diff changeset
   562
!
ca
parents: 167
diff changeset
   563
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   564
standardMenus
182
ca
parents: 167
diff changeset
   565
    "this window spec was automatically generated by the ST/X UIPainter"
ca
parents: 167
diff changeset
   566
ca
parents: 167
diff changeset
   567
    "do not manually edit this - the painter/builder may not be able to
ca
parents: 167
diff changeset
   568
     handle the specification if its corrupted."
ca
parents: 167
diff changeset
   569
ca
parents: 167
diff changeset
   570
    "
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   571
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardMenus
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   572
     UISelectionPanel new openInterface:#standardMenus
182
ca
parents: 167
diff changeset
   573
    "
ca
parents: 167
diff changeset
   574
ca
parents: 167
diff changeset
   575
    <resource: #canvas>
ca
parents: 167
diff changeset
   576
ca
parents: 167
diff changeset
   577
    ^
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   578
     
182
ca
parents: 167
diff changeset
   579
       #(#FullSpec
ca
parents: 167
diff changeset
   580
          #'window:' 
ca
parents: 167
diff changeset
   581
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   582
              #'name:' 'Menus'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   583
              #'layout:' #(#LayoutFrame 133 0 90 0 619 0 339 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   584
              #'label:' 'Menus'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   585
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   586
              #'max:' #(#Point 1280 1024)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   587
              #'bounds:' #(#Rectangle 133 90 620 340)
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   588
          )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   589
          #'component:' 
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   590
           #(#SpecCollection
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   591
              #'collection:' 
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   592
               #(
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   593
                 #(#ComboBoxSpec
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   594
                    #'name:' 'ComboBox'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   595
                    #'layout:' #(#LayoutFrame 20 0 15 0 145 0 35 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   596
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   597
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   598
                    #'name:' 'ComboBoxLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   599
                    #'layout:' #(#LayoutFrame 22 0 17 0 94 0 35 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   600
                    #'label:' 'ComboBox'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   601
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   602
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   603
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   604
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   605
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   606
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   607
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   608
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   609
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   610
                 #(#PopUpListSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   611
                    #'name:' 'PopUpList'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   612
                    #'layout:' #(#LayoutFrame 184 0 15 0 287 0 37 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   613
                    #'label:' 'PopUpList'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   614
                    #'useIndex:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   615
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   616
                 #(#TabViewSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   617
                    #'name:' 'TabView'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   618
                    #'layout:' #(#LayoutFrame 314 0 15 0 454 0 51 0)
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   619
                )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   620
                 #(#ComboListSpec
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   621
                    #'name:' 'ComboList'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   622
                    #'layout:' #(#LayoutFrame 20 0 71 0 145 0 91 0)
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
   623
                    #'useIndex:' false
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   624
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   625
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   626
                    #'name:' 'ComboListLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   627
                    #'layout:' #(#LayoutFrame 22 0 74 0 94 0 92 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   628
                    #'label:' 'ComboList'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   629
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   630
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   631
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   632
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   633
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   634
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   635
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   636
                    #'canUIDrag:' false
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   637
                )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   638
                 #(#MenuPanelSpec
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   639
                    #'name:' 'MenuPanel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   640
                    #'layout:' #(#LayoutFrame 184 0 71 0 285 0 94 0)
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   641
                )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   642
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   643
                    #'name:' 'MenuPanelLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   644
                    #'layout:' #(#Point 190 74)
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   645
                    #'label:' 'MenuPanel'
167
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   646
                    #'style:' 
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   647
                     #(#FontDescription
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   648
                        #helvetica #medium
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   649
                        #roman #'10'
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   650
                    )
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
   651
                    #'adjust:' #left
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   652
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   653
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   654
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   655
                 #(#NoteBookViewSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   656
                    #'name:' 'NoteBookView'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   657
                    #'layout:' #(#LayoutFrame 314 0 71 0 454 0 159 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   658
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   659
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   660
                    #'name:' 'NoteBookLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   661
                    #'layout:' #(#Point 317 139)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   662
                    #'label:' 'NoteBook'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   663
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   664
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   665
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   666
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   667
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   668
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   669
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   670
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   671
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   672
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   673
                    #'name:' 'TabLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   674
                    #'layout:' #(#Point 326 28)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   675
                    #'label:' 'Tabs'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   676
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   677
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   678
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   679
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   680
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   681
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   682
                    #'resizeForLabel:' true
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   683
                    #'canUIDrag:' false
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   684
                )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   685
              )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   686
          )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   687
      )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   688
!
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   689
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   690
standardPanels
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   691
    "this window spec was automatically generated by the ST/X UIPainter"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   692
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   693
    "do not manually edit this - the painter/builder may not be able to
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   694
     handle the specification if its corrupted."
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   695
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   696
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   697
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardPanels
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   698
     UISelectionPanel new openInterface:#standardPanels
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   699
    "
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   700
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   701
    <resource: #canvas>
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   702
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   703
    ^
182
ca
parents: 167
diff changeset
   704
     
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   705
       #(#FullSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   706
          #'window:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   707
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   708
              #'name:' 'Panels'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   709
              #'layout:' #(#LayoutFrame 88 0 80 0 596 0 298 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   710
              #'label:' 'Panels'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   711
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   712
              #'max:' #(#Point 1280 1024)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   713
              #'bounds:' #(#Rectangle 88 80 597 299)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   714
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   715
          #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   716
           #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   717
              #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   718
               #(
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   719
                 #(#HorizontalPanelViewSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   720
                    #'name:' 'HorizontalPanelView'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   721
                    #'layout:' #(#LayoutFrame 20 0 15 0 104 0 105 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   722
                    #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   723
                     #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   724
                        #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   725
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   726
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   727
                              #'name:' 'label1'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   728
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   729
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   730
                              #'extent:' #(#Point 23 23)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   731
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   732
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   733
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   734
                              #'name:' 'label2'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   735
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   736
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   737
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   738
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   739
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   740
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   741
                              #'name:' 'label3'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   742
                              #'label:' 'C'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   743
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   744
                              #'extent:' #(#Point 23 23)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   745
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   746
                          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   747
                        )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   748
                    )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   749
                    #'horizontalLayout:' #center
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   750
                    #'verticalLayout:' #center
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   751
                    #'horizontalSpace:' 3
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   752
                    #'verticalSpace:' 3
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   753
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   754
                 #(#VariableHorizontalPanelSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   755
                    #'name:' 'VariableHorizontalPanel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   756
                    #'layout:' #(#LayoutFrame 264 0 15 0 338 0 105 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   757
                    #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   758
                     #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   759
                        #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   760
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   761
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   762
                              #'name:' 'label4'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   763
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   764
                              #'level:' 2
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   765
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   766
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   767
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   768
                              #'name:' 'label5'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   769
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   770
                              #'level:' 2
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   771
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   772
                          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   773
                        )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   774
                    )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   775
                    #'handles:' #(#Any 0.5 1.0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   776
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   777
                 #(#VerticalPanelViewSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   778
                    #'name:' 'VerticalPanelView'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   779
                    #'layout:' #(#LayoutFrame 112 0 15 0 170 0 105 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   780
                    #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   781
                     #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   782
                        #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   783
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   784
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   785
                              #'name:' 'label6'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   786
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   787
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   788
                              #'extent:' #(#Point 23 23)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   789
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   790
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   791
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   792
                              #'name:' 'label7'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   793
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   794
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   795
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   796
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   797
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   798
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   799
                              #'name:' 'label8'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   800
                              #'label:' 'C'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   801
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   802
                              #'extent:' #(#Point 23 23)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   803
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   804
                          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   805
                        )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   806
                    )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   807
                    #'horizontalLayout:' #center
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   808
                    #'verticalLayout:' #center
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   809
                    #'horizontalSpace:' 3
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   810
                    #'verticalSpace:' 3
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   811
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   812
                 #(#VariableVerticalPanelSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   813
                    #'name:' 'VariableVerticalPanel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   814
                    #'layout:' #(#LayoutFrame 347 0 15 0 421 0 105 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   815
                    #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   816
                     #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   817
                        #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   818
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   819
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   820
                              #'name:' 'label9'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   821
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   822
                              #'level:' 2
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   823
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   824
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   825
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   826
                              #'name:' 'label10'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   827
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   828
                              #'level:' 2
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   829
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   830
                          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   831
                        )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   832
                    )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   833
                    #'handles:' #(#Any 0.5 1.0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   834
                )
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   835
                 #(#PanelViewSpec
da9db8500b67 update:
ca
parents: 98
diff changeset
   836
                    #'name:' 'PanelView'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   837
                    #'layout:' #(#LayoutFrame 178 0 15 0 236 0 105 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   838
                    #'component:' 
da9db8500b67 update:
ca
parents: 98
diff changeset
   839
                     #(#SpecCollection
da9db8500b67 update:
ca
parents: 98
diff changeset
   840
                        #'collection:' 
da9db8500b67 update:
ca
parents: 98
diff changeset
   841
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   842
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   843
                              #'name:' 'label11'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   844
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   845
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   846
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   847
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   848
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   849
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   850
                              #'name:' 'label12'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   851
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   852
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   853
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   854
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   855
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   856
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   857
                              #'name:' 'label13'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   858
                              #'label:' 'C'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   859
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   860
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   861
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   862
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   863
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   864
                              #'name:' 'label14'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   865
                              #'label:' 'D'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   866
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   867
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   868
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   869
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   870
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   871
                              #'name:' 'label15'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   872
                              #'label:' 'E'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   873
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   874
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   875
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   876
                          )
da9db8500b67 update:
ca
parents: 98
diff changeset
   877
                        )
da9db8500b67 update:
ca
parents: 98
diff changeset
   878
                    )
da9db8500b67 update:
ca
parents: 98
diff changeset
   879
                    #'horizontalLayout:' #fitSpace
da9db8500b67 update:
ca
parents: 98
diff changeset
   880
                    #'verticalLayout:' #fitSpace
da9db8500b67 update:
ca
parents: 98
diff changeset
   881
                    #'horizontalSpace:' 3
da9db8500b67 update:
ca
parents: 98
diff changeset
   882
                    #'verticalSpace:' 3
da9db8500b67 update:
ca
parents: 98
diff changeset
   883
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   884
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   885
                    #'name:' 'PanelLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   886
                    #'layout:' #(#LayoutFrame 22 0 120 0 235 0 143 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   887
                    #'label:' 'Panels'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   888
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   889
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   890
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   891
                    #'name:' 'VPanelLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   892
                    #'layout:' #(#LayoutFrame 264 0 120 0 421 0 143 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   893
                    #'label:' 'Variable Panels'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   894
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   895
                )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   896
              )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   897
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   898
      )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   899
!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   900
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   901
standardSliders
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   902
    "this window spec was automatically generated by the ST/X UIPainter"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   903
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   904
    "do not manually edit this - the painter/builder may not be able to
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   905
     handle the specification if its corrupted."
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   906
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   907
    "
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   908
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardSliders
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   909
     UISelectionPanel new openInterface:#standardSliders
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   910
    "
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   911
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   912
    <resource: #canvas>
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   913
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   914
    ^
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   915
     
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   916
       #(#FullSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   917
          #'window:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   918
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   919
              #'name:' 'Sliders'
397
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   920
              #'layout:' #(#LayoutFrame 197 0 175 0 641 0 336 0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   921
              #'label:' 'Sliders'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   922
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   923
              #'max:' #(#Point 1280 1024)
397
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   924
              #'bounds:' #(#Rectangle 197 175 642 337)
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   925
              #'usePreferredExtent:' false
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   926
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   927
          #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   928
           #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   929
              #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   930
               #(
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   931
                 #(#SliderSpec
da9db8500b67 update:
ca
parents: 98
diff changeset
   932
                    #'name:' 'Vertical Slider'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   933
                    #'layout:' #(#LayoutFrame 20 0 15 0 38 0 108 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   934
                    #'orientation:' #vertical
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   935
                    #'start:' 0
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   936
                    #'stop:' 100
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   937
                    #'step:' 1
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   938
                )
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   939
                 #(#ThumbWheelSpec
da9db8500b67 update:
ca
parents: 98
diff changeset
   940
                    #'name:' 'Vertical ThumbWheel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   941
                    #'layout:' #(#LayoutFrame 48 0 15 0 63 0 108 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   942
                    #'orientation:' #vertical
da9db8500b67 update:
ca
parents: 98
diff changeset
   943
                    #'start:' 0
da9db8500b67 update:
ca
parents: 98
diff changeset
   944
                    #'stop:' 360
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   945
                    #'step:' 1
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   946
                )
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   947
                 #(#ThumbWheelSpec
da9db8500b67 update:
ca
parents: 98
diff changeset
   948
                    #'name:' 'Horizontal ThumbWheel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   949
                    #'layout:' #(#LayoutFrame 102 0 15 0 191 0 30 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   950
                    #'orientation:' #horizontal
da9db8500b67 update:
ca
parents: 98
diff changeset
   951
                    #'start:' 0
da9db8500b67 update:
ca
parents: 98
diff changeset
   952
                    #'stop:' 360
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   953
                    #'step:' 1
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   954
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   955
                 #(#SliderSpec
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   956
                    #'name:' 'Horizontal Slider'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   957
                    #'layout:' #(#LayoutFrame 102 0 52 0 191 0 70 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   958
                    #'orientation:' #horizontal
da9db8500b67 update:
ca
parents: 98
diff changeset
   959
                    #'start:' 0
da9db8500b67 update:
ca
parents: 98
diff changeset
   960
                    #'stop:' 100
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   961
                    #'step:' 1
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   962
                )
150
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   963
                 #(#ProgressIndicatorSpec
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   964
                    #'name:' 'Progress Indicator'
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   965
                    #'layout:' #(#LayoutFrame 102 0 90 0 191 0 108 0)
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   966
                    #'showPercentage:' true
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   967
                )
397
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   968
                 #(#ProgressIndicatorSpec
349
1f5c236558fc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
   969
                    #'name:' 'Progress Indicator 2'
1f5c236558fc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
   970
                    #'layout:' #(#LayoutFrame 102 0 116 0 191 0 126 0)
1f5c236558fc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
   971
                    #'showPercentage:' false
1f5c236558fc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
   972
                    #'foregroundColor:' #(#Color 100.0 0.0 0.0)
1f5c236558fc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 334
diff changeset
   973
                )
397
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   974
                 #(#UpDownButtonSpec
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   975
                    #'name:' 'UpDownButton'
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   976
                    #'layout:' #(#Point 221 15)
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   977
                )
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   978
                 #(#UpDownButtonSpec
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   979
                    #'name:' 'upDownButton1'
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   980
                    #'layout:' #(#Point 245 15)
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   981
                    #'orientation:' #horizontal
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
   982
                )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   983
              )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   984
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   985
      )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   986
!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   987
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   988
standardText
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   989
    "this window spec was automatically generated by the ST/X UIPainter"
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   990
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   991
    "do not manually edit this - the painter/builder may not be able to
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   992
     handle the specification if its corrupted."
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   993
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   994
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   995
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardText
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   996
     UISelectionPanel new openInterface:#standardText
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   997
    "
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   998
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   999
    <resource: #canvas>
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1000
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1001
    ^
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1002
     
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1003
       #(#FullSpec
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1004
          #'window:' 
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1005
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1006
              #'name:' 'Text'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1007
              #'layout:' #(#LayoutFrame 139 0 32 0 605 0 238 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1008
              #'label:' 'Text'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1009
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1010
              #'max:' #(#Point 1280 1024)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1011
              #'bounds:' #(#Rectangle 139 32 606 239)
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1012
          )
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1013
          #'component:' 
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1014
           #(#SpecCollection
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1015
              #'collection:' 
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1016
               #(
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1017
                 #(#TextEditorSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1018
                    #'name:' 'EditText'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1019
                    #'layout:' #(#LayoutFrame 20 0 15 0 215 0 120 0)
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1020
                    #'hasHorizontalScrollBar:' true
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1021
                    #'hasVerticalScrollBar:' true
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1022
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1023
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1024
                    #'name:' 'EditTextLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1025
                    #'layout:' #(#AlignmentOrigin 93 0 120 0 0 1)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1026
                    #'label:' 'EditText'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1027
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1028
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1029
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1030
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1031
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1032
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1033
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1034
                    #'canUIDrag:' false
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1035
                )
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1036
                 #(#HTMLViewSpec
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1037
                    #'name:' 'HTMLView'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1038
                    #'layout:' #(#LayoutFrame 240 0 15 0 436 0 120 0)
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1039
                    #'hasHorizontalScrollBar:' true
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1040
                    #'hasVerticalScrollBar:' true
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1041
                )
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1042
                 #(#LabelSpec
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1043
                    #'name:' 'HTMLViewLabel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1044
                    #'layout:' #(#AlignmentOrigin 314 0 120 0 0 1)
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1045
                    #'label:' 'HTMLView'
167
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1046
                    #'style:' 
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1047
                     #(#FontDescription
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1048
                        #helvetica #medium
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1049
                        #roman #'10'
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1050
                    )
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1051
                    #'adjust:' #left
182
ca
parents: 167
diff changeset
  1052
                    #'resizeForLabel:' true
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1053
                    #'canUIDrag:' false
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1054
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1055
                 #(#InputFieldSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1056
                    #'name:' 'EditField'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1057
                    #'layout:' #(#LayoutFrame 20 0 142 0 215 0 164 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1058
                )
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1059
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1060
                    #'name:' 'EditFieldLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1061
                    #'layout:' #(#LayoutFrame 55 0 144 0 115 0 162 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1062
                    #'label:' 'EditField'
167
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1063
                    #'style:' 
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1064
                     #(#FontDescription
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1065
                        #helvetica #medium
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1066
                        #roman #'10'
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1067
                    )
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1068
                    #'adjust:' #left
182
ca
parents: 167
diff changeset
  1069
                    #'resizeForLabel:' true
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1070
                    #'canUIDrag:' false
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1071
                )
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1072
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1073
                    #'name:' 'Label'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1074
                    #'layout:' #(#LayoutFrame 240 0 142 0 436 0 164 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1075
                    #'label:' 'Label'
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1076
                )
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1077
              )
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1078
          )
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1079
      )
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1080
!
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1081
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1082
standardUserPanel
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1083
    "this window spec was automatically generated by the ST/X UIPainter"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1084
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1085
    "do not manually edit this - the painter/builder may not be able to
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1086
     handle the specification if its corrupted."
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1087
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1088
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1089
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardUserPanel
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1090
     UISelectionPanel new openInterface:#standardUserPanel
182
ca
parents: 167
diff changeset
  1091
    "
ca
parents: 167
diff changeset
  1092
ca
parents: 167
diff changeset
  1093
    <resource: #canvas>
ca
parents: 167
diff changeset
  1094
ca
parents: 167
diff changeset
  1095
    ^
ca
parents: 167
diff changeset
  1096
     
ca
parents: 167
diff changeset
  1097
       #(#FullSpec
ca
parents: 167
diff changeset
  1098
          #'window:' 
ca
parents: 167
diff changeset
  1099
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1100
              #'name:' 'UserPanel'
182
ca
parents: 167
diff changeset
  1101
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1102
              #'label:' 'UserPanel'
182
ca
parents: 167
diff changeset
  1103
              #'bounds:' #(#Rectangle 0 0 445 162)
ca
parents: 167
diff changeset
  1104
          )
ca
parents: 167
diff changeset
  1105
          #'component:' 
ca
parents: 167
diff changeset
  1106
           #(#SpecCollection
ca
parents: 167
diff changeset
  1107
              #'collection:' 
ca
parents: 167
diff changeset
  1108
               #(
ca
parents: 167
diff changeset
  1109
                 #(#LabelSpec
ca
parents: 167
diff changeset
  1110
                    #'name:' 'helpText'
ca
parents: 167
diff changeset
  1111
                    #'layout:' #(#Point 10 0)
ca
parents: 167
diff changeset
  1112
                    #'labelChannel:' #userDefinedHelpText
ca
parents: 167
diff changeset
  1113
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
  1114
                    #'canUIDrag:' false
ca
parents: 167
diff changeset
  1115
                )
ca
parents: 167
diff changeset
  1116
              )
ca
parents: 167
diff changeset
  1117
          )
ca
parents: 167
diff changeset
  1118
      )
ca
parents: 167
diff changeset
  1119
!
ca
parents: 167
diff changeset
  1120
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1121
standardViews
182
ca
parents: 167
diff changeset
  1122
    "this window spec was automatically generated by the ST/X UIPainter"
ca
parents: 167
diff changeset
  1123
ca
parents: 167
diff changeset
  1124
    "do not manually edit this - the painter/builder may not be able to
ca
parents: 167
diff changeset
  1125
     handle the specification if its corrupted."
ca
parents: 167
diff changeset
  1126
ca
parents: 167
diff changeset
  1127
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1128
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardViews
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1129
     UISelectionPanel new openInterface:#standardViews
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1130
    "
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1131
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1132
    <resource: #canvas>
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1133
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1134
    ^
135
8f4b6117ccaa new withDefault
ca
parents: 125
diff changeset
  1135
     
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1136
       #(#FullSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1137
          #'window:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1138
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1139
              #'name:' 'Views'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1140
              #'layout:' #(#LayoutFrame 158 0 56 0 637 0 284 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1141
              #'label:' 'Views'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1142
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1143
              #'max:' #(#Point 1280 1024)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1144
              #'bounds:' #(#Rectangle 158 56 638 285)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1145
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1146
          #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1147
           #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1148
              #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1149
               #(
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1150
                 #(#FramedBoxSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1151
                    #'name:' 'FramedBox'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1152
                    #'layout:' #(#LayoutFrame 20 0 15 0 187 0 95 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
  1153
                    #'label:' 'FramedBox'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1154
                    #'labelPosition:' #topCenter
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1155
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1156
                 #(#ArbitraryComponentSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1157
                    #'name:' 'ArbitraryComponent'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1158
                    #'layout:' #(#LayoutFrame 247 0 15 0 414 0 95 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1159
                    #'hasBorder:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1160
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1161
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1162
                    #'name:' 'ArbitraryComponentLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1163
                    #'layout:' #(#AlignmentOrigin 253 0 21 0 0 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1164
                    #'label:' 'ArbitraryComponent'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1165
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1166
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1167
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1168
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1169
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1170
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1171
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1172
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1173
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1174
                 #(#DividerSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1175
                    #'name:' 'Vertical Separator'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1176
                    #'layout:' #(#LayoutFrame 20 0 115 0 24 0 195 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1177
                    #'orientation:' #vertical
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1178
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1179
                 #(#DividerSpec
216
2bfcf491429e hasCharacterOrientedLabel removed
ca
parents: 207
diff changeset
  1180
                    #'name:' 'Horizontal Separator'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1181
                    #'layout:' #(#LayoutFrame 20 0 115 0 126 0 119 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1182
                    #'orientation:' #horizontal
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1183
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1184
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1185
                    #'name:' 'SeparatorsLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1186
                    #'layout:' #(#AlignmentOrigin 126 0 135 0 1 0.5)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1187
                    #'label:' 'Separators'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1188
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1189
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1190
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1191
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1192
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1193
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1194
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1195
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1196
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1197
                 #(#RegionSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1198
                    #'name:' 'Region'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1199
                    #'layout:' #(#LayoutFrame 147 0 115 0 227 0 195 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1200
                    #'lineWidth:' 2
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1201
                    #'regionType:' #ellipse
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1202
                )
104
da9db8500b67 update:
ca
parents: 98
diff changeset
  1203
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1204
                    #'name:' 'RegionLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1205
                    #'layout:' #(#AlignmentOrigin 186 0 155 0 0.5 0.5)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1206
                    #'label:' 'Region'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1207
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1208
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1209
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1210
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1211
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1212
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1213
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1214
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1215
                 #(#ViewSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1216
                    #'name:' 'View'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1217
                    #'layout:' #(#LayoutFrame 247 0 115 0 414 0 195 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1218
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1219
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1220
                    #'name:' 'ViewLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1221
                    #'layout:' #(#AlignmentOrigin 253 0 120 0 0 0)
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1222
                    #'label:' 'View'
167
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1223
                    #'style:' 
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1224
                     #(#FontDescription
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1225
                        #helvetica #medium
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1226
                        #roman #'10'
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1227
                    )
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1228
                    #'adjust:' #left
182
ca
parents: 167
diff changeset
  1229
                    #'resizeForLabel:' true
104
da9db8500b67 update:
ca
parents: 98
diff changeset
  1230
                    #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
  1231
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1232
              )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1233
          )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1234
      )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1235
!
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1236
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1237
standartLists
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1238
    "this window spec was automatically generated by the ST/X UIPainter"
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1239
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1240
    "do not manually edit this - the painter/builder may not be able to
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1241
     handle the specification if its corrupted."
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1242
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1243
    "
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1244
     UIPainter new openOnClass:UISelectionPanel andSelector:#standartLists
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1245
     UISelectionPanel new openInterface:#standartLists
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1246
    "
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1247
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1248
    <resource: #canvas>
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1249
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1250
    ^
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1251
     
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1252
       #(#FullSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1253
          #'window:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1254
           #(#WindowSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1255
              #'name:' 'Lists'
334
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1256
              #'layout:' #(#LayoutFrame 197 0 172 0 666 0 414 0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1257
              #'label:' 'Lists'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1258
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1259
              #'max:' #(#Point 1280 1024)
334
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1260
              #'bounds:' #(#Rectangle 197 172 667 415)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1261
          )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1262
          #'component:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1263
           #(#SpecCollection
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1264
              #'collection:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1265
               #(
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1266
                 #(#SequenceViewSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1267
                    #'name:' 'SelectionInList'
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1268
                    #'layout:' #(#LayoutFrame 247 0 15 0 452 0 109 0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1269
                    #'hasHorizontalScrollBar:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1270
                    #'hasVerticalScrollBar:' true
334
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1271
                    #'useIndex:' false
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1272
                )
143
9add9e2609d9 change SubCanvasSpec; have to update caused by new attributes
ca
parents: 142
diff changeset
  1273
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1274
                    #'name:' 'SelectionInListLabel'
334
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1275
                    #'layout:' #(#AlignmentOrigin 320 0 108 0 0 1)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1276
                    #'label:' 'SelectionInList'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1277
                    #'style:' #(#FontDescription #helvetica #medium #roman #'10')
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1278
                    #'adjust:' #left
182
ca
parents: 167
diff changeset
  1279
                    #'resizeForLabel:' true
143
9add9e2609d9 change SubCanvasSpec; have to update caused by new attributes
ca
parents: 142
diff changeset
  1280
                    #'canUIDrag:' false
9add9e2609d9 change SubCanvasSpec; have to update caused by new attributes
ca
parents: 142
diff changeset
  1281
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1282
                 #(#SelectionInTreeViewSpec
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1283
                    #'name:' 'SelectionInTree'
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1284
                    #'layout:' #(#LayoutFrame 20 0 15 0 225 0 109 0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1285
                    #'hasHorizontalScrollBar:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1286
                    #'hasVerticalScrollBar:' true
150
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
  1287
                )
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
  1288
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1289
                    #'name:' 'SelectionInTreeLabel'
334
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1290
                    #'layout:' #(#AlignmentOrigin 93 0 108 0 0 1)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1291
                    #'label:' 'SelectionInTree'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1292
                    #'style:' #(#FontDescription #helvetica #medium #roman #'10')
189
bb569079ae6b add ArbitraryComponentSpec
ca
parents: 182
diff changeset
  1293
                    #'adjust:' #left
bb569079ae6b add ArbitraryComponentSpec
ca
parents: 182
diff changeset
  1294
                    #'resizeForLabel:' true
bb569079ae6b add ArbitraryComponentSpec
ca
parents: 182
diff changeset
  1295
                    #'canUIDrag:' false
bb569079ae6b add ArbitraryComponentSpec
ca
parents: 182
diff changeset
  1296
                )
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1297
                 #(#FileSelectionTreeSpec
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1298
                    #'name:' 'FileSelectionTree'
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1299
                    #'layout:' #(#LayoutFrame 20 0 130 0 225 0 224 0)
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1300
                    #'hasHorizontalScrollBar:' true
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1301
                    #'hasVerticalScrollBar:' true
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1302
                )
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1303
                 #(#LabelSpec
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1304
                    #'name:' 'FileSelectionTreeLabel'
334
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1305
                    #'layout:' #(#AlignmentOrigin 93 0 223 0 0 1)
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1306
                    #'label:' 'FileSelectionTree'
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1307
                    #'style:' #(#FontDescription #helvetica #medium #roman #'10')
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1308
                    #'adjust:' #left
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1309
                    #'resizeForLabel:' true
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1310
                    #'canUIDrag:' false
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1311
                )
334
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1312
                 #(#DataSetSpec
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1313
                    #'name:' 'DataSetSpec'
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1314
                    #'layout:' #(#LayoutFrame 247 0 130 0 452 0 224 0)
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1315
                    #'hasHorizontalScrollBar:' true
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1316
                    #'hasVerticalScrollBar:' true
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1317
                )
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1318
                 #(#LabelSpec
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1319
                    #'name:' 'DataSetSpecLabel'
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1320
                    #'layout:' #(#AlignmentOrigin 320 0 223 0 0 1)
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1321
                    #'label:' 'DataSetView'
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1322
                    #'style:' #(#FontDescription #helvetica #medium #roman #'10')
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1323
                    #'adjust:' #left
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1324
                    #'resizeForLabel:' true
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1325
                    #'canUIDrag:' false
3f632e9711e8 add DataSetSpec
ca
parents: 329
diff changeset
  1326
                )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1327
              )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1328
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1329
      )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1330
! !
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1331
182
ca
parents: 167
diff changeset
  1332
!UISelectionPanel methodsFor:'actions'!
ca
parents: 167
diff changeset
  1333
ca
parents: 167
diff changeset
  1334
defineClassAndSelector
ca
parents: 167
diff changeset
  1335
    |bd cls sel lbl|
ca
parents: 167
diff changeset
  1336
ca
parents: 167
diff changeset
  1337
    bd := IdentityDictionary new.
ca
parents: 167
diff changeset
  1338
    bd at:#className put:( userClass asValue).
ca
parents: 167
diff changeset
  1339
    bd at:#specsKey  put:( (userSpecs  ? '') asValue).
ca
parents: 167
diff changeset
  1340
    bd at:#labelsKey put:( (userLabels ? '') asValue).
ca
parents: 167
diff changeset
  1341
    bd at:#updateDefaultResources put:(false asValue).
ca
parents: 167
diff changeset
  1342
ca
parents: 167
diff changeset
  1343
    (self openDialogInterface:#nameAndSelectorSpec withBindings:bd) ifTrue:[
ca
parents: 167
diff changeset
  1344
        (      (cls := (bd at:#className) value) notNil
ca
parents: 167
diff changeset
  1345
          and:[(sel := (bd at:#specsKey)  value) notNil
ca
parents: 167
diff changeset
  1346
          and:[(lbl := (bd at:#labelsKey) value) notNil]]
ca
parents: 167
diff changeset
  1347
        ) ifTrue:[
ca
parents: 167
diff changeset
  1348
            userClass  := cls.
ca
parents: 167
diff changeset
  1349
            userSpecs  := sel.
ca
parents: 167
diff changeset
  1350
            userLabels := lbl.
ca
parents: 167
diff changeset
  1351
ca
parents: 167
diff changeset
  1352
            (bd at:#updateDefaultResources) value ifTrue:[
ca
parents: 167
diff changeset
  1353
                UserClass  := userClass.
ca
parents: 167
diff changeset
  1354
                UserSpecs  := userSpecs.
ca
parents: 167
diff changeset
  1355
                UserLabels := userLabels.
ca
parents: 167
diff changeset
  1356
            ]
ca
parents: 167
diff changeset
  1357
        ]
ca
parents: 167
diff changeset
  1358
    ].
ca
parents: 167
diff changeset
  1359
!
ca
parents: 167
diff changeset
  1360
ca
parents: 167
diff changeset
  1361
paste:something
ca
parents: 167
diff changeset
  1362
    "paste something at a point
ca
parents: 167
diff changeset
  1363
    "
ca
parents: 167
diff changeset
  1364
    |coll specs point device gallery ext spec|
ca
parents: 167
diff changeset
  1365
ca
parents: 167
diff changeset
  1366
    clipBoardSpec isNil ifTrue:[
ca
parents: 167
diff changeset
  1367
        clipBoardSpec := SpecCollection new.
ca
parents: 167
diff changeset
  1368
        clipBoardSpec collection:(OrderedCollection new).
ca
parents: 167
diff changeset
  1369
    ].
ca
parents: 167
diff changeset
  1370
    coll    := clipBoardSpec collection.
ca
parents: 167
diff changeset
  1371
    gallery := self builder componentAt:#gallery.
ca
parents: 167
diff changeset
  1372
    device  := gallery device.
ca
parents: 167
diff changeset
  1373
ca
parents: 167
diff changeset
  1374
    point   := device translatePoint:(device pointerPosition)
ca
parents: 167
diff changeset
  1375
                                from:(device rootView id)
ca
parents: 167
diff changeset
  1376
                                  to:(gallery canvas id).
ca
parents: 167
diff changeset
  1377
ca
parents: 167
diff changeset
  1378
    point y < 1 ifTrue:[point y:1].
ca
parents: 167
diff changeset
  1379
    ext := gallery extent - (10@10).
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1380
182
ca
parents: 167
diff changeset
  1381
    (specs := something) isCollection ifFalse:[
ca
parents: 167
diff changeset
  1382
        specs := Array with:something
ca
parents: 167
diff changeset
  1383
    ].
ca
parents: 167
diff changeset
  1384
ca
parents: 167
diff changeset
  1385
    specs do:[:aSpec|
ca
parents: 167
diff changeset
  1386
        point x > ext x ifTrue:[point x:1].
ca
parents: 167
diff changeset
  1387
        point y > ext y ifTrue:[point y:1].
ca
parents: 167
diff changeset
  1388
ca
parents: 167
diff changeset
  1389
        spec := aSpec copy.
ca
parents: 167
diff changeset
  1390
        spec layout:(LayoutOrigin fromPoint:point).
ca
parents: 167
diff changeset
  1391
        coll add:spec.
ca
parents: 167
diff changeset
  1392
        point := point + (20@20).
ca
parents: 167
diff changeset
  1393
    ].
ca
parents: 167
diff changeset
  1394
    gallery update.
ca
parents: 167
diff changeset
  1395
!
ca
parents: 167
diff changeset
  1396
ca
parents: 167
diff changeset
  1397
raiseMenu
ca
parents: 167
diff changeset
  1398
    "can open menu
ca
parents: 167
diff changeset
  1399
    "
251
ea4577f6cc41 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 244
diff changeset
  1400
    |spec menu value paste|
182
ca
parents: 167
diff changeset
  1401
ca
parents: 167
diff changeset
  1402
    spec := self clientSpec value.
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1403
182
ca
parents: 167
diff changeset
  1404
    spec notNil ifTrue:[
ca
parents: 167
diff changeset
  1405
        menu := self class menuSelected decodeAsLiteralArray.
ca
parents: 167
diff changeset
  1406
        self isClipBoard ifFalse:[
ca
parents: 167
diff changeset
  1407
            (menu someMenuItemWithValue:#cut) disable.
ca
parents: 167
diff changeset
  1408
        ].
ca
parents: 167
diff changeset
  1409
ca
parents: 167
diff changeset
  1410
        (value := menu startUp) == #cut ifTrue:[
ca
parents: 167
diff changeset
  1411
            clipBoardSpec collection remove:spec ifAbsent:nil.
ca
parents: 167
diff changeset
  1412
            (self builder componentAt:#gallery) update.
ca
parents: 167
diff changeset
  1413
        ] ifFalse:[
ca
parents: 167
diff changeset
  1414
            value == #copy ifTrue:[
ca
parents: 167
diff changeset
  1415
                self window setSelection:spec
ca
parents: 167
diff changeset
  1416
            ]
ca
parents: 167
diff changeset
  1417
        ].
ca
parents: 167
diff changeset
  1418
      ^ self
ca
parents: 167
diff changeset
  1419
    ].
ca
parents: 167
diff changeset
  1420
ca
parents: 167
diff changeset
  1421
    self isUserBoard ifTrue:[
ca
parents: 167
diff changeset
  1422
        ^ self defineClassAndSelector
ca
parents: 167
diff changeset
  1423
    ].
ca
parents: 167
diff changeset
  1424
ca
parents: 167
diff changeset
  1425
    paste := self window getSelection.
ca
parents: 167
diff changeset
  1426
ca
parents: 167
diff changeset
  1427
    (self canPaste:paste) ifTrue:[
ca
parents: 167
diff changeset
  1428
        menu := self class menuUnselected decodeAsLiteralArray.
ca
parents: 167
diff changeset
  1429
ca
parents: 167
diff changeset
  1430
        (menu startUp) == #paste ifTrue:[
ca
parents: 167
diff changeset
  1431
            self paste:paste
ca
parents: 167
diff changeset
  1432
        ]
ca
parents: 167
diff changeset
  1433
    ].
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1434
! !
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1435
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1436
!UISelectionPanel methodsFor:'aspects'!
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1437
182
ca
parents: 167
diff changeset
  1438
clientSpec
ca
parents: 167
diff changeset
  1439
    "automatically generated by UIPainter ..."
ca
parents: 167
diff changeset
  1440
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1441
    |holder|
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1442
182
ca
parents: 167
diff changeset
  1443
    (holder := builder bindingAt:#clientSpec) isNil ifTrue:[
ca
parents: 167
diff changeset
  1444
        builder aspectAt:#clientSpec put:(holder :=  ValueHolder new).
ca
parents: 167
diff changeset
  1445
        holder addDependent:self.
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1446
    ].
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1447
    ^ holder
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1448
!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1449
182
ca
parents: 167
diff changeset
  1450
clipBoardSpec
ca
parents: 167
diff changeset
  1451
    ^ clipBoardSpec
ca
parents: 167
diff changeset
  1452
!
ca
parents: 167
diff changeset
  1453
ca
parents: 167
diff changeset
  1454
galleryList
ca
parents: 167
diff changeset
  1455
    "automatically generated by UIPainter ..."
ca
parents: 167
diff changeset
  1456
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1457
    |holder|
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1458
182
ca
parents: 167
diff changeset
  1459
    (holder := builder bindingAt:#galleryList) isNil ifTrue:[
ca
parents: 167
diff changeset
  1460
        builder aspectAt:#galleryList put:(holder :=  ValueHolder new).
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1461
    ].
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1462
    ^ holder
182
ca
parents: 167
diff changeset
  1463
!
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1464
182
ca
parents: 167
diff changeset
  1465
galleryModel
ca
parents: 167
diff changeset
  1466
    "automatically generated by UIPainter ..."
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1467
182
ca
parents: 167
diff changeset
  1468
    |holder|
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1469
182
ca
parents: 167
diff changeset
  1470
    (holder := builder bindingAt:#galleryModel) isNil ifTrue:[
ca
parents: 167
diff changeset
  1471
        builder aspectAt:#galleryModel put:(holder :=  ValueHolder new).
ca
parents: 167
diff changeset
  1472
    ].
ca
parents: 167
diff changeset
  1473
    ^ holder
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1474
!
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1475
182
ca
parents: 167
diff changeset
  1476
majorChannel
ca
parents: 167
diff changeset
  1477
    "automatically generated by UIPainter ..."
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1478
182
ca
parents: 167
diff changeset
  1479
    |holder|
ca
parents: 167
diff changeset
  1480
ca
parents: 167
diff changeset
  1481
    (holder := builder bindingAt:#majorChannel) isNil ifTrue:[
ca
parents: 167
diff changeset
  1482
        holder := AspectAdaptor new subject:self; forAspect:#majorSelection.
ca
parents: 167
diff changeset
  1483
        builder aspectAt:#majorChannel put:holder.
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1484
    ].
182
ca
parents: 167
diff changeset
  1485
    ^ holder
ca
parents: 167
diff changeset
  1486
!
ca
parents: 167
diff changeset
  1487
ca
parents: 167
diff changeset
  1488
majorList
ca
parents: 167
diff changeset
  1489
    "automatically generated by UIPainter ...
ca
parents: 167
diff changeset
  1490
    "
ca
parents: 167
diff changeset
  1491
  ^ self class specifications collect:[:el| el first]
ca
parents: 167
diff changeset
  1492
!
ca
parents: 167
diff changeset
  1493
ca
parents: 167
diff changeset
  1494
minorKeys
ca
parents: 167
diff changeset
  1495
    "automatically generated by UIPainter ..."
ca
parents: 167
diff changeset
  1496
ca
parents: 167
diff changeset
  1497
    |holder|
ca
parents: 167
diff changeset
  1498
ca
parents: 167
diff changeset
  1499
    (holder := builder bindingAt:#minorKeys) isNil ifTrue:[
ca
parents: 167
diff changeset
  1500
        builder aspectAt:#minorKeys put:(holder :=  ValueHolder new).
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1501
    ].
182
ca
parents: 167
diff changeset
  1502
    ^ holder
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1503
! !
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1504
182
ca
parents: 167
diff changeset
  1505
!UISelectionPanel methodsFor:'change & update'!
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1506
182
ca
parents: 167
diff changeset
  1507
update:something with:aParameter from:changedObject
ca
parents: 167
diff changeset
  1508
    "one of my models changed its value
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1509
    "
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1510
    |channel label topView|
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1511
182
ca
parents: 167
diff changeset
  1512
    (channel := self clientSpec) == changedObject ifTrue:[
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1513
        topView := builder window topView.
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1514
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1515
        (label := channel value) notNil ifTrue:[
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1516
            topView label:label name, ' '.
182
ca
parents: 167
diff changeset
  1517
        ] ifFalse:[
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1518
            topView label:'Component Gallery '
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1519
        ]
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1520
    ].
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1521
182
ca
parents: 167
diff changeset
  1522
    super update:something with:aParameter from:changedObject.
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1523
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1524
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1525
! !
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1526
182
ca
parents: 167
diff changeset
  1527
!UISelectionPanel methodsFor:'drag & drop'!
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1528
182
ca
parents: 167
diff changeset
  1529
canDrop:something in:aComponent
ca
parents: 167
diff changeset
  1530
    ^ self canPaste:(something collect:[:el| el theObject ]).
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1531
!
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1532
182
ca
parents: 167
diff changeset
  1533
drop:something in:aComponent at:aPoint
ca
parents: 167
diff changeset
  1534
ca
parents: 167
diff changeset
  1535
    |spc top|
ca
parents: 167
diff changeset
  1536
ca
parents: 167
diff changeset
  1537
    top := DragAndDropManager dragOriginatorQuerySignal raise topView.
ca
parents: 167
diff changeset
  1538
ca
parents: 167
diff changeset
  1539
    top == aComponent topView ifTrue:[
ca
parents: 167
diff changeset
  1540
        spc := self clientSpec value.
ca
parents: 167
diff changeset
  1541
        spc isNil ifTrue:[^ self].
ca
parents: 167
diff changeset
  1542
ca
parents: 167
diff changeset
  1543
        (clipBoardSpec collection remove:spc ifAbsent:nil) isNil ifTrue:[
ca
parents: 167
diff changeset
  1544
            ^ self
ca
parents: 167
diff changeset
  1545
        ].
ca
parents: 167
diff changeset
  1546
    ] ifFalse:[
ca
parents: 167
diff changeset
  1547
        spc := something collect:[:el| el theObject].
ca
parents: 167
diff changeset
  1548
    ].
ca
parents: 167
diff changeset
  1549
    self paste:spc.
ca
parents: 167
diff changeset
  1550
! !
ca
parents: 167
diff changeset
  1551
ca
parents: 167
diff changeset
  1552
!UISelectionPanel methodsFor:'queries'!
ca
parents: 167
diff changeset
  1553
ca
parents: 167
diff changeset
  1554
canPaste:something
ca
parents: 167
diff changeset
  1555
    "returns true if something could be paste
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1556
    "
182
ca
parents: 167
diff changeset
  1557
    (self isClipBoard and:[something notNil]) ifTrue:[
ca
parents: 167
diff changeset
  1558
        something isCollection ifTrue:[
ca
parents: 167
diff changeset
  1559
            something notEmpty ifTrue:[
ca
parents: 167
diff changeset
  1560
                ^ (something at:1) isKindOf:UISpecification
ca
parents: 167
diff changeset
  1561
            ]
ca
parents: 167
diff changeset
  1562
        ] ifFalse:[
ca
parents: 167
diff changeset
  1563
            ^ something isKindOf:UISpecification
ca
parents: 167
diff changeset
  1564
        ]
ca
parents: 167
diff changeset
  1565
    ].
ca
parents: 167
diff changeset
  1566
    ^ false
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1567
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1568
!
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1569
182
ca
parents: 167
diff changeset
  1570
isClipBoard
ca
parents: 167
diff changeset
  1571
    "returns true if current view is clip board
ca
parents: 167
diff changeset
  1572
    "
291
1fd3867c08cc an empty selection now is specified by 0
ca
parents: 251
diff changeset
  1573
    majorSelection ~~ 0 ifTrue:[
182
ca
parents: 167
diff changeset
  1574
        ^ (self majorList at:majorSelection) startsWith:'Clip'
ca
parents: 167
diff changeset
  1575
    ].
ca
parents: 167
diff changeset
  1576
  ^ false
ca
parents: 167
diff changeset
  1577
!
ca
parents: 167
diff changeset
  1578
ca
parents: 167
diff changeset
  1579
isUserBoard
ca
parents: 167
diff changeset
  1580
    "returns true if current view is clip board
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1581
    "
291
1fd3867c08cc an empty selection now is specified by 0
ca
parents: 251
diff changeset
  1582
    majorSelection ~~ 0 ifTrue:[
182
ca
parents: 167
diff changeset
  1583
        ^ (self majorList at:majorSelection) startsWith:'User'
ca
parents: 167
diff changeset
  1584
    ].
ca
parents: 167
diff changeset
  1585
  ^ false
ca
parents: 167
diff changeset
  1586
! !
ca
parents: 167
diff changeset
  1587
ca
parents: 167
diff changeset
  1588
!UISelectionPanel methodsFor:'selection'!
ca
parents: 167
diff changeset
  1589
ca
parents: 167
diff changeset
  1590
majorSelection
291
1fd3867c08cc an empty selection now is specified by 0
ca
parents: 251
diff changeset
  1591
    ^ majorSelection ? 0
182
ca
parents: 167
diff changeset
  1592
!
ca
parents: 167
diff changeset
  1593
ca
parents: 167
diff changeset
  1594
majorSelection:aSelection
ca
parents: 167
diff changeset
  1595
    |spec channel|
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1596
291
1fd3867c08cc an empty selection now is specified by 0
ca
parents: 251
diff changeset
  1597
    (majorSelection == aSelection or:[aSelection == 0]) ifTrue:[
182
ca
parents: 167
diff changeset
  1598
        ^ self
167
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1599
    ].
182
ca
parents: 167
diff changeset
  1600
    (self builder componentAt:#gallery) builder:nil.
ca
parents: 167
diff changeset
  1601
    majorSelection := aSelection.
ca
parents: 167
diff changeset
  1602
    spec := ((self class specifications) at:aSelection) last.
ca
parents: 167
diff changeset
  1603
ca
parents: 167
diff changeset
  1604
    spec isSymbol ifFalse:[
ca
parents: 167
diff changeset
  1605
        self galleryList value:(spec collect:[:a| a first]).
ca
parents: 167
diff changeset
  1606
        self minorKeys   value:(spec collect:[:a| a last]).
ca
parents: 167
diff changeset
  1607
    ] ifTrue:[
ca
parents: 167
diff changeset
  1608
        self perform:spec
ca
parents: 167
diff changeset
  1609
    ].
ca
parents: 167
diff changeset
  1610
    channel := self galleryModel.
ca
parents: 167
diff changeset
  1611
ca
parents: 167
diff changeset
  1612
    channel value notNil ifTrue:[
ca
parents: 167
diff changeset
  1613
        channel setValue:nil
ca
parents: 167
diff changeset
  1614
    ].
ca
parents: 167
diff changeset
  1615
    channel value:1.
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1616
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1617
! !
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1618
182
ca
parents: 167
diff changeset
  1619
!UISelectionPanel methodsFor:'startup / release'!
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1620
182
ca
parents: 167
diff changeset
  1621
allButOpenInterface:aSpec
ca
parents: 167
diff changeset
  1622
    "setup default values
ca
parents: 167
diff changeset
  1623
    "
ca
parents: 167
diff changeset
  1624
    super allButOpenInterface:aSpec.
ca
parents: 167
diff changeset
  1625
    userClass  := UserClass.
ca
parents: 167
diff changeset
  1626
    userSpecs  := UserSpecs.
ca
parents: 167
diff changeset
  1627
    userLabels := UserLabels.
ca
parents: 167
diff changeset
  1628
!
ca
parents: 167
diff changeset
  1629
ca
parents: 167
diff changeset
  1630
closeRequest
ca
parents: 167
diff changeset
  1631
    |sav|
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1632
182
ca
parents: 167
diff changeset
  1633
    (sav := masterApplication) notNil ifTrue:[
ca
parents: 167
diff changeset
  1634
        masterApplication := nil.
244
b70597d2a39b do not send #closeRequest to nil.
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
  1635
        sav closeRequestFor:(self window).
182
ca
parents: 167
diff changeset
  1636
        masterApplication := sav.
ca
parents: 167
diff changeset
  1637
    ] ifFalse:[
ca
parents: 167
diff changeset
  1638
        super closeRequest.
ca
parents: 167
diff changeset
  1639
    ]
244
b70597d2a39b do not send #closeRequest to nil.
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
  1640
b70597d2a39b do not send #closeRequest to nil.
Claus Gittinger <cg@exept.de>
parents: 216
diff changeset
  1641
    "Modified: 28.7.1997 / 09:44:40 / cg"
182
ca
parents: 167
diff changeset
  1642
!
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1643
291
1fd3867c08cc an empty selection now is specified by 0
ca
parents: 251
diff changeset
  1644
initialize
1fd3867c08cc an empty selection now is specified by 0
ca
parents: 251
diff changeset
  1645
    super initialize.
1fd3867c08cc an empty selection now is specified by 0
ca
parents: 251
diff changeset
  1646
    majorSelection := 0.
1fd3867c08cc an empty selection now is specified by 0
ca
parents: 251
diff changeset
  1647
!
1fd3867c08cc an empty selection now is specified by 0
ca
parents: 251
diff changeset
  1648
182
ca
parents: 167
diff changeset
  1649
openWindow
ca
parents: 167
diff changeset
  1650
    "setup default values
ca
parents: 167
diff changeset
  1651
    "
ca
parents: 167
diff changeset
  1652
    super openWindow.
ca
parents: 167
diff changeset
  1653
    "/ self window waitForExpose.
ca
parents: 167
diff changeset
  1654
    Delay waitForSeconds:1.
ca
parents: 167
diff changeset
  1655
    self majorChannel value:1.
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1656
! !
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1657
182
ca
parents: 167
diff changeset
  1658
!UISelectionPanel methodsFor:'user defined'!
ca
parents: 167
diff changeset
  1659
ca
parents: 167
diff changeset
  1660
userDefined
ca
parents: 167
diff changeset
  1661
    |cls lbl sel builder|
329
ca
parents: 324
diff changeset
  1662
ca
parents: 324
diff changeset
  1663
    cls := self resolveName:userClass.
ca
parents: 324
diff changeset
  1664
ca
parents: 324
diff changeset
  1665
    (cls notNil and:[(cls respondsTo:userLabels)]) ifTrue:[
ca
parents: 324
diff changeset
  1666
        lbl := cls perform:userLabels.
ca
parents: 324
diff changeset
  1667
        sel := Array new:(lbl size) withAll:#userDefinedSpec.
ca
parents: 324
diff changeset
  1668
        self galleryList value:lbl.
ca
parents: 324
diff changeset
  1669
        self minorKeys   value:sel.
ca
parents: 324
diff changeset
  1670
    ] ifFalse:[
397
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
  1671
        builder := UIBuilder new isEditing:true.
be1357e3bf7f checkin from browser
ca
parents: 387
diff changeset
  1672
329
ca
parents: 324
diff changeset
  1673
        builder application:self.
ca
parents: 324
diff changeset
  1674
        (self builder componentAt:#gallery) builder:builder. 
ca
parents: 324
diff changeset
  1675
        self galleryList value:#( '???' ).
ca
parents: 324
diff changeset
  1676
        self minorKeys   value:#( standardUserPanel ).
ca
parents: 324
diff changeset
  1677
    ]
182
ca
parents: 167
diff changeset
  1678
!
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1679
182
ca
parents: 167
diff changeset
  1680
userDefinedHelpText
ca
parents: 167
diff changeset
  1681
ca
parents: 167
diff changeset
  1682
^ '
ca
parents: 167
diff changeset
  1683
no user defined specifications are configured yet. To assign
ca
parents: 167
diff changeset
  1684
user defined specifications to the gallery press the middle
ca
parents: 167
diff changeset
  1685
button of your mouse to open a dialog.
ca
parents: 167
diff changeset
  1686
'
ca
parents: 167
diff changeset
  1687
!
ca
parents: 167
diff changeset
  1688
ca
parents: 167
diff changeset
  1689
userDefinedSpec
ca
parents: 167
diff changeset
  1690
    |cls spc idx|
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1691
329
ca
parents: 324
diff changeset
  1692
    cls := self resolveName:userClass.
182
ca
parents: 167
diff changeset
  1693
329
ca
parents: 324
diff changeset
  1694
    (cls notNil and:[(cls respondsTo:userSpecs)]) ifTrue:[
ca
parents: 324
diff changeset
  1695
        spc := cls perform:userSpecs.
ca
parents: 324
diff changeset
  1696
        idx := self galleryModel value.
ca
parents: 324
diff changeset
  1697
ca
parents: 324
diff changeset
  1698
        idx <= spc size ifTrue:[
ca
parents: 324
diff changeset
  1699
            spc := spc at:idx.
ca
parents: 324
diff changeset
  1700
            (cls respondsTo:spc) ifTrue:[
ca
parents: 324
diff changeset
  1701
                ^ cls perform:spc
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1702
            ]
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1703
        ]
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1704
    ].
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1705
  ^ nil
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1706
! !
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1707
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1708
!UISelectionPanel::UserDefinedGallery class methodsFor:'class initialization'!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1709
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1710
initialize
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1711
    "initialize my default user-def from the superclasses specs.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1712
     I.e. provide a clocks entry"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1713
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1714
    LabelList := self defaultListOfLabels asOrderedCollection.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1715
    SelectorList := self defaultListOfSelectors asOrderedCollection.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1716
    HolderList := OrderedCollection new grow:(SelectorList size).
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1717
    NextUniqueNumber := 1.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1718
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1719
    UISelectionPanel 
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1720
        userClass:self
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1721
        specSelector:#listOfSelectors
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1722
        labelSelector:#listOfLabels.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1723
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1724
    "
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1725
     self initialize
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1726
    "
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1727
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1728
    "Modified: / 5.12.1997 / 14:25:22 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1729
    "Created: / 8.12.1997 / 18:49:42 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1730
! !
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1731
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1732
!UISelectionPanel::UserDefinedGallery class methodsFor:'defaults'!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1733
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1734
defaultListOfLabels
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1735
    ^ #( 'clocks' )
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1736
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1737
    "Created: / 8.12.1997 / 18:50:06 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1738
!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1739
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1740
defaultListOfSelectors
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1741
    ^ #( clocksSpec )
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1742
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1743
    "Modified: / 5.12.1997 / 14:03:55 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1744
    "Created: / 8.12.1997 / 18:50:21 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1745
! !
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1746
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1747
!UISelectionPanel::UserDefinedGallery class methodsFor:'documentation'!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1748
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1749
copyright
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1750
"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1751
 COPYRIGHT (c) 1997 by eXept Software AG
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1752
              All Rights Reserved
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1753
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1754
 This software is furnished under a license and may be used
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1755
 only in accordance with the terms of that license and with the
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1756
 inclusion of the above copyright notice.   This software may not
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1757
 be provided or otherwise made available to, or used by, any
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1758
 other person.  No title to or ownership of the software is
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1759
 hereby transferred.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1760
"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1761
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1762
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1763
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1764
!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1765
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1766
documentation
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1767
"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1768
    The standard user-defined selectionPanel entry.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1769
    Here, a single item named 'clocks' is provided, containing
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1770
    an analog and digital clock.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1771
    This is a dump example; the actual user-defined panel may be
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1772
    extended dynamically.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1773
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1774
    Frameworks which provide additional widgets may dynamically
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1775
    add more entries, by sending #addUserSpecHolder:label:
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1776
    or #removeUserSpecWithLabel:.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1777
    Typically, this is done when a framework is loaded, by one of the
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1778
    frameworks class-initialization methods.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1779
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1780
    [start with:]
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1781
        UISelectionPanel open
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1782
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1783
    [author:]
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1784
        Claus Gittinger
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1785
        Claus Atzkern
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1786
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1787
    [see also:]
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1788
        TabView
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1789
        NoteBookView
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1790
        UIGalleryView
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1791
        UIPainter
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1792
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1793
"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1794
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1795
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1796
! !
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1797
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1798
!UISelectionPanel::UserDefinedGallery class methodsFor:'installation / deinstallation'!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1799
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1800
addUserSpecHolder:aValueHolder label:aLabelString
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1801
    "add a new entry with the given label.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1802
     The specHolder is typically either a spec, a valueHolder or a block.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1803
     In any case, it should return a valid spec from the #value message.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1804
     This spec is installed under that label."
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1805
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1806
    |syntheticSelector idx|
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1807
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1808
    syntheticSelector := ('userSpec' , NextUniqueNumber printString) asSymbol.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1809
    NextUniqueNumber := NextUniqueNumber + 1.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1810
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1811
    idx := LabelList indexOf:aLabelString.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1812
    idx ~~ 0 ifTrue:[
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1813
        SelectorList at:idx put:syntheticSelector.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1814
        HolderList at:idx put:aValueHolder
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1815
    ] ifFalse:[
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1816
        LabelList addLast:aLabelString.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1817
        SelectorList addLast:syntheticSelector.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1818
        HolderList addLast:aValueHolder
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1819
    ]
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1820
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1821
    "Modified: / 5.12.1997 / 14:13:17 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1822
    "Created: / 8.12.1997 / 18:50:55 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1823
!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1824
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1825
removeUserSpecWithLabel:aLabelString
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1826
    "remove the spec which was previously installed under the given label"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1827
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1828
    |idx|
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1829
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1830
    idx := LabelList indexOf:aLabelString.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1831
    idx ~~ 0 ifTrue:[
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1832
        LabelList removeIndex:idx.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1833
        SelectorList removeIndex:idx.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1834
        HolderList removeIndex:idx
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1835
    ].
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1836
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1837
    "Modified: / 5.12.1997 / 14:13:45 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1838
    "Created: / 8.12.1997 / 18:51:03 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1839
! !
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1840
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1841
!UISelectionPanel::UserDefinedGallery class methodsFor:'user defined gallery'!
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1842
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1843
clocksSpec
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1844
    "this window spec was automatically generated by the ST/X UIPainter"
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1845
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1846
    "do not manually edit this - the painter/builder may not be able to
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1847
     handle the specification if its corrupted."
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1848
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1849
    "
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1850
     UIPainter new openOnClass:UISelectionPanel::ExampleUserDefinedGallery andSelector:#clocksSpec
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1851
     UISelectionPanel::ExampleUserDefinedGallery new openInterface:#clocksSpec
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1852
    "
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1853
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1854
    <resource: #canvas>
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1855
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1856
    ^
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1857
     
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1858
       #(#FullSpec
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1859
          #'window:' 
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1860
           #(#WindowSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
  1861
              #'name:' 'Interface Builder'
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
  1862
              #'layout:' #(#LayoutFrame 22 0 236 0 401 0 506 0)
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1863
              #'label:' 'Interface Builder'
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
  1864
              #'min:' #(#Point 10 10)
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
  1865
              #'max:' #(#Point 1280 1024)
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
  1866
              #'bounds:' #(#Rectangle 22 236 402 507)
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1867
          )
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1868
          #'component:' 
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1869
           #(#SpecCollection
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1870
              #'collection:' 
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1871
               #(
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1872
                 #(#ArbitraryComponentSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
  1873
                    #'name:' 'ClockView'
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1874
                    #'layout:' #(#LayoutFrame 11 0 11 0 125 0 123 0)
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1875
                    #'component:' #ClockView
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1876
                    #'hasBorder:' false
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1877
                )
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1878
                 #(#ArbitraryComponentSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
  1879
                    #'name:' 'DigitalClockView'
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
  1880
                    #'layout:' #(#LayoutOrigin 136 0 11 0)
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1881
                    #'component:' #DigitalClockView
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1882
                    #'hasBorder:' false
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1883
                )
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1884
              )
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1885
          )
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1886
      )
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
  1887
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1888
    "Modified: / 4.10.1997 / 15:12:27 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1889
    "Created: / 8.12.1997 / 18:40:22 / cg"
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1890
!
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1891
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1892
listOfLabels
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1893
    ^ LabelList
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1894
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1895
    "Created: / 5.12.1997 / 13:43:03 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1896
    "Modified: / 8.12.1997 / 18:51:20 / cg"
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1897
!
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1898
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1899
listOfSelectors
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1900
    ^ SelectorList
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1901
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1902
    "Created: / 5.12.1997 / 13:43:13 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1903
    "Modified: / 8.12.1997 / 18:51:28 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1904
! !
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1905
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1906
!UISelectionPanel::UserDefinedGallery class methodsFor:'user spec access'!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1907
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1908
doesNotUnderstand:aMessage
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1909
    "catch queries for a userSpec"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1910
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1911
    |sel idx|
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1912
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1913
    ((sel := aMessage selector) startsWith:'userSpec') ifTrue:[
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1914
        idx := SelectorList indexOf:sel.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1915
        idx ~~ 0 ifTrue:[
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1916
            ^ (HolderList at:idx) value
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1917
        ]
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1918
    ].
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1919
    ^ super doesNotUnderstand:aMessage
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1920
387
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1921
    "Modified: / 5.12.1997 / 14:23:24 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1922
    "Created: / 8.12.1997 / 18:51:50 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1923
!
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1924
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1925
respondsTo:aSelector
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1926
    "catch queries for a userSpec"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1927
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1928
    |idx|
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1929
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1930
    (aSelector startsWith:'userSpec') ifTrue:[
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1931
        idx := Number fromString:(aSelector copyFrom:9).
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1932
        idx := SelectorList indexOf:aSelector.
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1933
        idx ~~ 0 ifTrue:[^ true].
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1934
    ].
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1935
    ^ super respondsTo:aSelector
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1936
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1937
    "Modified: / 5.12.1997 / 14:19:55 / cg"
8fa6afe1b929 allow dynamic change of user defined selectionPanel
Claus Gittinger <cg@exept.de>
parents: 359
diff changeset
  1938
    "Created: / 8.12.1997 / 18:51:57 / cg"
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1939
! !
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1940
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1941
!UISelectionPanel class methodsFor:'documentation'!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1942
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1943
version
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1944
    ^ '$Header$'
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1945
! !
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
  1946
UISelectionPanel initialize!