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