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