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