FileSelectionBrowser.st
changeset 585 19dddcff0f5f
parent 515 1b64e990e495
child 586 40b17a3031e5
equal deleted inserted replaced
584:351914fcc5a4 585:19dddcff0f5f
    45         Thomas Zwick
    45         Thomas Zwick
    46 "
    46 "
    47 !
    47 !
    48 
    48 
    49 history
    49 history
       
    50 
    50     "Created: / 10.1.1998 / 11:00:06 / tz"
    51     "Created: / 10.1.1998 / 11:00:06 / tz"
       
    52     "Modified: #windowSpec / 5.2.1998 / 09:36:40 / cg"
    51 ! !
    53 ! !
    52 
    54 
    53 !FileSelectionBrowser class methodsFor:'instance creation'!
    55 !FileSelectionBrowser class methodsFor:'instance creation'!
    54 
    56 
    55 request: aTitle fileFilters: fileFilters
    57 request: aTitle fileFilters: fileFilters
   132     <resource: #canvas>
   134     <resource: #canvas>
   133 
   135 
   134     ^
   136     ^
   135      
   137      
   136        #(#FullSpec
   138        #(#FullSpec
       
   139           #'attributes:' #()
   137           #'window:' 
   140           #'window:' 
   138            #(#WindowSpec
   141            #(#WindowSpec
       
   142               #'attributes:' #()
   139               #'name:' 'File Selection Browser'
   143               #'name:' 'File Selection Browser'
   140               #'layout:' #(#LayoutFrame 207 0 351 0 606 0 650 0)
   144               #'layout:' #(#LayoutFrame 62 0 234 0 560 0 540 0)
   141               #'label:' 'File Selection Browser'
   145               #'label:' 'File Selection Browser'
   142               #'min:' #(#Point 10 10)
   146               #'min:' #(#Point 10 10)
   143               #'max:' #(#Point 1152 900)
   147               #'max:' #(#Point 1152 900)
   144               #'bounds:' #(#Rectangle 207 351 607 651)
   148               #'bounds:' #(#Rectangle 62 234 561 541)
   145               #'usePreferredExtent:' false
   149               #'usePreferredExtent:' false
   146           )
   150           )
   147           #'component:' 
   151           #'component:' 
   148            #(#SpecCollection
   152            #(#SpecCollection
   149               #'collection:' 
   153               #'collection:' 
   150                #(
   154                #(
   151                  #(#VariableHorizontalPanelSpec
   155                  #(#VariableHorizontalPanelSpec
       
   156                     #'attributes:' #()
   152                     #'name:' 'panel'
   157                     #'name:' 'panel'
   153                     #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 -40 1.0)
   158                     #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 -40 1.0)
   154                     #'component:' 
   159                     #'component:' 
   155                      #(#SpecCollection
   160                      #(#SpecCollection
   156                         #'collection:' 
   161                         #'collection:' 
   157                          #(
   162                          #(
   158                            #(#ViewSpec
   163                            #(#ViewSpec
       
   164                               #'attributes:' #()
   159                               #'name:' 'view1'
   165                               #'name:' 'view1'
   160                               #'component:' 
   166                               #'component:' 
   161                                #(#SpecCollection
   167                                #(#SpecCollection
   162                                   #'collection:' 
   168                                   #'collection:' 
   163                                    #(
   169                                    #(
   164                                      #(#FileSelectionTreeSpec
   170                                      #(#FileSelectionTreeSpec
       
   171                                         #'attributes:' #()
   165                                         #'name:' 'directoryTreeView'
   172                                         #'name:' 'directoryTreeView'
   166                                         #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
   173                                         #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
   167                                         #'model:' #selectionOfDirectory
   174                                         #'model:' #selectionOfDirectory
   168                                         #'hasHorizontalScrollBar:' true
   175                                         #'hasHorizontalScrollBar:' true
   169                                         #'hasVerticalScrollBar:' true
   176                                         #'hasVerticalScrollBar:' true
   176                                     )
   183                                     )
   177                                   )
   184                                   )
   178                               )
   185                               )
   179                           )
   186                           )
   180                            #(#ViewSpec
   187                            #(#ViewSpec
       
   188                               #'attributes:' #()
   181                               #'name:' 'view2'
   189                               #'name:' 'view2'
   182                               #'component:' 
   190                               #'component:' 
   183                                #(#SpecCollection
   191                                #(#SpecCollection
   184                                   #'collection:' 
   192                                   #'collection:' 
   185                                    #(
   193                                    #(
   186                                      #(#InputFieldSpec
   194                                      #(#InputFieldSpec
       
   195                                         #'attributes:' #()
   187                                         #'name:' 'EditField'
   196                                         #'name:' 'EditField'
   188                                         #'layout:' #(#LayoutFrame 1 0.0 -22 1 0 1.0 0 1)
   197                                         #'layout:' #(#LayoutFrame 1 0.0 -22 1 0 1.0 0 1)
   189                                         #'model:' #valueOfFileName
   198                                         #'model:' #valueOfFileName
   190                                         #'acceptOnReturn:' false
   199                                         #'acceptOnReturn:' false
   191                                         #'acceptOnTab:' false
   200                                         #'acceptOnTab:' false
   192                                     )
   201                                     )
   193                                      #(#SubCanvasSpec
   202                                      #(#SubCanvasSpec
       
   203                                         #'attributes:' #()
   194                                         #'name:' 'subCanvas1'
   204                                         #'name:' 'subCanvas1'
   195                                         #'layout:' #(#LayoutFrame 1 0.0 0 0.0 0 1.0 -22 1.0)
   205                                         #'layout:' #(#LayoutFrame 1 0.0 0 0.0 0 1.0 -22 1.0)
   196                                         #'clientHolder:' #directoryView
   206                                         #'clientHolder:' #directoryView
   197                                     )
   207                                     )
   198                                   )
   208                                   )
   201                         )
   211                         )
   202                     )
   212                     )
   203                     #'handles:' #(#Any 0.5 1.0)
   213                     #'handles:' #(#Any 0.5 1.0)
   204                 )
   214                 )
   205                  #(#UISubSpecification
   215                  #(#UISubSpecification
       
   216                     #'attributes:' #()
   206                     #'name:' 'SubSpecification'
   217                     #'name:' 'SubSpecification'
   207                     #'layout:' #(#LayoutFrame 2 0.0 -32 1 -2 1.0 -8 1.0)
   218                     #'layout:' #(#LayoutFrame 2 0.0 -32 1 -2 1.0 -8 1.0)
   208                     #'majorKey:' #ToolApplicationModel
   219                     #'majorKey:' #ToolApplicationModel
   209                     #'minorKey:' #windowSpecForCommitWithoutChannels
   220                     #'minorKey:' #windowSpecForCommitWithoutChannels
   210                 )
   221                 )
   211               )
   222               )
   212           )
   223           )
   213       )
   224       )
       
   225 
       
   226     "Modified: / 5.2.1998 / 09:36:40 / cg"
   214 ! !
   227 ! !
   215 
   228 
   216 !FileSelectionBrowser methodsFor:'accessing'!
   229 !FileSelectionBrowser methodsFor:'accessing'!
   217 
   230 
   218 directory: aDirectory
   231 directory: aDirectory