Tools__StringSearchTool.st
changeset 8069 3c4426cb3174
parent 8061 4efeccdc0f1d
child 8076 6c23c777d44d
equal deleted inserted replaced
8068:1cf9f1224bbc 8069:3c4426cb3174
   261           bounds: (Rectangle 0 0 801 27)
   261           bounds: (Rectangle 0 0 801 27)
   262         )
   262         )
   263         component: 
   263         component: 
   264        (SpecCollection
   264        (SpecCollection
   265           collection: (
   265           collection: (
   266            (ViewSpec
   266            (HorizontalPanelViewSpec
   267               name: 'SearchBox'
   267               name: 'SearchBox'
   268               layout: (LayoutFrame 0 0 0 0 0 1 0 1)
   268               layout: (LayoutFrame 0 0 0 0 0 1 0 1)
   269               level: -1
   269               horizontalLayout: left
       
   270               verticalLayout: center
       
   271               horizontalSpace: 3
       
   272               verticalSpace: 3
   270               component: 
   273               component: 
   271              (SpecCollection
   274              (SpecCollection
   272                 collection: (
   275                 collection: (
   273                  (ActionButtonSpec
   276                  (ActionButtonSpec
   274                     label: 'closeSearchBarIcon'
   277                     label: 'closeSearchBarIcon'
   275                     name: 'hideSearchBarButton'
   278                     name: 'hideSearchBarButton'
   276                     layout: (LayoutFrame 4 0 2 0 25 0 23 0)
       
   277                     hasCharacterOrientedLabel: false
   279                     hasCharacterOrientedLabel: false
   278                     translateLabel: true
   280                     translateLabel: true
   279                     model: hideSearchBar
   281                     model: hideSearchBar
       
   282                     extent: (Point 21 21)
   280                   )
   283                   )
   281                  (LabelSpec
   284                  (LabelSpec
   282                     label: 'Search:'
   285                     label: 'Search:'
   283                     name: 'SearchLabel'
   286                     name: 'SearchLabel'
   284                     layout: (LayoutFrame 30 0 1 0 81 0 23 0)
       
   285                     translateLabel: true
   287                     translateLabel: true
   286                     adjust: right
   288                     adjust: right
       
   289                     extent: (Point 51 22)
   287                   )
   290                   )
   288                  (InputFieldSpec
   291                  (InputFieldSpec
   289                     name: 'SearchEntryField'
   292                     name: 'SearchEntryField'
   290                     layout: (LayoutFrame 87 0 1 0 298 0 23 0)
       
   291                     model: searchTextHolder
   293                     model: searchTextHolder
   292                     immediateAccept: true
   294                     immediateAccept: true
   293                     acceptOnReturn: true
   295                     acceptOnReturn: true
   294                     acceptOnTab: true
   296                     acceptOnTab: true
   295                     acceptOnLostFocus: true
   297                     acceptOnLostFocus: true
   296                     modifiedChannel: searchTextModifiedHolder
   298                     modifiedChannel: searchTextModifiedHolder
   297                     acceptOnPointerLeave: false
   299                     acceptOnPointerLeave: false
       
   300                     extent: (Point 211 22)
   298                     postBuildCallback: postBuildSearchTextView:
   301                     postBuildCallback: postBuildSearchTextView:
   299                   )
   302                   )
   300                  (ActionButtonSpec
   303                  (ActionButtonSpec
   301                     label: 'searchNextIcon'
   304                     label: 'searchNextIcon'
   302                     name: 'SearchNextButton'
   305                     name: 'SearchNextButton'
   303                     layout: (LayoutFrame 302 0 1 0 323 0 22 0)
       
   304                     hasCharacterOrientedLabel: false
   306                     hasCharacterOrientedLabel: false
   305                     translateLabel: true
   307                     translateLabel: true
   306                     model: searchNextText
   308                     model: searchNextText
       
   309                     extent: (Point 21 21)
   307                   )
   310                   )
   308                  (ActionButtonSpec
   311                  (ActionButtonSpec
   309                     label: 'searchPreviousIcon'
   312                     label: 'searchPreviousIcon'
   310                     name: 'searchPreviousButton'
   313                     name: 'searchPreviousButton'
   311                     layout: (LayoutFrame 330 0 1 0 351 0 22 0)
       
   312                     hasCharacterOrientedLabel: false
   314                     hasCharacterOrientedLabel: false
   313                     translateLabel: true
   315                     translateLabel: true
   314                     model: searchPreviousText
   316                     model: searchPreviousText
       
   317                     extent: (Point 21 21)
   315                   )
   318                   )
   316                  (CheckBoxSpec
   319                  (CheckBoxSpec
   317                     label: 'Ignore case'
   320                     label: 'Ignore case'
   318                     name: 'IgnoreCaseCheckBox'
   321                     name: 'IgnoreCaseCheckBox'
   319                     layout: (LayoutFrame 360 0 1 0 553 0 23 0)
       
   320                     model: ignoreCaseHolder
   322                     model: ignoreCaseHolder
   321                     translateLabel: true
   323                     translateLabel: true
       
   324                     extent: (Point 112 22)
       
   325                   )
       
   326                  (CheckBoxSpec
       
   327                     label: 'Match'
       
   328                     name: 'MatchCheckBox'
       
   329                     visibilityChannel: matchCheckboxVisible
       
   330                     model: matchHolder
       
   331                     translateLabel: true
       
   332                     extent: (Point 84 22)
   322                   )
   333                   )
   323                  (LabelSpec
   334                  (LabelSpec
   324                     label: 'SearchBarImageInfoLabel'
   335                     label: 'SearchBarImageInfoLabel'
   325                     name: 'SearchBarImageInfoLabel'
   336                     name: 'SearchBarImageInfoLabel'
   326                     layout: (LayoutFrame 557 0 1 0 581 0 23 0)
       
   327                     hasCharacterOrientedLabel: false
   337                     hasCharacterOrientedLabel: false
   328                     translateLabel: true
   338                     translateLabel: true
   329                     labelChannel: searchBarImageInfoLabelHolder
   339                     labelChannel: searchBarImageInfoLabelHolder
       
   340                     extent: (Point 24 22)
   330                   )
   341                   )
   331                  (LabelSpec
   342                  (LabelSpec
   332                     label: 'SearchBarInfoLabel'
   343                     label: 'SearchBarInfoLabel'
   333                     name: 'SearchBarInfoLabel'
   344                     name: 'SearchBarInfoLabel'
   334                     layout: (LayoutFrame 584 0 1 0 862 0 23 0)
       
   335                     translateLabel: true
   345                     translateLabel: true
   336                     labelChannel: searchBarInfoLabelHolder
   346                     labelChannel: searchBarInfoLabelHolder
   337                     adjust: left
   347                     adjust: left
       
   348                     extent: (Point 227 22)
   338                   )
   349                   )
   339                  )
   350                  )
   340                
   351                
   341               )
   352               )
   342             )
   353             )
   391     ].
   402     ].
   392     ^ ignoreCaseHolder.
   403     ^ ignoreCaseHolder.
   393 
   404 
   394     "Created: / 16-06-2007 / 06:45:04 / Administrador"
   405     "Created: / 16-06-2007 / 06:45:04 / Administrador"
   395     "Modified: / 16-06-2007 / 19:32:15 / Administrador"
   406     "Modified: / 16-06-2007 / 19:32:15 / Administrador"
       
   407 !
       
   408 
       
   409 matchCheckboxVisible
       
   410     ^ false
   396 !
   411 !
   397 
   412 
   398 searchBarImageInfoLabelHolder
   413 searchBarImageInfoLabelHolder
   399 
   414 
   400     searchBarImageInfoLabelHolder isNil ifTrue:[
   415     searchBarImageInfoLabelHolder isNil ifTrue:[
   648 ! !
   663 ! !
   649 
   664 
   650 !StringSearchTool class methodsFor:'documentation'!
   665 !StringSearchTool class methodsFor:'documentation'!
   651 
   666 
   652 version
   667 version
   653     ^ '$Header: /cvs/stx/stx/libtool/Tools__StringSearchTool.st,v 1.3 2008-04-08 09:03:40 fm Exp $'
   668     ^ '$Header: /cvs/stx/stx/libtool/Tools__StringSearchTool.st,v 1.4 2008-04-21 16:04:57 cg Exp $'
   654 ! !
   669 ! !