--- a/Tools__StringSearchToolForTextView.st Wed Apr 23 12:30:55 2008 +0200
+++ b/Tools__StringSearchToolForTextView.st Wed Apr 23 12:34:32 2008 +0200
@@ -3,15 +3,141 @@
"{ NameSpace: Tools }"
StringSearchTool subclass:#StringSearchToolForTextView
- instanceVariableNames:'textView matchHolder'
- classVariableNames:''
- poolDictionaries:''
- category:'Interface-Tools'
+ instanceVariableNames:'textView matchHolder'
+ classVariableNames:''
+ poolDictionaries:''
+ category:'Interface-Tools'
!
!StringSearchToolForTextView class methodsFor:'interface specs'!
+windowSpec
+ "This resource specification was automatically generated
+ by the UIPainter of ST/X."
+
+ "Do not manually edit this!! If it is corrupted,
+ the UIPainter may not be able to read the specification."
+
+ "
+ UIPainter new openOnClass:Tools::StringSearchToolForTextView andSelector:#windowSpec
+ Tools::StringSearchToolForTextView new openInterface:#windowSpec
+ Tools::StringSearchToolForTextView open
+ "
+
+ <resource: #canvas>
+
+ ^
+ #(FullSpec
+ name: windowSpec
+ window:
+ (WindowSpec
+ label: 'Tools::StringSearchTool'
+ name: 'Tools::StringSearchTool'
+ min: (Point 10 10)
+ max: (Point 1024 768)
+ bounds: (Rectangle 0 0 883 27)
+ )
+ component:
+ (SpecCollection
+ collection: (
+ (ViewSpec
+ name: 'SearchBox'
+ layout: (LayoutFrame 0 0 0 0 0 1 0 1)
+ level: -1
+ component:
+ (SpecCollection
+ collection: (
+ (ActionButtonSpec
+ label: 'closeSearchBarIcon'
+ name: 'hideSearchBarButton'
+ layout: (LayoutFrame 1 0 2 0 22 0 23 0)
+ hasCharacterOrientedLabel: false
+ translateLabel: true
+ model: hideSearchBar
+ )
+ (LabelSpec
+ label: 'Search:'
+ name: 'SearchLabel'
+ layout: (LayoutFrame 23 0 1 0 71 0 23 0)
+ translateLabel: true
+ adjust: right
+ )
+ (InputFieldSpec
+ name: 'SearchEntryField'
+ layout: (LayoutFrame 72 0 1 0 253 0 23 0)
+ model: searchTextHolder
+ immediateAccept: true
+ acceptOnReturn: true
+ acceptOnTab: true
+ acceptOnLostFocus: true
+ modifiedChannel: searchTextModifiedHolder
+ acceptOnPointerLeave: false
+ postBuildCallback: postBuildSearchTextView:
+ )
+ (ActionButtonSpec
+ label: 'searchNextIcon'
+ name: 'SearchNextButton'
+ layout: (LayoutFrame 258 0 2 0 279 0 23 0)
+ hasCharacterOrientedLabel: false
+ translateLabel: true
+ model: searchNextTextButtonPressed
+ )
+ (ActionButtonSpec
+ label: 'searchPreviousIcon'
+ name: 'searchPreviousButton'
+ layout: (LayoutFrame 286 0 2 0 307 0 23 0)
+ hasCharacterOrientedLabel: false
+ translateLabel: true
+ model: searchPreviousTextButtonPressed
+ )
+ (CheckBoxSpec
+ label: 'Ignore case'
+ name: 'IgnoreCaseCheckBox'
+ layout: (LayoutFrame 312 0 1 0 424 0 23 0)
+ model: ignoreCaseHolder
+ translateLabel: true
+ )
+ (CheckBoxSpec
+ label: 'Match'
+ name: 'MatchCheckBox'
+ layout: (LayoutFrame 424 0 1 0 508 0 23 0)
+ model: matchHolder
+ translateLabel: true
+ )
+ (CheckBoxSpec
+ label: 'Restart'
+ name: 'RestartCheckBox'
+ layout: (LayoutFrame 509 0 1 0 593 0 23 0)
+ model: restartHolder
+ translateLabel: true
+ )
+ (LabelSpec
+ label: 'SearchBarImageInfoLabel'
+ name: 'SearchBarImageInfoLabel'
+ layout: (LayoutFrame 598 0 1 0 622 0 23 0)
+ hasCharacterOrientedLabel: false
+ translateLabel: true
+ labelChannel: searchBarImageInfoLabelHolder
+ )
+ (LabelSpec
+ label: 'SearchBarInfoLabel'
+ name: 'SearchBarInfoLabel'
+ layout: (LayoutFrame 633 0 1 0 882 0 23 0)
+ translateLabel: true
+ labelChannel: searchBarInfoLabelHolder
+ adjust: left
+ )
+ )
+
+ )
+ )
+ )
+
+ )
+ )
+!
+
windowSpec_old
"This resource specification was automatically generated
by the UIPainter of ST/X."
@@ -279,5 +405,5 @@
!StringSearchToolForTextView class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/Tools__StringSearchToolForTextView.st,v 1.6 2008-04-23 10:30:55 fm Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/Tools__StringSearchToolForTextView.st,v 1.7 2008-04-23 10:34:32 fm Exp $'
! !