UISelectionPanel.st
author ca
Wed, 15 Oct 1997 12:39:54 +0200
changeset 329 7661f4d15ead
parent 324 2898d6c12330
child 334 3f632e9711e8
permissions -rw-r--r--
add: #resolveName:
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
207
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    22
Object subclass:#ExampleUserDefinedGallery
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    23
	instanceVariableNames:''
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    24
	classVariableNames:''
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.
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    73
    UserClass  := UISelectionPanel::ExampleUserDefinedGallery.
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.
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    76
! !
a31cc933368a set user defined specification during initialization of class
ca
parents: 190
diff changeset
    77
182
ca
parents: 167
diff changeset
    78
!UISelectionPanel class methodsFor:'accessing'!
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    79
182
ca
parents: 167
diff changeset
    80
specifications
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
    81
182
ca
parents: 167
diff changeset
    82
    ^ #(
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    83
        #( 'Standards'  #( 
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    84
                            #('Button & Toggle'         standardButtonToggle)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    85
                            #('Menus'                   standardMenus)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    86
                            #('Panel'                   standardPanels)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    87
                            #('Text'                    standardText)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
    88
                            #('Lists'                   standartLists)
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    89
                            #('Views'                   standardViews)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    90
                            #('Canvas'                  standardCanvas)
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
    91
                            #('Sliders'                 standardSliders)
182
ca
parents: 167
diff changeset
    92
                         )
ca
parents: 167
diff changeset
    93
         )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
    94
182
ca
parents: 167
diff changeset
    95
        #( 'Clip Board'  #(
ca
parents: 167
diff changeset
    96
                            #('Copy & Paste Buffer'     clipBoardSpec)
ca
parents: 167
diff changeset
    97
                          )
ca
parents: 167
diff changeset
    98
         )
135
8f4b6117ccaa new withDefault
ca
parents: 125
diff changeset
    99
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   100
        #( 'User Def.'   #userDefined )
182
ca
parents: 167
diff changeset
   101
     )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   102
! !
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   103
182
ca
parents: 167
diff changeset
   104
!UISelectionPanel class methodsFor:'interface specification'!
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   105
182
ca
parents: 167
diff changeset
   106
nameAndSelectorSpec
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   107
    "this window spec was automatically generated by the ST/X UIPainter"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   108
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   109
    "do not manually edit this - the painter/builder may not be able to
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   110
     handle the specification if its corrupted."
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   111
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   112
    "
182
ca
parents: 167
diff changeset
   113
     UIPainter new openOnClass:UISelectionPanel andSelector:#nameAndSelectorSpec
ca
parents: 167
diff changeset
   114
     UISelectionPanel new openInterface:#nameAndSelectorSpec
ca
parents: 167
diff changeset
   115
    "
ca
parents: 167
diff changeset
   116
ca
parents: 167
diff changeset
   117
    <resource: #canvas>
ca
parents: 167
diff changeset
   118
ca
parents: 167
diff changeset
   119
    ^
ca
parents: 167
diff changeset
   120
     
ca
parents: 167
diff changeset
   121
       #(#FullSpec
ca
parents: 167
diff changeset
   122
          #'window:' 
ca
parents: 167
diff changeset
   123
           #(#WindowSpec
ca
parents: 167
diff changeset
   124
              #'name:' 'uIPainterView'
ca
parents: 167
diff changeset
   125
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
ca
parents: 167
diff changeset
   126
              #'label:' 'Painter'
ca
parents: 167
diff changeset
   127
              #'bounds:' #(#Rectangle 0 0 315 216)
ca
parents: 167
diff changeset
   128
          )
ca
parents: 167
diff changeset
   129
          #'component:' 
ca
parents: 167
diff changeset
   130
           #(#SpecCollection
ca
parents: 167
diff changeset
   131
              #'collection:' 
ca
parents: 167
diff changeset
   132
               #(
ca
parents: 167
diff changeset
   133
                 #(#LabelSpec
ca
parents: 167
diff changeset
   134
                    #'name:' 'title'
ca
parents: 167
diff changeset
   135
                    #'layout:' #(#Point 5 10)
ca
parents: 167
diff changeset
   136
                    #'label:' 'class & selectors to access user specs:'
ca
parents: 167
diff changeset
   137
                    #'adjust:' #left
ca
parents: 167
diff changeset
   138
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   139
                )
ca
parents: 167
diff changeset
   140
                 #(#LabelSpec
ca
parents: 167
diff changeset
   141
                    #'name:' 'classLabel'
ca
parents: 167
diff changeset
   142
                    #'layout:' #(#AlignmentOrigin 68 0.11 51 0 1 0.5)
ca
parents: 167
diff changeset
   143
                    #'label:' 'Class:'
ca
parents: 167
diff changeset
   144
                    #'adjust:' #right
ca
parents: 167
diff changeset
   145
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   146
                )
ca
parents: 167
diff changeset
   147
                 #(#InputFieldSpec
ca
parents: 167
diff changeset
   148
                    #'name:' 'classField'
ca
parents: 167
diff changeset
   149
                    #'layout:' #(#LayoutFrame 74 0.11 39 0 -5 1.0 61 0)
ca
parents: 167
diff changeset
   150
                    #'tabable:' true
ca
parents: 167
diff changeset
   151
                    #'model:' #className
ca
parents: 167
diff changeset
   152
                    #'type:' #string
ca
parents: 167
diff changeset
   153
                )
ca
parents: 167
diff changeset
   154
                 #(#LabelSpec
ca
parents: 167
diff changeset
   155
                    #'name:' 'labelsLabel'
ca
parents: 167
diff changeset
   156
                    #'layout:' #(#AlignmentOrigin 68 0.11 74 0 1 0.5)
ca
parents: 167
diff changeset
   157
                    #'label:' 'Labels:'
ca
parents: 167
diff changeset
   158
                    #'adjust:' #right
ca
parents: 167
diff changeset
   159
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   160
                )
ca
parents: 167
diff changeset
   161
                 #(#InputFieldSpec
ca
parents: 167
diff changeset
   162
                    #'name:' 'labelsField'
ca
parents: 167
diff changeset
   163
                    #'layout:' #(#LayoutFrame 74 0.11 64 0 -5 1.0 86 0)
ca
parents: 167
diff changeset
   164
                    #'tabable:' true
ca
parents: 167
diff changeset
   165
                    #'model:' #labelsKey
ca
parents: 167
diff changeset
   166
                    #'type:' #symbolOrNil
ca
parents: 167
diff changeset
   167
                )
ca
parents: 167
diff changeset
   168
                 #(#LabelSpec
ca
parents: 167
diff changeset
   169
                    #'name:' 'specsLabel'
ca
parents: 167
diff changeset
   170
                    #'layout:' #(#AlignmentOrigin 68 0.11 99 0 1 0.5)
ca
parents: 167
diff changeset
   171
                    #'label:' 'Specifications:'
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:' 'specsField'
ca
parents: 167
diff changeset
   177
                    #'layout:' #(#LayoutFrame 74 0.11 89 0 -5 1.0 111 0)
ca
parents: 167
diff changeset
   178
                    #'tabable:' true
ca
parents: 167
diff changeset
   179
                    #'model:' #specsKey
ca
parents: 167
diff changeset
   180
                    #'type:' #symbolOrNil
ca
parents: 167
diff changeset
   181
                )
ca
parents: 167
diff changeset
   182
                 #(#HorizontalPanelViewSpec
ca
parents: 167
diff changeset
   183
                    #'name:' 'commitPanel'
ca
parents: 167
diff changeset
   184
                    #'layout:' #(#LayoutFrame 0 0.0 -23 1.0 0 1.0 0 1.0)
ca
parents: 167
diff changeset
   185
                    #'component:' 
ca
parents: 167
diff changeset
   186
                     #(#SpecCollection
ca
parents: 167
diff changeset
   187
                        #'collection:' 
ca
parents: 167
diff changeset
   188
                         #(
ca
parents: 167
diff changeset
   189
                           #(#ActionButtonSpec
ca
parents: 167
diff changeset
   190
                              #'name:' 'cancel'
ca
parents: 167
diff changeset
   191
                              #'label:' 'cancel'
ca
parents: 167
diff changeset
   192
                              #'tabable:' true
ca
parents: 167
diff changeset
   193
                              #'model:' #cancel
ca
parents: 167
diff changeset
   194
                              #'extent:' #(#Point 153 23)
ca
parents: 167
diff changeset
   195
                          )
ca
parents: 167
diff changeset
   196
                           #(#ActionButtonSpec
ca
parents: 167
diff changeset
   197
                              #'name:' 'accept'
ca
parents: 167
diff changeset
   198
                              #'label:' 'ok'
ca
parents: 167
diff changeset
   199
                              #'tabable:' true
ca
parents: 167
diff changeset
   200
                              #'isDefault:' true
ca
parents: 167
diff changeset
   201
                              #'model:' #accept
ca
parents: 167
diff changeset
   202
                              #'extent:' #(#Point 153 23)
ca
parents: 167
diff changeset
   203
                          )
ca
parents: 167
diff changeset
   204
                        )
ca
parents: 167
diff changeset
   205
                    )
ca
parents: 167
diff changeset
   206
                    #'horizontalLayout:' #fitSpace
ca
parents: 167
diff changeset
   207
                    #'verticalLayout:' #fit
ca
parents: 167
diff changeset
   208
                    #'horizontalSpace:' 3
ca
parents: 167
diff changeset
   209
                    #'verticalSpace:' 3
ca
parents: 167
diff changeset
   210
                )
ca
parents: 167
diff changeset
   211
                 #(#CheckBoxSpec
ca
parents: 167
diff changeset
   212
                    #'name:' 'updateDefaultResources'
ca
parents: 167
diff changeset
   213
                    #'layout:' #(#Point 5 133)
ca
parents: 167
diff changeset
   214
                    #'model:' #updateDefaultResources
ca
parents: 167
diff changeset
   215
                    #'label:' 'Update Default Resources'
ca
parents: 167
diff changeset
   216
                )
ca
parents: 167
diff changeset
   217
              )
ca
parents: 167
diff changeset
   218
          )
ca
parents: 167
diff changeset
   219
      )
ca
parents: 167
diff changeset
   220
!
ca
parents: 167
diff changeset
   221
ca
parents: 167
diff changeset
   222
windowSpec
ca
parents: 167
diff changeset
   223
    "this window spec was automatically generated by the ST/X UIPainter"
ca
parents: 167
diff changeset
   224
ca
parents: 167
diff changeset
   225
    "do not manually edit this - the painter/builder may not be able to
ca
parents: 167
diff changeset
   226
     handle the specification if its corrupted."
ca
parents: 167
diff changeset
   227
ca
parents: 167
diff changeset
   228
    "
ca
parents: 167
diff changeset
   229
     UIPainter new openOnClass:UISelectionPanel andSelector:#windowSpec
ca
parents: 167
diff changeset
   230
     UISelectionPanel new openInterface:#windowSpec
ca
parents: 167
diff changeset
   231
    "
ca
parents: 167
diff changeset
   232
    "UISelectionPanel open"
ca
parents: 167
diff changeset
   233
ca
parents: 167
diff changeset
   234
    <resource: #canvas>
ca
parents: 167
diff changeset
   235
ca
parents: 167
diff changeset
   236
    ^
ca
parents: 167
diff changeset
   237
     
ca
parents: 167
diff changeset
   238
       #(#FullSpec
ca
parents: 167
diff changeset
   239
          #'window:' 
ca
parents: 167
diff changeset
   240
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   241
              #'name:' 'Component Gallery'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   242
              #'layout:' #(#LayoutFrame 78 0 70 0 598 0 352 0)
182
ca
parents: 167
diff changeset
   243
              #'label:' 'Component Gallery'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   244
              #'min:' #(#Point 100 280)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   245
              #'max:' #(#Point 1160 870)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   246
              #'bounds:' #(#Rectangle 78 70 599 353)
182
ca
parents: 167
diff changeset
   247
          )
ca
parents: 167
diff changeset
   248
          #'component:' 
ca
parents: 167
diff changeset
   249
           #(#SpecCollection
ca
parents: 167
diff changeset
   250
              #'collection:' 
ca
parents: 167
diff changeset
   251
               #(
ca
parents: 167
diff changeset
   252
                 #(#UIGalleryViewSpec
ca
parents: 167
diff changeset
   253
                    #'name:' 'gallery'
ca
parents: 167
diff changeset
   254
                    #'layout:' #(#LayoutFrame 0 0.0 0 0.0 -40 1.0 0 1.0)
ca
parents: 167
diff changeset
   255
                    #'tabable:' true
ca
parents: 167
diff changeset
   256
                    #'menu:' #galleryList
ca
parents: 167
diff changeset
   257
                    #'style:' 
ca
parents: 167
diff changeset
   258
                     #(#FontDescription
ca
parents: 167
diff changeset
   259
                        #helvetica #medium
ca
parents: 167
diff changeset
   260
                        #roman #'10'
ca
parents: 167
diff changeset
   261
                    )
ca
parents: 167
diff changeset
   262
                    #'model:' #galleryModel
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   263
                    #'useIndex:' true
182
ca
parents: 167
diff changeset
   264
                    #'minorKeys:' #minorKeys
ca
parents: 167
diff changeset
   265
                    #'clientSpec:' #clientSpec
ca
parents: 167
diff changeset
   266
                    #'raiseMenu:' #raiseMenu
ca
parents: 167
diff changeset
   267
                )
ca
parents: 167
diff changeset
   268
                 #(#TabViewSpec
ca
parents: 167
diff changeset
   269
                    #'name:' 'major'
ca
parents: 167
diff changeset
   270
                    #'layout:' #(#LayoutFrame -40 1.0 30 0.0 0 1.0 0 1.0)
ca
parents: 167
diff changeset
   271
                    #'menu:' #majorList
ca
parents: 167
diff changeset
   272
                    #'style:' 
ca
parents: 167
diff changeset
   273
                     #(#FontDescription
ca
parents: 167
diff changeset
   274
                        #helvetica #medium
ca
parents: 167
diff changeset
   275
                        #roman #'10'
ca
parents: 167
diff changeset
   276
                    )
ca
parents: 167
diff changeset
   277
                    #'model:' #majorChannel
ca
parents: 167
diff changeset
   278
                    #'direction:' #right
ca
parents: 167
diff changeset
   279
                    #'useIndex:' true
ca
parents: 167
diff changeset
   280
                )
ca
parents: 167
diff changeset
   281
              )
ca
parents: 167
diff changeset
   282
          )
ca
parents: 167
diff changeset
   283
      )
ca
parents: 167
diff changeset
   284
! !
ca
parents: 167
diff changeset
   285
ca
parents: 167
diff changeset
   286
!UISelectionPanel class methodsFor:'menus'!
ca
parents: 167
diff changeset
   287
ca
parents: 167
diff changeset
   288
menuSelected
ca
parents: 167
diff changeset
   289
    ^ #(#Menu #(
ca
parents: 167
diff changeset
   290
                #(#MenuItem
ca
parents: 167
diff changeset
   291
                        #'label:' 'copy'
ca
parents: 167
diff changeset
   292
                        #'value:' #copy
ca
parents: 167
diff changeset
   293
                 )
ca
parents: 167
diff changeset
   294
                #(#MenuItem
ca
parents: 167
diff changeset
   295
                        #'label:' 'cut'
ca
parents: 167
diff changeset
   296
                        #'value:' #cut
ca
parents: 167
diff changeset
   297
                 )
ca
parents: 167
diff changeset
   298
                )
ca
parents: 167
diff changeset
   299
               nil
ca
parents: 167
diff changeset
   300
               nil
ca
parents: 167
diff changeset
   301
        )
ca
parents: 167
diff changeset
   302
ca
parents: 167
diff changeset
   303
ca
parents: 167
diff changeset
   304
ca
parents: 167
diff changeset
   305
!
ca
parents: 167
diff changeset
   306
ca
parents: 167
diff changeset
   307
menuUnselected
ca
parents: 167
diff changeset
   308
    ^ #(#Menu #(
ca
parents: 167
diff changeset
   309
                #(#MenuItem
ca
parents: 167
diff changeset
   310
                        #'label:' 'paste'
ca
parents: 167
diff changeset
   311
                        #'value:' #paste
ca
parents: 167
diff changeset
   312
                 )
ca
parents: 167
diff changeset
   313
                )
ca
parents: 167
diff changeset
   314
               nil
ca
parents: 167
diff changeset
   315
               nil
ca
parents: 167
diff changeset
   316
        )
ca
parents: 167
diff changeset
   317
ca
parents: 167
diff changeset
   318
ca
parents: 167
diff changeset
   319
ca
parents: 167
diff changeset
   320
! !
ca
parents: 167
diff changeset
   321
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   322
!UISelectionPanel class methodsFor:'standard specifications'!
182
ca
parents: 167
diff changeset
   323
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   324
standardButtonToggle
182
ca
parents: 167
diff changeset
   325
    "this window spec was automatically generated by the ST/X UIPainter"
ca
parents: 167
diff changeset
   326
ca
parents: 167
diff changeset
   327
    "do not manually edit this - the painter/builder may not be able to
ca
parents: 167
diff changeset
   328
     handle the specification if its corrupted."
ca
parents: 167
diff changeset
   329
ca
parents: 167
diff changeset
   330
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   331
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardButtonToggle
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   332
     UISelectionPanel new openInterface:#standardButtonToggle
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   333
    "
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   334
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   335
    <resource: #canvas>
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   336
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   337
    ^
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
   338
     
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   339
       #(#FullSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   340
          #'window:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   341
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   342
              #'name:' 'Buttons'
323
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   343
              #'layout:' #(#LayoutFrame 104 0 416 0 582 0 615 0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   344
              #'label:' 'Buttons'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   345
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   346
              #'max:' #(#Point 1280 1024)
323
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   347
              #'bounds:' #(#Rectangle 104 416 583 616)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   348
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   349
          #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   350
           #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   351
              #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   352
               #(
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   353
                 #(#ArrowButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   354
                    #'name:' 'ArrowButton up'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   355
                    #'layout:' #(#LayoutFrame 276 0 15 0 298 0 37 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   356
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   357
                    #'direction:' #up
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   358
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   359
                 #(#ActionButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   360
                    #'name:' 'Button'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   361
                    #'layout:' #(#LayoutFrame 20 0 15 0 119 0 37 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   362
                    #'label:' 'Button'
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   363
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   364
                 #(#RadioButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   365
                    #'name:' 'RadioButton'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   366
                    #'layout:' #(#LayoutFrame 135 0.0 15 0 258 0 37 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   367
                    #'label:' 'RadioButton'
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   368
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   369
                    #'showLamp:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   370
                    #'lampColor:' #(#Color 100.0 100.0 0.0)
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   371
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   372
                 #(#ArrowButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   373
                    #'name:' 'ArrowButton down'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   374
                    #'layout:' #(#LayoutFrame 276 0 46 0 298 0 68 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   375
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   376
                    #'direction:' #down
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   377
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   378
                 #(#ArrowButtonSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   379
                    #'name:' 'ArrowButton left'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   380
                    #'layout:' #(#LayoutFrame 276 0 77 0 298 0 99 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   381
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   382
                    #'direction:' #left
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 right'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   386
                    #'layout:' #(#LayoutFrame 276 0 108 0 298 0 130 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   387
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   388
                    #'direction:' #right
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   389
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   390
                 #(#CheckToggleSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   391
                    #'name:' 'CheckToggle'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   392
                    #'layout:' #(#LayoutFrame 317 0 77 0 337 0 97 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   393
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   394
                    #'showLamp:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   395
                    #'lampColor:' #(#Color 100.0 100.0 0.0)
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   396
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   397
                 #(#ToggleSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   398
                    #'name:' 'Toggle'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   399
                    #'layout:' #(#LayoutFrame 317 0 15 0 436 0 37 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   400
                    #'label:' 'Toggle'
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   401
                    #'isTriggerOnDown:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   402
                    #'showLamp:' true
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   403
                    #'lampColor:' #(#Color 100.0 100.0 0.0)
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   404
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   405
                 #(#CheckBoxSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   406
                    #'name:' 'CheckBox'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   407
                    #'layout:' #(#LayoutFrame 317 0 46 0 436 0 68 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   408
                    #'label:' 'CheckBox'
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   409
                )
105
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   410
                 #(#ActionButtonSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   411
                    #'name:' 'Button - ok'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   412
                    #'layout:' #(#LayoutFrame 20 0 46 0 119 0 68 0)
105
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   413
                    #'label:' 'ok'
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   414
                    #'model:' #accept
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   415
                )
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   416
                 #(#ActionButtonSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   417
                    #'name:' 'Button - cancel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   418
                    #'layout:' #(#LayoutFrame 20 0 77 0 119 0 99 0)
105
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   419
                    #'label:' 'cancel'
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   420
                    #'model:' #cancel
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   421
                )
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   422
                 #(#ActionButtonSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   423
                    #'name:' 'Button - help'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   424
                    #'layout:' #(#LayoutFrame 20 0 108 0 119 0 130 0)
105
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   425
                    #'label:' 'help'
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   426
                    #'model:' #help
23c7896c2e49 add new objects
ca
parents: 104
diff changeset
   427
                )
323
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   428
                 #(#ActionButtonSpec
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   429
                    #'name:' 'Button - close'
323
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   430
                    #'layout:' #(#LayoutFrame 20 0 139 0 119 0 161 0)
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   431
                    #'label:' 'dismiss'
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   432
                    #'model:' #closeRequest
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   433
                )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   434
              )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   435
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   436
      )
323
8b98ae257e5c added dismiss button
Claus Gittinger <cg@exept.de>
parents: 308
diff changeset
   437
324
2898d6c12330 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   438
    "Modified: 4.10.1997 / 15:06:03 / cg"
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   439
!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   440
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   441
standardCanvas
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   442
    "this window spec was automatically generated by the ST/X UIPainter"
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   443
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   444
    "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
   445
     handle the specification if its corrupted."
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   446
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   447
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   448
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardCanvas
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   449
     UISelectionPanel new openInterface:#standardCanvas
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   450
    "
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   451
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   452
    <resource: #canvas>
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   453
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   454
    ^
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   455
     
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   456
       #(#FullSpec
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   457
          #'window:' 
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   458
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   459
              #'name:' 'Canvas'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   460
              #'layout:' #(#LayoutFrame 62 0 64 0 516 0 292 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   461
              #'label:' 'Canvas'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   462
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   463
              #'max:' #(#Point 1160 870)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   464
              #'bounds:' #(#Rectangle 62 64 517 293)
182
ca
parents: 167
diff changeset
   465
          )
ca
parents: 167
diff changeset
   466
          #'component:' 
ca
parents: 167
diff changeset
   467
           #(#SpecCollection
ca
parents: 167
diff changeset
   468
              #'collection:' 
ca
parents: 167
diff changeset
   469
               #(
ca
parents: 167
diff changeset
   470
                 #(#UIGalleryViewSpec
ca
parents: 167
diff changeset
   471
                    #'name:' 'Gallery'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   472
                    #'layout:' #(#LayoutFrame 20 0 15 0 197 0 106 0)
182
ca
parents: 167
diff changeset
   473
                )
ca
parents: 167
diff changeset
   474
                 #(#LabelSpec
ca
parents: 167
diff changeset
   475
                    #'name:' 'GalleryLabel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   476
                    #'layout:' #(#Point 24 84)
182
ca
parents: 167
diff changeset
   477
                    #'label:' 'Gallery'
ca
parents: 167
diff changeset
   478
                    #'style:' 
ca
parents: 167
diff changeset
   479
                     #(#FontDescription
ca
parents: 167
diff changeset
   480
                        #helvetica #medium
ca
parents: 167
diff changeset
   481
                        #roman #'10'
ca
parents: 167
diff changeset
   482
                    )
ca
parents: 167
diff changeset
   483
                    #'adjust:' #left
ca
parents: 167
diff changeset
   484
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   485
                    #'canUIDrag:' false
ca
parents: 167
diff changeset
   486
                )
ca
parents: 167
diff changeset
   487
                 #(#UISubSpecification
ca
parents: 167
diff changeset
   488
                    #'name:' 'SubSpecification'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   489
                    #'layout:' #(#LayoutFrame 218 0 15 0 395 0 106 0)
182
ca
parents: 167
diff changeset
   490
                )
ca
parents: 167
diff changeset
   491
                 #(#LabelSpec
ca
parents: 167
diff changeset
   492
                    #'name:' 'SubSpecificationLabel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   493
                    #'layout:' #(#Point 222 84)
182
ca
parents: 167
diff changeset
   494
                    #'label:' 'SubSpecification'
ca
parents: 167
diff changeset
   495
                    #'style:' 
ca
parents: 167
diff changeset
   496
                     #(#FontDescription
ca
parents: 167
diff changeset
   497
                        #helvetica #medium
ca
parents: 167
diff changeset
   498
                        #roman #'10'
ca
parents: 167
diff changeset
   499
                    )
ca
parents: 167
diff changeset
   500
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   501
                    #'canUIDrag:' false
ca
parents: 167
diff changeset
   502
                )
ca
parents: 167
diff changeset
   503
                 #(#SubCanvasSpec
ca
parents: 167
diff changeset
   504
                    #'name:' 'SubCanvas'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   505
                    #'layout:' #(#LayoutFrame 20 0 126 0 197 0 217 0)
182
ca
parents: 167
diff changeset
   506
                    #'hasHorizontalScrollBar:' true
ca
parents: 167
diff changeset
   507
                    #'hasVerticalScrollBar:' true
ca
parents: 167
diff changeset
   508
                )
ca
parents: 167
diff changeset
   509
                 #(#LabelSpec
ca
parents: 167
diff changeset
   510
                    #'name:' 'subCanvasLabel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   511
                    #'layout:' #(#AlignmentOrigin 95 0 197 0 0 0)
182
ca
parents: 167
diff changeset
   512
                    #'label:' 'SubCanvas'
ca
parents: 167
diff changeset
   513
                    #'style:' 
ca
parents: 167
diff changeset
   514
                     #(#FontDescription
ca
parents: 167
diff changeset
   515
                        #helvetica #medium
ca
parents: 167
diff changeset
   516
                        #roman #'10'
ca
parents: 167
diff changeset
   517
                    )
ca
parents: 167
diff changeset
   518
                    #'adjust:' #left
ca
parents: 167
diff changeset
   519
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
   520
                    #'canUIDrag:' false
ca
parents: 167
diff changeset
   521
                )
ca
parents: 167
diff changeset
   522
              )
ca
parents: 167
diff changeset
   523
          )
ca
parents: 167
diff changeset
   524
      )
ca
parents: 167
diff changeset
   525
!
ca
parents: 167
diff changeset
   526
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   527
standardMenus
182
ca
parents: 167
diff changeset
   528
    "this window spec was automatically generated by the ST/X UIPainter"
ca
parents: 167
diff changeset
   529
ca
parents: 167
diff changeset
   530
    "do not manually edit this - the painter/builder may not be able to
ca
parents: 167
diff changeset
   531
     handle the specification if its corrupted."
ca
parents: 167
diff changeset
   532
ca
parents: 167
diff changeset
   533
    "
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   534
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardMenus
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   535
     UISelectionPanel new openInterface:#standardMenus
182
ca
parents: 167
diff changeset
   536
    "
ca
parents: 167
diff changeset
   537
ca
parents: 167
diff changeset
   538
    <resource: #canvas>
ca
parents: 167
diff changeset
   539
ca
parents: 167
diff changeset
   540
    ^
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   541
     
182
ca
parents: 167
diff changeset
   542
       #(#FullSpec
ca
parents: 167
diff changeset
   543
          #'window:' 
ca
parents: 167
diff changeset
   544
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   545
              #'name:' 'Menus'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   546
              #'layout:' #(#LayoutFrame 133 0 90 0 619 0 339 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   547
              #'label:' 'Menus'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   548
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   549
              #'max:' #(#Point 1280 1024)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   550
              #'bounds:' #(#Rectangle 133 90 620 340)
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   551
          )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   552
          #'component:' 
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   553
           #(#SpecCollection
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   554
              #'collection:' 
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   555
               #(
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   556
                 #(#ComboBoxSpec
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   557
                    #'name:' 'ComboBox'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   558
                    #'layout:' #(#LayoutFrame 20 0 15 0 145 0 35 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   559
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   560
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   561
                    #'name:' 'ComboBoxLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   562
                    #'layout:' #(#LayoutFrame 22 0 17 0 94 0 35 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   563
                    #'label:' 'ComboBox'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   564
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   565
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   566
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   567
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   568
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   569
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   570
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   571
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   572
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   573
                 #(#PopUpListSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   574
                    #'name:' 'PopUpList'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   575
                    #'layout:' #(#LayoutFrame 184 0 15 0 287 0 37 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   576
                    #'label:' 'PopUpList'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   577
                    #'useIndex:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   578
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   579
                 #(#TabViewSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   580
                    #'name:' 'TabView'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   581
                    #'layout:' #(#LayoutFrame 314 0 15 0 454 0 51 0)
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
                 #(#ComboListSpec
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   584
                    #'name:' 'ComboList'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   585
                    #'layout:' #(#LayoutFrame 20 0 71 0 145 0 91 0)
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
   586
                    #'useIndex:' false
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   587
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   588
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   589
                    #'name:' 'ComboListLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   590
                    #'layout:' #(#LayoutFrame 22 0 74 0 94 0 92 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   591
                    #'label:' 'ComboList'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   592
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   593
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   594
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   595
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   596
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   597
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   598
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   599
                    #'canUIDrag:' false
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   600
                )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   601
                 #(#MenuPanelSpec
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   602
                    #'name:' 'MenuPanel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   603
                    #'layout:' #(#LayoutFrame 184 0 71 0 285 0 94 0)
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   604
                )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   605
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   606
                    #'name:' 'MenuPanelLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   607
                    #'layout:' #(#Point 190 74)
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   608
                    #'label:' 'MenuPanel'
167
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   609
                    #'style:' 
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   610
                     #(#FontDescription
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   611
                        #helvetica #medium
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   612
                        #roman #'10'
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   613
                    )
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
   614
                    #'adjust:' #left
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   615
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   616
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   617
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   618
                 #(#NoteBookViewSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   619
                    #'name:' 'NoteBookView'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   620
                    #'layout:' #(#LayoutFrame 314 0 71 0 454 0 159 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   621
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   622
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   623
                    #'name:' 'NoteBookLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   624
                    #'layout:' #(#Point 317 139)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   625
                    #'label:' 'NoteBook'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   626
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   627
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   628
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   629
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   630
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   631
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   632
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   633
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   634
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   635
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   636
                    #'name:' 'TabLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   637
                    #'layout:' #(#Point 326 28)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   638
                    #'label:' 'Tabs'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   639
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   640
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   641
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   642
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   643
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   644
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   645
                    #'resizeForLabel:' true
142
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   646
                    #'canUIDrag:' false
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   647
                )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   648
              )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   649
          )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   650
      )
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   651
!
75f927b856f6 update specs; remove color and default values
ca
parents: 139
diff changeset
   652
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   653
standardPanels
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   654
    "this window spec was automatically generated by the ST/X UIPainter"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   655
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   656
    "do not manually edit this - the painter/builder may not be able to
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   657
     handle the specification if its corrupted."
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   658
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   659
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   660
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardPanels
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   661
     UISelectionPanel new openInterface:#standardPanels
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   662
    "
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   663
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   664
    <resource: #canvas>
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   665
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   666
    ^
182
ca
parents: 167
diff changeset
   667
     
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   668
       #(#FullSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   669
          #'window:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   670
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   671
              #'name:' 'Panels'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   672
              #'layout:' #(#LayoutFrame 88 0 80 0 596 0 298 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   673
              #'label:' 'Panels'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   674
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   675
              #'max:' #(#Point 1280 1024)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   676
              #'bounds:' #(#Rectangle 88 80 597 299)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   677
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   678
          #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   679
           #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   680
              #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   681
               #(
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   682
                 #(#HorizontalPanelViewSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   683
                    #'name:' 'HorizontalPanelView'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   684
                    #'layout:' #(#LayoutFrame 20 0 15 0 104 0 105 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   685
                    #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   686
                     #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   687
                        #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   688
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   689
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   690
                              #'name:' 'label1'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   691
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   692
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   693
                              #'extent:' #(#Point 23 23)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   694
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   695
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   696
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   697
                              #'name:' 'label2'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   698
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   699
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   700
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   701
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   702
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   703
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   704
                              #'name:' 'label3'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   705
                              #'label:' 'C'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   706
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   707
                              #'extent:' #(#Point 23 23)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   708
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   709
                          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   710
                        )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   711
                    )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   712
                    #'horizontalLayout:' #center
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   713
                    #'verticalLayout:' #center
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   714
                    #'horizontalSpace:' 3
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   715
                    #'verticalSpace:' 3
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   716
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   717
                 #(#VariableHorizontalPanelSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   718
                    #'name:' 'VariableHorizontalPanel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   719
                    #'layout:' #(#LayoutFrame 264 0 15 0 338 0 105 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   720
                    #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   721
                     #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   722
                        #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   723
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   724
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   725
                              #'name:' 'label4'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   726
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   727
                              #'level:' 2
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   728
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   729
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   730
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   731
                              #'name:' 'label5'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   732
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   733
                              #'level:' 2
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   734
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   735
                          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   736
                        )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   737
                    )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   738
                    #'handles:' #(#Any 0.5 1.0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   739
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   740
                 #(#VerticalPanelViewSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   741
                    #'name:' 'VerticalPanelView'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   742
                    #'layout:' #(#LayoutFrame 112 0 15 0 170 0 105 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   743
                    #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   744
                     #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   745
                        #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   746
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   747
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   748
                              #'name:' 'label6'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   749
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   750
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   751
                              #'extent:' #(#Point 23 23)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   752
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   753
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   754
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   755
                              #'name:' 'label7'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   756
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   757
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   758
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   759
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
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:' 'label8'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   763
                              #'label:' 'C'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   764
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   765
                              #'extent:' #(#Point 23 23)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   766
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   767
                          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   768
                        )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   769
                    )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   770
                    #'horizontalLayout:' #center
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   771
                    #'verticalLayout:' #center
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   772
                    #'horizontalSpace:' 3
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   773
                    #'verticalSpace:' 3
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   774
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   775
                 #(#VariableVerticalPanelSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   776
                    #'name:' 'VariableVerticalPanel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   777
                    #'layout:' #(#LayoutFrame 347 0 15 0 421 0 105 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   778
                    #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   779
                     #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   780
                        #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   781
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   782
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   783
                              #'name:' 'label9'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   784
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   785
                              #'level:' 2
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   786
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   787
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   788
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   789
                              #'name:' 'label10'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   790
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   791
                              #'level:' 2
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   792
                              #'canUIDrag:' false
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   793
                          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   794
                        )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   795
                    )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   796
                    #'handles:' #(#Any 0.5 1.0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   797
                )
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   798
                 #(#PanelViewSpec
da9db8500b67 update:
ca
parents: 98
diff changeset
   799
                    #'name:' 'PanelView'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   800
                    #'layout:' #(#LayoutFrame 178 0 15 0 236 0 105 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   801
                    #'component:' 
da9db8500b67 update:
ca
parents: 98
diff changeset
   802
                     #(#SpecCollection
da9db8500b67 update:
ca
parents: 98
diff changeset
   803
                        #'collection:' 
da9db8500b67 update:
ca
parents: 98
diff changeset
   804
                         #(
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   805
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   806
                              #'name:' 'label11'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   807
                              #'label:' 'A'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   808
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   809
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   810
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   811
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   812
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   813
                              #'name:' 'label12'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   814
                              #'label:' 'B'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   815
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   816
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   817
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
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:' 'label13'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   821
                              #'label:' 'C'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   822
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   823
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   824
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   825
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   826
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   827
                              #'name:' 'label14'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   828
                              #'label:' 'D'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   829
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   830
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   831
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   832
                          )
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   833
                           #(#LabelSpec
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   834
                              #'name:' 'label15'
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   835
                              #'label:' 'E'
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   836
                              #'level:' 2
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
   837
                              #'extent:' #(#Point 23 23)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   838
                              #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
   839
                          )
da9db8500b67 update:
ca
parents: 98
diff changeset
   840
                        )
da9db8500b67 update:
ca
parents: 98
diff changeset
   841
                    )
da9db8500b67 update:
ca
parents: 98
diff changeset
   842
                    #'horizontalLayout:' #fitSpace
da9db8500b67 update:
ca
parents: 98
diff changeset
   843
                    #'verticalLayout:' #fitSpace
da9db8500b67 update:
ca
parents: 98
diff changeset
   844
                    #'horizontalSpace:' 3
da9db8500b67 update:
ca
parents: 98
diff changeset
   845
                    #'verticalSpace:' 3
da9db8500b67 update:
ca
parents: 98
diff changeset
   846
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   847
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   848
                    #'name:' 'PanelLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   849
                    #'layout:' #(#LayoutFrame 22 0 120 0 235 0 143 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   850
                    #'label:' 'Panels'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   851
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   852
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   853
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   854
                    #'name:' 'VPanelLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   855
                    #'layout:' #(#LayoutFrame 264 0 120 0 421 0 143 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   856
                    #'label:' 'Variable Panels'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   857
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   858
                )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   859
              )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   860
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   861
      )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   862
!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   863
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   864
standardSliders
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   865
    "this window spec was automatically generated by the ST/X UIPainter"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   866
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   867
    "do not manually edit this - the painter/builder may not be able to
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   868
     handle the specification if its corrupted."
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   869
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   870
    "
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   871
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardSliders
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   872
     UISelectionPanel new openInterface:#standardSliders
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   873
    "
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   874
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   875
    <resource: #canvas>
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   876
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   877
    ^
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   878
     
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   879
       #(#FullSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   880
          #'window:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   881
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   882
              #'name:' 'Sliders'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   883
              #'layout:' #(#LayoutFrame 314 0 99 0 758 0 260 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   884
              #'label:' 'Sliders'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   885
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   886
              #'max:' #(#Point 1280 1024)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   887
              #'bounds:' #(#Rectangle 314 99 759 261)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   888
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   889
          #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   890
           #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   891
              #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   892
               #(
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   893
                 #(#SliderSpec
da9db8500b67 update:
ca
parents: 98
diff changeset
   894
                    #'name:' 'Vertical Slider'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   895
                    #'layout:' #(#LayoutFrame 20 0 15 0 38 0 108 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   896
                    #'orientation:' #vertical
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   897
                    #'start:' 0
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   898
                    #'stop:' 100
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   899
                    #'step:' 1
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   900
                )
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   901
                 #(#ThumbWheelSpec
da9db8500b67 update:
ca
parents: 98
diff changeset
   902
                    #'name:' 'Vertical ThumbWheel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   903
                    #'layout:' #(#LayoutFrame 48 0 15 0 63 0 108 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   904
                    #'orientation:' #vertical
da9db8500b67 update:
ca
parents: 98
diff changeset
   905
                    #'start:' 0
da9db8500b67 update:
ca
parents: 98
diff changeset
   906
                    #'stop:' 360
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   907
                    #'step:' 1
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   908
                )
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   909
                 #(#ThumbWheelSpec
da9db8500b67 update:
ca
parents: 98
diff changeset
   910
                    #'name:' 'Horizontal ThumbWheel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   911
                    #'layout:' #(#LayoutFrame 102 0 15 0 191 0 30 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   912
                    #'orientation:' #horizontal
da9db8500b67 update:
ca
parents: 98
diff changeset
   913
                    #'start:' 0
da9db8500b67 update:
ca
parents: 98
diff changeset
   914
                    #'stop:' 360
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   915
                    #'step:' 1
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   916
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   917
                 #(#SliderSpec
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   918
                    #'name:' 'Horizontal Slider'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   919
                    #'layout:' #(#LayoutFrame 102 0 52 0 191 0 70 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
   920
                    #'orientation:' #horizontal
da9db8500b67 update:
ca
parents: 98
diff changeset
   921
                    #'start:' 0
da9db8500b67 update:
ca
parents: 98
diff changeset
   922
                    #'stop:' 100
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   923
                    #'step:' 1
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   924
                )
150
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   925
                 #(#ProgressIndicatorSpec
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   926
                    #'name:' 'Progress Indicator'
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   927
                    #'layout:' #(#LayoutFrame 102 0 90 0 191 0 108 0)
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   928
                    #'showPercentage:' true
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
   929
                )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   930
              )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   931
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   932
      )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   933
!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
   934
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   935
standardText
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   936
    "this window spec was automatically generated by the ST/X UIPainter"
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   937
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   938
    "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
   939
     handle the specification if its corrupted."
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   940
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   941
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   942
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardText
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
   943
     UISelectionPanel new openInterface:#standardText
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   944
    "
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   945
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   946
    <resource: #canvas>
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   947
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   948
    ^
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   949
     
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   950
       #(#FullSpec
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   951
          #'window:' 
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   952
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   953
              #'name:' 'Text'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   954
              #'layout:' #(#LayoutFrame 139 0 32 0 605 0 238 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   955
              #'label:' 'Text'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   956
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   957
              #'max:' #(#Point 1280 1024)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   958
              #'bounds:' #(#Rectangle 139 32 606 239)
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   959
          )
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   960
          #'component:' 
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   961
           #(#SpecCollection
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   962
              #'collection:' 
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   963
               #(
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   964
                 #(#TextEditorSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   965
                    #'name:' 'EditText'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   966
                    #'layout:' #(#LayoutFrame 20 0 15 0 215 0 120 0)
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   967
                    #'hasHorizontalScrollBar:' true
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   968
                    #'hasVerticalScrollBar:' true
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   969
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   970
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   971
                    #'name:' 'EditTextLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   972
                    #'layout:' #(#AlignmentOrigin 93 0 120 0 0 1)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   973
                    #'label:' 'EditText'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   974
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   975
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   976
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   977
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   978
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   979
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   980
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   981
                    #'canUIDrag:' false
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   982
                )
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   983
                 #(#HTMLViewSpec
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   984
                    #'name:' 'HTMLView'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   985
                    #'layout:' #(#LayoutFrame 240 0 15 0 436 0 120 0)
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   986
                    #'hasHorizontalScrollBar:' true
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   987
                    #'hasVerticalScrollBar:' true
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
   988
                )
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   989
                 #(#LabelSpec
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   990
                    #'name:' 'HTMLViewLabel'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
   991
                    #'layout:' #(#AlignmentOrigin 314 0 120 0 0 1)
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
   992
                    #'label:' 'HTMLView'
167
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   993
                    #'style:' 
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   994
                     #(#FontDescription
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   995
                        #helvetica #medium
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   996
                        #roman #'10'
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
   997
                    )
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
   998
                    #'adjust:' #left
182
ca
parents: 167
diff changeset
   999
                    #'resizeForLabel:' true
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1000
                    #'canUIDrag:' false
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1001
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1002
                 #(#InputFieldSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1003
                    #'name:' 'EditField'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1004
                    #'layout:' #(#LayoutFrame 20 0 142 0 215 0 164 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1005
                )
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1006
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1007
                    #'name:' 'EditFieldLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1008
                    #'layout:' #(#LayoutFrame 55 0 144 0 115 0 162 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1009
                    #'label:' 'EditField'
167
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1010
                    #'style:' 
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1011
                     #(#FontDescription
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1012
                        #helvetica #medium
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1013
                        #roman #'10'
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1014
                    )
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1015
                    #'adjust:' #left
182
ca
parents: 167
diff changeset
  1016
                    #'resizeForLabel:' true
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1017
                    #'canUIDrag:' false
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1018
                )
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1019
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1020
                    #'name:' 'Label'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1021
                    #'layout:' #(#LayoutFrame 240 0 142 0 436 0 164 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1022
                    #'label:' 'Label'
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1023
                )
97
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1024
              )
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1025
          )
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1026
      )
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1027
!
1887c994511b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 94
diff changeset
  1028
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1029
standardUserPanel
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1030
    "this window spec was automatically generated by the ST/X UIPainter"
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1031
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1032
    "do not manually edit this - the painter/builder may not be able to
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1033
     handle the specification if its corrupted."
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1034
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1035
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1036
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardUserPanel
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1037
     UISelectionPanel new openInterface:#standardUserPanel
182
ca
parents: 167
diff changeset
  1038
    "
ca
parents: 167
diff changeset
  1039
ca
parents: 167
diff changeset
  1040
    <resource: #canvas>
ca
parents: 167
diff changeset
  1041
ca
parents: 167
diff changeset
  1042
    ^
ca
parents: 167
diff changeset
  1043
     
ca
parents: 167
diff changeset
  1044
       #(#FullSpec
ca
parents: 167
diff changeset
  1045
          #'window:' 
ca
parents: 167
diff changeset
  1046
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1047
              #'name:' 'UserPanel'
182
ca
parents: 167
diff changeset
  1048
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1049
              #'label:' 'UserPanel'
182
ca
parents: 167
diff changeset
  1050
              #'bounds:' #(#Rectangle 0 0 445 162)
ca
parents: 167
diff changeset
  1051
          )
ca
parents: 167
diff changeset
  1052
          #'component:' 
ca
parents: 167
diff changeset
  1053
           #(#SpecCollection
ca
parents: 167
diff changeset
  1054
              #'collection:' 
ca
parents: 167
diff changeset
  1055
               #(
ca
parents: 167
diff changeset
  1056
                 #(#LabelSpec
ca
parents: 167
diff changeset
  1057
                    #'name:' 'helpText'
ca
parents: 167
diff changeset
  1058
                    #'layout:' #(#Point 10 0)
ca
parents: 167
diff changeset
  1059
                    #'labelChannel:' #userDefinedHelpText
ca
parents: 167
diff changeset
  1060
                    #'resizeForLabel:' true
ca
parents: 167
diff changeset
  1061
                    #'canUIDrag:' false
ca
parents: 167
diff changeset
  1062
                )
ca
parents: 167
diff changeset
  1063
              )
ca
parents: 167
diff changeset
  1064
          )
ca
parents: 167
diff changeset
  1065
      )
ca
parents: 167
diff changeset
  1066
!
ca
parents: 167
diff changeset
  1067
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1068
standardViews
182
ca
parents: 167
diff changeset
  1069
    "this window spec was automatically generated by the ST/X UIPainter"
ca
parents: 167
diff changeset
  1070
ca
parents: 167
diff changeset
  1071
    "do not manually edit this - the painter/builder may not be able to
ca
parents: 167
diff changeset
  1072
     handle the specification if its corrupted."
ca
parents: 167
diff changeset
  1073
ca
parents: 167
diff changeset
  1074
    "
190
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1075
     UIPainter new openOnClass:UISelectionPanel andSelector:#standardViews
8110fbe94104 change standart to standard( it's english !) ??
ca
parents: 189
diff changeset
  1076
     UISelectionPanel new openInterface:#standardViews
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1077
    "
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1078
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1079
    <resource: #canvas>
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1080
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1081
    ^
135
8f4b6117ccaa new withDefault
ca
parents: 125
diff changeset
  1082
     
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1083
       #(#FullSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1084
          #'window:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1085
           #(#WindowSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1086
              #'name:' 'Views'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1087
              #'layout:' #(#LayoutFrame 158 0 56 0 637 0 284 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1088
              #'label:' 'Views'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1089
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1090
              #'max:' #(#Point 1280 1024)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1091
              #'bounds:' #(#Rectangle 158 56 638 285)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1092
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1093
          #'component:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1094
           #(#SpecCollection
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1095
              #'collection:' 
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1096
               #(
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1097
                 #(#FramedBoxSpec
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1098
                    #'name:' 'FramedBox'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1099
                    #'layout:' #(#LayoutFrame 20 0 15 0 187 0 95 0)
104
da9db8500b67 update:
ca
parents: 98
diff changeset
  1100
                    #'label:' 'FramedBox'
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1101
                    #'labelPosition:' #topCenter
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1102
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1103
                 #(#ArbitraryComponentSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1104
                    #'name:' 'ArbitraryComponent'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1105
                    #'layout:' #(#LayoutFrame 247 0 15 0 414 0 95 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1106
                    #'hasBorder:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1107
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1108
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1109
                    #'name:' 'ArbitraryComponentLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1110
                    #'layout:' #(#AlignmentOrigin 253 0 21 0 0 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1111
                    #'label:' 'ArbitraryComponent'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1112
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1113
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1114
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1115
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1116
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1117
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1118
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1119
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1120
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1121
                 #(#DividerSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1122
                    #'name:' 'Vertical Separator'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1123
                    #'layout:' #(#LayoutFrame 20 0 115 0 24 0 195 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1124
                    #'orientation:' #vertical
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1125
                )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1126
                 #(#DividerSpec
216
2bfcf491429e hasCharacterOrientedLabel removed
ca
parents: 207
diff changeset
  1127
                    #'name:' 'Horizontal Separator'
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1128
                    #'layout:' #(#LayoutFrame 20 0 115 0 126 0 119 0)
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1129
                    #'orientation:' #horizontal
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1130
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1131
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1132
                    #'name:' 'SeparatorsLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1133
                    #'layout:' #(#AlignmentOrigin 126 0 135 0 1 0.5)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1134
                    #'label:' 'Separators'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1135
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1136
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1137
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1138
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1139
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1140
                    #'adjust:' #left
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1141
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1142
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1143
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1144
                 #(#RegionSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1145
                    #'name:' 'Region'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1146
                    #'layout:' #(#LayoutFrame 147 0 115 0 227 0 195 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1147
                    #'lineWidth:' 2
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1148
                    #'regionType:' #ellipse
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1149
                )
104
da9db8500b67 update:
ca
parents: 98
diff changeset
  1150
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1151
                    #'name:' 'RegionLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1152
                    #'layout:' #(#AlignmentOrigin 186 0 155 0 0.5 0.5)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1153
                    #'label:' 'Region'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1154
                    #'style:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1155
                     #(#FontDescription
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1156
                        #helvetica #medium
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1157
                        #roman #'10'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1158
                    )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1159
                    #'resizeForLabel:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1160
                    #'canUIDrag:' false
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1161
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1162
                 #(#ViewSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1163
                    #'name:' 'View'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1164
                    #'layout:' #(#LayoutFrame 247 0 115 0 414 0 195 0)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1165
                )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1166
                 #(#LabelSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1167
                    #'name:' 'ViewLabel'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1168
                    #'layout:' #(#AlignmentOrigin 253 0 120 0 0 0)
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1169
                    #'label:' 'View'
167
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1170
                    #'style:' 
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1171
                     #(#FontDescription
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1172
                        #helvetica #medium
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1173
                        #roman #'10'
01cbd385f878 added new specification:
ca
parents: 150
diff changeset
  1174
                    )
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1175
                    #'adjust:' #left
182
ca
parents: 167
diff changeset
  1176
                    #'resizeForLabel:' true
104
da9db8500b67 update:
ca
parents: 98
diff changeset
  1177
                    #'canUIDrag:' false
da9db8500b67 update:
ca
parents: 98
diff changeset
  1178
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1179
              )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1180
          )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1181
      )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1182
!
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1183
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1184
standartLists
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1185
    "this window spec was automatically generated by the ST/X UIPainter"
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1186
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1187
    "do not manually edit this - the painter/builder may not be able to
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1188
     handle the specification if its corrupted."
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1189
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1190
    "
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1191
     UIPainter new openOnClass:UISelectionPanel andSelector:#standartLists
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1192
     UISelectionPanel new openInterface:#standartLists
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1193
    "
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1194
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1195
    <resource: #canvas>
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1196
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1197
    ^
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1198
     
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1199
       #(#FullSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1200
          #'window:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1201
           #(#WindowSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1202
              #'name:' 'Lists'
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1203
              #'layout:' #(#LayoutFrame 68 0 69 0 537 0 311 0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1204
              #'label:' 'Lists'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1205
              #'min:' #(#Point 10 10)
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1206
              #'max:' #(#Point 1280 1024)
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1207
              #'bounds:' #(#Rectangle 68 69 538 312)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1208
          )
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1209
          #'component:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1210
           #(#SpecCollection
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1211
              #'collection:' 
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1212
               #(
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1213
                 #(#SequenceViewSpec
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1214
                    #'name:' 'SelectionInList'
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1215
                    #'layout:' #(#LayoutFrame 247 0 15 0 452 0 109 0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1216
                    #'hasHorizontalScrollBar:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1217
                    #'hasVerticalScrollBar:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1218
                )
143
9add9e2609d9 change SubCanvasSpec; have to update caused by new attributes
ca
parents: 142
diff changeset
  1219
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1220
                    #'name:' 'SelectionInListLabel'
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1221
                    #'layout:' #(#AlignmentOrigin 320 0 110 0 0 1)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1222
                    #'label:' 'SelectionInList'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1223
                    #'style:' #(#FontDescription #helvetica #medium #roman #'10')
147
060fc1ac8d82 *** empty log message ***
ca
parents: 143
diff changeset
  1224
                    #'adjust:' #left
182
ca
parents: 167
diff changeset
  1225
                    #'resizeForLabel:' true
143
9add9e2609d9 change SubCanvasSpec; have to update caused by new attributes
ca
parents: 142
diff changeset
  1226
                    #'canUIDrag:' false
9add9e2609d9 change SubCanvasSpec; have to update caused by new attributes
ca
parents: 142
diff changeset
  1227
                )
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1228
                 #(#SelectionInTreeViewSpec
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1229
                    #'name:' 'SelectionInTree'
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1230
                    #'layout:' #(#LayoutFrame 20 0 15 0 225 0 109 0)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1231
                    #'hasHorizontalScrollBar:' true
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1232
                    #'hasVerticalScrollBar:' true
150
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
  1233
                )
9f88bc99e0af subCanvas
ca
parents: 147
diff changeset
  1234
                 #(#LabelSpec
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1235
                    #'name:' 'SelectionInTreeLabel'
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1236
                    #'layout:' #(#AlignmentOrigin 93 0 110 0 0 1)
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1237
                    #'label:' 'SelectionInTree'
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1238
                    #'style:' #(#FontDescription #helvetica #medium #roman #'10')
189
bb569079ae6b add ArbitraryComponentSpec
ca
parents: 182
diff changeset
  1239
                    #'adjust:' #left
bb569079ae6b add ArbitraryComponentSpec
ca
parents: 182
diff changeset
  1240
                    #'resizeForLabel:' true
bb569079ae6b add ArbitraryComponentSpec
ca
parents: 182
diff changeset
  1241
                    #'canUIDrag:' false
bb569079ae6b add ArbitraryComponentSpec
ca
parents: 182
diff changeset
  1242
                )
308
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1243
                 #(#FileSelectionTreeSpec
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1244
                    #'name:' 'FileSelectionTree'
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1245
                    #'layout:' #(#LayoutFrame 20 0 130 0 225 0 224 0)
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1246
                    #'hasHorizontalScrollBar:' true
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1247
                    #'hasVerticalScrollBar:' true
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1248
                )
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1249
                 #(#LabelSpec
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1250
                    #'name:' 'FileSelectionTreeLabel'
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1251
                    #'layout:' #(#AlignmentOrigin 93 0 225 0 0 1)
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1252
                    #'label:' 'FileSelectionTree'
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1253
                    #'style:' #(#FontDescription #helvetica #medium #roman #'10')
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1254
                    #'adjust:' #left
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1255
                    #'resizeForLabel:' true
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1256
                    #'canUIDrag:' false
7d8722ba7569 add FileSelectionTreeSpec
ca
parents: 302
diff changeset
  1257
                )
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1258
              )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1259
          )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1260
      )
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1261
! !
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1262
182
ca
parents: 167
diff changeset
  1263
!UISelectionPanel methodsFor:'actions'!
ca
parents: 167
diff changeset
  1264
ca
parents: 167
diff changeset
  1265
defineClassAndSelector
ca
parents: 167
diff changeset
  1266
    |bd cls sel lbl|
ca
parents: 167
diff changeset
  1267
ca
parents: 167
diff changeset
  1268
    bd := IdentityDictionary new.
ca
parents: 167
diff changeset
  1269
    bd at:#className put:( userClass asValue).
ca
parents: 167
diff changeset
  1270
    bd at:#specsKey  put:( (userSpecs  ? '') asValue).
ca
parents: 167
diff changeset
  1271
    bd at:#labelsKey put:( (userLabels ? '') asValue).
ca
parents: 167
diff changeset
  1272
    bd at:#updateDefaultResources put:(false asValue).
ca
parents: 167
diff changeset
  1273
ca
parents: 167
diff changeset
  1274
    (self openDialogInterface:#nameAndSelectorSpec withBindings:bd) ifTrue:[
ca
parents: 167
diff changeset
  1275
        (      (cls := (bd at:#className) value) notNil
ca
parents: 167
diff changeset
  1276
          and:[(sel := (bd at:#specsKey)  value) notNil
ca
parents: 167
diff changeset
  1277
          and:[(lbl := (bd at:#labelsKey) value) notNil]]
ca
parents: 167
diff changeset
  1278
        ) ifTrue:[
ca
parents: 167
diff changeset
  1279
            userClass  := cls.
ca
parents: 167
diff changeset
  1280
            userSpecs  := sel.
ca
parents: 167
diff changeset
  1281
            userLabels := lbl.
ca
parents: 167
diff changeset
  1282
ca
parents: 167
diff changeset
  1283
            (bd at:#updateDefaultResources) value ifTrue:[
ca
parents: 167
diff changeset
  1284
                UserClass  := userClass.
ca
parents: 167
diff changeset
  1285
                UserSpecs  := userSpecs.
ca
parents: 167
diff changeset
  1286
                UserLabels := userLabels.
ca
parents: 167
diff changeset
  1287
            ]
ca
parents: 167
diff changeset
  1288
        ]
ca
parents: 167
diff changeset
  1289
    ].
ca
parents: 167
diff changeset
  1290
!
ca
parents: 167
diff changeset
  1291
ca
parents: 167
diff changeset
  1292
paste:something
ca
parents: 167
diff changeset
  1293
    "paste something at a point
ca
parents: 167
diff changeset
  1294
    "
ca
parents: 167
diff changeset
  1295
    |coll specs point device gallery ext spec|
ca
parents: 167
diff changeset
  1296
ca
parents: 167
diff changeset
  1297
    clipBoardSpec isNil ifTrue:[
ca
parents: 167
diff changeset
  1298
        clipBoardSpec := SpecCollection new.
ca
parents: 167
diff changeset
  1299
        clipBoardSpec collection:(OrderedCollection new).
ca
parents: 167
diff changeset
  1300
    ].
ca
parents: 167
diff changeset
  1301
    coll    := clipBoardSpec collection.
ca
parents: 167
diff changeset
  1302
    gallery := self builder componentAt:#gallery.
ca
parents: 167
diff changeset
  1303
    device  := gallery device.
ca
parents: 167
diff changeset
  1304
ca
parents: 167
diff changeset
  1305
    point   := device translatePoint:(device pointerPosition)
ca
parents: 167
diff changeset
  1306
                                from:(device rootView id)
ca
parents: 167
diff changeset
  1307
                                  to:(gallery canvas id).
ca
parents: 167
diff changeset
  1308
ca
parents: 167
diff changeset
  1309
    point y < 1 ifTrue:[point y:1].
ca
parents: 167
diff changeset
  1310
    ext := gallery extent - (10@10).
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1311
182
ca
parents: 167
diff changeset
  1312
    (specs := something) isCollection ifFalse:[
ca
parents: 167
diff changeset
  1313
        specs := Array with:something
ca
parents: 167
diff changeset
  1314
    ].
ca
parents: 167
diff changeset
  1315
ca
parents: 167
diff changeset
  1316
    specs do:[:aSpec|
ca
parents: 167
diff changeset
  1317
        point x > ext x ifTrue:[point x:1].
ca
parents: 167
diff changeset
  1318
        point y > ext y ifTrue:[point y:1].
ca
parents: 167
diff changeset
  1319
ca
parents: 167
diff changeset
  1320
        spec := aSpec copy.
ca
parents: 167
diff changeset
  1321
        spec layout:(LayoutOrigin fromPoint:point).
ca
parents: 167
diff changeset
  1322
        coll add:spec.
ca
parents: 167
diff changeset
  1323
        point := point + (20@20).
ca
parents: 167
diff changeset
  1324
    ].
ca
parents: 167
diff changeset
  1325
    gallery update.
ca
parents: 167
diff changeset
  1326
!
ca
parents: 167
diff changeset
  1327
ca
parents: 167
diff changeset
  1328
raiseMenu
ca
parents: 167
diff changeset
  1329
    "can open menu
ca
parents: 167
diff changeset
  1330
    "
251
ea4577f6cc41 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 244
diff changeset
  1331
    |spec menu value paste|
182
ca
parents: 167
diff changeset
  1332
ca
parents: 167
diff changeset
  1333
    spec := self clientSpec value.
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1334
182
ca
parents: 167
diff changeset
  1335
    spec notNil ifTrue:[
ca
parents: 167
diff changeset
  1336
        menu := self class menuSelected decodeAsLiteralArray.
ca
parents: 167
diff changeset
  1337
        self isClipBoard ifFalse:[
ca
parents: 167
diff changeset
  1338
            (menu someMenuItemWithValue:#cut) disable.
ca
parents: 167
diff changeset
  1339
        ].
ca
parents: 167
diff changeset
  1340
ca
parents: 167
diff changeset
  1341
        (value := menu startUp) == #cut ifTrue:[
ca
parents: 167
diff changeset
  1342
            clipBoardSpec collection remove:spec ifAbsent:nil.
ca
parents: 167
diff changeset
  1343
            (self builder componentAt:#gallery) update.
ca
parents: 167
diff changeset
  1344
        ] ifFalse:[
ca
parents: 167
diff changeset
  1345
            value == #copy ifTrue:[
ca
parents: 167
diff changeset
  1346
                self window setSelection:spec
ca
parents: 167
diff changeset
  1347
            ]
ca
parents: 167
diff changeset
  1348
        ].
ca
parents: 167
diff changeset
  1349
      ^ self
ca
parents: 167
diff changeset
  1350
    ].
ca
parents: 167
diff changeset
  1351
ca
parents: 167
diff changeset
  1352
    self isUserBoard ifTrue:[
ca
parents: 167
diff changeset
  1353
        ^ self defineClassAndSelector
ca
parents: 167
diff changeset
  1354
    ].
ca
parents: 167
diff changeset
  1355
ca
parents: 167
diff changeset
  1356
    paste := self window getSelection.
ca
parents: 167
diff changeset
  1357
ca
parents: 167
diff changeset
  1358
    (self canPaste:paste) ifTrue:[
ca
parents: 167
diff changeset
  1359
        menu := self class menuUnselected decodeAsLiteralArray.
ca
parents: 167
diff changeset
  1360
ca
parents: 167
diff changeset
  1361
        (menu startUp) == #paste ifTrue:[
ca
parents: 167
diff changeset
  1362
            self paste:paste
ca
parents: 167
diff changeset
  1363
        ]
ca
parents: 167
diff changeset
  1364
    ].
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1365
! !
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1366
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1367
!UISelectionPanel methodsFor:'aspects'!
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1368
182
ca
parents: 167
diff changeset
  1369
clientSpec
ca
parents: 167
diff changeset
  1370
    "automatically generated by UIPainter ..."
ca
parents: 167
diff changeset
  1371
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1372
    |holder|
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1373
182
ca
parents: 167
diff changeset
  1374
    (holder := builder bindingAt:#clientSpec) isNil ifTrue:[
ca
parents: 167
diff changeset
  1375
        builder aspectAt:#clientSpec put:(holder :=  ValueHolder new).
ca
parents: 167
diff changeset
  1376
        holder addDependent:self.
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1377
    ].
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1378
    ^ holder
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1379
!
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1380
182
ca
parents: 167
diff changeset
  1381
clipBoardSpec
ca
parents: 167
diff changeset
  1382
    ^ clipBoardSpec
ca
parents: 167
diff changeset
  1383
!
ca
parents: 167
diff changeset
  1384
ca
parents: 167
diff changeset
  1385
galleryList
ca
parents: 167
diff changeset
  1386
    "automatically generated by UIPainter ..."
ca
parents: 167
diff changeset
  1387
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1388
    |holder|
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1389
182
ca
parents: 167
diff changeset
  1390
    (holder := builder bindingAt:#galleryList) isNil ifTrue:[
ca
parents: 167
diff changeset
  1391
        builder aspectAt:#galleryList put:(holder :=  ValueHolder new).
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1392
    ].
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1393
    ^ holder
182
ca
parents: 167
diff changeset
  1394
!
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1395
182
ca
parents: 167
diff changeset
  1396
galleryModel
ca
parents: 167
diff changeset
  1397
    "automatically generated by UIPainter ..."
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1398
182
ca
parents: 167
diff changeset
  1399
    |holder|
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1400
182
ca
parents: 167
diff changeset
  1401
    (holder := builder bindingAt:#galleryModel) isNil ifTrue:[
ca
parents: 167
diff changeset
  1402
        builder aspectAt:#galleryModel put:(holder :=  ValueHolder new).
ca
parents: 167
diff changeset
  1403
    ].
ca
parents: 167
diff changeset
  1404
    ^ holder
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1405
!
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1406
182
ca
parents: 167
diff changeset
  1407
majorChannel
ca
parents: 167
diff changeset
  1408
    "automatically generated by UIPainter ..."
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1409
182
ca
parents: 167
diff changeset
  1410
    |holder|
ca
parents: 167
diff changeset
  1411
ca
parents: 167
diff changeset
  1412
    (holder := builder bindingAt:#majorChannel) isNil ifTrue:[
ca
parents: 167
diff changeset
  1413
        holder := AspectAdaptor new subject:self; forAspect:#majorSelection.
ca
parents: 167
diff changeset
  1414
        builder aspectAt:#majorChannel put:holder.
139
dc64ad7c0267 update selection panel menus
ca
parents: 135
diff changeset
  1415
    ].
182
ca
parents: 167
diff changeset
  1416
    ^ holder
ca
parents: 167
diff changeset
  1417
!
ca
parents: 167
diff changeset
  1418
ca
parents: 167
diff changeset
  1419
majorList
ca
parents: 167
diff changeset
  1420
    "automatically generated by UIPainter ...
ca
parents: 167
diff changeset
  1421
    "
ca
parents: 167
diff changeset
  1422
  ^ self class specifications collect:[:el| el first]
ca
parents: 167
diff changeset
  1423
!
ca
parents: 167
diff changeset
  1424
ca
parents: 167
diff changeset
  1425
minorKeys
ca
parents: 167
diff changeset
  1426
    "automatically generated by UIPainter ..."
ca
parents: 167
diff changeset
  1427
ca
parents: 167
diff changeset
  1428
    |holder|
ca
parents: 167
diff changeset
  1429
ca
parents: 167
diff changeset
  1430
    (holder := builder bindingAt:#minorKeys) isNil ifTrue:[
ca
parents: 167
diff changeset
  1431
        builder aspectAt:#minorKeys put:(holder :=  ValueHolder new).
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1432
    ].
182
ca
parents: 167
diff changeset
  1433
    ^ holder
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1434
! !
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1435
182
ca
parents: 167
diff changeset
  1436
!UISelectionPanel methodsFor:'change & update'!
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1437
182
ca
parents: 167
diff changeset
  1438
update:something with:aParameter from:changedObject
ca
parents: 167
diff changeset
  1439
    "one of my models changed its value
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1440
    "
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1441
    |channel label topView|
112
6fe6c4d1672e build with builder
ca
parents: 107
diff changeset
  1442
182
ca
parents: 167
diff changeset
  1443
    (channel := self clientSpec) == changedObject ifTrue:[
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1444
        topView := builder window topView.
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1445
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1446
        (label := channel value) notNil ifTrue:[
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1447
            topView label:label name, ' '.
182
ca
parents: 167
diff changeset
  1448
        ] ifFalse:[
302
26cdfd3e1773 new component: SelectionInHierarchyView
ca
parents: 291
diff changeset
  1449
            topView label:'Component Gallery '
93
6c3ff0721248 intitial checkin
ca
parents:
diff changeset
  1450
        ]