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