changed #matchCheckboxVisible
authorClaus Gittinger <cg@exept.de>
Mon, 21 Apr 2008 18:04:57 +0200
changeset 8069 3c4426cb3174
parent 8068 1cf9f1224bbc
child 8070 2acefb7023d2
changed #matchCheckboxVisible
Tools__StringSearchTool.st
--- a/Tools__StringSearchTool.st	Sat Apr 19 17:34:46 2008 +0200
+++ b/Tools__StringSearchTool.st	Mon Apr 21 18:04:57 2008 +0200
@@ -263,31 +263,33 @@
         component: 
        (SpecCollection
           collection: (
-           (ViewSpec
+           (HorizontalPanelViewSpec
               name: 'SearchBox'
               layout: (LayoutFrame 0 0 0 0 0 1 0 1)
-              level: -1
+              horizontalLayout: left
+              verticalLayout: center
+              horizontalSpace: 3
+              verticalSpace: 3
               component: 
              (SpecCollection
                 collection: (
                  (ActionButtonSpec
                     label: 'closeSearchBarIcon'
                     name: 'hideSearchBarButton'
-                    layout: (LayoutFrame 4 0 2 0 25 0 23 0)
                     hasCharacterOrientedLabel: false
                     translateLabel: true
                     model: hideSearchBar
+                    extent: (Point 21 21)
                   )
                  (LabelSpec
                     label: 'Search:'
                     name: 'SearchLabel'
-                    layout: (LayoutFrame 30 0 1 0 81 0 23 0)
                     translateLabel: true
                     adjust: right
+                    extent: (Point 51 22)
                   )
                  (InputFieldSpec
                     name: 'SearchEntryField'
-                    layout: (LayoutFrame 87 0 1 0 298 0 23 0)
                     model: searchTextHolder
                     immediateAccept: true
                     acceptOnReturn: true
@@ -295,46 +297,55 @@
                     acceptOnLostFocus: true
                     modifiedChannel: searchTextModifiedHolder
                     acceptOnPointerLeave: false
+                    extent: (Point 211 22)
                     postBuildCallback: postBuildSearchTextView:
                   )
                  (ActionButtonSpec
                     label: 'searchNextIcon'
                     name: 'SearchNextButton'
-                    layout: (LayoutFrame 302 0 1 0 323 0 22 0)
                     hasCharacterOrientedLabel: false
                     translateLabel: true
                     model: searchNextText
+                    extent: (Point 21 21)
                   )
                  (ActionButtonSpec
                     label: 'searchPreviousIcon'
                     name: 'searchPreviousButton'
-                    layout: (LayoutFrame 330 0 1 0 351 0 22 0)
                     hasCharacterOrientedLabel: false
                     translateLabel: true
                     model: searchPreviousText
+                    extent: (Point 21 21)
                   )
                  (CheckBoxSpec
                     label: 'Ignore case'
                     name: 'IgnoreCaseCheckBox'
-                    layout: (LayoutFrame 360 0 1 0 553 0 23 0)
                     model: ignoreCaseHolder
                     translateLabel: true
+                    extent: (Point 112 22)
+                  )
+                 (CheckBoxSpec
+                    label: 'Match'
+                    name: 'MatchCheckBox'
+                    visibilityChannel: matchCheckboxVisible
+                    model: matchHolder
+                    translateLabel: true
+                    extent: (Point 84 22)
                   )
                  (LabelSpec
                     label: 'SearchBarImageInfoLabel'
                     name: 'SearchBarImageInfoLabel'
-                    layout: (LayoutFrame 557 0 1 0 581 0 23 0)
                     hasCharacterOrientedLabel: false
                     translateLabel: true
                     labelChannel: searchBarImageInfoLabelHolder
+                    extent: (Point 24 22)
                   )
                  (LabelSpec
                     label: 'SearchBarInfoLabel'
                     name: 'SearchBarInfoLabel'
-                    layout: (LayoutFrame 584 0 1 0 862 0 23 0)
                     translateLabel: true
                     labelChannel: searchBarInfoLabelHolder
                     adjust: left
+                    extent: (Point 227 22)
                   )
                  )
                
@@ -395,6 +406,10 @@
     "Modified: / 16-06-2007 / 19:32:15 / Administrador"
 !
 
+matchCheckboxVisible
+    ^ false
+!
+
 searchBarImageInfoLabelHolder
 
     searchBarImageInfoLabelHolder isNil ifTrue:[
@@ -650,5 +665,5 @@
 !StringSearchTool class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__StringSearchTool.st,v 1.3 2008-04-08 09:03:40 fm Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__StringSearchTool.st,v 1.4 2008-04-21 16:04:57 cg Exp $'
 ! !