eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::SearchDialog':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: SearchDialog (in Tools)


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--View
               |
               +--TopView
                  |
                  +--StandardSystemView
                     |
                     +--ModalBox
                        |
                        +--DialogBox
                           |
                           +--Tools::SearchDialog

Package:
stx:libtool
Category:
Interface-Browsers-New
Version:
rev: 1.105 date: 2019/07/12 10:28:00
user: cg
file: Tools__SearchDialog.st directory: libtool
module: stx stc-classLibrary: libtool

Class protocol:

constants
o  constantForListOfMethodsArea

help
o  helpSpec

initialization
o  initialize
(comment from inherited method)
do this for ST-80 compatibility

queries
o  lastCodeSearchArea

o  lastStringSearchArea

o  lastStringSearchArea: aSymbol


Instance protocol:

accessing
o  currentClass: aClass

o  currentPackage

o  currentPackage: aPackage

o  initialText: aString

o  showMetaFilter: aBoolean
enable another checkbox, to allow searching in meta/non-meta

o  withSearchFreeStandingWordsOnly: aBoolean
enable another checkbox, to allow searching for full words only

o  withSearchStringInLiterals: aBoolean
enable another checkbox, to allow searching for a string
in the literals only (and in resource methods only)

accessing-entered values
o  classesOnly
the value of the corresponding check toggle;
if on, only search in non-metaclasses

o  classesToSearch

o  codeToSearch

o  ignoreDocumentationMethods
the value of the corresponding check toggle;
if on, only search in metaclasses

o  matchMethods

o  metaclassesOnly
the value of the corresponding check toggle;
if on, only search in metaclasses

o  methodsToSearch

o  openHow
the value of the corresponding button pressed to close the dialog;
a symbol describing what to do (newBrowser/newBuffer/find)

o  resourceMethodsOnly
the value of the corresponding check toggle;
if on, only resource methods are consulted;
otherwise, all methods are visited

o  searchAreaSelected
the value of the corresponding radio button;
a symbol describing where to search

o  searchFreeStandingWordsOnly
the value of the corresponding check toggle;
if on, only free standing words match - i.e. the searched word
may not be part of a longer word

o  searchIgnoringCase

o  searchIsCaseSensitive
the value of the corresponding check toggle;
if on, search is case sensitive; otherwise ignore case

o  searchStringInLiterals
the value of the corresponding check toggle;
if on, only literal strings should be searched;
otherwise, the sourcecode is searched

o  searchWithMatch
the value of the corresponding check toggle;
if on, do a GLOB match; otherwise an exact search

o  selectorToSearch

help
o  helpTextFor: aComponent

obsolete
o  addCheckBoxForClassMethodSearch

o  addCheckBoxForInstanceMethodSearch

private
o  searchClassProtocolHolder

o  searchInstanceProtocolHolder

o  showHelpOnCodePatterns

o  updateListOfMatchingSelectorsFor: s
best := what first.

public
o  addTextEntryWithCaseIgnore: withCaseIgnore withMatch: withMatch
(isSelector and:[ sel notNil. ]) ifTrue:[

o  askThenDo: aBlock
raise it above all windows

o  setupToAskForMethodSearchTitle: title forBrowser: brwsrArg searchWhat: searchWhatArg searchArea: whereDefault withCaseIgnore: withCaseIgnore withMatch: withMatch withMethodList: withMethodList allowFind: allowFindArg allowBuffer: allowBufferArg allowBrowser: allowBrowserArg withTextEntry: withTextEntryArg
the real construction of the box is done here.
Any additional parameters (metaOnly, searchLiterals etc. must have been done
already.

setup
o  addCheckBox: b forSearchArea: area

o  addCheckBox: b forSearchArea: area helpKey: symbolicHelpKey

o  addCheckBoxForChangedClassesList
CheckBox

o  addCheckBoxForChangedMethodList
CheckBox

o  addCheckBoxForClassesNamespace: ns
CheckBox

o  addCheckBoxForClassesPackage: pkg
CheckBox

o  addCheckBoxForCurrentNamespace
CheckBox

o  addCheckBoxForCurrentPackage
CheckBox

o  addCheckBoxForCurrentPackage: pkg
CheckBox

o  addCheckBoxForCurrentPackageAndSubPackages
CheckBox

o  addCheckBoxForEverywhere
CheckBox

o  addCheckBoxForIgnoreDocumentationMethods

o  addCheckBoxForMetaClassesOnly

o  addCheckBoxForMethodList
CheckBox

o  addCheckBoxForOwnerAndItsPrivateClasses
CheckBox

o  addCheckBoxForOwnerAndItsSubclassesAndItsPrivateClasses
CheckBox

o  addCheckBoxForSearchFreeStandingWordsOnly

o  addCheckBoxForSearchInLiteralsOnly

o  addCheckBoxForSelectedClass
CheckBox

o  addCheckBoxForSelectedClassAndPrivateClasses
CheckBox

o  addCheckBoxForSelectedClassAndSubclasses
CheckBox

o  addCheckBoxForSelectedClassAndSubclassesAndPrivateClasses
CheckBox

o  addCheckBoxForSelectedClassAndSuperclasses
CheckBox

o  addCheckBoxForSelectedClassCategory
CheckBox

o  addCheckBoxForSelectedMethodClasses
comment this to show, but disabled

o  addCheckBoxForSelectedMethodPackages
comment this to show, but disabled

o  addCheckBoxForSelectedMethods
comment this to show, but disabled

o  addCheckBoxForSelectedPackage
CheckBox

o  addCheckBoxesForClassAndMetaSearch
b1 width:0.5.

o  addDummyCheckBoxForEverywhere
CheckBox

o  addFilteredListOfMatchingSelectors

o  addInputFieldForSelectorOrNameOrString
use last searchString

o  addTextEntryFieldForCode
codeField origin:0.0@0.0 corner:(0.75@1.0).

o  checkCodeIn: codeField notifying: errMessageField
codeField selectFromCharacterPosition:pos to:pos.

o  getClassesAndMethodsFor: where

o  helpTextForMetaPatterns

o  isMethodHolder

setup-buttons
o  addBrowseButton

o  addBufferButton

o  addButtons
add find/newBrowser/newBuffer buttons

o  addFindButton



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 25 Apr 2024 12:22:06 GMT