UISelectionPanel.st
changeset 1142 f5b47cc3e563
parent 1141 b5607fe14ab1
child 1143 b04847a679fc
equal deleted inserted replaced
1141:b5607fe14ab1 1142:f5b47cc3e563
    11 "
    11 "
    12 
    12 
    13 
    13 
    14 
    14 
    15 ApplicationModel subclass:#UISelectionPanel
    15 ApplicationModel subclass:#UISelectionPanel
    16 	instanceVariableNames:'userClass userSpecs userLabels majorSelection clipBoardSpec'
    16 	instanceVariableNames:'gallery userClass userSpecs userLabels majorSelection
       
    17 		clipBoardSpec'
    17 	classVariableNames:'UserClass UserSpecs UserLabels'
    18 	classVariableNames:'UserClass UserSpecs UserLabels'
    18 	poolDictionaries:''
    19 	poolDictionaries:''
    19 	category:'Interface-UIPainter'
    20 	category:'Interface-UIPainter'
    20 !
    21 !
    21 
    22 
   263      UISelectionPanel open
   264      UISelectionPanel open
   264     "
   265     "
   265 
   266 
   266     <resource: #canvas>
   267     <resource: #canvas>
   267 
   268 
   268     ^
   269     ^ 
   269 
   270      #(#FullSpec
   270        #(#FullSpec
   271         #name: #windowSpec
   271           #window: 
   272         #window: 
   272            #(#WindowSpec
   273        #(#WindowSpec
   273               #name: 'Widget Gallery'
   274           #label: 'Widget Gallery'
   274               #layout: #(#LayoutFrame 134 0 100 0 654 0 382 0)
   275           #name: 'Widget Gallery'
   275               #label: 'Widget Gallery'
   276           #layout: #(#LayoutFrame 92 0 128 0 612 0 410 0)
   276               #min: #(#Point 100 280)
   277           #level: 0
   277               #max: #(#Point 1160 870)
   278           #min: #(#Point 100 280)
   278               #bounds: #(#Rectangle 134 100 655 383)
   279           #max: #(#Point 1160 870)
   279               #usePreferredExtent: false
   280           #bounds: #(#Rectangle 92 128 613 411)
   280           )
   281           #usePreferredExtent: false
   281           #component: 
   282           #returnIsOKInDialog: true
   282            #(#SpecCollection
   283           #escapeIsCancelInDialog: true
   283               #collection: 
   284         )
   284                #(
   285         #component: 
   285                  #(#UIGalleryViewSpec
   286        #(#SpecCollection
   286                     #name: 'gallery'
   287           #collection: #(
   287                     #layout: #(#LayoutFrame 0 0.0 0 0.0 -40 1.0 0 1.0)
   288            #(#NoteBookViewSpec
   288                     #tabable: true
   289               #name: 'NoteBook1'
   289                     #model: #galleryModel
   290               #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
   290                     #menu: #galleryList
   291               #model: #majorChannel
   291                     #useIndex: true
   292               #menu: #majorList
   292                     #minorKeys: #minorKeys
   293               #direction: #right
   293                     #clientSpec: #clientSpec
   294               #useIndex: true
   294                     #raiseMenu: #raiseMenu
   295               #canvas: #gallery
   295                 )
   296             )
   296                  #(#TabViewSpec
   297            )
   297                     #name: 'major'
   298          
   298                     #layout: #(#LayoutFrame -40 1.0 30 0.0 0 1.0 0 1.0)
   299         )
   299                     #model: #majorChannel
       
   300                     #menu: #majorList
       
   301                     #direction: #right
       
   302                     #useIndex: true
       
   303                 )
       
   304               )
       
   305           )
       
   306       )
   300       )
   307 
       
   308     "Modified: / 5.9.1998 / 17:43:14 / cg"
       
   309 ! !
   301 ! !
   310 
   302 
   311 !UISelectionPanel class methodsFor:'menus'!
   303 !UISelectionPanel class methodsFor:'menus'!
   312 
   304 
   313 menuSelected
   305 menuSelected
   347     "Modified: / 29.10.1997 / 03:20:38 / cg"
   339     "Modified: / 29.10.1997 / 03:20:38 / cg"
   348 ! !
   340 ! !
   349 
   341 
   350 !UISelectionPanel class methodsFor:'standard specifications'!
   342 !UISelectionPanel class methodsFor:'standard specifications'!
   351 
   343 
       
   344 XXstandardLists
       
   345     "This resource specification was automatically generated
       
   346      by the UIPainter of ST/X."
       
   347 
       
   348     "Do not manually edit this!! If it is corrupted,
       
   349      the UIPainter may not be able to read the specification."
       
   350 
       
   351     "
       
   352      UIPainter new openOnClass:UISelectionPanel andSelector:#standardLists
       
   353      UISelectionPanel new openInterface:#standardLists
       
   354     "
       
   355 
       
   356     <resource: #canvas>
       
   357 
       
   358     ^ 
       
   359      #(#FullSpec
       
   360         #name: #standardLists
       
   361         #window: 
       
   362        #(#WindowSpec
       
   363           #label: 'Lists'
       
   364           #name: 'Lists'
       
   365           #layout: #(#LayoutFrame 114 0 262 0 554 0 479 0)
       
   366           #level: 0
       
   367           #min: #(#Point 10 10)
       
   368           #max: #(#Point 1280 1024)
       
   369           #bounds: #(#Rectangle 114 262 555 480)
       
   370           #usePreferredExtent: false
       
   371           #returnIsOKInDialog: true
       
   372           #escapeIsCancelInDialog: true
       
   373         )
       
   374         #component: 
       
   375        #(#SpecCollection
       
   376           #collection: #(
       
   377            #(#SequenceViewSpec
       
   378               #name: 'List'
       
   379               #layout: #(#LayoutFrame 4 0 19 0 209 0 99 0)
       
   380               #hasHorizontalScrollBar: true
       
   381               #hasVerticalScrollBar: true
       
   382               #useIndex: false
       
   383             )
       
   384            #(#LabelSpec
       
   385               #label: 'List'
       
   386               #name: 'ListLabel'
       
   387               #layout: #(#AlignmentOrigin 4 0 19 0 0 1)
       
   388               #style: #(#FontDescription #helvetica #medium #roman 10)
       
   389               #resizeForLabel: true
       
   390               #adjust: #left
       
   391               #canUIDrag: false
       
   392             )
       
   393            #(#SelectionInTreeViewSpec
       
   394               #name: 'Tree List'
       
   395               #layout: #(#LayoutFrame 4 0 134 0 209 0 214 0)
       
   396               #hasHorizontalScrollBar: true
       
   397               #hasVerticalScrollBar: true
       
   398               #highlightMode: #line
       
   399             )
       
   400            #(#LabelSpec
       
   401               #label: 'Tree List'
       
   402               #name: 'TreeListLabel'
       
   403               #layout: #(#AlignmentOrigin 4 0 134 0 0 1)
       
   404               #style: #(#FontDescription #helvetica #medium #roman 10)
       
   405               #resizeForLabel: true
       
   406               #adjust: #left
       
   407               #canUIDrag: false
       
   408             )
       
   409            #(#DataSetSpec
       
   410               #name: 'Table'
       
   411               #layout: #(#LayoutFrame 229 0 19 0 434 0 99 0)
       
   412               #hasHorizontalScrollBar: true
       
   413               #hasVerticalScrollBar: true
       
   414               #has3Dsepartors: false
       
   415             )
       
   416            #(#LabelSpec
       
   417               #label: 'Table'
       
   418               #name: 'TableLabel'
       
   419               #layout: #(#AlignmentOrigin 229 0 19 0 0 1)
       
   420               #style: #(#FontDescription #helvetica #medium #roman 10)
       
   421               #resizeForLabel: true
       
   422               #adjust: #left
       
   423               #canUIDrag: false
       
   424             )
       
   425            #(#FileSelectionTreeSpec
       
   426               #name: 'File Tree List'
       
   427               #layout: #(#LayoutFrame 229 0 134 0 434 0 214 0)
       
   428               #hasHorizontalScrollBar: true
       
   429               #hasVerticalScrollBar: true
       
   430               #highlightMode: #line
       
   431             )
       
   432            #(#LabelSpec
       
   433               #label: 'File Tree List'
       
   434               #name: 'FileTreeListLabel'
       
   435               #layout: #(#AlignmentOrigin 229 0 134 0 0 1)
       
   436               #style: #(#FontDescription #helvetica #medium #roman 10)
       
   437               #resizeForLabel: true
       
   438               #adjust: #left
       
   439               #canUIDrag: false
       
   440             )
       
   441            )
       
   442          
       
   443         )
       
   444       )
       
   445 !
       
   446 
   352 standardButtons
   447 standardButtons
   353     "This resource specification was automatically generated
   448     "This resource specification was automatically generated
   354      by the UIPainter of ST/X."
   449      by the UIPainter of ST/X."
   355 
   450 
   356     "Do not manually edit this!! If it is corrupted,
   451     "Do not manually edit this!! If it is corrupted,
   361      UISelectionPanel new openInterface:#standardButtons
   456      UISelectionPanel new openInterface:#standardButtons
   362     "
   457     "
   363 
   458 
   364     <resource: #canvas>
   459     <resource: #canvas>
   365 
   460 
   366     ^
   461     ^ 
   367      
   462      #(#FullSpec
   368        #(#FullSpec
   463         #name: #standardButtons
   369           #window: 
   464         #window: 
   370            #(#WindowSpec
   465        #(#WindowSpec
   371               #name: 'Buttons'
   466           #label: 'Buttons'
   372               #layout: #(#LayoutFrame 39 0 189 0 517 0 392 0)
   467           #name: 'Buttons'
   373               #label: 'Buttons'
   468           #layout: #(#LayoutFrame 58 0 164 0 497 0 321 0)
   374               #min: #(#Point 10 10)
   469           #level: 0
   375               #max: #(#Point 1280 1024)
   470           #min: #(#Point 10 10)
   376               #bounds: #(#Rectangle 39 189 518 393)
   471           #max: #(#Point 1280 1024)
   377               #usePreferredExtent: false
   472           #bounds: #(#Rectangle 58 164 498 322)
   378           )
   473           #usePreferredExtent: false
   379           #component: 
   474           #returnIsOKInDialog: true
   380            #(#SpecCollection
   475           #escapeIsCancelInDialog: true
   381               #collection: 
   476         )
   382                #(
   477         #component: 
   383                  #(#ActionButtonSpec
   478        #(#SpecCollection
   384                     #name: 'Button'
   479           #collection: #(
   385                     #layout: #(#LayoutFrame 15 0 15 0 140 0 37 0)
   480            #(#ActionButtonSpec
   386                     #label: 'Button'
   481               #label: 'Button'
   387                     #translateLabel: true
   482               #name: 'Button'
   388                 )
   483               #layout: #(#LayoutFrame 2 0 1 0 127 0 23 0)
   389                  #(#ActionButtonSpec
   484               #translateLabel: true
   390                     #name: 'Button - OK'
   485             )
   391                     #layout: #(#LayoutFrame 15 0 47 0 140 0 69 0)
   486            #(#ActionButtonSpec
   392                     #label: 'OK'
   487               #label: 'OK'
   393                     #translateLabel: true
   488               #name: 'Button - OK'
   394                     #model: #accept
   489               #layout: #(#LayoutFrame 2 0 33 0 127 0 55 0)
   395                 )
   490               #translateLabel: true
   396                  #(#ActionButtonSpec
   491               #model: #accept
   397                     #name: 'Button - Cancel'
   492             )
   398                     #layout: #(#LayoutFrame 15 0 79 0 140 0 101 0)
   493            #(#ActionButtonSpec
   399                     #label: 'Cancel'
   494               #label: 'Cancel'
   400                     #translateLabel: true
   495               #name: 'Button - Cancel'
   401                     #model: #cancel
   496               #layout: #(#LayoutFrame 2 0 65 0 127 0 87 0)
   402                 )
   497               #translateLabel: true
   403                  #(#ActionButtonSpec
   498               #model: #cancel
   404                     #name: 'Button - Help'
   499             )
   405                     #layout: #(#LayoutFrame 15 0 111 0 140 0 133 0)
   500            #(#ActionButtonSpec
   406                     #label: 'Help'
   501               #label: 'Help'
   407                     #translateLabel: true
   502               #name: 'Button - Help'
   408                     #model: #help
   503               #layout: #(#LayoutFrame 2 0 97 0 127 0 119 0)
   409                 )
   504               #translateLabel: true
   410                  #(#ActionButtonSpec
   505               #model: #help
   411                     #name: 'Button - Close'
   506             )
   412                     #layout: #(#LayoutFrame 15 0 143 0 140 0 165 0)
   507            #(#ActionButtonSpec
   413                     #label: 'Close'
   508               #label: 'Close'
   414                     #translateLabel: true
   509               #name: 'Button - Close'
   415                     #model: #closeRequest
   510               #layout: #(#LayoutFrame 2 0 129 0 127 0 151 0)
   416                 )
   511               #translateLabel: true
   417                  #(#ToggleSpec
   512               #model: #closeRequest
   418                     #name: 'Toggle'
   513             )
   419                     #layout: #(#LayoutFrame 157 0 15 0 293 0 37 0)
   514            #(#ToggleSpec
   420                     #label: 'Toggle'
   515               #label: 'Toggle'
   421                     #isTriggerOnDown: true
   516               #name: 'Toggle'
   422                     #translateLabel: true
   517               #layout: #(#LayoutFrame 144 0 1 0 280 0 23 0)
   423                     #lampColor: #(#Color 100.0 100.0 0.0)
   518               #translateLabel: true
   424                 )
   519               #isTriggerOnDown: true
   425                  #(#RadioButtonSpec
   520               #lampColor: #(#Color 100.0 100.0 0.0)
   426                     #name: 'Radio Button'
   521             )
   427                     #layout: #(#LayoutFrame 157 0.0 47 0 293 0 69 0)
   522            #(#RadioButtonSpec
   428                     #label: 'Radio Button'
   523               #label: 'Radio Button'
   429                     #isTriggerOnDown: true
   524               #name: 'Radio Button'
   430                     #translateLabel: true
   525               #layout: #(#LayoutFrame 144 0.0 33 0 280 0 55 0)
   431                     #lampColor: #(#Color 100.0 100.0 0.0)
   526               #translateLabel: true
   432                 )
   527               #isTriggerOnDown: true
   433                  #(#CheckBoxSpec
   528               #lampColor: #(#Color 100.0 100.0 0.0)
   434                     #name: 'Check Box'
   529             )
   435                     #layout: #(#LayoutFrame 157 0 79 0 293 0 101 0)
   530            #(#CheckBoxSpec
   436                     #translateLabel: true
   531               #label: 'Check Box'
   437                     #label: 'Check Box'
   532               #name: 'Check Box'
   438                 )
   533               #layout: #(#LayoutFrame 144 0 65 0 280 0 87 0)
   439                  #(#CheckToggleSpec
   534               #translateLabel: true
   440                     #name: 'Check Toggle'
   535             )
   441                     #layout: #(#LayoutOrigin 157 0 113 0)
   536            #(#CheckToggleSpec
   442                     #isTriggerOnDown: true
   537               #name: 'Check Toggle'
   443                     #showLamp: false
   538               #layout: #(#LayoutOrigin 144 0 99 0)
   444                     #lampColor: #(#Color 100.0 100.0 0.0)
   539               #isTriggerOnDown: true
   445                 )
   540               #showLamp: false
   446                  #(#LabelSpec
   541               #lampColor: #(#Color 100.0 100.0 0.0)
   447                     #name: 'CheckToggleLabel'
   542             )
   448                     #layout: #(#AlignmentOrigin 183 0 112 0 0 0)
   543            #(#LabelSpec
   449                     #label: 'Check Toggle'
   544               #label: 'Check Toggle'
   450                     #adjust: #left
   545               #name: 'CheckToggleLabel'
   451                     #resizeForLabel: true
   546               #layout: #(#AlignmentOrigin 170 0 98 0 0 0)
   452                     #canUIDrag: false
   547               #resizeForLabel: true
   453                 )
   548               #adjust: #left
   454                  #(#ButtonSpec
   549               #canUIDrag: false
   455                     #name: 'Model Button'
   550             )
   456                     #layout: #(#LayoutFrame 309 0 15 0 445 0 37 0)
   551            #(#ButtonSpec
   457                     #label: 'Model Button'
   552               #label: 'Model Button'
   458                     #translateLabel: true
   553               #name: 'Model Button'
   459                 )
   554               #layout: #(#LayoutFrame 296 0 1 0 432 0 23 0)
   460                  #(#LabelSpec
   555               #translateLabel: true
   461                     #name: 'UpDownButtonLabel'
   556             )
   462                     #layout: #(#AlignmentOrigin 361 0 49 0 0 0)
   557            #(#LabelSpec
   463                     #label: 'Spin Button'
   558               #label: 'Spin Button'
   464                     #adjust: #left
   559               #name: 'UpDownButtonLabel'
   465                     #resizeForLabel: true
   560               #layout: #(#AlignmentOrigin 348 0 35 0 0 0)
   466                     #canUIDrag: false
   561               #resizeForLabel: true
   467                 )
   562               #adjust: #left
   468                  #(#UpDownButtonSpec
   563               #canUIDrag: false
   469                     #name: 'UpDown Button'
   564             )
   470                     #layout: #(#LayoutFrame 309 0 47 0 354 0 69 0)
   565            #(#UpDownButtonSpec
   471                     #orientation: #horizontal
   566               #name: 'UpDown Button'
   472                 )
   567               #layout: #(#LayoutFrame 296 0 33 0 341 0 55 0)
   473                  #(#LabelSpec
   568               #orientation: #horizontal
   474                     #name: 'ArrowButtonsLabel'
   569             )
   475                     #layout: #(#AlignmentOrigin 361 0 83 0 0 0)
   570            #(#LabelSpec
   476                     #label: 'Arrow Button'
   571               #label: 'Arrow Button'
   477                     #adjust: #left
   572               #name: 'ArrowButtonsLabel'
   478                     #resizeForLabel: true
   573               #layout: #(#AlignmentOrigin 348 0 69 0 0 0)
   479                     #canUIDrag: false
   574               #resizeForLabel: true
   480                 )
   575               #adjust: #left
   481                  #(#ArrowButtonSpec
   576               #canUIDrag: false
   482                     #name: 'Arrow Button'
   577             )
   483                     #layout: #(#LayoutFrame 309 0 79 0 331 0 101 0)
   578            #(#ArrowButtonSpec
   484                     #isTriggerOnDown: true
   579               #name: 'Arrow Button'
   485                     #direction: #right
   580               #layout: #(#LayoutFrame 296 0 65 0 318 0 87 0)
   486                 )
   581               #isTriggerOnDown: true
   487               )
   582               #direction: #right
   488           )
   583             )
       
   584            )
       
   585          
       
   586         )
   489       )
   587       )
   490 
       
   491     "Modified: / 20.5.1998 / 03:25:21 / cg"
       
   492 !
   588 !
   493 
   589 
   494 standardGraphs
   590 standardGraphs
   495     "this window spec was automatically generated by the ST/X UIPainter"
   591     "This resource specification was automatically generated
   496 
   592      by the UIPainter of ST/X."
   497     "do not manually edit this - the painter/builder may not be able to
   593 
   498      handle the specification if its corrupted."
   594     "Do not manually edit this!! If it is corrupted,
       
   595      the UIPainter may not be able to read the specification."
   499 
   596 
   500     "
   597     "
   501      UIPainter new openOnClass:UISelectionPanel andSelector:#standardGraphs
   598      UIPainter new openOnClass:UISelectionPanel andSelector:#standardGraphs
   502      UISelectionPanel new openInterface:#standardGraphs
   599      UISelectionPanel new openInterface:#standardGraphs
   503     "
   600     "
   504 
   601 
   505     <resource: #canvas>
   602     <resource: #canvas>
   506 
   603 
   507     ^
   604     ^ 
   508      
   605      #(#FullSpec
   509        #(#FullSpec
   606         #name: #standardGraphs
   510           #window: 
   607         #window: 
   511            #(#WindowSpec
   608        #(#WindowSpec
   512               #name: 'Graphs'
   609           #label: 'Graphs'
   513               #layout: #(#LayoutFrame 114 0 373 0 583 0 615 0)
   610           #name: 'Graphs'
   514               #label: 'Graphs'
   611           #layout: #(#LayoutFrame 81 0 219 0 519 0 333 0)
   515               #min: #(#Point 10 10)
   612           #level: 0
   516               #max: #(#Point 1280 1024)
   613           #min: #(#Point 10 10)
   517               #bounds: #(#Rectangle 114 373 584 616)
   614           #max: #(#Point 1280 1024)
   518               #usePreferredExtent: false
   615           #bounds: #(#Rectangle 81 219 520 334)
   519           )
   616           #usePreferredExtent: false
   520           #component: 
   617           #returnIsOKInDialog: true
   521            #(#SpecCollection
   618           #escapeIsCancelInDialog: true
   522               #collection: 
   619         )
   523                #(
   620         #component: 
   524                  #(#GraphColumnView2DSpec
   621        #(#SpecCollection
   525                     #name: 'GraphColumnView2D'
   622           #collection: #(
   526                     #layout: #(#LayoutFrame 15 0 15 0 220 0 110 0)
   623            #(#GraphColumnView2DSpec
   527                     #gridX: 0
   624               #name: 'GraphColumnView2D'
   528                     #gridY: 0
   625               #layout: #(#LayoutFrame 3 0 3 0 208 0 98 0)
   529                 )
   626               #gridX: 0
   530                  #(#LabelSpec
   627               #gridY: 0
   531                     #name: 'GraphColumnView2DLabel'
   628             )
   532                     #layout: #(#AlignmentOrigin 19 0 19 0 0 0)
   629            #(#LabelSpec
   533                     #label: 'GraphColumnViewView2D'
   630               #label: 'GraphColumnViewView2D'
   534                     #style: #(#FontDescription #helvetica #medium #roman 10)
   631               #name: 'GraphColumnView2DLabel'
   535                     #adjust: #left
   632               #layout: #(#AlignmentOrigin 7 0 7 0 0 0)
   536                     #resizeForLabel: true
   633               #style: #(#FontDescription #helvetica #medium #roman 10)
   537                     #canUIDrag: false
   634               #resizeForLabel: true
   538                 )
   635               #adjust: #left
   539                  #(#GraphColumnView3DSpec
   636               #canUIDrag: false
   540                     #name: 'GraphColumnView3D'
   637             )
   541                     #layout: #(#LayoutFrame 240 0 15 0 445 0 110 0)
   638            #(#GraphColumnView3DSpec
   542                 )
   639               #name: 'GraphColumnView3D'
   543                  #(#LabelSpec
   640               #layout: #(#LayoutFrame 228 0 3 0 433 0 98 0)
   544                     #name: 'GraphColumnView3DLabel'
   641             )
   545                     #layout: #(#AlignmentOrigin 244 0 19 0 0 0)
   642            #(#LabelSpec
   546                     #label: 'GraphColumnViewView3D'
   643               #label: 'GraphColumnViewView3D'
   547                     #style: #(#FontDescription #helvetica #medium #roman 10)
   644               #name: 'GraphColumnView3DLabel'
   548                     #adjust: #left
   645               #layout: #(#AlignmentOrigin 232 0 7 0 0 0)
   549                     #resizeForLabel: true
   646               #style: #(#FontDescription #helvetica #medium #roman 10)
   550                     #canUIDrag: false
   647               #resizeForLabel: true
   551                 )
   648               #adjust: #left
   552               )
   649               #canUIDrag: false
   553           )
   650             )
       
   651            )
       
   652          
       
   653         )
   554       )
   654       )
   555 !
   655 !
   556 
   656 
   557 standardGroups
   657 standardGroups
   558     "this window spec was automatically generated by the ST/X UIPainter"
   658     "This resource specification was automatically generated
   559 
   659      by the UIPainter of ST/X."
   560     "do not manually edit this - the painter/builder may not be able to
   660 
   561      handle the specification if its corrupted."
   661     "Do not manually edit this!! If it is corrupted,
       
   662      the UIPainter may not be able to read the specification."
   562 
   663 
   563     "
   664     "
   564      UIPainter new openOnClass:UISelectionPanel andSelector:#standardGroups
   665      UIPainter new openOnClass:UISelectionPanel andSelector:#standardGroups
   565      UISelectionPanel new openInterface:#standardGroups
   666      UISelectionPanel new openInterface:#standardGroups
   566     "
   667     "
   567 
   668 
   568     <resource: #canvas>
   669     <resource: #canvas>
   569 
   670 
   570     ^
   671     ^ 
   571      
   672      #(#FullSpec
   572        #(#FullSpec
   673         #name: #standardGroups
   573           #window: 
   674         #window: 
   574            #(#WindowSpec
   675        #(#WindowSpec
   575               #name: 'Groups'
   676           #label: 'Groups'
   576               #layout: #(#LayoutFrame 147 0 281 0 647 0 520 0)
   677           #name: 'Groups'
   577               #label: 'Groups'
   678           #layout: #(#LayoutFrame 92 0 174 0 534 0 395 0)
   578               #min: #(#Point 10 10)
   679           #level: 0
   579               #max: #(#Point 1280 1024)
   680           #min: #(#Point 10 10)
   580               #bounds: #(#Rectangle 147 281 648 521)
   681           #max: #(#Point 1280 1024)
   581               #usePreferredExtent: false
   682           #bounds: #(#Rectangle 92 174 535 396)
   582           )
   683           #usePreferredExtent: false
   583           #component: 
   684           #returnIsOKInDialog: true
   584            #(#SpecCollection
   685           #escapeIsCancelInDialog: true
   585               #collection: 
   686         )
   586                #(
   687         #component: 
   587                  #(#ViewSpec
   688        #(#SpecCollection
   588                     #name: 'Box'
   689           #collection: #(
   589                     #layout: #(#LayoutFrame 15 0 15 0 220 0 110 0)
   690            #(#ViewSpec
   590                 )
   691               #name: 'Box'
   591                  #(#LabelSpec
   692               #layout: #(#LayoutFrame 3 0 3 0 208 0 98 0)
   592                     #name: 'ViewLabel'
   693             )
   593                     #layout: #(#AlignmentOrigin 18 0 17 0 0 0)
   694            #(#LabelSpec
   594                     #label: 'Box'
   695               #label: 'Box'
   595                     #style: #(#FontDescription #helvetica #medium #roman 10)
   696               #name: 'ViewLabel'
   596                     #adjust: #left
   697               #layout: #(#AlignmentOrigin 6 0 5 0 0 0)
   597                     #resizeForLabel: true
   698               #style: #(#FontDescription #helvetica #medium #roman 10)
   598                     #canUIDrag: false
   699               #resizeForLabel: true
   599                 )
   700               #adjust: #left
   600                  #(#LabelSpec
   701               #canUIDrag: false
   601                     #name: 'VPanelLabel'
   702             )
   602                     #layout: #(#LayoutFrame 15 0 116 0 220 0 139 0)
   703            #(#LabelSpec
   603                     #label: 'Variable Panels'
   704               #label: 'Variable Panels'
   604                     #style: #(#FontDescription #helvetica #medium #roman 10)
   705               #name: 'VPanelLabel'
   605                     #adjust: #left
   706               #layout: #(#LayoutFrame 3 0 104 0 208 0 127 0)
   606                     #canUIDrag: false
   707               #style: #(#FontDescription #helvetica #medium #roman 10)
   607                 )
   708               #adjust: #left
   608                  #(#VariableHorizontalPanelSpec
   709               #canUIDrag: false
   609                     #name: 'Variable Horizontal Panel'
   710             )
   610                     #layout: #(#LayoutFrame 15 0 140 0 110 0 230 0)
   711            #(#VariableHorizontalPanelSpec
   611                     #component: 
   712               #name: 'Variable Horizontal Panel'
   612                      #(#SpecCollection
   713               #layout: #(#LayoutFrame 3 0 128 0 98 0 218 0)
   613                         #collection: 
   714               #handles: #(#Any 0.5 1.0)
   614                          #(
   715               #component: 
   615                            #(#LabelSpec
   716              #(#SpecCollection
   616                               #name: 'label4'
   717                 #collection: #(
   617                               #label: 'A'
   718                  #(#LabelSpec
   618                               #style: #(#FontDescription #helvetica #medium #roman 12)
   719                     #label: 'A'
   619                               #level: 2
   720                     #name: 'label4'
   620                               #canUIDrag: false
   721                     #level: 2
   621                           )
   722                     #style: #(#FontDescription #helvetica #medium #roman 12)
   622                            #(#LabelSpec
   723                     #canUIDrag: false
   623                               #name: 'label5'
   724                   )
   624                               #label: 'B'
   725                  #(#LabelSpec
   625                               #style: #(#FontDescription #helvetica #medium #roman 12)
   726                     #label: 'B'
   626                               #level: 2
   727                     #name: 'label5'
   627                               #canUIDrag: false
   728                     #level: 2
   628                           )
   729                     #style: #(#FontDescription #helvetica #medium #roman 12)
   629                         )
   730                     #canUIDrag: false
   630                     )
   731                   )
   631                     #handles: #(#Any 0.5 1.0)
   732                  )
   632                 )
   733                
   633                  #(#VariableVerticalPanelSpec
       
   634                     #name: 'Variable Vertical Panel'
       
   635                     #layout: #(#LayoutFrame 125 0 140 0 220 0 230 0)
       
   636                     #component: 
       
   637                      #(#SpecCollection
       
   638                         #collection: 
       
   639                          #(
       
   640                            #(#LabelSpec
       
   641                               #name: 'label9'
       
   642                               #label: 'A'
       
   643                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   644                               #level: 2
       
   645                               #canUIDrag: false
       
   646                           )
       
   647                            #(#LabelSpec
       
   648                               #name: 'label10'
       
   649                               #label: 'B'
       
   650                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   651                               #level: 2
       
   652                               #canUIDrag: false
       
   653                           )
       
   654                         )
       
   655                     )
       
   656                     #handles: #(#Any 0.5 1.0)
       
   657                 )
       
   658                  #(#FramedBoxSpec
       
   659                     #name: 'Framed Box'
       
   660                     #layout: #(#LayoutFrame 240 0 15 0 445 0 110 0)
       
   661                     #label: 'Framed Box'
       
   662                     #labelPosition: #topLeft
       
   663                     #translateLabel: true
       
   664                 )
       
   665                  #(#LabelSpec
       
   666                     #name: 'PanelLabel'
       
   667                     #layout: #(#LayoutFrame 240 0 116 0 445 0 139 0)
       
   668                     #label: 'Panels'
       
   669                     #style: #(#FontDescription #helvetica #medium #roman 10)
       
   670                     #adjust: #left
       
   671                     #canUIDrag: false
       
   672                 )
       
   673                  #(#HorizontalPanelViewSpec
       
   674                     #name: 'Horizontal Panel'
       
   675                     #layout: #(#LayoutFrame 240 0 140 0 324 0 230 0)
       
   676                     #component: 
       
   677                      #(#SpecCollection
       
   678                         #collection: 
       
   679                          #(
       
   680                            #(#LabelSpec
       
   681                               #name: 'label1'
       
   682                               #label: 'A'
       
   683                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   684                               #level: 2
       
   685                               #extent: #(#Point 23 23)
       
   686                               #canUIDrag: false
       
   687                           )
       
   688                            #(#LabelSpec
       
   689                               #name: 'label2'
       
   690                               #label: 'B'
       
   691                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   692                               #level: 2
       
   693                               #extent: #(#Point 23 23)
       
   694                               #canUIDrag: false
       
   695                           )
       
   696                            #(#LabelSpec
       
   697                               #name: 'label3'
       
   698                               #label: 'C'
       
   699                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   700                               #level: 2
       
   701                               #extent: #(#Point 23 23)
       
   702                               #canUIDrag: false
       
   703                           )
       
   704                         )
       
   705                     )
       
   706                     #horizontalLayout: #center
       
   707                     #verticalLayout: #center
       
   708                     #horizontalSpace: 3
       
   709                     #verticalSpace: 3
       
   710                 )
       
   711                  #(#VerticalPanelViewSpec
       
   712                     #name: 'Vertical Panel'
       
   713                     #layout: #(#LayoutFrame 332 0 140 0 379 0 230 0)
       
   714                     #component: 
       
   715                      #(#SpecCollection
       
   716                         #collection: 
       
   717                          #(
       
   718                            #(#LabelSpec
       
   719                               #name: 'label6'
       
   720                               #label: 'A'
       
   721                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   722                               #level: 2
       
   723                               #extent: #(#Point 23 23)
       
   724                               #canUIDrag: false
       
   725                           )
       
   726                            #(#LabelSpec
       
   727                               #name: 'label7'
       
   728                               #label: 'B'
       
   729                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   730                               #level: 2
       
   731                               #extent: #(#Point 23 23)
       
   732                               #canUIDrag: false
       
   733                           )
       
   734                            #(#LabelSpec
       
   735                               #name: 'label8'
       
   736                               #label: 'C'
       
   737                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   738                               #level: 2
       
   739                               #extent: #(#Point 23 23)
       
   740                               #canUIDrag: false
       
   741                           )
       
   742                         )
       
   743                     )
       
   744                     #horizontalLayout: #center
       
   745                     #verticalLayout: #center
       
   746                     #horizontalSpace: 3
       
   747                     #verticalSpace: 3
       
   748                 )
       
   749                  #(#PanelViewSpec
       
   750                     #name: 'Panel'
       
   751                     #layout: #(#LayoutFrame 387 0 140 0 445 0 230 0)
       
   752                     #component: 
       
   753                      #(#SpecCollection
       
   754                         #collection: 
       
   755                          #(
       
   756                            #(#LabelSpec
       
   757                               #name: 'label11'
       
   758                               #label: 'A'
       
   759                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   760                               #level: 2
       
   761                               #extent: #(#Point 23 23)
       
   762                               #canUIDrag: false
       
   763                           )
       
   764                            #(#LabelSpec
       
   765                               #name: 'label12'
       
   766                               #label: 'B'
       
   767                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   768                               #level: 2
       
   769                               #extent: #(#Point 23 23)
       
   770                               #canUIDrag: false
       
   771                           )
       
   772                            #(#LabelSpec
       
   773                               #name: 'label13'
       
   774                               #label: 'C'
       
   775                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   776                               #level: 2
       
   777                               #extent: #(#Point 23 23)
       
   778                               #canUIDrag: false
       
   779                           )
       
   780                            #(#LabelSpec
       
   781                               #name: 'label14'
       
   782                               #label: 'D'
       
   783                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   784                               #level: 2
       
   785                               #extent: #(#Point 23 23)
       
   786                               #canUIDrag: false
       
   787                           )
       
   788                            #(#LabelSpec
       
   789                               #name: 'label15'
       
   790                               #label: 'E'
       
   791                               #style: #(#FontDescription #helvetica #medium #roman 12)
       
   792                               #level: 2
       
   793                               #extent: #(#Point 23 23)
       
   794                               #canUIDrag: false
       
   795                           )
       
   796                         )
       
   797                     )
       
   798                     #horizontalLayout: #fitSpace
       
   799                     #verticalLayout: #fitSpace
       
   800                     #horizontalSpace: 3
       
   801                     #verticalSpace: 3
       
   802                 )
       
   803               )
   734               )
   804           )
   735             )
       
   736            #(#VariableVerticalPanelSpec
       
   737               #name: 'Variable Vertical Panel'
       
   738               #layout: #(#LayoutFrame 113 0 128 0 208 0 218 0)
       
   739               #handles: #(#Any 0.5 1.0)
       
   740               #component: 
       
   741              #(#SpecCollection
       
   742                 #collection: #(
       
   743                  #(#LabelSpec
       
   744                     #label: 'A'
       
   745                     #name: 'label9'
       
   746                     #level: 2
       
   747                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   748                     #canUIDrag: false
       
   749                   )
       
   750                  #(#LabelSpec
       
   751                     #label: 'B'
       
   752                     #name: 'label10'
       
   753                     #level: 2
       
   754                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   755                     #canUIDrag: false
       
   756                   )
       
   757                  )
       
   758                
       
   759               )
       
   760             )
       
   761            #(#FramedBoxSpec
       
   762               #label: 'Framed Box'
       
   763               #name: 'Framed Box'
       
   764               #layout: #(#LayoutFrame 228 0 3 0 433 0 98 0)
       
   765               #labelPosition: #topLeft
       
   766               #translateLabel: true
       
   767             )
       
   768            #(#LabelSpec
       
   769               #label: 'Panels'
       
   770               #name: 'PanelLabel'
       
   771               #layout: #(#LayoutFrame 228 0 104 0 433 0 127 0)
       
   772               #style: #(#FontDescription #helvetica #medium #roman 10)
       
   773               #adjust: #left
       
   774               #canUIDrag: false
       
   775             )
       
   776            #(#HorizontalPanelViewSpec
       
   777               #name: 'Horizontal Panel'
       
   778               #layout: #(#LayoutFrame 228 0 128 0 312 0 218 0)
       
   779               #horizontalLayout: #center
       
   780               #verticalLayout: #center
       
   781               #horizontalSpace: 3
       
   782               #verticalSpace: 3
       
   783               #component: 
       
   784              #(#SpecCollection
       
   785                 #collection: #(
       
   786                  #(#LabelSpec
       
   787                     #label: 'A'
       
   788                     #name: 'label1'
       
   789                     #level: 2
       
   790                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   791                     #extent: #(#Point 23 23)
       
   792                     #canUIDrag: false
       
   793                   )
       
   794                  #(#LabelSpec
       
   795                     #label: 'B'
       
   796                     #name: 'label2'
       
   797                     #level: 2
       
   798                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   799                     #extent: #(#Point 23 23)
       
   800                     #canUIDrag: false
       
   801                   )
       
   802                  #(#LabelSpec
       
   803                     #label: 'C'
       
   804                     #name: 'label3'
       
   805                     #level: 2
       
   806                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   807                     #extent: #(#Point 23 23)
       
   808                     #canUIDrag: false
       
   809                   )
       
   810                  )
       
   811                
       
   812               )
       
   813             )
       
   814            #(#VerticalPanelViewSpec
       
   815               #name: 'Vertical Panel'
       
   816               #layout: #(#LayoutFrame 320 0 128 0 367 0 218 0)
       
   817               #horizontalLayout: #center
       
   818               #verticalLayout: #center
       
   819               #horizontalSpace: 3
       
   820               #verticalSpace: 3
       
   821               #component: 
       
   822              #(#SpecCollection
       
   823                 #collection: #(
       
   824                  #(#LabelSpec
       
   825                     #label: 'A'
       
   826                     #name: 'label6'
       
   827                     #level: 2
       
   828                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   829                     #extent: #(#Point 23 23)
       
   830                     #canUIDrag: false
       
   831                   )
       
   832                  #(#LabelSpec
       
   833                     #label: 'B'
       
   834                     #name: 'label7'
       
   835                     #level: 2
       
   836                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   837                     #extent: #(#Point 23 23)
       
   838                     #canUIDrag: false
       
   839                   )
       
   840                  #(#LabelSpec
       
   841                     #label: 'C'
       
   842                     #name: 'label8'
       
   843                     #level: 2
       
   844                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   845                     #extent: #(#Point 23 23)
       
   846                     #canUIDrag: false
       
   847                   )
       
   848                  )
       
   849                
       
   850               )
       
   851             )
       
   852            #(#PanelViewSpec
       
   853               #name: 'Panel'
       
   854               #layout: #(#LayoutFrame 375 0 128 0 433 0 218 0)
       
   855               #horizontalLayout: #fitSpace
       
   856               #verticalLayout: #fitSpace
       
   857               #horizontalSpace: 3
       
   858               #verticalSpace: 3
       
   859               #component: 
       
   860              #(#SpecCollection
       
   861                 #collection: #(
       
   862                  #(#LabelSpec
       
   863                     #label: 'A'
       
   864                     #name: 'label11'
       
   865                     #level: 2
       
   866                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   867                     #extent: #(#Point 23 23)
       
   868                     #canUIDrag: false
       
   869                   )
       
   870                  #(#LabelSpec
       
   871                     #label: 'B'
       
   872                     #name: 'label12'
       
   873                     #level: 2
       
   874                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   875                     #extent: #(#Point 23 23)
       
   876                     #canUIDrag: false
       
   877                   )
       
   878                  #(#LabelSpec
       
   879                     #label: 'C'
       
   880                     #name: 'label13'
       
   881                     #level: 2
       
   882                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   883                     #extent: #(#Point 23 23)
       
   884                     #canUIDrag: false
       
   885                   )
       
   886                  #(#LabelSpec
       
   887                     #label: 'D'
       
   888                     #name: 'label14'
       
   889                     #level: 2
       
   890                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   891                     #extent: #(#Point 23 23)
       
   892                     #canUIDrag: false
       
   893                   )
       
   894                  #(#LabelSpec
       
   895                     #label: 'E'
       
   896                     #name: 'label15'
       
   897                     #level: 2
       
   898                     #style: #(#FontDescription #helvetica #medium #roman 12)
       
   899                     #extent: #(#Point 23 23)
       
   900                     #canUIDrag: false
       
   901                   )
       
   902                  )
       
   903                
       
   904               )
       
   905             )
       
   906            )
       
   907          
       
   908         )
   805       )
   909       )
   806 
       
   807     "Modified: / 20.5.1998 / 03:26:08 / cg"
       
   808 !
   910 !
   809 
   911 
   810 standardLists
   912 standardLists
   811     "This resource specification was automatically generated
   913     "This resource specification was automatically generated
   812      by the UIPainter of ST/X."
   914      by the UIPainter of ST/X."
   819      UISelectionPanel new openInterface:#standardLists
   921      UISelectionPanel new openInterface:#standardLists
   820     "
   922     "
   821 
   923 
   822     <resource: #canvas>
   924     <resource: #canvas>
   823 
   925 
   824     ^
   926     ^ 
   825      
   927      #(#FullSpec
   826        #(#FullSpec
   928         #name: #standardLists
   827           #window: 
   929         #window: 
   828            #(#WindowSpec
   930        #(#WindowSpec
   829               #name: 'Lists'
   931           #label: 'Lists'
   830               #layout: #(#LayoutFrame 164 0 52 0 633 0 294 0)
   932           #name: 'Lists'
   831               #label: 'Lists'
   933           #layout: #(#LayoutFrame 114 0 262 0 554 0 479 0)
   832               #min: #(#Point 10 10)
   934           #level: 0
   833               #max: #(#Point 1280 1024)
   935           #min: #(#Point 10 10)
   834               #bounds: #(#Rectangle 164 52 634 295)
   936           #max: #(#Point 1280 1024)
   835               #usePreferredExtent: false
   937           #bounds: #(#Rectangle 114 262 555 480)
   836           )
   938           #usePreferredExtent: false
   837           #component: 
   939           #returnIsOKInDialog: true
   838            #(#SpecCollection
   940           #escapeIsCancelInDialog: true
   839               #collection: 
   941         )
   840                #(
   942         #component: 
   841                  #(#SequenceViewSpec
   943        #(#SpecCollection
   842                     #name: 'List'
   944           #collection: #(
   843                     #layout: #(#LayoutFrame 15 0 30 0 220 0 110 0)
   945            #(#SequenceViewSpec
   844                     #hasHorizontalScrollBar: true
   946               #name: 'List'
   845                     #hasVerticalScrollBar: true
   947               #layout: #(#LayoutFrame 4 0 19 0 209 0 99 0)
   846                     #useIndex: false
   948               #hasHorizontalScrollBar: true
   847                 )
   949               #hasVerticalScrollBar: true
   848                  #(#LabelSpec
   950               #useIndex: false
   849                     #name: 'ListLabel'
   951             )
   850                     #layout: #(#AlignmentOrigin 15 0 30 0 0 1)
   952            #(#LabelSpec
   851                     #label: 'List'
   953               #label: 'List'
   852                     #style: #(#FontDescription #helvetica #medium #roman 10)
   954               #name: 'ListLabel'
   853                     #adjust: #left
   955               #layout: #(#AlignmentOrigin 4 0 19 0 0 1)
   854                     #resizeForLabel: true
   956               #style: #(#FontDescription #helvetica #medium #roman 10)
   855                     #canUIDrag: false
   957               #resizeForLabel: true
   856                 )
   958               #adjust: #left
   857                  #(#SelectionInTreeViewSpec
   959               #canUIDrag: false
   858                     #name: 'Tree List'
   960             )
   859                     #layout: #(#LayoutFrame 15 0 145 0 220 0 225 0)
   961            #(#SelectionInTreeViewSpec
   860                     #hasHorizontalScrollBar: true
   962               #name: 'Tree List'
   861                     #hasVerticalScrollBar: true
   963               #layout: #(#LayoutFrame 4 0 134 0 209 0 214 0)
   862                 )
   964               #hasHorizontalScrollBar: true
   863                  #(#LabelSpec
   965               #hasVerticalScrollBar: true
   864                     #name: 'TreeListLabel'
   966               #highlightMode: #line
   865                     #layout: #(#AlignmentOrigin 15 0 145 0 0 1)
   967             )
   866                     #label: 'Tree List'
   968            #(#DataSetSpec
   867                     #style: #(#FontDescription #helvetica #medium #roman 10)
   969               #name: 'Table'
   868                     #adjust: #left
   970               #layout: #(#LayoutFrame 229 0 19 0 434 0 99 0)
   869                     #resizeForLabel: true
   971               #hasHorizontalScrollBar: true
   870                     #canUIDrag: false
   972               #hasVerticalScrollBar: true
   871                 )
   973               #has3Dsepartors: false
   872                  #(#DataSetSpec
   974             )
   873                     #name: 'Table'
   975            #(#FileSelectionTreeSpec
   874                     #layout: #(#LayoutFrame 240 0 30 0 445 0 110 0)
   976               #name: 'File Tree List'
   875                     #hasHorizontalScrollBar: true
   977               #layout: #(#LayoutFrame 229 0 134 0 434 0 214 0)
   876                     #hasVerticalScrollBar: true
   978               #hasHorizontalScrollBar: true
   877                 )
   979               #hasVerticalScrollBar: true
   878                  #(#LabelSpec
   980               #highlightMode: #line
   879                     #name: 'TableLabel'
   981             )
   880                     #layout: #(#AlignmentOrigin 240 0 30 0 0 1)
   982            #(#LabelSpec
   881                     #label: 'Table'
   983               #label: 'File Tree List'
   882                     #style: #(#FontDescription #helvetica #medium #roman 10)
   984               #name: 'FileTreeListLabel'
   883                     #adjust: #left
   985               #layout: #(#AlignmentOrigin 229 0 134 0 0 1)
   884                     #resizeForLabel: true
   986               #style: #(#FontDescription #helvetica #medium #roman 10)
   885                     #canUIDrag: false
   987               #resizeForLabel: true
   886                 )
   988               #adjust: #left
   887                  #(#FileSelectionTreeSpec
   989               #canUIDrag: false
   888                     #name: 'File Tree List'
   990             )
   889                     #layout: #(#LayoutFrame 240 0 145 0 445 0 225 0)
   991            #(#LabelSpec
   890                     #hasHorizontalScrollBar: true
   992               #label: 'Table'
   891                     #hasVerticalScrollBar: true
   993               #name: 'TableLabel'
   892                 )
   994               #layout: #(#AlignmentOrigin 229 0 19 0 0 1)
   893                  #(#LabelSpec
   995               #style: #(#FontDescription #helvetica #medium #roman 10)
   894                     #name: 'FileTreeListLabel'
   996               #resizeForLabel: true
   895                     #layout: #(#AlignmentOrigin 240 0 145 0 0 1)
   997               #adjust: #left
   896                     #label: 'File Tree List'
   998               #canUIDrag: false
   897                     #style: #(#FontDescription #helvetica #medium #roman 10)
   999             )
   898                     #adjust: #left
  1000            #(#LabelSpec
   899                     #resizeForLabel: true
  1001               #label: 'Tree List'
   900                     #canUIDrag: false
  1002               #name: 'TreeListLabel'
   901                 )
  1003               #layout: #(#AlignmentOrigin 4 0 134 0 0 1)
   902               )
  1004               #style: #(#FontDescription #helvetica #medium #roman 10)
   903           )
  1005               #resizeForLabel: true
       
  1006               #adjust: #left
       
  1007               #canUIDrag: false
       
  1008             )
       
  1009            )
       
  1010          
       
  1011         )
   904       )
  1012       )
   905 
       
   906     "Modified: / 21.4.1998 / 20:36:36 / cg"
       
   907 !
  1013 !
   908 
  1014 
   909 standardMenus
  1015 standardMenus
   910     "This resource specification was automatically generated
  1016     "This resource specification was automatically generated
   911      by the UIPainter of ST/X."
  1017      by the UIPainter of ST/X."
   918      UISelectionPanel new openInterface:#standardMenus
  1024      UISelectionPanel new openInterface:#standardMenus
   919     "
  1025     "
   920 
  1026 
   921     <resource: #canvas>
  1027     <resource: #canvas>
   922 
  1028 
   923     ^
  1029     ^ 
   924      
  1030      #(#FullSpec
   925        #(#FullSpec
  1031         #name: #standardMenus
   926           #window: 
  1032         #window: 
   927            #(#WindowSpec
  1033        #(#WindowSpec
   928               #name: 'Menus'
  1034           #label: 'Menus'
   929               #layout: #(#LayoutFrame 110 0 120 0 586 0 342 0)
  1035           #name: 'Menus'
   930               #level: 0
  1036           #layout: #(#LayoutFrame 20 0 182 0 496 0 404 0)
   931               #label: 'Menus'
  1037           #level: 0
   932               #min: #(#Point 10 10)
  1038           #min: #(#Point 10 10)
   933               #max: #(#Point 1280 1024)
  1039           #max: #(#Point 1280 1024)
   934               #bounds: #(#Rectangle 110 120 587 343)
  1040           #bounds: #(#Rectangle 20 182 497 405)
   935               #usePreferredExtent: false
  1041           #usePreferredExtent: false
   936           )
  1042           #returnIsOKInDialog: true
   937           #component: 
  1043           #escapeIsCancelInDialog: true
   938            #(#SpecCollection
  1044         )
   939               #collection: 
  1045         #component: 
   940                #(
  1046        #(#SpecCollection
   941                  #(#MenuPanelSpec
  1047           #collection: #(
   942                     #name: 'Tool Bar'
  1048            #(#MenuPanelSpec
   943                     #layout: #(#LayoutFrame 15 0 146 0 140 0 178 0)
  1049               #name: 'Tool Bar'
   944                     #textDefault: true
  1050               #layout: #(#LayoutFrame 4 0 134 0 129 0 166 0)
   945                 )
  1051               #textDefault: true
   946                  #(#LabelSpec
  1052             )
   947                     #name: 'ToolBarLabel'
  1053            #(#LabelSpec
   948                     #layout: #(#AlignmentOrigin 15 0 146 0 0 1)
  1054               #label: 'Tool Bar'
   949                     #label: 'Tool Bar'
  1055               #name: 'ToolBarLabel'
   950                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1056               #layout: #(#AlignmentOrigin 4 0 134 0 0 1)
   951                     #resizeForLabel: true
  1057               #style: #(#FontDescription #helvetica #medium #roman 10)
   952                     #adjust: #left
  1058               #resizeForLabel: true
   953                     #canUIDrag: false
  1059               #adjust: #left
   954                 )
  1060               #canUIDrag: false
   955                  #(#MenuPanelSpec
  1061             )
   956                     #name: 'Menu Bar'
  1062            #(#MenuPanelSpec
   957                     #layout: #(#LayoutFrame 15 0 196 0 140 0 218 0)
  1063               #name: 'Menu Bar'
   958                 )
  1064               #layout: #(#LayoutFrame 4 0 184 0 129 0 206 0)
   959                  #(#LabelSpec
  1065             )
   960                     #name: 'MenuBarLabel'
  1066            #(#LabelSpec
   961                     #layout: #(#AlignmentOrigin 15 0 195 0 0 1)
  1067               #label: 'Menu Bar'
   962                     #label: 'Menu Bar'
  1068               #name: 'MenuBarLabel'
   963                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1069               #layout: #(#AlignmentOrigin 4 0 183 0 0 1)
   964                     #resizeForLabel: true
  1070               #style: #(#FontDescription #helvetica #medium #roman 10)
   965                     #adjust: #left
  1071               #resizeForLabel: true
   966                     #canUIDrag: false
  1072               #adjust: #left
   967                 )
  1073               #canUIDrag: false
   968                  #(#PopUpListSpec
  1074             )
   969                     #name: 'PopUp List'
  1075            #(#PopUpListSpec
   970                     #layout: #(#LayoutFrame 15 0 15 0 140 0 37 0)
  1076               #label: 'PopUp List'
   971                     #label: 'PopUp List'
  1077               #name: 'PopUp List'
   972                     #useIndex: false
  1078               #layout: #(#LayoutFrame 4 0 3 0 129 0 25 0)
   973                 )
  1079               #useIndex: false
   974                  #(#ComboListSpec
  1080             )
   975                     #name: 'Combo List'
  1081            #(#ComboListSpec
   976                     #layout: #(#LayoutFrame 15 0 45 0 140 0 65 0)
  1082               #name: 'Combo List'
   977                     #useIndex: false
  1083               #layout: #(#LayoutFrame 4 0 33 0 129 0 53 0)
   978                 )
  1084               #useIndex: false
   979                  #(#LabelSpec
  1085             )
   980                     #name: 'ComboListLabel'
  1086            #(#ComboBoxSpec
   981                     #layout: #(#AlignmentOrigin 17 0 65 0 0 1)
  1087               #name: 'Combo Box'
   982                     #label: 'Combo List'
  1088               #layout: #(#LayoutFrame 4 0 61 0 129 0 81 0)
   983                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1089             )
   984                     #resizeForLabel: true
  1090            #(#ExtendedComboBoxSpec
   985                     #adjust: #left
  1091               #name: 'Extended Combo Box'
   986                     #canUIDrag: false
  1092               #layout: #(#LayoutFrame 4 0 88 0 129 0 108 0)
   987                 )
  1093               #miniScrollerHorizontal: true
   988                  #(#ComboBoxSpec
  1094             )
   989                     #name: 'Combo Box'
  1095            #(#TabViewSpec
   990                     #layout: #(#LayoutFrame 15 0 73 0 140 0 93 0)
  1096               #name: 'Tab Header'
   991                 )
  1097               #layout: #(#LayoutFrame 146 0 3 0 281 0 39 0)
   992                  #(#LabelSpec
  1098             )
   993                     #name: 'ComboBoxLabel'
  1099            #(#NoteBookViewSpec
   994                     #layout: #(#AlignmentOrigin 17 0 93 0 0 1)
  1100               #name: 'Note Book'
   995                     #label: 'Combo Box'
  1101               #layout: #(#LayoutFrame 146 0 46 0 281 0 138 0)
   996                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1102             )
   997                     #resizeForLabel: true
  1103            #(#UIGalleryViewSpec
   998                     #adjust: #left
  1104               #name: 'Gallery'
   999                     #canUIDrag: false
  1105               #layout: #(#LayoutFrame 298 0 3 0 434 0 138 0)
  1000                 )
  1106             )
  1001                  #(#ExtendedComboBoxSpec
  1107            )
  1002                     #name: 'Extended Combo Box'
  1108          
  1003                     #layout: #(#LayoutFrame 15 0 100 0 140 0 120 0)
  1109         )
  1004                     #adjustRight: true
       
  1005                 )
       
  1006                  #(#LabelSpec
       
  1007                     #name: 'ExtendedComboBoxLabel'
       
  1008                     #layout: #(#AlignmentOrigin 18 0 120 0 0 1)
       
  1009                     #label: 'Extended Combo'
       
  1010                     #style: #(#FontDescription #helvetica #medium #roman 10)
       
  1011                     #resizeForLabel: true
       
  1012                     #adjust: #left
       
  1013                     #canUIDrag: false
       
  1014                 )
       
  1015                  #(#TabViewSpec
       
  1016                     #name: 'Tab Header'
       
  1017                     #layout: #(#LayoutFrame 157 0 15 0 292 0 51 0)
       
  1018                 )
       
  1019                  #(#NoteBookViewSpec
       
  1020                     #name: 'Note Book'
       
  1021                     #layout: #(#LayoutFrame 157 0 58 0 292 0 150 0)
       
  1022                 )
       
  1023                  #(#UIGalleryViewSpec
       
  1024                     #name: 'Gallery'
       
  1025                     #layout: #(#LayoutFrame 309 0 15 0 445 0 150 0)
       
  1026                 )
       
  1027               )
       
  1028           )
       
  1029       )
  1110       )
  1030 !
  1111 !
  1031 
  1112 
  1032 standardMisc
  1113 standardMisc
  1033     "This resource specification was automatically generated
  1114     "This resource specification was automatically generated
  1041      UISelectionPanel new openInterface:#standardMisc
  1122      UISelectionPanel new openInterface:#standardMisc
  1042     "
  1123     "
  1043 
  1124 
  1044     <resource: #canvas>
  1125     <resource: #canvas>
  1045 
  1126 
  1046     ^
  1127     ^ 
  1047      
  1128      #(#FullSpec
  1048        #(#FullSpec
  1129         #name: #standardMisc
  1049           #window: 
  1130         #window: 
  1050            #(#WindowSpec
  1131        #(#WindowSpec
  1051               #name: 'Misc'
  1132           #label: 'Misc'
  1052               #layout: #(#LayoutFrame 50 0 73 0 517 0 357 0)
  1133           #name: 'Misc'
  1053               #label: 'Misc'
  1134           #layout: #(#LayoutFrame 172 0 325 0 613 0 547 0)
  1054               #min: #(#Point 10 10)
  1135           #level: 0
  1055               #max: #(#Point 1280 1024)
  1136           #min: #(#Point 10 10)
  1056               #bounds: #(#Rectangle 50 73 518 358)
  1137           #max: #(#Point 1280 1024)
  1057               #usePreferredExtent: false
  1138           #bounds: #(#Rectangle 172 325 614 548)
  1058           )
  1139           #usePreferredExtent: false
  1059           #component: 
  1140           #returnIsOKInDialog: true
  1060            #(#SpecCollection
  1141           #escapeIsCancelInDialog: true
  1061               #collection: 
  1142         )
  1062                #(
  1143         #component: 
  1063                  #(#ArbitraryComponentSpec
  1144        #(#SpecCollection
  1064                     #name: 'Arbitrary Component'
  1145           #collection: #(
  1065                     #layout: #(#LayoutFrame 15 0 15 0 140 0 110 0)
  1146            #(#ArbitraryComponentSpec
  1066                     #hasBorder: false
  1147               #name: 'Arbitrary Component'
  1067                 )
  1148               #layout: #(#LayoutFrame 3 0 3 0 128 0 98 0)
  1068                  #(#LabelSpec
  1149               #hasBorder: false
  1069                     #name: 'ArbitraryComponentLabel1'
  1150             )
  1070                     #layout: #(#AlignmentOrigin 19 0 19 0 0 0)
  1151            #(#LabelSpec
  1071                     #label: 'Arbitrary'
  1152               #label: 'Arbitrary'
  1072                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1153               #name: 'ArbitraryComponentLabel1'
  1073                     #adjust: #left
  1154               #layout: #(#AlignmentOrigin 7 0 7 0 0 0)
  1074                     #resizeForLabel: true
  1155               #style: #(#FontDescription #helvetica #medium #roman 10)
  1075                     #canUIDrag: false
  1156               #resizeForLabel: true
  1076                 )
  1157               #adjust: #left
  1077                  #(#LabelSpec
  1158               #canUIDrag: false
  1078                     #name: 'ArbitraryComponentLabel2'
  1159             )
  1079                     #layout: #(#AlignmentOrigin 19 0 43 0 0 0)
  1160            #(#LabelSpec
  1080                     #label: 'Component'
  1161               #label: 'Component'
  1081                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1162               #name: 'ArbitraryComponentLabel2'
  1082                     #adjust: #left
  1163               #layout: #(#AlignmentOrigin 7 0 31 0 0 0)
  1083                     #resizeForLabel: true
  1164               #style: #(#FontDescription #helvetica #medium #roman 10)
  1084                     #canUIDrag: false
  1165               #resizeForLabel: true
  1085                 )
  1166               #adjust: #left
  1086                  #(#UISubSpecification
  1167               #canUIDrag: false
  1087                     #name: 'SubSpecification'
  1168             )
  1088                     #layout: #(#LayoutFrame 157 0 15 0 292 0 110 0)
  1169            #(#UISubSpecification
  1089                 )
  1170               #name: 'SubSpecification'
  1090                  #(#LabelSpec
  1171               #layout: #(#LayoutFrame 145 0 3 0 280 0 98 0)
  1091                     #name: 'SubSpecificationLabel'
  1172             )
  1092                     #layout: #(#Point 161 19)
  1173            #(#LabelSpec
  1093                     #label: 'SubSpecification'
  1174               #label: 'SubSpecification'
  1094                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1175               #name: 'SubSpecificationLabel'
  1095                     #resizeForLabel: true
  1176               #layout: #(#Point 149 7)
  1096                     #canUIDrag: false
  1177               #style: #(#FontDescription #helvetica #medium #roman 10)
  1097                 )
  1178               #resizeForLabel: true
  1098                  #(#SubCanvasSpec
  1179               #canUIDrag: false
  1099                     #name: 'SubCanvas'
  1180             )
  1100                     #layout: #(#LayoutFrame 309 0 15 0 445 0 110 0)
  1181            #(#SubCanvasSpec
  1101                     #hasHorizontalScrollBar: true
  1182               #name: 'SubCanvas'
  1102                     #hasVerticalScrollBar: true
  1183               #layout: #(#LayoutFrame 297 0 3 0 433 0 98 0)
  1103                 )
  1184               #hasHorizontalScrollBar: true
  1104                  #(#LabelSpec
  1185               #hasVerticalScrollBar: true
  1105                     #name: 'SubCanvasLabel'
  1186             )
  1106                     #layout: #(#AlignmentOrigin 336 0 19 0 0 0)
  1187            #(#LabelSpec
  1107                     #label: 'SubCanvas'
  1188               #label: 'SubCanvas'
  1108                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1189               #name: 'SubCanvasLabel'
  1109                     #adjust: #left
  1190               #layout: #(#AlignmentOrigin 324 0 7 0 0 0)
  1110                     #resizeForLabel: true
  1191               #style: #(#FontDescription #helvetica #medium #roman 10)
  1111                     #canUIDrag: false
  1192               #resizeForLabel: true
  1112                 )
  1193               #adjust: #left
  1113                  #(#LabelSpec
  1194               #canUIDrag: false
  1114                     #name: 'SliderLabel'
  1195             )
  1115                     #layout: #(#AlignmentOrigin 95 0 129 0 1 0)
  1196            #(#LabelSpec
  1116                     #label: 'Slider'
  1197               #label: 'Slider'
  1117                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1198               #name: 'SliderLabel'
  1118                     #resizeForLabel: true
  1199               #layout: #(#AlignmentOrigin 83 0 117 0 1 0)
  1119                     #canUIDrag: false
  1200               #style: #(#FontDescription #helvetica #medium #roman 10)
  1120                 )
  1201               #resizeForLabel: true
  1121                  #(#SliderSpec
  1202               #canUIDrag: false
  1122                     #name: 'Slider'
  1203             )
  1123                     #layout: #(#LayoutFrame 100 0 126 0 215 0 144 0)
  1204            #(#SliderSpec
  1124                     #orientation: #horizontal
  1205               #name: 'Slider'
  1125                     #step: 1
  1206               #layout: #(#LayoutFrame 88 0 114 0 203 0 132 0)
  1126                 )
  1207               #orientation: #horizontal
  1127                  #(#LabelSpec
  1208               #step: 1
  1128                     #name: 'ThumbWheelLabel'
  1209             )
  1129                     #layout: #(#AlignmentOrigin 95 0 157 0 1 0)
  1210            #(#LabelSpec
  1130                     #label: 'Thumb Wheel'
  1211               #label: 'Thumb Wheel'
  1131                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1212               #name: 'ThumbWheelLabel'
  1132                     #resizeForLabel: true
  1213               #layout: #(#AlignmentOrigin 83 0 145 0 1 0)
  1133                     #canUIDrag: false
  1214               #style: #(#FontDescription #helvetica #medium #roman 10)
  1134                 )
  1215               #resizeForLabel: true
  1135                  #(#ThumbWheelSpec
  1216               #canUIDrag: false
  1136                     #name: 'Thumb Wheel'
  1217             )
  1137                     #layout: #(#LayoutFrame 100 0 152 0 215 0 172 0)
  1218            #(#ThumbWheelSpec
  1138                     #orientation: #horizontal
  1219               #name: 'Thumb Wheel'
  1139                     #step: 1
  1220               #layout: #(#LayoutFrame 88 0 140 0 203 0 160 0)
  1140                 )
  1221               #orientation: #horizontal
  1141                  #(#LabelSpec
  1222               #step: 1
  1142                     #name: 'RegionLabel'
  1223             )
  1143                     #layout: #(#AlignmentOrigin 95 0 189 0 1 0)
  1224            #(#LabelSpec
  1144                     #label: 'Region'
  1225               #label: 'Region'
  1145                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1226               #name: 'RegionLabel'
  1146                     #adjust: #left
  1227               #layout: #(#AlignmentOrigin 83 0 177 0 1 0)
  1147                     #resizeForLabel: true
  1228               #style: #(#FontDescription #helvetica #medium #roman 10)
  1148                     #canUIDrag: false
  1229               #resizeForLabel: true
  1149                 )
  1230               #adjust: #left
  1150                  #(#RegionSpec
  1231               #canUIDrag: false
  1151                     #name: 'Region'
  1232             )
  1152                     #layout: #(#LayoutFrame 100 0 183 0 215 0 212 0)
  1233            #(#RegionSpec
  1153                     #lineWidth: 2
  1234               #name: 'Region'
  1154                     #regionType: #ellipse
  1235               #layout: #(#LayoutFrame 88 0 171 0 203 0 200 0)
  1155                 )
  1236               #lineWidth: 2
  1156                  #(#LabelSpec
  1237               #regionType: #ellipse
  1157                     #name: 'SeparatorLabel'
  1238             )
  1158                     #layout: #(#AlignmentOrigin 95 0 219 0 1 0)
  1239            #(#LabelSpec
  1159                     #label: 'Separator'
  1240               #label: 'Separator'
  1160                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1241               #name: 'SeparatorLabel'
  1161                     #adjust: #left
  1242               #layout: #(#AlignmentOrigin 83 0 207 0 1 0)
  1162                     #resizeForLabel: true
  1243               #style: #(#FontDescription #helvetica #medium #roman 10)
  1163                     #canUIDrag: false
  1244               #resizeForLabel: true
  1164                 )
  1245               #adjust: #left
  1165                  #(#DividerSpec
  1246               #canUIDrag: false
  1166                     #name: 'Separator'
  1247             )
  1167                     #layout: #(#LayoutFrame 100 0 225 0 215 0 229 0)
  1248            #(#DividerSpec
  1168                 )
  1249               #name: 'Separator'
  1169                  #(#LabelSpec
  1250               #layout: #(#LayoutFrame 88 0 213 0 203 0 217 0)
  1170                     #name: 'ProgressIndicatorsLabel'
  1251             )
  1171                     #layout: #(#AlignmentOrigin 345 0 129 0 1 0)
  1252            #(#LabelSpec
  1172                     #label: 'Progress Indicator'
  1253               #label: 'Progress Indicator'
  1173                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1254               #name: 'ProgressIndicatorsLabel'
  1174                     #adjust: #left
  1255               #layout: #(#AlignmentOrigin 333 0 117 0 1 0)
  1175                     #resizeForLabel: true
  1256               #style: #(#FontDescription #helvetica #medium #roman 10)
  1176                     #canUIDrag: false
  1257               #resizeForLabel: true
  1177                 )
  1258               #adjust: #left
  1178                  #(#ProgressIndicatorSpec
  1259               #canUIDrag: false
  1179                     #name: 'Progress Indicator'
  1260             )
  1180                     #layout: #(#LayoutFrame 350 0 126 0 445 0 144 0)
  1261            #(#ProgressIndicatorSpec
  1181                 )
  1262               #name: 'Progress Indicator'
  1182                  #(#LabelSpec
  1263               #layout: #(#LayoutFrame 338 0 114 0 433 0 132 0)
  1183                     #name: 'RoundProgressIndicatorsLabel'
  1264             )
  1184                     #layout: #(#AlignmentOrigin 345 0 179 0 1 0)
  1265            #(#LabelSpec
  1185                     #label: 'Round
  1266               #label: 'Round
  1186 Progress Indicator'
  1267 Progress Indicator'
  1187                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1268               #name: 'RoundProgressIndicatorsLabel'
  1188                     #adjust: #left
  1269               #layout: #(#AlignmentOrigin 333 0 167 0 1 0)
  1189                     #resizeForLabel: true
  1270               #style: #(#FontDescription #helvetica #medium #roman 10)
  1190                     #canUIDrag: false
  1271               #resizeForLabel: true
  1191                 )
  1272               #adjust: #left
  1192                  #(#RoundProgressIndicatorSpec
  1273               #canUIDrag: false
  1193                     #name: 'Round Progress Indicator'
  1274             )
  1194                     #layout: #(#LayoutFrame 350 0 148 0 445 0 243 0)
  1275            #(#RoundProgressIndicatorSpec
  1195                     #level: 0
  1276               #name: 'Round Progress Indicator'
  1196                     #borderWidth: 1
  1277               #layout: #(#LayoutFrame 338 0 136 0 425 0 219 0)
  1197                 )
  1278               #level: 0
  1198               )
  1279               #borderWidth: 1
  1199           )
  1280             )
       
  1281            )
       
  1282          
       
  1283         )
  1200       )
  1284       )
  1201 
       
  1202     "Modified: / 21.8.1998 / 20:53:14 / cg"
       
  1203 !
  1285 !
  1204 
  1286 
  1205 standardTexts
  1287 standardTexts
  1206     "This resource specification was automatically generated
  1288     "This resource specification was automatically generated
  1207      by the UIPainter of ST/X."
  1289      by the UIPainter of ST/X."
  1214      UISelectionPanel new openInterface:#standardTexts
  1296      UISelectionPanel new openInterface:#standardTexts
  1215     "
  1297     "
  1216 
  1298 
  1217     <resource: #canvas>
  1299     <resource: #canvas>
  1218 
  1300 
  1219     ^
  1301     ^ 
  1220      
  1302      #(#FullSpec
  1221        #(#FullSpec
  1303         #name: #standardTexts
  1222           #window: 
  1304         #window: 
  1223            #(#WindowSpec
  1305        #(#WindowSpec
  1224               #name: 'Texts'
  1306           #label: 'Texts'
  1225               #layout: #(#LayoutFrame 102 0 279 0 568 0 485 0)
  1307           #name: 'Texts'
  1226               #label: 'Texts'
  1308           #layout: #(#LayoutFrame 164 0 305 0 602 0 447 0)
  1227               #min: #(#Point 10 10)
  1309           #level: 0
  1228               #max: #(#Point 1280 1024)
  1310           #min: #(#Point 10 10)
  1229               #bounds: #(#Rectangle 102 279 569 486)
  1311           #max: #(#Point 1280 1024)
  1230               #usePreferredExtent: false
  1312           #bounds: #(#Rectangle 164 305 603 448)
  1231           )
  1313           #usePreferredExtent: false
  1232           #component: 
  1314           #returnIsOKInDialog: true
  1233            #(#SpecCollection
  1315           #escapeIsCancelInDialog: true
  1234               #collection: 
  1316         )
  1235                #(
  1317         #component: 
  1236                  #(#TextEditorSpec
  1318        #(#SpecCollection
  1237                     #name: 'Text Editor'
  1319           #collection: #(
  1238                     #layout: #(#LayoutFrame 15 0 15 0 220 0 110 0)
  1320            #(#TextEditorSpec
  1239                     #hasHorizontalScrollBar: true
  1321               #name: 'Text Editor'
  1240                     #hasVerticalScrollBar: true
  1322               #layout: #(#LayoutFrame 3 0 3 0 208 0 98 0)
  1241                 )
  1323               #hasHorizontalScrollBar: true
  1242                  #(#LabelSpec
  1324               #hasVerticalScrollBar: true
  1243                     #name: 'TextEditorLabel'
  1325             )
  1244                     #layout: #(#AlignmentOrigin 53 0 19 0 0 0)
  1326            #(#HTMLViewSpec
  1245                     #label: 'Text Editor'
  1327               #name: 'HTML Browser'
  1246                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1328               #layout: #(#LayoutFrame 228 0 3 0 433 0 98 0)
  1247                     #adjust: #left
  1329               #hasHorizontalScrollBar: true
  1248                     #resizeForLabel: true
  1330               #hasVerticalScrollBar: true
  1249                     #canUIDrag: false
  1331             )
  1250                 )
  1332            #(#InputFieldSpec
  1251                  #(#HTMLViewSpec
  1333               #name: 'Entry Field'
  1252                     #name: 'HTML Browser'
  1334               #layout: #(#LayoutFrame 3 0 113 0 208 0 135 0)
  1253                     #layout: #(#LayoutFrame 240 0 15 0 445 0 110 0)
  1335             )
  1254                     #hasHorizontalScrollBar: true
  1336            #(#LabelSpec
  1255                     #hasVerticalScrollBar: true
  1337               #label: 'Label'
  1256                 )
  1338               #name: 'Label'
  1257                  #(#LabelSpec
  1339               #layout: #(#LayoutFrame 228 0 113 0 433 0 135 0)
  1258                     #name: 'HTMLViewLabel'
  1340               #translateLabel: true
  1259                     #layout: #(#AlignmentOrigin 267 0 19 0 0 0)
  1341             )
  1260                     #label: 'HTML View'
  1342            )
  1261                     #style: #(#FontDescription #helvetica #medium #roman 10)
  1343          
  1262                     #adjust: #left
  1344         )
  1263                     #resizeForLabel: true
       
  1264                     #canUIDrag: false
       
  1265                 )
       
  1266                  #(#InputFieldSpec
       
  1267                     #name: 'Entry Field'
       
  1268                     #layout: #(#LayoutFrame 15 0 125 0 220 0 147 0)
       
  1269                 )
       
  1270                  #(#LabelSpec
       
  1271                     #name: 'EntryFieldLabel'
       
  1272                     #layout: #(#AlignmentOrigin 53 0 147 0 0 1)
       
  1273                     #label: 'Entry Field'
       
  1274                     #style: #(#FontDescription #helvetica #medium #roman 10)
       
  1275                     #adjust: #left
       
  1276                     #resizeForLabel: true
       
  1277                     #canUIDrag: false
       
  1278                 )
       
  1279                  #(#LabelSpec
       
  1280                     #name: 'Label'
       
  1281                     #layout: #(#LayoutFrame 240 0 125 0 445 0 147 0)
       
  1282                     #label: 'Label'
       
  1283                     #translateLabel: true
       
  1284                 )
       
  1285               )
       
  1286           )
       
  1287       )
  1345       )
  1288 
       
  1289     "Modified: / 20.5.1998 / 03:25:40 / cg"
       
  1290 !
  1346 !
  1291 
  1347 
  1292 standardUserPanel
  1348 standardUserPanel
  1293     "this window spec was automatically generated by the ST/X UIPainter"
  1349     "this window spec was automatically generated by the ST/X UIPainter"
  1294 
  1350 
  1358 !
  1414 !
  1359 
  1415 
  1360 paste:something
  1416 paste:something
  1361     "paste something at a point
  1417     "paste something at a point
  1362     "
  1418     "
  1363     |coll specs point device gallery ext spec|
  1419     |coll specs point device ext spec|
  1364 
  1420 
  1365     clipBoardSpec isNil ifTrue:[
  1421     clipBoardSpec isNil ifTrue:[
  1366         clipBoardSpec := SpecCollection new.
  1422         clipBoardSpec := SpecCollection new.
  1367         clipBoardSpec collection:(OrderedCollection new).
  1423         clipBoardSpec collection:(OrderedCollection new).
  1368     ].
  1424     ].
  1369     coll    := clipBoardSpec collection.
  1425     coll   := clipBoardSpec collection.
  1370     gallery := self builder componentAt:#gallery.
  1426     device := gallery device.
  1371     device  := gallery device.
  1427 
  1372 
  1428     point  := device translatePoint:(device pointerPosition)
  1373     point   := device translatePoint:(device pointerPosition)
  1429                                from:(device rootView id)
  1374                                 from:(device rootView id)
  1430                                  to:(gallery canvas id).
  1375                                   to:(gallery canvas id).
       
  1376 
  1431 
  1377     point y < 1 ifTrue:[point y:1].
  1432     point y < 1 ifTrue:[point y:1].
  1378     ext := gallery extent - (10@10).
  1433     ext := gallery extent - (10@10).
  1379 
  1434 
  1380     (specs := something) isCollection ifFalse:[
  1435     (specs := something) isCollection ifFalse:[
  1406             (menu someMenuItemWithValue:#cut) disable.
  1461             (menu someMenuItemWithValue:#cut) disable.
  1407         ].
  1462         ].
  1408 
  1463 
  1409         (value := menu startUp) == #cut ifTrue:[
  1464         (value := menu startUp) == #cut ifTrue:[
  1410             clipBoardSpec collection remove:spec ifAbsent:nil.
  1465             clipBoardSpec collection remove:spec ifAbsent:nil.
  1411             (self builder componentAt:#gallery) update.
  1466             gallery update.
  1412         ] ifFalse:[
  1467         ] ifFalse:[
  1413             value == #copy ifTrue:[
  1468             value == #copy ifTrue:[
  1414                 self window setSelection:spec
  1469                 self window setSelection:spec
  1415             ]
  1470             ]
  1416         ].
  1471         ].
  1433 ! !
  1488 ! !
  1434 
  1489 
  1435 !UISelectionPanel methodsFor:'aspects'!
  1490 !UISelectionPanel methodsFor:'aspects'!
  1436 
  1491 
  1437 clientSpec
  1492 clientSpec
  1438     "automatically generated by UIPainter ..."
  1493     ^ gallery clientSpecHolder
  1439 
       
  1440     |holder|
       
  1441 
       
  1442     (holder := builder bindingAt:#clientSpec) isNil ifTrue:[
       
  1443         builder aspectAt:#clientSpec put:(holder :=  ValueHolder new).
       
  1444         holder addDependent:self.
       
  1445     ].
       
  1446     ^ holder
       
  1447 !
  1494 !
  1448 
  1495 
  1449 clipBoardSpec
  1496 clipBoardSpec
  1450     ^ clipBoardSpec
  1497     ^ clipBoardSpec
  1451 !
  1498 !
  1452 
  1499 
       
  1500 gallery
       
  1501     ^ gallery
       
  1502 !
       
  1503 
  1453 galleryList
  1504 galleryList
  1454     "automatically generated by UIPainter ..."
  1505     ^ gallery listHolder
  1455 
       
  1456     |holder|
       
  1457 
       
  1458     (holder := builder bindingAt:#galleryList) isNil ifTrue:[
       
  1459         builder aspectAt:#galleryList put:(holder :=  ValueHolder new).
       
  1460     ].
       
  1461     ^ holder
       
  1462 !
  1506 !
  1463 
  1507 
  1464 galleryModel
  1508 galleryModel
  1465     "automatically generated by UIPainter ..."
  1509     ^ gallery model
  1466 
  1510 
  1467     |holder|
       
  1468 
       
  1469     (holder := builder bindingAt:#galleryModel) isNil ifTrue:[
       
  1470         builder aspectAt:#galleryModel put:(holder :=  ValueHolder new).
       
  1471     ].
       
  1472     ^ holder
       
  1473 !
  1511 !
  1474 
  1512 
  1475 majorChannel
  1513 majorChannel
  1476     "automatically generated by UIPainter ..."
  1514     "automatically generated by UIPainter ..."
  1477 
  1515 
  1489     "
  1527     "
  1490   ^ self class specifications collect:[:el| el first]
  1528   ^ self class specifications collect:[:el| el first]
  1491 !
  1529 !
  1492 
  1530 
  1493 minorKeys
  1531 minorKeys
  1494     "automatically generated by UIPainter ..."
  1532     ^ gallery minorKeysHolder
  1495 
       
  1496     |holder|
       
  1497 
       
  1498     (holder := builder bindingAt:#minorKeys) isNil ifTrue:[
       
  1499         builder aspectAt:#minorKeys put:(holder :=  ValueHolder new).
       
  1500     ].
       
  1501     ^ holder
       
  1502 ! !
  1533 ! !
  1503 
  1534 
  1504 !UISelectionPanel methodsFor:'change & update'!
  1535 !UISelectionPanel methodsFor:'change & update'!
  1505 
  1536 
  1506 update:something with:aParameter from:changedObject
  1537 update:something with:aParameter from:changedObject
  1591 majorSelection
  1622 majorSelection
  1592     ^ majorSelection ? 0
  1623     ^ majorSelection ? 0
  1593 !
  1624 !
  1594 
  1625 
  1595 majorSelection:aSelection
  1626 majorSelection:aSelection
  1596     |spec g gallery|
  1627     |spec model|
  1597 
  1628 
  1598     (majorSelection == aSelection or:[aSelection == 0]) ifTrue:[
  1629     (majorSelection == aSelection or:[aSelection == 0]) ifTrue:[
  1599         ^ self
  1630         ^ self
  1600     ].
  1631     ].
  1601 
  1632 
  1602     (g := self builder componentAt:#gallery) notNil ifTrue:[
  1633     gallery builder:nil.
  1603         g builder:nil.
       
  1604     ].
       
  1605 
       
  1606     majorSelection := aSelection.
  1634     majorSelection := aSelection.
  1607     spec := ((self class specifications) at:majorSelection) last.
  1635     spec := ((self class specifications) at:majorSelection) last.
  1608 
  1636 
  1609     gallery := self galleryModel.
  1637     model := self galleryModel.
  1610     gallery value:0.
  1638     model value:0.
  1611     self minorKeys value:nil.
  1639     self minorKeys value:nil.
  1612 
  1640 
  1613     spec isSymbol ifFalse:[
  1641     spec isSymbol ifFalse:[
  1614         self galleryList  value:(spec collect:[:a| a first]).
  1642         self galleryList  value:(spec collect:[:a| a first]).
  1615         self minorKeys setValue:(spec collect:[:a| a last]).
  1643         self minorKeys setValue:(spec collect:[:a| a last]).
  1616     ] ifTrue:[
  1644     ] ifTrue:[
  1617         self perform:spec.
  1645         self perform:spec.
  1618     ].
  1646     ].
  1619     gallery value:1.
  1647     model value:1.
  1620 
  1648 
  1621     "Modified: / 21.4.1998 / 11:59:08 / cg"
  1649     "Modified: / 21.4.1998 / 11:59:08 / cg"
  1622 ! !
  1650 ! !
  1623 
  1651 
  1624 !UISelectionPanel methodsFor:'startup / release'!
  1652 !UISelectionPanel methodsFor:'startup / release'!
  1636 
  1664 
  1637     "Modified: 28.7.1997 / 09:44:40 / cg"
  1665     "Modified: 28.7.1997 / 09:44:40 / cg"
  1638 !
  1666 !
  1639 
  1667 
  1640 initialize
  1668 initialize
       
  1669     |holder|
       
  1670 
  1641     super initialize.
  1671     super initialize.
  1642 
  1672 
  1643     userClass  := UserClass.
  1673     userClass  := UserClass.
  1644     userSpecs  := UserSpecs.
  1674     userSpecs  := UserSpecs.
  1645     userLabels := UserLabels.
  1675     userLabels := UserLabels.
       
  1676 
       
  1677     gallery := UIGalleryView new.
       
  1678 
       
  1679     gallery           model:(ValueHolder new).
       
  1680     gallery      listHolder:(ValueHolder new).
       
  1681     gallery minorKeysHolder:(ValueHolder new).
       
  1682     gallery    menuSelector:#raiseMenu.
       
  1683 
       
  1684     gallery clientSpecHolder:(holder := ValueHolder new).
       
  1685     holder  addDependent:self.
  1646 
  1686 
  1647     majorSelection := 0.
  1687     majorSelection := 0.
  1648 !
  1688 !
  1649 
  1689 
  1650 postOpenWith:aBuilder
  1690 postOpenWith:aBuilder
  1665         self minorKeys   value:sel.
  1705         self minorKeys   value:sel.
  1666     ] ifFalse:[
  1706     ] ifFalse:[
  1667         builder := UIBuilder new isEditing:true.
  1707         builder := UIBuilder new isEditing:true.
  1668 
  1708 
  1669         builder application:self.
  1709         builder application:self.
  1670         (self builder componentAt:#gallery) builder:builder. 
  1710         gallery builder:builder. 
  1671         self galleryList value:#( '???' ).
  1711         self galleryList value:#( '???' ).
  1672         self minorKeys   value:#( standardUserPanel ).
  1712         self minorKeys   value:#( standardUserPanel ).
  1673     ]
  1713     ]
  1674 !
  1714 !
  1675 
  1715