|
Class: BrowserView
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--TopView
|
+--StandardSystemView
|
+--BrowserView
- Package:
- stx:libtool
- Category:
- Interface-Browsers
- Version:
- rev:
1.959
date: 2024/04/09 12:13:21
- user: stefan
- file: BrowserView.st directory: libtool
- module: stx stc-classLibrary: libtool
This class implements all kinds of class browsers.
Typically, it is started with 'SystemBrowser open', but there are many other
startup messages, to launch special browsers.
See the categories 'startup' and 'special search startup' in the classes
protocol.
Alse, see the extra document 'doc/misc/sbrowser.doc' or the HTML online doc
for how to use the browser.
written winter 89 by claus
Notice:
Obsoleted by NewSystemBrowser, but still used for remote image browsing.
Notice:
SystemBrowser has been rewritten to be an instance of ApplicationModel
(see NewSystemBrowser).
This transition is not yet fully complete and you see
here still some support code used by that one.
A lot of action is (currently) still done here in BrowserView, although the
SystemBrowser's class methods are used to startup a browser.
(which is done to make the upcoming switch transparent)
This will certainly change ...
PS:
why did we add more and more here, instead of rewriting ?
- because nobody pays us for it ;-),
and the browser is not too bad to use, as long as you do not look into code.
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.
class history
-
addToClassHistory: aClass selector: aSelector
-
-
checkClassHistory
-
checks the class history for non-existing classes
cleanup
-
lowSpaceCleanup
-
cleanup in low-memory situations
Usage example(s):
defaults
-
changeHistoryMaxSize
-
returns maximum size of the change history
-
classHistory
-
returns the class history
-
classHistory: newCollection
-
returns the class history
-
classHistoryMaxSize
-
returns maximum size of the visited class history
-
defaultIcon
-
return the browsers default window icon
-
fileImageIcon
-
answer an icon to mark file-loading image methods
initialization
-
initialize
-
Browser configuration;
(values can be changed from your private startup file)
interface specs
-
methodFilterSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:BrowserView andSelector:#methodFilterSpec
|
-
methodMoveDialogSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:BrowserView andSelector:#methodMoveDialogSpec
|
-
repositoryLoadSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:BrowserView andSelector:#repositoryLoadSpec
|
menu specs
-
menuSpec
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:BrowserView andSelector:#menuSpec
(Menu new fromLiteralArrayEncoding:(BrowserView menuSpec)) startUp
|
startup & release
-
preSnapshot
-
flush cached resources before saving a snapshot
(do not save them in the image)
change & update
-
delayedUpdate: something with: someArgument from: changedObject
-
ignored; I am dependent of individual class update messages
-
refetchClass
-
after a class definition change in another browser,
this is sent to update (otherwise, we'd still refer to the obsolete class)
-
update: something with: someArgument from: changedObject
-
enqueue a delayed update
class category list menu
-
browserClone
-
open a new SystemBrowser showing the same method as I do
-
browserOpenInClass
-
find a class - and open a browser (by default)
-
browserSpawnExtensions
-
create a new SystemBrowser browsing all extensions
-
browserSpawnFullClass
-
create a new SystemBrowser browsing full class
-
classCategoryFileOut
-
create a file 'categoryName.st' consisting of all classes in current category
into the current projects defaultDirectory.
-
classCategoryFileOutAs
-
create a file consisting of all classes in the current category
into a file as user-specified.
-
classCategoryFileOutAsk: doAsk
-
create a file 'categoryName' consisting of all classes in current category
-
classCategoryFileOutBinaryEach
-
fileOut each class in the current category as binary bytecode.
-
classCategoryFileOutEach
-
-
classCategoryFileOutEachAsk: doAsk
-
this test allows a smalltalk to be built without Projects/ChangeSets
-
classCategoryFileOutEachIn
-
-
classCategoryFindClass
-
find a class - and switch by default
-
classCategoryFindClassOpen: doOpen
-
common code for both opening a new browser on a class and
to search for a class in this browser
-
classCategoryFindMethod
-
-
classCategoryMenu
-
('namespace...' namespaceDialog )
-
classCategoryNewCategory
-
-
classCategoryPrintOut
-
-
classCategoryPrintOutProtocol
-
-
classCategoryRemove
-
remove all classes in current category
-
classCategoryRename
-
launch an enterBox to rename current class category
-
classCategorySpawn
-
create a new SystemBrowser browsing current classCategory
-
classCategoryUpdate
-
update class category list and dependants
class category source administration
-
classCategoryCheckinEach
-
-
classCategoryLoadFromRepository
-
mini-browser into the repository, showing modules & packages.
Allows load of a containers contents
-
classCategoryRepositoryHistory
-
to do - get list of available repositories ...
-
classCategoryValidateClassRevisions
-
for all classes, ask the sourceCodeManager for the most recent version
and compare this to the actual version. Send mismatch info to the Transcript.
Use this, to find classes, which need to be reloaded from the repository.
class category stuff
-
checkClassCategorySelected
-
-
classCategorySelection: lineNr
-
user clicked on a class category line - show classes.
If switching to hierarchy or all, keep current selections
-
classCategorySelectionChanged
-
class category has changed - update dependent views
-
listOfAllClassCategories
-
return a list of all class categories
-
renameCurrentClassCategoryTo: aString
-
helper - do the rename
-
switchToAnyMethod: aSelectorString
-
find all implementors of aSelectorString, and present a list
to choose from. When an entry is selected, switch to that class/selector.
This allows for quickly moving around in the system.
-
updateClassCategoryList
-
-
updateClassCategoryListWithScroll: scroll
-
class history
-
changeHistoryMenu
-
returns a popup menu to navigate
to the last few changes
-
changeHistoryPopUpMenu
-
returns a popup menu to navigate
to the last few changes
-
classHistoryMenu
-
returns a menu to navigate to
the last visited classes
-
classHistoryPopUpMenu
-
returns a popup menu to navigate to
the last visited classes
-
emptyClassHistory
-
removes all class history entries
-
loadFromMessage: aMessageString
-
switch to the class and selector specified by aMessage,
which has the form: '<className> {class} <selector>'
Backward compatibility - should no longer be used.
-
switchBackToMessageNamed: aMessage
-
switch to the class and selector specified by aMessage,
which has the form: '<className> {class} <selector>'
class list menu
-
classClassInstVars
-
show class instance variables in codeView and setup accept-action
for a class-instvar-definition change
-
classComment
-
show the classes comment in the codeView.
Also, set accept action to change the comment.
-
classDefinition
-
show class definition in View and setup accept-action for
a class-definition change.
Extract documentation either from a documentation method or
from the comment - not a biggy, but beginners will like
it when exploring the system.
-
classDerivedInstancesInspect
-
inspect the current classes derived instances
-
classDocumentation
-
show classes documentation (i.e. open doc-View on it)
-
classDocumentationAs
-
as for a fileName & save a classes documentation html doc into it
-
classDocumentationToFile: aFilename
-
save a classes documentation html doc into a file
-
classFileOut
-
fileOut the current class.
Catch errors (sure, you like to know if it failed) and
warn if any)
-
classFileOutAs
-
fileOut the current class, asking for a filename.
-
classFileOutAsk: ask
-
fileOut the current class, possibly asking for a filename.
Catch errors (sure, you like to know if it failed) and
warn if any)
-
classFileOutBinary
-
fileOut the current class as binary bytecode.
-
classFileOutBinaryAs
-
fileOut the current class as binary bytecode; ask for a fileName.
-
classFileOutBinaryAsk: ask
-
fileOut the current class as binary bytecode.
-
classHierarchy
-
show current classes hierarchy in codeView
-
classInspect
-
inspect the current class
-
classInspectObjectsReturnedBy: aBlock ifNone: warnBlock
-
inspect the current classes derived instances
-
classInstancesInspect
-
inspect the current classes instances
-
classLoad
-
load an autoloaded class
-
classMakePrivate
-
change a class from public to private;
ask for the owners class, check if a private class with the same name exists,
before doing this.
-
classMakePublic
-
change a class from private to public;
check if a public class with the same name exists,
before doing this.
-
classMenu
-
sent by classListView to ask for the menu
-
classNewApplication
-
create a class-definition prototype for an application in codeview
-
classNewClass
-
create a class-definition prototype in codeview
-
classNewDialog
-
create a class-definition prototype for a dialog in codeview
-
classNewPrivateClass
-
create a class-definition prototype in codeview
-
classNewSubclass
-
create a subclass-definition prototype in codeview
-
classPrimitiveDefinitions
-
show the classes primitiveDefinition in the codeView.
Also, set accept action to change it.
-
classPrimitiveFunctions
-
show the classes primitiveFunctions in the codeView.
Also, set accept action to change it.
-
classPrimitiveVariables
-
show the classes primitiveVariables in the codeView.
Also, set accept action to change it.
-
classPrintOut
-
-
classPrintOutFullProtocol
-
-
classPrintOutProtocol
-
-
classPrintOutWith: aSelector
-
-
classProtocols
-
-
classRefs
-
for namespace-classes, also search for accesses without prefix
-
classRemove
-
user requested remove of current class and all subclasses -
count subclasses and let user confirm removal.
-
classRename
-
launch an enterBox for new name and query user
-
classShowFrom: getSelector set: setSelector aspect: aspectSymbol
-
common helper for comment, primitive-stuff etc.
show the string returned from the classes getSelector-method,
Set acceptaction to change it via setSelector.
-
classSpawn
-
create a new SystemBrowser browsing current class,
or if there is a selection, spawn a browser on the selected class
even a class/selector pair can be specified.
-
classSpawnFullProtocol
-
create a new browser, browsing current classes full protocol
-
classSpawnHierarchy
-
create a new HierarchyBrowser browsing current class
-
classSpawnSubclasses
-
create a new browser browsing current class's subclasses
-
classUnload
-
unload an autoloaded class
-
classUses
-
a powerful tool, when trying to learn more about where
a class is used. This one searches all uses of a class,
and shows a list of uses - try it and like it
-
doClassMenuWithSelection: aBlock
-
a helper - if there is a selection, which represents a classes name,
evaluate aBlock, passing that class and optional selector as arguments.
Otherwise, check if a class is selected and evaluate aBlock with the
current class.
-
generateClassDocumentationThenDo: aBlock
-
helper
class list source administration
-
classCheckin
-
check a class into the source repository
-
classCompareWithRepository
-
open a diff-textView comparing the current (in-image) version
with the some version found in the repository.
-
classCreateSourceContainerFor: aClass
-
let user specify the source-repository values for aClass
-
classDefineSourceContainerFor: aClass title: title text: boxText createDirectories: createDirs createContainer: createContainer
-
let user specify the source-repository values for aClass
-
classLoadNewRevision
-
let user specify a container and fileIn from there
-
classLoadRevision
-
load a specific revision into the system - especially useful to
upgrade a class to the newest revision
-
classModifyContainer
-
change the classes container in the source repository
-
classModifyPackage
-
change the classes package assignment (dangerous)
-
classRemoveContainer
-
remove a container from the source repository
-
classRemoveSourceContainerFor: aClass
-
show container & let user confirm twice.
-
classRevisionInfo
-
show current classes revision info in codeView
class stuff
-
allClasses
-
-
allClassesInCategory: aCategory
-
a private class
-
allClassesInCategory: aCategory do: aBlock
-
-
allClassesInSelectedNamespacesDo: aBlock
-
-
changeCurrentClass: newClass
-
change the current class to some other class;
keep instance protocol as it was.
This does not update any views.
-
checkClassSelected
-
warn and return false, if no class is selected
-
classClassDefinitionTemplateFor: aClass in: cat nameSpace: isNameSpace private: isPrivate
-
common helper for newClass and newSubclass
- show a template to define a subclass of aClass in category cat.
Also, set acceptaction to install the class.
-
classClassDefinitionTemplateFor: aClass in: cat namespace: isNameSpace private: isPrivate
-
common helper for newClass and newSubclass
- show a template to define a subclass of aClass in category cat.
Also, set acceptaction to install the class.
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
classDoubleClick: lineNr
-
double click on a class;
if it's unloaded, load it.
if it's an application-class, start the app
-
classListUpdate
-
-
classSelection: lineNr
-
user clicked on a class line - show method categories
-
classSelectionChanged
-
alien classes have no methodCategories; hide that list ...
-
classTemplateFor: aSuperClass in: categoryString nameSpace: isNameSpace private: isPrivate
-
return a class definition template - be smart in what is offered initially
-
classTemplateFor: aSuperClass in: categoryString namespace: isNameSpace private: isPrivate
-
return a class definition template - be smart in what is offered initially
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
doClassMenu: aBlock
-
a helper - check if class is selected and evaluate aBlock
while showing waitCursor
-
javaClassTemplateFor: aSuperClass in: categoryString private: isPrivate
-
return a java class definition template - be smart in what is offered initially
-
listOfAllClassNamesInCategory: aCategory
-
return a list of the names of all classes in a given category
-
listOfAllClassesInCategory: aCategory names: namesFlag
-
return a list of (the names) of all classes in a given category
from the currently selected set of nameSpaces.
-
listOfClassNameHierarchyOf: aClass
-
return a hierarchy class-list
-
renameCurrentClassTo: newNameString
-
helper - do the class-rename
-
switchToClassNameMatching: aMatchString
-
if the name is already a good one, avoid the expensive search
-
switchToClassNamed: aString
-
classCategoryListView makeSelectionVisible.
-
updateClassList
-
-
updateClassListWithScroll: scroll
-
refetch in case we are not up to date
class-method list menu
-
classMethodBrowse
-
only the old browser supports this (for now)
-
classMethodFileOutAll
-
fileout all methods into one source file
-
classMethodMenu
-
class-method stuff
-
classFromClassMethodString: aString
-
helper for classMethod-list - extract class name from the string
-
classMethodFilter
-
filter - that is: open another method-list browser on all those methods
which pass some filter.
-
classMethodSelection: lineNr
-
user clicked on a class/method line - show code
-
classNameFromClassMethodString: aString
-
helper for classMethod-list - extract the class name from the string
-
selectorFromClassMethodString: aString
-
helper for classMethod-list - extract selector from the string
a kludge: the string comes from the selected list entry;
the list should not hold strings, but structured objects instead.
-
updateClassMethodListWithScroll: scroll keepSelection: keep
-
update the list, caring for traps.
event handling
-
handlesKeyPress: key inView: view
-
this method is reached via delegation: are we prepared to handle
a keyPress in some other view ?
-
keyPress: key x: x y: y view: view
-
this method is reached via delegation from the classCategoryListView
help
-
helpTextFor: aComponent
-
(comment from inherited method)
this will vanish - it's temporarily here to allow for stdSysViews to be
used as a masterApp for dialogs
initialization & release
-
autoSearch: aString
-
used with class-method list browsing. If true,
selecting an entry from the list will automatically
search for the searchstring in the codeView
-
autoSearch: aString ignoreCase: ign
-
used with class-method list browsing. If true,
selecting an entry from the list will automatically
search for the searchstring in the codeView
-
autoSearchVariable: aVariable
-
-
autoSearchVariables: aCollectionOfVariables
-
-
autoSearchVariables: aCollectionOfVariables readers: doReaders writers: doWriters
-
-
closeRequest
-
let user confirm, if codeView was modified and not saved
-
closeRequestFor: aDialog
-
let user confirm, if codeView was modified and not saved
-
destroy
-
release dependant - destroy popups
-
initialize
-
inform me, when Smalltalk changes
-
postRealize
-
tell classCategoryListView to ask for the menu
-
title: someString
-
initialize subviews
-
createClassListViewIn: frame
-
setup the classlist subview, a variableList view and the class/inst toggles
-
createCodeViewIn: aView
-
setup the code view
-
createCodeViewIn: aView atY: relY
-
setup the code view
-
createMethodListViewIn: aView atX: relX
-
setup the method list view
-
createTogglesIn: aFrame
-
create and setup the class/instance toggles
-
pullDownMenu
-
return the top (pullDown) menu
-
setupForAll
-
create subviews for a full browser
-
setupForClass: aClass
-
create subviews for browsing a single class
-
setupForClass: aClass methodCategory: aMethodCategory
-
setup subviews to browse a method category
-
setupForClass: aClass selector: selector
-
setup subviews to browse a single method
-
setupForClassCategory: aClassCategory
-
setup subviews to browse a class category
-
setupForClassHierarchy: aClass
-
setup subviews to browse a class hierarchy
-
setupForClassList: aList
-
setup subviews to browse classes from a list
-
setupForClassList: aList sort: doSort
-
setup subviews to browse classes from a list
-
setupForFullClass
-
setup subviews to browse a class as full text
-
setupForFullClassProtocol: aClass
-
setup subviews to browse a classes full protocol
-
setupForList: aList
-
setup subviews to browse methods from a list
method category list menu
-
createAccessMethodsFor: aCollectionOfInstVarNames withChange: withChange
-
workhorse for creating access methods for instvars.
If aBoolean is true, the generated method will send out change notifications
-
methodCategoryCopyCategory
-
show the enter box to copy from an existing method category
-
methodCategoryCreateAccessMethods
-
create access methods for instvars.
If no variable is selected, for all instvars;
otherwise for that selected instvar.
-
methodCategoryCreateAccessMethodsWithChange
-
create access methods for instvars.
If no variable is selected, for all instvars;
otherwise for that selected instvar.
-
methodCategoryCreateAccessMethodsWithChange: aBoolean
-
create access methods for instvars.
If no variable is selected, for all instvars;
otherwise for that selected instvar.
If aBoolean is true, the generated method will send out change notifications
-
methodCategoryCreateApplicationMethods
-
create an empty application framework
-
methodCategoryCreateDocumentationMethods
-
create empty documentation methods
-
methodCategoryCreateUpdateMethod
-
create an update:with:from: method
(I'm tired of typing)
-
methodCategoryFileOut
-
fileOut all methods in the selected methodcategory of
the current class
-
methodCategoryFileOutAll
-
fileOut all methods in the selected methodcategory of
the current class
-
methodCategoryMenu
-
((currentClass class implements:#windowSpec)
-
methodCategoryNewCategory
-
show the enter box to add a new method category.
Offer existing superclass categories in box to help avoiding
useless typing.
-
methodCategoryPrintOut
-
-
methodCategoryRemove
-
show number of methods to remove and query user
-
methodCategoryRename
-
launch an enterBox to rename current method category
-
methodCategorySpawn
-
create a new SystemBrowser browsing current method category
-
methodCategorySpawnCategory
-
create a new SystemBrowser browsing all methods from all
classes with same category as current method category
method category stuff
-
asBrowserList: aList
-
add *all* entry
-
checkMethodCategorySelected
-
-
copyMethodsFromClass: aClassName
-
show enterbox for category to copy from
-
copyMethodsFromClass: class category: category
-
-
listOfAllMethodCategoriesInClass: aClass
-
answer a list of all method categories of the argument, aClass
-
listOfAllMethodCategoriesInFullProtocolHierarchy: aClass
-
answer a list of all method categories of the argument, aClass,
and all of its superclasses.
Used with fullProtocol browsing.
-
methodCategorySelection: lineNr
-
user clicked on a method category line - show selectors
-
methodCategorySelectionChanged
-
method category selection has changed - update dependent views
-
newMethodCategory: aString
-
-
switchToMethodCategory: aCategory
-
if there is only one method, show it right away
-
updateMethodCategoryList
-
-
updateMethodCategoryListWithScroll: scroll
-
-
whenMethodCategorySelected: aBlock
-
method list menu
-
commonTraceHelperWith: aSelector
-
install a break/trace or countPoint for the current method
-
commonTraceHelperWith: aSelector with: argument
-
install a break/trace or countPoint for the current method
-
methodAproposSearch
-
launch an enterBox for a keyword search
-
methodBreakPoint
-
set a breakpoint on the current method
-
methodBreakPointInProcess
-
set a breakpoint on the current method, which only triggers if
executed by some particular process.
-
methodChangeCategory
-
move the current method into another category -
nothing done here, but a query for the new category.
Remember the last category, to allow faster category change of a group of methods.
-
methodCompareSource
-
compare with some other methods source
-
methodCompareSourceAgainstCurrent
-
compare with some other methods source
-
methodCompareWithPreviousVersion
-
compare with previous version
-
methodCopy
-
copy the current method into another class; typically a brother-sister class
-
methodDecompile
-
decompile the current methods bytecodes.
The Decompiler is delivered as an extra, and not normally
available with the system.
-
methodFileOut
-
file out the current method
-
methodFindAnyMethod
-
-
methodFindMethod
-
-
methodFlushCode
-
currentMethod checked:false; code:nil.
-
methodFormatMethod: oldText
-
prettyPrint the method (but do not accept it);
uses the RefactoryBrowsers formatter
-
methodGlobalReferends
-
launch an enterBox for global symbol to search for
-
methodImplementors
-
launch an enterBox for selector to search for
-
methodInheritance
-
launch a browser showing inherited (and overwritten) methods
-
methodInspect
-
inspect the current method
-
methodInvoke
-
invoke the current method
-
methodLocalSuperSends
-
launch a browser showing super sends in current class & subclasses
-
methodMakeIgnored
-
make the current method be invisible.
EXPERIMENTAL
-
methodMakePrivate
-
make the current method private.
EXPERIMENTAL
-
methodMakeProtected
-
make the current method protected.
EXPERIMENTAL
-
methodMakePublic
-
make the current method public.
EXPERIMENTAL
-
methodMenu
-
return a popupmenu as appropriate for the methodList
-
methodModifyPackage
-
change the method's package assignment
-
methodMove
-
move the current method into another class; typically a superclass
-
methodNewImageSpec
-
open a BitmapEditor
-
methodNewMenuSpec
-
open a MenuEditor
-
methodNewMethod
-
prepare for definition of a new method - put a template into
code view and define accept-action to compile it
-
methodNewWindowSpec
-
open GUI Painter
-
methodPreviousVersion
-
switch back to the previous version
(undo last change)
-
methodPrintOut
-
print out the current method
-
methodPrivacy: how
-
change the current methods privacy
-
methodRemove
-
remove the current method
-
methodRemoveBreakOrTrace
-
turn off tracing of the current method
-
methodRemoveConfirmed
-
confirm and remove the current method
-
methodResetCounting
-
reset the counting statstics for the current method
-
methodResetMemoryUsage
-
reset the memory statstics for the current method
-
methodResetTiming
-
reset the timing statstics for the current method
-
methodSTCCompile
-
compile the current method to machine code via the stc compiler.
This is not supported on all machines.
-
methodSenders
-
launch an enterBox for selector to search for
-
methodSpawn
-
create a new SystemBrowser browsing current method,
or if the current selection is of the form 'class>>selector',
spawn a browser on that method.
-
methodStartCounting
-
set a countpoint on the current method
-
methodStartMemoryUsage
-
set a countpoint for memory usage on the current method
-
methodStartTiming
-
set a timing on the current method
-
methodStopCounting
-
show the number of invocations & remove a countpoint on the current method
-
methodStopMemoryUsage
-
stop counting of memory usage for this method
-
methodStopTiming
-
stop timing the current method
-
methodStringSearch
-
launch an enterBox for string to search for
-
methodTrace
-
turn on tracing of the current method
-
methodTraceFull
-
turn on tracing of the current method
-
methodTraceSender
-
turn on tracing of the current method
method stuff
-
checkMethodSelected
-
-
listEntryForMethod: aMethod selector: selector
-
answer a method list entry
(gimmic: adding a little image to breakPointed methods)
-
listOfAllMethodsInCategory: aCategory inFullProtocolHierarchyOfClass: aClass
-
answer a list of all methods in a given method category
of the argument, aClass and its superclasses.
Used with fullProtocol browsing.
-
listOfAllMethodsInCategory: aCategory ofClass: aClass
-
answer a list of all methods in a given method category
of the argument, aClass
-
listOfAllSelectorsInCategory: aCategory inFullProtocolHierarchyOfClass: aClass
-
answer a list of all selectors in a given method category
of the argument, aClass and its superclasses.
Used with fullProtocol browsing.
-
listOfAllSelectorsInCategory: aCategory ofClass: aClass
-
answer a list of all selectors in a given method category
of the argument, aClass
-
methodDoubleClick: lineNr
-
-
methodSelection: lineNr
-
user clicked on a method line - show code
-
methodSelectionChanged
-
method selection has changed - update dependent views
-
methodTemplate
-
return a method definition template string
-
resourceIconForMethod: aMethod
-
-
switchToAnyMethodNamed: matchString
-
switch (in the current classes hierarchy) to a method named matchString.
If there are more than one matches, switch to the first.
-
switchToMethod: aString
-
user clicked on a method line - show code
-
switchToMethodNamed: matchString
-
switch (in the current class) to a method named matchString.
If there are more than one matches, switch to the first.
-
updateMethodList
-
-
updateMethodListWithScroll: scroll
-
-
updateMethodListWithScroll: scroll keepSelection: keep
-
misc
-
beep
-
output an audible beep or bell on my screen device
-
codeChanged
-
-
compressedCodeLinesFor: someCode
-
-
instanceProtocol: aBoolean
-
switch between instance and class protocol
-
openAboutThisApplication
-
opens an about box for this application.
-
openBrowserDocumentation
-
-
openKeywordIndexDocumentation
-
-
processName
-
return a string to be shown for my process in the
process monitor. This has no semantic meaning, but exists
for your convenience only.
-
showActivity: someMessage
-
some activityNotification to be forwarded to the user;
show it in the windows title area here.
-
updateCodeView
-
(sourceLineNumber isNil
namespace menu
-
nameSpaceCheckInEach
-
ignore private classes
-
nameSpaceMenu
-
showAllNamespaces ifTrue:[
-
nameSpaceNewNameSpace
-
create a namespace-definition prototype in codeview
-
nameSpaceRemove
-
remove that nameSpace - but only if it's empty
-
nameSpaceRemoveAllClasses
-
remove all classes in that nameSpace - but only after confirmation
namespace stuff
-
changeNameSpaceTo: nsName
-
-
displayedClassNameOf: aClass
-
depending on the current nameSpace, either show a classes
fullname or its name without the namespace prefix (if it's in the current)
-
listOfAllNamespaces
-
return a list of all namespaces
-
listOfNamespaces
-
return a list of considered namespaces
-
setListOfNamespaces
-
-
showAllNamespaces
-
toggle to show all namespaces
-
showTopLevelNamespaces
-
toggle to show topLevel namespaces only
-
updateNamespaceList
-
private
-
askAndBrowseMethodCategory: title action: aBlock
-
convenient helper method: setup enterBox with initial being current method category
-
askForMethodCategory
-
convenient helper method: setup a box asking for a method category
-
askForSearchSelectorTitle: title openWith: aSelector
-
convenient helper method: setup enterBox with text from codeView or selected
method for browsing based on a selector. Set action and launch box
-
askForSearchTitle: title openWith: aSelector isSelector: isSelector
-
convenient helper method: setup enterBox with text from codeView or selected
method for browsing based on a selector. Set action and launch box
-
askForSearchTitle: title openWith: aSelector isSelector: isSelector searchArea: whereDefault
-
convenient helper method: setup enterBox with text from codeView or selected
method for browsing based on a selector. Set action and launch box.
SearchArea may be one of #everywhere, #classCategory, #class, #classWithPrivateClasses,
#classHierarchy or #classHierarchyWithPrivateClasses
-
askForSearchTitle: title openWith: aSelector isSelector: isSelector searchArea: whereDefault withCaseIgnore: withCaseIgnore
-
OBSOLETE: NewSystemBrowser has a better dialog for that.
convenient helper method: setup enterBox with text from codeView or selected
method for browsing based on a selector. Set action and launch box.
SearchArea may be one of
#everywhere,
#currentNameSpace
#currentClassesNameSpace
#classCategory,
#class,
#classWithPrivateClasses,
#classHierarchy or
#classHierarchyWithPrivateClasses
-
busyLabel: what with: someArgument
-
set the title for some warning
-
checkAcceptedMethod: mthdHere inClass: actualClass
-
method was accepted - do some standard checks
-
checkSelectionChangeAllowed
-
return true, if selection change is ok;
its not ok, if code has been changed.
in this case, return the result of a user query
-
checkSelectionChangeAllowedWithCompare: compareOffered
-
return true, if selection change is ok;
its not ok, if code has been changed.
in this case, return the result of a user query
-
classHierarchyOf: aClass level: level do: aBlock using: subclassDictionary removeFrom: remainSet
-
evaluate the 2-arg block for every subclass of aClass,
passing class and nesting level to the block.
-
classHierarchyOf: topClass withAutoloaded: withAutoloaded do: aBlock
-
evaluate the 2-arg block for every class,
starting at Object; passing class and nesting level to the block.
-
classesInFullProtocolHierarchy: aClass do: aBlock
-
evaluate aBlock for all non-striked out classes in
the hierarchy
-
classesInHierarchy: aClass do: aBlock
-
-
clearAcceptAction
-
tell the codeView that there is nothing to accept
-
clearExplainAction
-
tell the codeView that there is nothing to explain
-
compileCode: someCode
-
-
currentMethodsPreviousVersionCode
-
-
enterBoxForCodeSelectionTitle: title okText: okText
-
convenient method: setup enterBox with text from codeview
-
enterBoxForCodeSelectionTitle: title withList: listOrNil okText: okText
-
convenient method: setup enterBox with text from codeview
-
enterBoxForSearchSelectorTitle: title
-
convenient method: setup enterBox with text from codeView or selected
method for browsing based on a selector
-
enterBoxTitle: title okText: okText
-
convenient method: setup enterBox
-
enterBoxTitle: title okText: okText label: label
-
convenient method: setup enterBox
-
enterBoxTitle: title okText: okText label: label list: aList
-
convenient method: setup enterBox
-
enterBoxTitle: title withList: aListOrNil okText: okText
-
convenient method: setup enterBox
-
environment
-
allows me to browse something different from Smalltalk (a SnapShotImage for example)
-
environment: anEnvironment
-
allows me to browse something different from Smalltalk (a SnapShotImage for example)
-
extractClassAndSelectorFromSelectionInto: aBlock
-
given a string which can be either
'class>>sel', 'class » sel' or 'class sel',
extract className and selector,
and call aBlock with the result.
-
findClassNamed: aClassName
-
search through namespaces for aClassName.
-
findClassNamedInNameSpace: aClassName
-
search through current namespaces for aClassName.
Return the class or nil, if not found.
-
findClassOfVariable: aVariableName accessWith: aSelector
-
this method returns the class, in which a variable
is defined;
needs either #instVarNames or #classVarNames as aSelector.
-
hideMethodCategoryList
-
-
listBoxForCodeSelectionTitle: title okText: okText
-
convenient method: setup listBox with text from codeview
-
listBoxTitle: title okText: okText list: aList
-
convenient method: setup a listBox & return it
-
normalLabel
-
set the normal (inactive) window- and icon labels
-
refetchMethod
-
-
releaseClass
-
-
releaseMethod
-
-
selectorToSearchFor
-
look in codeView and methodListView for a search-string when searching for selectors
-
setAcceptActionForClass
-
tell the codeView what to do on accept and explain
-
setAcceptActionForClassInstVars
-
tell the codeView what to do on accept
-
setAcceptActionForFullClass
-
tell the codeView what to do on accept
-
setAcceptActionForJavaClass
-
tell the codeView what to do on accept and explain
-
setAcceptActionForNewClass
-
tell the codeView what to do on accept and explain
-
setAcceptActionForNewJavaClass
-
tell the codeView what to do on accept and explain
-
setAcceptAndExplainActionsForMethod
-
tell the codeView what to do on accept and explain
-
setDoitActionForClass
-
tell the codeView what to do on doIt
-
setSearchPattern: aString
-
-
showExplanation: someText
-
show explanation from Parser
-
showMethodCategoryList
-
-
stringToSearchFor
-
look in codeView and methodListView for a search-string when searching for classes/names
-
warnLabel: what
-
set the title for some warning
-
warnObsoleteCode: whatHappened
-
invoked, when someone else has changed what I am showing
currently. Change my window label and show the text in red.
-
withSearchCursorDo: aBlock
-
-
withWaitCursorDo: aBlock
-
(comment from inherited method)
evaluate aBlock while showing a waitCursor in all my views.
Return the value as returned by aBlock.
private-defaults
-
breakPointedIcon
-
answer an icon to mark breakPointed methods
-
canvasIcon
-
answer an icon to mark canvas (windowSpec) methods
-
fetchIcon: name selector: fetchSelector
-
answer an icon
-
fileImageIcon
-
answer an icon to mark fileImage methods
-
globalClassIdentifierEmphasisAndColor
-
-
helpIcon
-
answer an icon to mark help spec methods
-
hierarchicalListIcon
-
answer an icon to mark hierarchicalList spec methods
-
imageIcon
-
answer an icon to mark image spec methods
-
menuIcon
-
answer an icon to mark menu spec methods
-
programImageIcon
-
answer an icon to mark program-image spec methods
-
programMenuIcon
-
answer an icon to mark menu spec methods
-
stopIcon
-
answer an icon to mark breakPointed methods
-
tabListIcon
-
answer an icon to mark tabList spec methods
-
tableColumnsIcon
-
answer an icon to mark tableColumns spec methods
-
timeIcon
-
answer an icon to mark timed methods
-
traceIcon
-
answer an icon to mark traced methods
private-queries
-
hasClassCategorySelected
-
-
hasClassCategorySelectedAndIsNotSimulatedEnvironment
-
-
hasClassCategorySelectedHolder
-
-
hasClassSelected
-
-
hasClassSelectedAndIsNotSimulatedEnvironment
-
-
hasClassSelectedHolder
-
-
hasLoadedClassSelected
-
-
hasLoadedClassSelectedAndIsNotSimulatedEnvironment
-
-
hasMethodCategorySelected
-
-
hasMethodCategorySelectedAndIsNotSimulatedEnvironment
-
-
hasMethodSelected
-
-
hasMethodSelectedAndIsNotReadOnlyEnvironment
-
-
hasMethodSelectedAndIsNotSimulatedEnvironment
-
-
hasSourceCodeManager
-
-
hasUnwrappedMethodSelected
-
-
hasWrappedMethodSelected
-
-
isNotSimulatedEnvironment
-
-
isReadOnlyEnvironment
-
-
isSimulatedEnvironment
-
-
selectedMethodIsBreakpointed
-
-
selectedMethodIsNotWrapped
-
-
selectedMethodIsTraced
-
-
showingClass
-
-
showingClassAndHasMethodCategorySelectedAndIsApplicationSubclass
-
-
showingClassAndIsApplicationSubclass
-
-
showingClassAndIsDialogSubclass
-
-
showingInstance
-
-
showingInstanceAndHasVariableSelected
-
syntax coloring
-
startSyntaxHighlightProcess
-
start a background process, which does the syntax coloring.
When it finishes, it pushes a user event to install the new
text.
(This is done as a event to synchronize the coloring with modifications
done to the text - the colored text will discarded, if there were
any modifications in the meanwhile)
-
stopSyntaxHighlightProcess
-
stop any background process, which does the syntax coloring.
-
syntaxHighlightedCode: newCode
-
the background highlighter has generated new colored text,
with highlighted syntax.
If there have been no modifications in the meantime, install it.
unused
-
listOfAllMethodCategoriesInHierarchy: aClass
-
answer a list of all method categories of the argument, aClass,
and all of its superclasses
-
listOfAllSelectorsInCategory: aCategory inHierarchyOfClass: aClass
-
answer a list of all selectors in a given method category
of the argument, aClass and its superclasses
variable list menu
-
allClassInstVarMods
-
show an enterbox for classVar to search for
-
allClassInstVarRefs
-
show an enterbox for classVar to search for
-
allClassVarMods
-
show an enterbox for classVar to search for
-
allClassVarRefs
-
show an enterbox for classVar to search for
-
allInstVarMods
-
show an enterbox for instVar to search for
-
allInstVarRefs
-
show an enterbox for instVar to search for
-
allVarRefsTitle: title access: access mods: modifications
-
show an enterbox for instVar to search for
-
classInstVarMods
-
show an enterbox for classVar to search for
-
classInstVarRefs
-
show an enterbox for classVar to search for
-
classVarMods
-
show an enterbox for classVar to search for
-
classVarRefs
-
show an enterbox for classVar to search for
-
enterBoxForVariableSearch: title
-
-
instVarMods
-
show an enterbox for instVar to search for
-
instVarRefs
-
show an enterbox for instVar to search for
-
showClassInstVars
-
-
showClassVars
-
-
varInspect
-
open an inspector on the value of a classVar / classInstVar
-
varRefsOrModsTitle: title access: accessor mods: mods
-
show an enterbox for instvar to search for
-
varTypeInfo
-
show typical usage of a variable
-
variableListMenu
-
showInstance and:[
-
variableSelection: lineNr
-
variable selection changed
variable stuff
-
hilightEntryFor: entry
-
helper; given a list item, highlight it
-
hilightMethodsInMethodCategoryList
-
search for methods which access the selected
variable, and highlight them
-
hilightMethodsInMethodCategoryList: inCat inMethodList: inMethods
-
search for methods which access the selected
variable, and highlight them
-
hilightMethodsInMethodList
-
search for methods which access the selected
variable, and highlight them
-
unhilightEntryFor: entry
-
helper; given a list itme, unhighlight it
-
unhilightMethodCategories
-
unhighlight items in method list
-
unhilightMethods
-
unhighlight items in method list
-
updateVariableList
-
update the variable list - either show instVars, classVars or classInstVars
|