|
Class: SystemBrowser
Object
|
+--Model
|
+--ApplicationModel
|
+--SystemBrowser
|
+--Tools::NewSystemBrowser
- Package:
- stx:libtool
- Category:
- Interface-Browsers
- Version:
- rev:
1.472
date: 2024/04/09 12:33:10
- user: stefan
- file: SystemBrowser.st directory: libtool
- module: stx stc-classLibrary: libtool
Notice: SystemBrowser has been completely rewritten to be an instance
of ApplicationModel. This rewritten version is found under Tools::NewSystemBrowser.
Because the class protocol here was used by many others, it is left here
as an instance-less functionality provider only.
written winter 89 by claus.
copyrightCOPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
Compatibility-ST80
-
newOnClass: aClass
-
accessing-history
-
addToHistory: aClass selector: aSelectorOrNil
-
and:[entry selector = newEntry selector]
-
checkClassHistory
-
checks the class history for non-existing classes
-
classHistory
-
-
classHistory: newCollection
-
-
emptyClassHistory
-
removes all class history entries
-
historyEntryForClass: aClass selector: aSelectorOrNil
-
-
lastSearchPatterns
-
-
rememberSearchPattern: aString
-
-
visitedClassNamesHistory
-
Tools::NewSystemBrowser visitedClassNamesHistory
defaults
-
classHistoryMaxLevels
-
-
classHistoryMaxSize
-
returns maximum size of the visited class history
-
default
-
convenient getter for the user's preference.
Returns his choice of browser class
Usage example(s):
SystemBrowser default open
|
-
largeLabelFont
-
-
methodTemplate
-
return a method definition template string or nil
-
visitedHistoryMaxSize
-
the maximum number of remembered visited-class-history entries
defaults-presentation
-
emphasisForChangedCode
-
EmphasisForChangedCode := #underwave
EmphasisForChangedCode := #color->Color blue
EmphasisForChangedCode := #color->Color red lightened lightened lightened
-
emphasisForChangedCode: anEmphasis
-
self emphasisForChangedCode:#underwave
self emphasisForChangedCode:(#color->Color red lightened lightened lightened)
-
emphasisForDifferentPackage
-
EmphasisForDifferentPackage := nil.
EmphasisForDifferentPackage := #underwave
EmphasisForDifferentPackage := #color->Color red lightened lightened lightened
-
emphasisForDifferentPackage: anEmphasis
-
self emphasisForDifferentPackage:#underwave
self emphasisForDifferentPackage:(#color->Color red lightened lightened lightened)
-
emphasisForModifiedBuffer
-
-
emphasisForModifiedBuffer: anEmphasis
-
-
emphasisForObsoleteCode
-
-
emphasisForObsoleteCode: anEmphasis
-
-
emphasisForReadVariable
-
EmphasisForReadVariable := #underline
EmphasisForReadVariable := Array with:#underline with:#underlineColor->Color yellow
-
emphasisForReadVariable: anEmphasis
-
self emphasisForReadVariable:#underline
self emphasisForReadVariable:(Array with:#underline with:#underlineColor->Color yellow)
-
emphasisForWrittenVariable
-
EmphasisForWrittenVariable := #underline
EmphasisForWrittenVariable := Array with:#underline with:#underlineColor->Color red lightened
-
emphasisForWrittenVariable: anEmphasis
-
self emphasisForWrittenVariable:#underline
self emphasisForWrittenVariable:(Array with:#underline with:#underlineColor->Color red lightened)
-
iconForClass: aClass
-
ask the class for its browser symbol;
that's a key/selector in the ToolbarIconLibrary
-
perAnnotationTagIconsAt: annotationKey
-
return an annotation-specific icon or a default tag icon
(i.e. for <action>, <rest>, etc. annotations
-
perAnnotationTagIconsAt: annotationKey put: anIcon
-
return an annotation-specific icon or a default tag icon
(i.e. for <action>, <rest>, etc. annotations
Usage example(s):
self perAnnotationTagIconsAt:'javanative:name:' put:(ToolbarIconLibrary javaIcon16x16)
self perAnnotationTagIconsAt:'javanative:' put:(ToolbarIconLibrary javaIcon16x16)
|
-
resourceIconForMethod: aMethod
-
ToolbarIconLibrary tag16x16Icon
dialogs
-
askForClassNameMatching: matchStringArg inEnvironment: anEnvironmentOrClassOrNil for: aBrowserOrNil
-
open a dialog to ask for a class name.
env is either a nameSpace or a class (to ask for a private class)
-
listBoxTitle: title okText: okText list: aList
-
convenient method: setup a listBox & return it
Usage example(s):
(self listBoxTitle:'hello world' okText:'aaa' list:#(1 2 3 4)) open
|
image specs
-
abstractMethodIcon
-
-
addBreakPointIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self addBreakPointIcon inspect
ImageEditor openOnClass:self andSelector:#addBreakPointIcon
Icon flushCachedIcons
|
-
addBreakPointIcon2
-
-
autoloadedClassIcon
-
-
breakPointedIcon
-
^ self breakPointedIcon2
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
canvasIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self canvasIcon inspect
ImageEditor openOnClass:self andSelector:#canvasIcon
Icon flushCachedIcons
|
-
containerClassIcon
-
-
defaultIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self defaultIcon inspect
ImageEditor openOnClass:self andSelector:#defaultIcon
Icon flushCachedIcons
|
-
deprecatedMethodIcon
-
-
disabledBreakpointIcon
-
-
doNotEnterIcon
-
-
emptyIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self emptyIcon inspect
ImageEditor openOnClass:self andSelector:#emptyIcon
Icon flushCachedIcons
|
-
errorClassIcon
-
-
exceptionClassIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self exceptionClassIcon inspect
ImageEditor openOnClass:self andSelector:#exceptionClassIcon
Icon flushCachedIcons
|
-
fileImageIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self fileImageIcon inspect
ImageEditor openOnClass:self andSelector:#fileImageIcon
Icon flushCachedIcons
|
-
fullBreakPointedIcon
-
^ self fullBreakPointedIcon2
-
fullBreakPointedIcon1
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self fullBreakPointedIcon1 inspect
ImageEditor openOnClass:self andSelector:#fullBreakPointedIcon1
Icon flushCachedIcons
|
-
fullBreakPointedIcon2
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self fullBreakPointedIcon2 inspect
ImageEditor openOnClass:self andSelector:#fullBreakPointedIcon2
Icon flushCachedIcons
|
-
greenCheckIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self greenCheckIcon inspect
ImageEditor openOnClass:self andSelector:#greenCheckIcon
Icon flushCachedIcons
|
-
greenLockIcon
-
-
greenThumbUpIcon
-
-
greenThumbUpSmallIcon
-
-
greyCheckIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self greyCheckIcon inspect
ImageEditor openOnClass:self andSelector:#greyCheckIcon
Icon flushCachedIcons
|
-
greyThumbUpIcon
-
-
helpIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self helpIcon inspect
ImageEditor openOnClass:self andSelector:#helpIcon
Icon flushCachedIcons
|
-
hierarchicalListIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self hierarchicalListIcon inspect
ImageEditor openOnClass:self andSelector:#hierarchicalListIcon
Icon flushCachedIcons
|
-
ignoredMethodIcon
-
-
imageIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageIcon inspect
ImageEditor openOnClass:self andSelector:#imageIcon
Icon flushCachedIcons
|
-
instVarOverlayXmlSpec
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self instVarOverlayXmlSpec inspect
ImageEditor openOnClass:self andSelector:#instVarOverlayXmlSpec
Icon flushCachedIcons
|
-
instrumentationIcon
-
-
lineBreakPointedIcon
-
^ self lineBreakPointedIcon2
-
lineBreakPointedIcon1
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self lineBreakPointedIcon1 inspect
ImageEditor openOnClass:self andSelector:#lineBreakPointedIcon1
Icon flushCachedIcons
|
-
lineBreakPointedIcon2
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self lineBreakPointedIcon2 inspect
ImageEditor openOnClass:self andSelector:#lineBreakPointedIcon2
Icon flushCachedIcons
|
-
lineTracePointedIcon
-
-
medium_methodEmptyInheritedIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self medium_methodEmptyInheritedIcon inspect
ImageEditor openOnClass:self andSelector:#medium_methodEmptyInheritedIcon
Icon flushCachedIcons
|
-
medium_methodInheritedFromAboveAndRedefinedBelowIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self medium_methodInheritedFromAboveAndRedefinedBelowIcon inspect
ImageEditor openOnClass:self andSelector:#medium_methodInheritedFromAboveAndRedefinedBelowIcon
Icon flushCachedIcons
|
-
medium_methodInheritedFromAboveIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self medium_methodInheritedFromAboveIcon inspect
ImageEditor openOnClass:self andSelector:#medium_methodInheritedFromAboveIcon
Icon flushCachedIcons
|
-
medium_methodRedefinedBelowIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self medium_methodRedefinedBelowIcon inspect
ImageEditor openOnClass:self andSelector:#medium_methodRedefinedBelowIcon
Icon flushCachedIcons
|
-
menuIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self menuIcon inspect
ImageEditor openOnClass:self andSelector:#menuIcon
Icon flushCachedIcons
|
-
methodEmptyInheritedIcon
-
-
methodInheritedFromAboveAndRedefinedBelowIcon
-
-
methodInheritedFromAboveIcon
-
-
methodIsSubclassResponsibilityAndRedefinedBelowIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self methodIsSubclassResponsibilityAndRedefinedBelowIcon inspect
ImageEditor openOnClass:self andSelector:#methodIsSubclassResponsibilityAndRedefinedBelowIcon
Icon flushCachedIcons
|
-
methodIsSubclassResponsibilityIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self methodIsSubclassResponsibilityIcon inspect
ImageEditor openOnClass:self andSelector:#methodIsSubclassResponsibilityIcon
Icon flushCachedIcons
|
-
methodRedefinedBelowIcon
-
-
nameSpaceIcon
-
-
notificationClassIcon
-
-
obsoleteMethodIcon
-
-
packageIcon
-
-
packageIconGraySmall
-
-
packageIconGreenSmall
-
-
packageIconOrangeSmall
-
-
packageIconSmall
-
-
padLockBlackMiniIcon
-
-
padLockBlueMiniIcon
-
-
padLockGrayMiniIcon
-
-
padLockGreenMiniIcon
-
-
padLockRedMiniIcon
-
-
privateMethodIcon
-
-
programImageIcon
-
-
programMenuIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self programMenuIcon inspect
ImageEditor openOnClass:self andSelector:#programMenuIcon
Icon flushCachedIcons
|
-
protectedMethodIcon
-
-
queryClassIcon
-
-
redCheckIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self redCheckIcon inspect
ImageEditor openOnClass:self andSelector:#redCheckIcon
Icon flushCachedIcons
|
-
redThumbDownIcon
-
-
redThumbDownSmallIcon
-
-
removeBreakPointIcon2
-
-
small_methodEmptyInheritedIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self small_methodEmptyInheritedIcon inspect
ImageEditor openOnClass:self andSelector:#small_methodEmptyInheritedIcon
Icon flushCachedIcons
|
-
small_methodInheritedFromAboveAndRedefinedBelowIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self small_methodInheritedFromAboveAndRedefinedBelowIcon inspect
ImageEditor openOnClass:self andSelector:#small_methodInheritedFromAboveAndRedefinedBelowIcon
Icon flushCachedIcons
|
-
small_methodInheritedFromAboveIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self small_methodInheritedFromAboveIcon inspect
ImageEditor openOnClass:self andSelector:#small_methodInheritedFromAboveIcon
Icon flushCachedIcons
|
-
small_methodRedefinedBelowIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self small_methodRedefinedBelowIcon inspect
ImageEditor openOnClass:self andSelector:#small_methodRedefinedBelowIcon
Icon flushCachedIcons
|
-
startableClassIcon
-
-
startableVisualAppIcon
-
-
stopIcon
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
tabListIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self tabListIcon inspect
ImageEditor openOnClass:self andSelector:#tabListIcon
Icon flushCachedIcons
|
-
tableColumnsIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self tableColumnsIcon inspect
ImageEditor openOnClass:self andSelector:#tableColumnsIcon
Icon flushCachedIcons
|
-
testCaseClassIcon
-
only left here for backward compatibility...
-
testCaseClassIconFor: cls
-
decision moved to TestCase - see there.
-
testCaseErrorIcon
-
only left here for backward compatibility...
-
testCaseFailedIcon
-
only left here for backward compatibility...
-
testCasePassedIcon
-
only left here for backward compatibility...
-
testCaseSkippedIcon
-
only left here for backward compatibility...
-
testCaseUnknownResultIcon
-
only left here for backward compatibility...
-
timeIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self timeIcon inspect
ImageEditor openOnClass:self andSelector:#timeIcon
Icon flushCachedIcons
|
-
traceIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self traceIcon inspect
ImageEditor openOnClass:self andSelector:#traceIcon
Icon flushCachedIcons
|
-
uncachedImageIcon
-
-
underConstructionIcon
-
-
visualStartableClassIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self visualStartableClassIcon inspect
ImageEditor openOnClass:self andSelector:#visualStartableClassIcon
Icon flushCachedIcons
|
-
warningClassIcon
-
-
watchIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self watchIcon inspect
ImageEditor openOnClass:self andSelector:#watchIcon
Icon flushCachedIcons
|
-
windowClassIcon
-
-
windowIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self windowIcon inspect
ImageEditor openOnClass:self andSelector:#windowIcon
Icon flushCachedIcons
|
initialization
-
initialize
-
Browser configuration;
(values can be changed from your private startup file)
Usage example(s):
CheckForInstancesWhenRemovingClasses := true
CheckForInstancesWhenRemovingClasses := false
SystemBrowser initialize
|
instance creation
-
open
-
launch a standard browser
Usage example(s):
SystemBrowser default open
SystemBrowser open
|
-
openInClass: aClass
-
launch a standard browser which immediately switches
to aClass
Usage example(s):
SystemBrowser default openInClass:Object
SystemBrowser openInClass:Object
|
-
openInClass: aClass selector: aSelector
-
launch a standard browser which immediately switches
to aClass » aSelector. Returns the browser
Usage example(s):
SystemBrowser openInClass:Object selector:#at:put:
SystemBrowser openInClass:Object selector:nil
SystemBrowser openInClass:nil selector:nil
|
-
openOn: anEnvironment
-
open on a namespace
Usage example(s):
SystemBrowser default openOn:Smalltalk
SystemBrowser default openOn:Demos
SystemBrowser openOn:Smalltalk
SystemBrowser openOn:Demos
|
-
openOn: aClassEnvironment label: title
-
open on a namespace
-
openOn: aClassEnvironment label: title onDevice: aDisplayDevice
-
open on a nameSpace
-
openOnDevice: aDisplay
-
launch a standard browser on another display.
Usage example(s):
|d|
d := XWorkstation new initializeFor:'porty:0'.
d startDispatch.
SystemBrowser openOnDevice:d
|
-
openOnRemoteImageOnHost: aHostName port: portOrNil
-
SystemBrowser openOnRemoteImageOnHost:'funkfix' port:nil
SystemBrowser openOnRemoteImageOnHost:'192.168.8.1' port:nil
-
openOnSnapShotImage: anImageFileName
-
SystemBrowser openOnSnapShotImage:('/tmp/stmeas.img')
interface specs
-
metaSpec
-
UIPainter new openOnClass: self andSelector: #metaSpec
-
methodMoveDialogSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:SystemBrowser andSelector:#methodMoveDialogSpec
SystemBrowser new openInterface:#methodMoveDialogSpec
|
interface-framework
-
pageSpecs
-
this method must be redefined as stated in a superclass
private-code update
-
sourceOfMethod: mthd
-
wrong: even if there is no source, we
private-helpers
-
askForPackageChangeFrom: oldPkg to: newPkg
-
-
showNoneFound
-
-
showNoneFound: what
-
private-instance creation
-
newWithLabel: aString setupBlock: aBlock
-
common helper method for all creation methods
-
newWithLabel: aString setupBlock: aBlock onDevice: aWorkstation
-
common helper method for all creation methods
-
newWithLabel: aString setupSelector: aSymbol arg: arg
-
common helper method for all creation methods
-
newWithLabel: aString setupSelector: aSymbol arg: arg onDevice: aWorkstation
-
common helper method for all creation methods
special search startup
-
allCallsOn: aSelectorString
-
return a collection of methods which send aSelector.
This takes some time, because source code is parsed to see
if there is really a message send inside (and not just a symbol reference)
Usage example(s):
Time millisecondsToRun:[
SystemBrowser allCallsOn:#at:put:
].
|
-
allCallsOn: aSelectorString in: aCollectionOfClasses
-
return a collection of methods which send aSelector.
Methods from classes in aCollectionOfClasses are searched only.
-
allCallsOn: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase
-
return a collection of methods which send aSelector.
Methods from classes in aCollectionOfClasses are searched only.
Usage example(s):
SystemBrowser allCallsOn:#at:put: in:(Smalltalk allClasses)
|
-
allCallsOn: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatchArg
-
return a collection of methods which send aSelector.
Methods from classes in aCollectionOfClasses are searched only.
Usage example(s):
SystemBrowser allCallsOn:#at:put: in:(Smalltalk allClasses)
|
-
allCallsUsingReturnValueOn: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatchArg
-
return a collection of methods which send aSelector and use the return value.
Methods from classes in aCollectionOfClasses are searched only.
-
allMethodsIn: aCollectionOfClasses inst: wantInst class: wantClass where: aBlock
-
return a collection of methods which pass the given test.
wantInst/wantClass control if instMethods and/or classMethods are to be
considered.
Only classes in aCollectionOfClasses are inspected in the search
-
allMethodsIn: aCollectionOfClasses where: aBlock
-
return a collection of methods which pass the given test.
Only classes in aCollectionOfClasses are inspected in the search
-
aproposSearch: aString
-
browse all methods, which have aString in their selector.
-
aproposSearch: aString in: aCollectionOfClasses
-
browse all methods, which have aString.
This is relatively slow, since all source must be processed.
Usage example(s):
SystemBrowser aproposSearch:'append' in:(Collection withAllSubclasses)
SystemBrowser aproposSearch:'add' in:(Collection withAllSubclasses)
SystemBrowser aproposSearch:'sort' in:(Collection withAllSubclasses)
SystemBrowser aproposSearch:'[Aa]bsent' in:(Collection withAllSubclasses)
|
-
browseAllCallsOn: aSelectorString
-
launch a browser for all senders of aSelector.
Notice: better go via Smalltalk browseAllCallsOn:, which honors the tool-preferences
Usage example(s):
SystemBrowser browseAllCallsOn:#+
|
-
browseAllCallsOn: aSelectorString in: aSetOfClasses
-
launch a browser for all senders of aSelector
Usage example(s):
SystemBrowser browseAllCallsOn:#+ in:(Number withAllSubclasses)
|
-
browseAllCallsOn: aSelectorString in: aSetOfClasses ignoreCase: ignoreCase
-
launch a browser for all senders of aSelector
Usage example(s):
SystemBrowser browseAllCallsOn:#+ in:(Number withAllSubclasses)
|
-
browseAllCallsOn: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase match: match title: titleArg
-
launch a browser for all senders of aSelector in aCollectionOfClasses
Usage example(s):
SystemBrowser
browseAllCallsOn:#+
in:(Number withAllSubclasses)
title:'just a test'
|
-
browseAllCallsOn: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase title: titleArg
-
launch a browser for all senders of aSelector in aCollectionOfClasses
Usage example(s):
SystemBrowser
browseAllCallsOn:#+
in:(Number withAllSubclasses)
title:'just a test'
|
-
browseAllCallsOn: aSelectorString in: aCollectionOfClasses title: title
-
launch a browser for all senders of aSelector in aCollectionOfClasses
Usage example(s):
SystemBrowser
browseAllCallsOn:#+
in:(Number withAllSubclasses)
title:'just a test'
|
-
browseCallsOn: aSelectorString under: aClass
-
launch a browser for all senders of aSelector in aClass and subclasses
Usage example(s):
SystemBrowser browseCallsOn:#+ under:Number
|
-
browseClassRefsTo: aString in: aCollectionOfClasses modificationsOnly: modsOnly
-
launch a browser for all methods in aClass where the classVar named
aString is referenced; if modsOnly is true, browse only methods where the
classvar is modified
-
browseClassRefsTo: varName in: aCollectionOfClasses modificationsOnly: modsOnly title: title
-
launch a browser for all methods in aCollectionOfClasses,
where the classVar named aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
browseClassRefsTo: aString under: aClass modificationsOnly: modsOnly
-
launch a browser for all methods in aClass and subclasses
where the classVar named aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
browseForResource: aResourceSymbol containing: item in: aCollectionOfClasses title: title
-
launch a browser for all methods which have a particular (or any, ifNil)
resource in aCollectionOfClasses.
If aKey is nonNil, only methods which have aKey in the (any) resourceSpec
are parsed.
I.e. to find all methods, which access the styleSheets, use:
browseForResource:#style containing:nil in:... title:...
to find methods which access the 'arrowButtonDownForm' styleSheet entry, use:
browseForResource:#style containing:'arrowButtonDownForm' in:... title:...
Usage example(s):
SystemBrowser
browseForResource:nil
in:Smalltalk allClasses
title:'methods with a resource'
|
Usage example(s):
SystemBrowser
browseForResource:#style
containing:nil
in:Smalltalk allClasses
title:'methods with a #style resource'
|
Usage example(s):
SystemBrowser
browseForResource:#style
containing:'arrowButton*'
in:Smalltalk allClasses
title:'methods with a #style resource'
|
-
browseForResource: aResourceSymbol in: aCollectionOfClasses title: title
-
launch a browser for all methods which have a particular (or any, ifNil)
resource in aCollectionOfClasses
Usage example(s):
SystemBrowser
browseForResource:#style
in:Smalltalk allClasses
title:'methods accessing styleSheet values'
|
Usage example(s):
SystemBrowser
browseForResource:#keyboard
in:Smalltalk allClasses
title:'methods handling keyboard events'
|
Usage example(s):
SystemBrowser
browseForResource:nil
in:Smalltalk allClasses
title:'methods with a resource'
|
-
browseForString: aString
-
launch a browser for all methods containing a string in their source.
This may be slow, since source-code has to be scanned.
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
browseForString: aString in: aCollectionOfClasses
-
launch a browser for all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
browseForString: aString in: aCollectionOfClasses ignoreCase: ignoreCase
-
launch a browser for all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
browseForSymbol: aSymbol
-
launch a browser for all methods referencing aSymbol
-
browseForSymbol: aSymbol in: aSetOfClasses title: title warnIfNone: doWarn
-
launch a browser for all methods referencing aSymbol
-
browseForSymbol: aSymbol in: aSetOfClasses title: title warnIfNone: doWarn searchFor: searchString
-
launch a browser for all methods referencing aSymbol
-
browseForSymbol: aSymbol title: title ifNone: actionIfNoneFound searchFor: searchString
-
launch a browser for all methods referencing aSymbol
-
browseForSymbol: aSymbol title: title warnIfNone: doWarn
-
launch a browser for all methods referencing aSymbol
-
browseForSymbol: aSymbol title: title warnIfNone: doWarn searchFor: searchString
-
launch a browser for all methods referencing aSymbol
-
browseImplementorsMatching: aSelectorString
-
launch a browser for all implementors of aSelector
-
browseImplementorsMatching: aSelectorString in: aSetOfClasses
-
launch a browser for all implementors of aSelector
-
browseImplementorsMatching: aSelectorString in: aSetOfClasses ignoreCase: ignoreCase
-
launch a browser for all implementors of aSelector
-
browseImplementorsMatching: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase title: title
-
launch a browser for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses
Usage example(s):
SystemBrowser
browseImplementorsMatching:'*conflict*'
in:Smalltalk allClasses
ignoreCase:true
title:'some implementors'
|
-
browseImplementorsMatching: aSelectorString in: aCollectionOfClasses title: title
-
launch a browser for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses
-
browseImplementorsMatching: aSelectorString under: aClass
-
launch a browser for all implementors of aSelector in aClass
and its subclasses
-
browseImplementorsOf: aSelectorString
-
launch a browser for all implementors of aSelector
Usage example(s):
SystemBrowser browseImplementorsOf:#+
NewSystemBrowser browseImplementorsOf:#+
|
-
browseImplementorsOf: aSelectorString in: aSetOfClasses
-
launch a browser for all implementors of aSelector
Usage example(s):
SystemBrowser browseImplementorsOf:#+ in:(Number withAllSubclasses)
NewSystemBrowser browseImplementorsOf:#+ in:(Number withAllSubclasses)
|
-
browseImplementorsOf: aSelectorString in: aSetOfClasses ignoreCase: ignoreCase
-
launch a browser for all implementors of aSelector
Usage example(s):
SystemBrowser browseImplementorsOf:#+ in:(Number withAllSubclasses)
NewSystemBrowser browseImplementorsOf:#+ in:(Number withAllSubclasses)
|
-
browseImplementorsOf: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch title: titleArg
-
launch a browser for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses
-
browseImplementorsOf: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase title: titleArg
-
launch a browser for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses
Usage example(s):
SystemBrowser browseImplementorsOf:#+
in:(Array with:Number
with:Float
with:SmallInteger)
title:'some implementors of +'
NewSystemBrowser browseImplementorsOf:#+
in:(Array with:Number
with:Float
with:SmallInteger)
title:'some implementors of +'
|
-
browseImplementorsOf: aSelectorString in: aCollectionOfClasses title: title
-
launch a browser for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses
-
browseImplementorsOf: aSelectorString under: aClass
-
launch a browser for all implementors of aSelector in aClass
and its subclasses
Usage example(s):
SystemBrowser browseImplementorsOf:#+ under:Integer
NewSystemBrowser browseImplementorsOf:#+ under:Integer
|
-
browseImplementorsOfAny: setOfSelectors
-
launch a browser for all implementors of aSelector
Usage example(s):
SystemBrowser browseImplementorsOfAny:#( #+ #- )
NewSystemBrowser browseImplementorsOfAny:#( #+ #- )
|
-
browseImplementorsOfAny: setOfSelectors in: aSetOfClasses
-
launch a browser for all implementors of aSelector
-
browseImplementorsOfAny: setOfSelectors in: aCollectionOfClasses ignoreCase: ignoreCase title: title
-
launch a browser for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses
-
browseImplementorsOfAny: setOfSelectors in: aCollectionOfClasses title: title
-
launch a browser for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses
-
browseInstRefsTo: aString in: aCollectionOfClasses modificationsOnly: modsOnly
-
launch a browser for all methods in aClass where the instVar named
aString is referenced; if modsOnly is true, browse only methods where the
instvar is modified
-
browseInstRefsTo: varName in: aCollectionOfClasses modificationsOnly: modsOnly title: title
-
launch a browser for all methods in aClass where the instVar named
varName is referenced; if modsOnly is true, browse only methods where the
instvar is modified
-
browseInstRefsTo: aString under: aClass modificationsOnly: modsOnly
-
launch a browser for all methods in aClass and subclasses
where the instVar named aString is referenced;
if modsOnly is true, browse only methods where the instvar is modified
-
browseReferendsOf: aGlobalName
-
launch a browser for all methods referencing a global
named aGlobalName. The argument may be a symbol, a string or
a matchPattern.
Usage example(s):
UserPreferences current systemBrowserClass browseReferendsOf:#Transcript
UserPreferences current systemBrowserClass browseReferendsOf:'Tr*'
|
-
browseReferendsOf: aGlobalName ifNone: actionIfNone
-
launch a browser for all methods referencing a global
named aGlobalName.
-
browseReferendsOf: aGlobalName in: aSetOfClasses
-
launch a browser for all methods referencing a global
named aGlobalName.
Usage example(s):
Browser browseReferendsOf:#Transcript
|
-
browseReferendsOf: aGlobalName in: aSetOfClasses warnIfNone: doWarn
-
launch a browser for all methods referencing a global
named aGlobalName.
-
browseReferendsOf: aGlobalName title: title ifNone: actionIfNone
-
launch a browser for all methods referencing a global named aGlobalName.
If aGlobalName is inside a namespace (a private or namespace-global),
the search should be for a global named <namespace>::<aGlobalName>
Usage example(s):
Tools::NewSystemBrowser browseReferendsOf:'SortedCollection' title:'foo' ifNone:[ self halt ]
|
-
browseReferendsOf: aGlobalName title: title warnIfNone: doWarn
-
launch a browser for all methods referencing a global named aGlobalName.
If aGlobalName is inside a namespace (a private or namespace-global),
the search should be for a global named <namespace>::<aGlobalName>
-
browseReferendsOf: aGlobalName warnIfNone: doWarn
-
launch a browser for all methods referencing a global named aGlobalName.
If aGlobalName is inside a namespace (a private or namespace-global),
the search should be for a global named <namespace>::<aGlobalName>
-
browseReferendsOfUnboundGlobalsWithTitle: title ifNone: actionIfNone
-
launch a browser for all methods referencing an unbound global.
-
browseReferendsOfUnboundGlobalsWithTitle: title warnIfNone: doWarn
-
launch a browser for all methods referencing an unbound global.
-
browseRefsTo: aString classVars: classVars in: aCollectionOfClasses modificationsOnly: modsOnly
-
launch a browser for all methods in aClass where the instVar/classVar named
aString is referenced; if modsOnly is true, browse only methods where the
instvar is modified
-
browseRefsTo: varName classVars: classVars in: aCollectionOfClasses modificationsOnly: modsOnly title: title
-
launch a browser for all methods in aClass where the instVar/classVar named
varName is referenced; if modsOnly is true, browse only methods where the
instvar is modified
-
browseSendersOf: aSelectorString
-
launch a browser for all senders of aSelector
Usage example(s):
SystemBrowser browseSendersOf:#+
UserPreferences current systemBrowserClass browseSendersOf:#+
|
-
browseSuperCallsIn: aCollectionOfClasses title: title
-
launch a browser for all super sends in aCollectionOfClasses
Usage example(s):
SystemBrowser
browseSuperCallsIn:(Array with:SortedCollection)
title:'superSends in SortedCollection'
|
-
browseSuperCallsUnder: aClass
-
launch a browser for all supersends in aClass and subclasses
Usage example(s):
SystemBrowser browseSuperCallsUnder:Number
|
-
browseUsesOf: aClass
-
}
-
filterToSearchRefsTo: varName classVars: classVars access: accessType
-
return a searchblock for variable references (obsolete)
-
filterToSearchRefsTo: varName classVars: classVars modificationsOnly: modsOnly
-
return a searchblock for variable references
-
filterToSearchRefsTo: varName instVars: doInstVars classVars: doClassVars globals: doGlobals access: accessType
-
return a searchblock for variable references
-
filterToSearchRefsTo: varName instVars: doInstVars classVars: doClassVars globals: doGlobals poolVars: doPoolVars access: accessType
-
return a searchblock for variable references
-
findAnyResourceIn: aCollectionOfClasses
-
return a collection of all methods in aCollectionOfClasses containing any resource.
Usage example(s):
SystemBrowser findAnyResourceIn:(ApplicationModel withAllSubclasses)
|
-
findClassRefsTo: aString in: aCollectionOfClasses access: accessType
-
return all methods in aCollectionOfClasses where the classVar named
aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
findClassRefsTo: aString in: aCollectionOfClasses modificationsOnly: modsOnly
-
return all methods in aCollectionOfClasses where the classVar named
aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
findClassRefsTo: aString inClass: aClass access: accessType
-
return all methods in aClass where the classVar named
aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
findClassRefsTo: aString inClass: aClass modificationsOnly: modsOnly
-
return all methods in aClass where the classVar named
aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
findClassRefsTo: aString under: aClass access: accessType
-
return all methods in aClass and subclasses
where the classVar named aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
findClassRefsTo: aString under: aClass modificationsOnly: modsOnly
-
return all methods in aClass and subclasses
where the classVar named aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
findCode: aCodeString in: aCollectionOfClasses isMethod: isMethod
-
return a collection of all methods in aCollectionOfClasses
containing a matching piece of code.
This may be slow, since source-code has to be scanned.
-
findCode: aCodeString inMethods: aCollectionOfMethods isMethod: isMethod
-
return a collection of all methods in aCollectionOfMethods
containing a matching piece of code.
-
findExceptionHandlersIn: aCollectionOfClasses
-
return a collection of all methods in aCollectionOfClasses
containing an exception raiser.
This may be slow, since source-code has to be scanned.
-
findExceptionHandlersInMethods: aCollectionOfMethods
-
return a collection of all methods in aCollectionOfClasses
containing an exception raiser.
This may be slow, since source-code has to be scanned.
-
findExceptionRaisersIn: aCollectionOfClasses
-
return a collection of all methods in aCollectionOfClasses
containing an exception raiser.
This may be slow, since source-code has to be scanned.
-
findExceptionRaisersInMethods: aCollectionOfMethods
-
return a collection of all methods in aCollectionOfClasses
containing an exception raiser.
This may be slow, since source-code has to be scanned.
-
findHelpSpecMethodsWithString: aString in: aCollectionOfClasses ignoreCase: ignoreCase
-
return a collection of all help-spec methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findHelpSpecMethodsWithString: aString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch
-
return a collection of all help-spec methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findImplementors: aSelectorMatchString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch
-
search for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods
-
findImplementors: aSelectorMatchString inMethods: aCollectionOfMethods ignoreCase: ignoreCase match: doMatch
-
search for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods
-
findImplementorsMatching: aSelectorMatchString in: aCollectionOfClasses ignoreCase: ignoreCase
-
search for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods
-
findImplementorsMatchingAny: aCollectionOfSelectors in: aCollectionOfClasses ignoreCase: ignoreCase
-
search for all implementors of any in aCollectionOfSelectors in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods.
CAVEAT: searches multiple times (could be tuned alot if heavily used)
Usage example(s):
self
findImplementorsMatchingAny:#( 'at*:' '*size')
in:(Smalltalk allClasses)
ignoreCase:true
|
-
findImplementorsOf: aSelectorMatchString in: aCollectionOfClasses ignoreCase: ignoreCase
-
search for all implementors of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods
Usage example(s):
SystemBrowser findImplementorsOf:#+
in:(Array with:Number
with:Float
with:SmallInteger)
|
-
findImplementorsOfAny: aCollectionOfSelectors in: aCollectionOfClasses ignoreCase: ignoreCase
-
search for all implementors of any in aCollectionOfSelectors in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods.
CAVEAT: searches multiple times (could be tuned alot if heavily used)
-
findInstRefsTo: aString in: aCollectionOfClasses access: accessType
-
return all methods in aCollectionOfClasses where the instVar named
aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
findInstRefsTo: aString in: aCollectionOfClasses modificationsOnly: modsOnly
-
return all methods in aCollectionOfClasses where the instVar named
aString is referenced; if modsOnly is true, browse only methods where the
instvar is modified
-
findInstRefsTo: aString inClass: aClass access: accessType
-
return all methods in aClass where the instVar named
aString is referenced; if modsOnly is true, browse only methods where the
instvar is modified
-
findInstRefsTo: aString inClass: aClass modificationsOnly: modsOnly
-
return all methods in aClass where the instVar named
aString is referenced; if modsOnly is true, browse only methods where the
instvar is modified
-
findInstRefsTo: aString under: aClass access: accessType
-
return all methods in aClass and subclasses
where the instVar named aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
findInstRefsTo: aString under: aClass modificationsOnly: modsOnly
-
return all methods in aClass and subclasses
where the instVar named aString is referenced;
if modsOnly is true, browse only methods where the instvar is modified
-
findMenuSpecMethodsWithString: aString in: aCollectionOfClasses ignoreCase: ignoreCase
-
return a collection of all menu-spec methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findMenuSpecMethodsWithString: aString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch
-
return a collection of all menu-spec methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findPoolVarRefsTo: aString inClass: aClass access: accessType
-
return all methods in aClass where the pool variable named aString is referenced;
if modsOnly is true, browse only methods where the classvar is modified
-
findRefsTo: varName classVars: classVars in: aCollectionOfClasses access: accessType
-
return a list of all methods in aCollectionOfClasses where the instVar/classVar named
varName is referenced;
if modsOnly is true, browse only methods where the instvar is modified
Usage example(s):
self
findRefsTo:'x'
classVars:false
in:(Array with:Point)
modificationsOnly:true
|
-
findRefsTo: varName classVars: classVars in: aCollectionOfClasses modificationsOnly: modsOnly
-
return a list of all methods in aCollectionOfClasses where the instVar/classVar named
varName is referenced;
if modsOnly is true, browse only methods where the instvar is modified
Usage example(s):
self
findRefsTo:'x'
classVars:false
in:(Array with:Point)
modificationsOnly:true
|
-
findResource: aResourceSymbolOrCollectionOfSymbols in: aCollectionOfClassesOrMethods
-
return a collection of all methods in aCollectionOfClasses
containing a resource.
Usage example(s):
SystemBrowser findResource:#image in:(ApplicationModel withAllSubclasses)
SystemBrowser findResource:#menu in:(ApplicationModel withAllSubclasses)
SystemBrowser findResource:#(menu programMenu) in:(ApplicationModel withAllSubclasses)
|
-
findResource: aStringOrEmpty match: doMatch ignoreCase: ignoreCase in: aCollectionOfClasses
-
return a collection of all methods in aCollectionOfClasses containing a matching resource.
Usage example(s):
SystemBrowser findResource:'*debug*' match:true ignoreCase:true in:(GenericException withAllSubclasses)
|
-
findRespondersOfAll: aCollectionOfSelectors in: aCollectionOfClasses ignoreCase: ignoreCase
-
search for all classes which respond to all of the selectors in aCollectionOfSelectors.
Search within the classes contained in aCollectionOfClasses and their metaclasses.
This will skip over unloaded classes.
Return a collection of classes.
-
findSendersOf: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase
-
search for all senders of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods
Usage example(s):
SystemBrowser findSendersOf:#+
in:(Array with:Number
with:Float
with:SmallInteger)
ignoreCase:false
|
-
findSendersOf: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch
-
search for all senders of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods
Usage example(s):
SystemBrowser findSendersOf:#+
in:(Array with:Number
with:Float
with:SmallInteger)
ignoreCase:false
|
-
findSendersOf: aSelectorString inMethods: aCollectionOfMethods ignoreCase: ignoreCase
-
search for all senders of aSelector in aCollectionOfMethods.
Return a collection of methods
-
findSendersOf: aSelectorString inMethods: aCollectionOfMethods ignoreCase: ignoreCase match: doMatch
-
search for all senders of aSelector in aCollectionOfMethods.
Return a collection of methods
-
findSendersOfAll: aCollectionOfSelectors in: aCollectionOfClasses ignoreCase: ignoreCase
-
search for methods which send all selectors in aCollectionOfSelectors in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods.
Usage example(s):
SystemBrowser
findSendersOfAll:#(#'+' #'-')
in:(Smalltalk allClasses)
ignoreCase:false
|
-
findSendersOfAny: aCollectionOfSelectors in: aCollectionOfClasses ignoreCase: ignoreCase
-
search for all senders of any selector in aCollectionOfSelectors in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods.
CAVEAT: searches multiple times (could be tuned a lot if heavily used)
Usage example(s):
SystemBrowser findSendersOfAny:#(#'+' #'-')
in:(Array with:Number
with:Float
with:SmallInteger)
ignoreCase:false
|
-
findSendersUsingReturnValueOf: aSelectorString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch
-
search for all senders of aSelector in
the classes contained in aCollectionOfClasses and their metaclasses.
Return a collection of methods
Usage example(s):
SystemBrowser findSendersUsingReturnValueOf:#+
in:(Array with:Number
with:Float
with:SmallInteger)
ignoreCase:false
|
-
findSpecMethodsFor: specSymbol withString: aString in: aCollectionOfClasses ignoreCase: ignoreCase
-
return a collection of all specSymbol-spec methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findSpecMethodsFor: specSymbol withString: aString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch
-
return a collection of all specSymbol-spec methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findString: aString in: aCollectionOfClasses ignoreCase: ignoreCase
-
return a collection of all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
Usage example(s):
SystemBrowser findString:'should' in:(Array with:Object) ignoreCase:false
|
-
findString: aString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch
-
return a collection of all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
Usage example(s):
SystemBrowser
findString:'should'
in:(Array with:Object)
ignoreCase:false
|
-
findString: aString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch fullWordsOnly: fullWordsOnly
-
return a collection of all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
Usage example(s):
SystemBrowser findString:'should' in:(Array with:Object) ignoreCase:false
|
-
findString: aString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch fullWordsOnly: fullWordsOnly resourceMethodsOnly: resourceMethodsOnly
-
return a collection of all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
Usage example(s):
SystemBrowser findString:'should' in:(Array with:Object) ignoreCase:false
|
-
findString: aString inMethods: aCollectionOfMethods ignoreCase: ignoreCase match: doMatch
-
return a collection of all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findString: aString inMethods: aCollectionOfMethods ignoreCase: ignoreCase match: doMatch fullWordsOnly: fullWordsOnly
-
return a collection of all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findString: aString inMethods: aCollectionOfMethods ignoreCase: ignoreCase match: doMatch fullWordsOnly: fullWordsOnly resourceMethodsOnly: resourceMethodsOnly
-
return a collection of all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findString: aString inMethods: aCollectionOfMethods ignoreCase: ignoreCase match: doMatch resourceMethodsOnly: resourceMethodsOnly
-
return a collection of all methods in aCollectionOfClasses
containing a string in their source.
This may be slow, since source-code has to be scanned.
-
findStringLiteral: aString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch
-
return a collection of all methods in aCollectionOfClasses
containing a string in any of their string-literals.
Usage example(s):
SystemBrowser findStringLiteral:'error' in:(Array with:Object) ignoreCase:true match:false
|
-
findStringLiteral: aString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch fullWordsOnly: fullWordsOnly
-
return a collection of all methods in aCollectionOfClasses
containing a string in any of their string-literals.
Usage example(s):
SystemBrowser findStringLiteral:'error' in:(Array with:Object) ignoreCase:true match:false
|
-
findStringLiteral: aString in: aCollectionOfClasses ignoreCase: ignoreCase match: doMatch fullWordsOnly: fullWordsOnly resourceMethodsOnly: resourceMethodsOnly
-
return a collection of all methods in aCollectionOfClasses
containing a string in any of their string-literals.
Usage example(s):
SystemBrowser findStringLiteral:'error' in:(Array with:Object) ignoreCase:true match:false
|
-
findStringLiteral: aString inMethods: aCollectionOfMethods ignoreCase: ignoreCase match: doMatch
-
return a collection of all methods in aCollectionOfClasses
containing a string in any of their string-literals.
-
findStringLiteral: aString inMethods: aCollectionOfMethods ignoreCase: ignoreCase match: doMatch fullWordsOnly: fullWordsOnly
-
return a collection of all methods in aCollectionOfClasses
containing a string in any of their string-literals.
-
findStringLiteral: aString inMethods: aCollectionOfMethods ignoreCase: ignoreCase match: doMatch fullWordsOnly: fullWordsOnly resourceMethodsOnly: resourceMethodsOnly
-
return a collection of all methods in aCollectionOfClasses
containing a string in any of their string-literals.
-
findUsingParseTreeSearcher: searcher in: aCollectionOfClasses
-
return a collection of all methods in aCollectionOfClasses
containing an exception raiser.
This may be slow, since source-code has to be scanned.
-
findUsingParseTreeSearcher: searcher inMethods: aCollectionOfMethods
-
return a collection of all methods in aCollectionOfClasses
containing an exception raiser.
This may be slow, since source-code has to be scanned.
-
resourceMethodSearchBlockFor: aStringSearchBlock
-
Modified (format): / 08-10-2020 / 11:10:52 / Stefan Vogel
-
searchBlockForAllCallsOn: aSelectorString ignoreCase: ignoreCase
-
-
searchBlockForAllCallsOn: aSelectorString ignoreCase: ignoreCase match: doMatchArg
-
return an optimized search block for the senders search.
Because this highly affects the speed of the senders-search in the browser,
specialized blocks are returned, depending on whether a selector-match or casesensitive
search is wanted
(these operations are executed a zillion times in an inner loop,
therefore, the speedup is noticable)
-
searchBlockForAllCallsUsingReturnValueOn: aSelectorOrSelectorString ignoreCase: ignoreCase match: doMatchArg
-
return an optimized search block for the senders which use the return value search.
-
searchBlockForCode: aCodeString in: aCollectionOfClasses isMethod: isMethod
-
return a block to search for a piece of code.
intelligent search: because parsing and the parseTree-match is a relatively
expensive operation, we try hard to reduce the amount of searched methods by:
- extracting sent messages from the pattern, and limiting the search to
methods which also send all those messages,
- extracting accessed globals from the pattern, and limiting the search to
methods which also refer to those globals
-
searchBlockForCode: aCodeString isMethod: isMethod
-
return a block to search for a piece of code (intelligent search).
-
searchBlockForParseTreeSearcher: searcher isMethod: isMethod
-
return a block to search for a piece of code (intelligent search).
-
searchBlockForReferendsOf: aGlobalName
-
return a block which searches for all methods which reference a global named aGlobalName,
which may be a matchpattern.
If aGlobalName is inside a namespace (a private or namespace-global),
the name should be <namespace>::<aGlobalName>
-
searchBlockForString: aString ignoreCase: ignoreCase match: doMatchArg
-
return a block to search for a string.
-
searchBlockForString: aString ignoreCase: ignoreCase match: doMatchArg fullWordsOnly: fullWordsOnly
-
return a block to search for a string.
-
searchBlockForString: aStringArg ignoreCase: ignoreCase match: doMatchArg fullWordsOnly: fullWordsOnly resourceMethodsOnly: resourceMethodsOnly
-
return a block to search for a string.
-
searchBlockForStringLiteral: aString ignoreCase: ignoreCase match: doMatchArg
-
return a block to search for a string-literal.
-
searchBlockForStringLiteral: aString ignoreCase: ignoreCase match: doMatchArg fullWordsOnly: fullWordsOnly
-
return a block to search for a string-literal.
-
searchBlockForStringLiteral: aString ignoreCase: ignoreCase match: doMatchArg fullWordsOnly: fullWordsOnly resourceMethodsOnly: resourceMethodsOnly
-
return a block to search for a string-literal.
-
searchBlockForSymbol: aSymbol
-
return a matchblock to search for all methods referencing aSymbol.
false if no such symbol exists
startup
-
browseAllSelect: aBlock
-
launch a browser for all methods where aBlock returns true.
The block is called with 3 arguments, class, method and selector.
Usage example(s):
SystemBrowser browseAllSelect:[:aClass :aMethod :selector | selector numArgs == 3]
|
-
browseClass: aClass
-
launch a browser for aClass.
Notice: better go via Smalltalk browseClass:, which honors the tool-preferences
Usage example(s):
SystemBrowser browseClass:Object
|
-
browseClass: aClass methodCategory: aCategory
-
launch a browser for all methods under aCategory in aClass
Usage example(s):
SystemBrowser browseClass:String methodCategory:'copying'
|
-
browseClass: aClass selector: selector
-
launch a browser for the method at selector in aClass.
Usage example(s):
SystemBrowser browseClass:Object selector:#printString
Tools::NewSystemBrowser openInClass:Object selector:#printString
|
-
browseClassCategory: aClassCategory
-
launch a browser for all classes under aCategory
Usage example(s):
SystemBrowser browseClassCategory:'Kernel-Objects'
|
-
browseClassHierarchy: aClass
-
launch a browser for aClass and all its superclasses.
this is different from the fullProtocol browser.
Usage example(s):
SystemBrowser browseClassHierarchy:Number
|
-
browseClasses: aList label: title
-
launch a browser for all classes in aList
Usage example(s):
SystemBrowser browseClasses:(Array with:Object
with:Float)
title:'two classes'
|
-
browseClasses: aList label: title sort: doSort
-
launch a browser for all classes in aList
Usage example(s):
SystemBrowser browseClasses:(Array with:Object
with:Float)
title:'two classes'
|
-
browseClasses: aList title: title
-
launch a browser for all classes in aList
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
browseClasses: aList title: title sort: doSort
-
launch a browser for all classes in aList
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
browseFullClassProtocol: aClass
-
launch a browser for aClasses full protocol.
This is different from hierarchy browsing.
Usage example(s):
SystemBrowser browseFullClassProtocol:Number
|
-
browseFullClasses
-
launch a browser showing all methods at once
Usage example(s):
SystemBrowser browseFullClasses
|
-
browseInstMethodsFrom: aClass where: aBlock title: title
-
launch a browser for all instance methods in aClass and all subclasses
where aBlock evaluates to true
-
browseInstMethodsIn: aCollectionOfClasses where: aBlock title: title
-
launch a browser for all instance methods of all classes in
aCollectionOfClasses where aBlock evaluates to true
-
browseInstMethodsOf: aClass where: aBlock title: title
-
launch a browser for all instance methods in aClass
where aBlock evaluates to true
-
browseMethod: aMethod
-
launch a single-method browser.
Usage example(s):
self browseMethod:(Array compiledMethodAt:#at:)
Tools::NewSystemBrowser browseMethod:(Array compiledMethodAt:#at:)
|
-
browseMethodCategory: aCategory
-
launch a browser for all methods where category = aCategory
Usage example(s):
SystemBrowser browseMethodCategory:'printing & storing'
SystemBrowser browseMethodCategory:'print*'
|
-
browseMethods: aListOfMethods
-
launch a multi-method browser.
Usage example(s):
self
browseMethods:(Array with:(Array compiledMethodAt:#at:))
self
browseMethods:(Array with:(Array compiledMethodAt:#at:)
with:(OrderedCollection compiledMethodAt:#at:))
self
browseMethods:(Array with:(Array compiledMethodAt:#at:)
with:(Array compiledMethodAt:#at:put:))
|
-
browseMethods: aList title: aString
-
launch a browser for an explicit list of class/selectors.
Each entry in the list can be either a method, or a string
consisting of the classes name and the selector, separated by spaces.
For class methods, the string ' class' must be appended to the classname.
Usage example(s):
SystemBrowser
browseMethods:#('Object printOn:' 'Collection add:')
title:'some methods'
SystemBrowser
browseMethods:#('Behavior new:' 'Setclass new:')
title:'some new: methods'
SystemBrowser
browseMethods:(Array with:(Object compiledMethodAt:#printOn:)
with:(Collection compiledMethodAt:#add:)
with:(Object class compiledMethodAt:#initialize))
title:'some methods'
|
-
browseMethods: aList title: aString sort: doSort
-
launch a browser for an explicit list of class/selectors.
Each entry in the list can be either a method, or a string
consisting of the classes name and the selector, separated by spaces.
For class methods, the string ' class' must be appended to the classname.
Usage example(s):
SystemBrowser
browseMethods:#('Object printOn:' 'Collection add:')
title:'some methods'
SystemBrowser
browseMethods:#('Behavior new:' 'Setclass new:')
title:'some new: methods'
SystemBrowser
browseMethods:(Array with:(Object compiledMethodAt:#printOn:)
with:(Collection compiledMethodAt:#add:)
with:(Object class compiledMethodAt:#initialize))
title:'some methods'
|
-
browseMethodsContainingInSource: pieceOfText
-
open a browser on all methods where that piece is contained in the source
-
browseMethodsForWhich: filter title: title
-
launch a multi-method browser.
Usage example(s):
self
browseMethodsForWhich:[:m | m hasResource:#image]
title:'image methods'
|
-
browseMethodsFrom: aClass where: aBlock title: title
-
launch a browser for all instance- and classmethods in aClass
and all its subclasses where aBlock evaluates to true.
The block is called with 3 arguments, class, method and seelctor.
-
browseMethodsIn: aCollectionOfClasses inst: wantInst class: wantClass where: aBlock title: title
-
launch a browser for all instance- (if wantInst is true) and/or
classmethods (if wantClass is true) from classes in aCollectionOfClasses,
where aBlock evaluates to true.
The block is called with 3 arguments, class, method and selector.
-
browseMethodsIn: aCollectionOfClasses inst: wantInst class: wantClass where: aBlock title: title ifNone: warnBlock
-
launch a browser for all instance- (if wantInst is true) and/or
classmethods (if wantClass is true) from classes in aCollectionOfClasses,
where aBlock evaluates to true.
The block is called with 3 arguments, class, method and selector.
-
browseMethodsIn: aCollectionOfClasses where: aBlock title: title
-
launch a browser for all instance- and classmethods from
all classes in aCollectionOfClasses where aBlock evaluates to true.
The block is called with 3 arguments, class, method and seelctor.
-
browseMethodsIn: aCollectionOfClasses where: aBlock title: title ifNone: warnBlock
-
launch a browser for all instance- and classmethods from
all classes in aCollectionOfClasses where aBlock evaluates to true.
The block is called with 3 arguments, class, method and seelctor.
-
browseMethodsOf: aClass where: aBlock title: title
-
launch a browser for all instance- and classmethods in aClass
where aBlock evaluates to true.
The block is called with 3 arguments, class, method and seelctor.
-
browseMethodsWhere: aBlock title: title
-
launch a browser for all methods where aBlock returns true.
The block is called with 3 arguments, class, method and seelctor.
-
browseMethodsWhere: aBlock title: title ifNone: warnBlock
-
launch a browser for all methods where aBlock returns true.
The block is called with 3 arguments, class, method and seelctor.
-
findMethodsIn: aCollectionOfClasses inst: wantInst class: wantClass where: aBlock
-
return all instance- (if wantInst is true) and/or classmethods (if wantClass is true)
from classes in aCollectionOfClasses, where aBlock evaluates to true.
-
findMethodsIn: aCollectionOfClassesOrMethods where: aBlock
-
return all instance- and classmethods
from either classes in aCollectionOfClasses,
or within the given list of methods,
where aBlock evaluates to true.
startup with query
-
askThenBrowseClass
-
SystemBrowser askThenBrowseClass
Tools::NewSystemBrowser askThenBrowseClass
-
askThenBrowseClassHierarchy
-
SystemBrowser askThenBrowseClassHierarchy
Tools::NewSystemBrowser askThenBrowseClassHierarchy
-
askThenBrowseFullClassProtocol
-
SystemBrowser askThenBrowseFullClassProtocol
Tools::NewSystemBrowser askThenBrowseFullClassProtocol
utilities
-
askForClass
-
Tools::NewSystemBrowser askForClass
-
askForClassName
-
Tools::NewSystemBrowser askForClassName
-
askForClassNameWithFilter: filterOrNil
-
Tools::NewSystemBrowser askForClassName
-
askForClassToSearch: doWhatByDefault single: singleClass msgTail: msgTail resources: resourcesOrNil filter: filterOrNil forBrowser: aBrowserOrNil thenDo: aBlock
-
utility common code for both opening a new browser on a class and
to search for a class in an existing browser.
If singleClass is true, a single class will be asked for and browsed,
otherwise, a match pattern is allowed and a multi-class browser is opened.
Moved from instance protocol for better reusability.
-
askForClassWithFilter: filterOrNil
-
Tools::NewSystemBrowser askForClass
-
classWithNameSimilarTo: className
-
helper for class-name entry; finds a class by name tolerant w.r.t. case
-
classesWithNameSimilarTo: className
-
helper for class-name entry; finds a class by name tolerant w.r.t. case
-
classesWithNameSimilarTo: className from: aNameSpaceOrNil
-
helper for class-name entry; finds classes with a name similar to the argument, className
Usage example(s):
self classesWithNameSimilarTo:'NewSystemBrowser'
self classesWithNameSimilarTo:'NewSzstemBrowser'
self classesWithNameSimilarTo:'Moose::MSEAbstractOperator'
|
-
enterBoxForClassWithCodeSelectionTitle: title withList: listOrNil okText: okText forBrowser: aBrowserOrNil
-
convenient method: setup an enterBox with initial text taken
from the codeview's selection.
-
enterBoxTitle: title withList: aListOrNil okText: okText
-
convenient method: setup enterBox
Usage example(s):
self enterBoxTitle:'bla' withList:#('a' 'b' 'c') okText:'gaga'
|
-
extractClassAndSelectorFrom: aString into: aBlock
-
given a string which can be either 'class>>sel' or
'class sel', extract className and selector, and call aBlock with
the result.
Useful to open browser on a method as selected in some documentation.
-
extractSelectorFrom: aString
-
given an arbitrary string, try to extract a useful selector.
Useful to open browser on a selected code fragment.
Usage example(s):
self extractSelectorFrom:'at:put:'
self extractSelectorFrom:'#at:put:'
self extractSelectorFrom:'#''at:put:'''
self extractSelectorFrom:'at:something put:someValue'
self extractSelectorFrom:'self at:something put:someValue'
self extractSelectorFrom:'(self at:something put:someValue)'
self extractSelectorFrom:'[self at:something put:someValue] value'
self extractSelectorFrom:'Array ยป at:put:'
self extractSelectorFrom:'Array>>at:put:'
self extractSelectorFrom:'Array>>#at:put:'
self extractSelectorFrom:'Array>>#''at:put:'''
|
-
getClassThenPerform: aSelector
-
new Code:
Usage example(s):
SystemBrowser getClassThenPerform:#browseClass:
|
-
resourceEditorClassFor: aResource
-
resources are from a methods resource-info;
return an appropriate editor class.
-
resourceEditorClassForResources: resources
-
resources are from a methods resource-info;
return an appropriate editor class.
BrowserHistoryEntry
|