OB-Standard

OBAllMethodCategoryNode
OBAllMethodCategory implements the synthetic '-- all --' category, which contains all the methods in a class.
browserEnvironment
Answer a refactoring browser environemnt of the receiving node.
category
methodReferences
on:
OBAnnotationPanel
An OBAnnotationPanel is xxxxxxxxx.
Instance Variables
text: <Object>
text
- xxxxx
accept:notifying:
buildOn:
environment
selection
selectionChanged:
subscribe
text
vResizing
OBAnnotationRequest
An OBAnnotationRequest is xxxxxxxxx.
Instance Variables
class: <Object>
selector: <Object>
separator: <Object>
class
- xxxxx
selector
- xxxxx
separator
- xxxxx
allChangeSets
annotationRequests
documentation
firstComment
getAnnotations
implementorsCount
masterComment
messageCategory
method
onClass:selector:
priorTimeStamp
priorVersionsCount
recentChangeSet
sendersCount
separator:
timeStamp
OBCategoryCommand
An OBCategoryCommand is xxxxxxxxx.
Instance Variables
group
isActive
OBClassAwareNode
OBClassAware node models program elements that are part of a class. It provides methods for manipulating the class, as well as methods relating to sorting according to class hierarchy.
iVars
theClass - the class that this node is part of
superior - during hierarchical sorting this refers to the nearest superclass
that belongs to the group being sorted
allCategories
Return all categories of theClass and its superclasses.
browse
browseHierarchy
browserEnvironment
Answer a refactoring browser environemnt of the receiving node.
classNode
containingPackage
Answer the PackageInfo instance that contains the receiver, or nil if no such package exists.
hasTestSuite
isDescendantOfClass:
isDescendantOfClassCat:
optimized version: sending #category to the class is slow
on:
sortHierarchicallyOptimized:
testSuite
theClass
theClass:
theClassName
theMetaClass
theNonMetaClass
theNonMetaClassName
title
withinBrowserEnvironment:
OBClassCategoryNode
OBClassCategory represents a system category in the image's SystemOrganization.
ancestrySelector
browse
browserEnvironment
Answer a refactoring browser environemnt of the receiving node.
classNames
classes
comments
container
containingPackage
Answer the PackageInfo instance that contains the receiver, or nil if no such package exists.
definition
dropSelector
Override in subclasses
fileOut
hasTestSuite
isCategory
isCategoryNode
isClassCategoryNode
isDescendantOfClassCat:
isRedefinedBy:
No class is selected, so the definition can't be a redefinition.
metaclasses
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
on:
on:inEnvironment:
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
remove
renameTo:
If the receiver has an inherent idea about its own name, it should take action here. Any object that might be pointed to in the References dictionary might get this message sent to it upon reload
setName:
setName:environment:
shouldBeStyledBy:
testSuite
text
withinBrowserEnvironment:
OBClassCommentDefinition
An OBClassCommentDefinition is xxxxxxxxx.
Instance Variables
theClass: <Object>
theClass
- xxxxx
on:
selectedClass
setClass:
text
text:
OBClassCommentNode
OBClassCommentNode represents the comment attached to a particular class.
=
Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.
definedWithinBrowserEnvironment:
definition
isClassCommentNode
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
on:
setClass:
OBClassDefinition
OBClassDefinition presents a textual interface for examining, modifying and creating classes. Given a class, it knows how to display the definition expression that reflects it's current state, and knows how to create or modify a class given a definition expression.
OBClassDefinition implements a number of safety checks when defining or redefining classes, to ensure that existing classes are not accidentally overwritten.
accept:notifying:
confirmDefinition:
Check to make sure the user isn't accidentally over-writing an existing class.
confirmRedefinition:
defineClass:notifying:
definedClassExists:
environment:template:
evaluatorForDefinition:
isRedefinition:
nameOfClassDefinedBy:
selectedClass
setEnvironment:template:
signalSelectionOf:
text
OBClassIconFilter
An OBClassIconFilter is xxxxxxxxx.
Instance Variables
clickIconColumn:forNode:
icon:forNode:
OBClassNode
OBClassNode wraps a class for display in various types of code browsers. It provides many navigation methods for the different types of browsers where classes may appear. The instance-variable theClass is always a non-metaclass.
=
Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.
allCategory
ancestrySelector
categories
categoryNodeNamed:
classCategory
classCategoryNode
classHierarchy
classVariables
commentHierarchy
definedWithinBrowserEnvironment:
definition
dropOnClassCategory:
dropSelector
Override in subclasses
fileOut
hasOrganization
hash
Answer a SmallInteger whose value is related to the receiver's identity.
May be overridden, and should be overridden in any classes that define =
instanceVariables
isClassNode
isDescendantOfMethodCat:
metaclassHierarchy
methods
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
nodeHierarchyWithClass:
on:
organization
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
setClass:
shouldBeStyledBy:
surroundingHierarchy
users
OBClassRefNode
Each instance of OBClassRefNode refers to a reference to a particular class from the source code of a method. It's used in the OBListBrowser created by the 'browse references' class action.
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
on:inMethod:
selection
setClassName:reference:
OBClassRefSearchNode
An OBClassRefSearchNode is xxxxxxxxx.
Instance Variables
classSatisfiesQuery:
classes
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
OBClassReference
OBClassReference provides a way to refer to classes that may or may not be loaded into the image. It refers to the class indirectly, via name, rather than with a direct pointer to the class object. It also provides a number of convenience methods, which makes it more convenient than using the class name directly.
<=
=
Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.
beMeta
beNonMeta
hash
Answer a SmallInteger whose value is related to the receiver's identity.
May be overridden, and should be overridden in any classes that define =
isMeta
metaNamed:
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
named:
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
referenceToMethod:
setName:
theClass
theNonMetaClass
theNonMetaName
theNonMetaName:
to:
OBClassSearchNode
An OBClassSearchNode is xxxxxxxxx.
Instance Variables
classSatisfiesQuery:
classes
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
OBClassSortFilter
An OBClassSortFilter is xxxxxxxxx.
Instance Variables
indents: <Object>
order: <Object>
indents
- xxxxx
order
- xxxxx
buildIndentIndex
collectSortedNodes
displayString:forParent:child:
initializeResults
nodesFrom:forNode:
Sort nodes according to their position in the class hierarchy
OBClassVariableNode
OBClassVariable provides a method for finding methods which refer to a shared variable, ie, by searching for an association in the literal frame rather than for bytecodes refering to an instance variable.
accessors
browserEnvironment
Answer a refactoring browser environemnt of the receiving node.
withinBrowserEnvironment:
OBCmdAutoCategorize
An OBCmdAutoCategorize is xxxxxxxxx.
Instance Variables
execute
Categorize methods by looking in parent classes for a method category.
group
isActive
label
OBCmdBrowse
An OBCmdBrowse is xxxxxxxxx.
Instance Variables
execute
group
isActive
keystroke
label
longDescription
Override this and return a string or a text for the fly-by-help (tooltip)
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdBrowseHierarchy
An OBCmdBrowseHierarchy is xxxxxxxxx.
Instance Variables
buttonLabel
execute
group
isActive
keystroke
label
longDescription
Override this and return a string or a text for the fly-by-help (tooltip)
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdBrowseHierarchyImplementors
An OBCmdBrowseHierarchyImplementors is xxxxxxxxx.
Instance Variables
announcementClass
isActive
label
OBCmdBrowseHierarchySenders
An OBCmdBrowseHierarchySenders is xxxxxxxxx.
Instance Variables
announcementClass
label
OBCmdBrowseImplementors
An OBCmdBrowseImplementors is xxxxxxxxx.
Instance Variables
announcementClass
keystroke
label
longDescription
Override this and return a string or a text for the fly-by-help (tooltip)
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdBrowseImplementorsOfIt
An OBCmdBrowseImplementorsOfIt is xxxxxxxxx.
Instance Variables
execute
isActive
isEnabled
keystroke
label
takesNodes
takesText
OBCmdBrowseInheritance
An OBCmdBrowseInheritance is xxxxxxxxx.
Instance Variables
execute
group
isActive
label
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdBrowseList
An OBCmdBrowseList is xxxxxxxxx.
Instance Variables
announcementClass
execute
group
isActive
OBCmdBrowseMethodVersions
An OBCmdBrowseMethodVersions is xxxxxxxxx.
Instance Variables
execute
group
isActive
keystroke
label
longDescription
Override this and return a string or a text for the fly-by-help (tooltip)
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdBrowseMethodsWithIt
An OBCmdBrowseMethodsWithIt is xxxxxxxxx.
Instance Variables
execute
isActive
keystroke
label
takesNodes
takesText
OBCmdBrowseProtocol
An OBCmdBrowseProtocol is xxxxxxxxx.
Instance Variables
execute
group
isActive
keystroke
label
OBCmdBrowseReferences
An OBCmdBrowseReferences is xxxxxxxxx.
Instance Variables
execute
group
isActive
keystroke
label
OBCmdBrowseSenders
An OBCmdBrowseSenders is xxxxxxxxx.
Instance Variables
announcementClass
keystroke
label
longDescription
Override this and return a string or a text for the fly-by-help (tooltip)
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdBrowseSendersOfIt
An OBCmdBrowseSendersOfIt is xxxxxxxxx.
Instance Variables
execute
isActive
isEnabled
keystroke
label
takesNodes
takesText
OBCmdChaseVariables
An OBCmdChaseVariables is xxxxxxxxx.
Instance Variables
buttonLabel
execute
group
isActive
label
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdClassTemplate
An OBCmdClassTemplate is xxxxxxxxx.
Instance Variables
currentCategory
currentClass
currentEnvironment
execute
isActive
templateDefinition
OBCmdCompareToCurrent
An OBCmdCompareToCurrent is xxxxxxxxx.
Instance Variables
buttonLabel
execute
isActive
keystroke
label
longDescription
Override this and return a string or a text for the fly-by-help (tooltip)
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdCopyClass
An OBCmdCopyClass is xxxxxxxxx.
Instance Variables
copyClass:as:
execute
group
isActive
label
OBCmdCreateCategory
An OBCmdCreateCategory is xxxxxxxxx.
Instance Variables
categoryTemplateFor:
execute
icon
label
requestCategoryToUser
OBCmdCreateClassCategory
An OBCmdCreateClassCategory is xxxxxxxxx.
Instance Variables
isActive
OBCmdCreateMethodCategory
An OBCmdCreateMethodCategory is xxxxxxxxx.
Instance Variables
getCategories:reject:lines:
isActive
requestCategoryToUser
Present a choice of categories or prompt for a new category name.
OBCmdFileOut
An OBCmdFileOut is xxxxxxxxx.
Instance Variables
execute
isActive
keystroke
label
OBCmdFindClass
An OBCmdFindClass is xxxxxxxxx.
Instance Variables
allBehaviorsIn:
candidateClassesIn:pattern:
findClassIn:pattern:
keystroke
label
requestClassToUser
Ask the user for the class he wants to visit. Returns a class or nil.
selectorBlockFor:
userSelectionOf:for:
OBCmdFindMethod
An OBCmdFindMethod is xxxxxxxxx.
Instance Variables
chooseSelector
execute
icon
isActive
label
OBCmdLimitProtocol
An OBCmdLimitProtocol is xxxxxxxxx.
Instance Variables
execute
isActive
isLimitClass:
label
limitClass
limitClass:
menuLabelForClass:
menuString
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdMoveToPackage
An OBCmdMoveToPackage is xxxxxxxxx.
Instance Variables
execute
isActive
keystroke
label
requestPackageToUser
OBCmdMultiView
An OBCmdMultiView is xxxxxxxxx.
Instance Variables
compiledMethod
execute
isActive
label
longDescription
Override this and return a string or a text for the fly-by-help (tooltip)
setTextInDefinitionPanel:
toggleBytecode
toggleDecompile
togglePrettyPrint
toggleSource
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdNewClassTemplate
An OBCmdNewClassTemplate is xxxxxxxxx.
Instance Variables
execute
label
templateDefinition
OBCmdRemoveCat
An OBCmdRemoveCat is xxxxxxxxx.
Instance Variables
execute
group
icon
isActive
keystroke
label
OBCmdRemoveClass
An OBCmdRemoveClass is xxxxxxxxx.
Instance Variables
execute
group
icon
isActive
keystroke
label
OBCmdRemoveElement
An OBCmdRemoveElement is xxxxxxxxx.
Instance Variables
execute
isActive
label
OBCmdRemoveEmptyCats
An OBCmdRemoveEmptyCats is xxxxxxxxx.
Instance Variables
execute
label
OBCmdRemoveMethod
An OBCmdRemoveMethod is xxxxxxxxx.
Instance Variables
browseSenders
doRemove
execute
icon
isActive
keystroke
label
removeAndBrowse
OBCmdRenameCat
An OBCmdRenameCat is xxxxxxxxx.
Instance Variables
execute
group
isActive
label
OBCmdRenameClass
An OBCmdRenameClass is xxxxxxxxx.
Instance Variables
browseObsoleteRefs:as:
execute
group
isActive
label
OBCmdReorgCats
An OBCmdReorgCats is xxxxxxxxx.
Instance Variables
execute
label
OBCmdResetSearch
An OBCmdResetSearch is xxxxxxxxx.
Instance Variables
execute
OBSearchBrowser reset. self halt.
isActive
label
OBCmdRevertMethod
An OBCmdRevertMethod is xxxxxxxxx.
Instance Variables
buttonLabel
execute
isActive
keystroke
label
longDescription
Override this and return a string or a text for the fly-by-help (tooltip)
wantsButton
Put this here for compatibility. Eventually this will be obsolete
OBCmdSearchingClasses
An OBCmdSearchingClasses is xxxxxxxxx.
Instance Variables
execute
group
icon
isActive
requestClassToUser
Ask the user for the class he wants to visit. Returns a class or nil.
OBCmdSelectMethodCategory
An OBCmdSelectMethodCategory is xxxxxxxxx.
Instance Variables
execute
isActive
keystroke
label
OBCmdSubclassTemplate
An OBCmdSubclassTemplate is xxxxxxxxx.
Instance Variables
label
templateDefinition
OBCodeBrowser
OBCodeBrowser is a superclass for all browsers which active code in the image. It provides methods for registering with the SystemChangeNotifier and updating it's display when it receives notification of system changes.
addModelItemsToWindowMenu:
aMenu is being constructed to be presented to the user in response to the user's pressing on the menu widget in the title bar of a morphic window. Here, the model is given the opportunity to add any model-specific items to the menu, whose default target is the SystemWindow itself.
annotationPanel
buildMetagraphOn:
buildMetagraphOn:class:comment:metaclass:
chasingBrowsers
clearChanges
cmdAutoCategorizeCat
cmdAutoCategorizeWithAMC
cmdBrowse
cmdBrowseHierarchy
cmdBrowseHierarchyImplementors
cmdBrowseHierarchySenders
cmdBrowseImplementors
cmdBrowseImplementorsOfIt
cmdBrowseInheritance
cmdBrowseMethodVersions
cmdBrowseProtocol
cmdBrowseReferences
cmdBrowseSenders
cmdBrowseSendersOfIt
cmdChaseVariables
cmdClassRefactroings
cmdClassVarRefactroings
cmdCompareToCurrent
cmdCopyClass
cmdCreateCat
cmdEnvironments
cmdFileOut
cmdFindClass
cmdFormat
cmdInstVarRefactroings
cmdMethodRefactroings
cmdMethodsContainingIt
cmdMultiView
cmdNewClassTemplate
cmdOpen
cmdRecompile
cmdRefactoryTools
cmdReformat
cmdRegex
cmdRegexEnvironment
cmdRemoveCat
cmdRemoveClass
cmdRemoveElement
cmdRemoveEmptyCats
cmdRemoveMethod
cmdRenameCat
cmdRenameClass
cmdReorgCats
cmdResetSearch
cmdRevertMethod
cmdSUnitIntegration
cmdSelectMethodCategory
cmdSourceRefactroings
cmdSubclassTemplate
defaultBrowserClass
defaultRootNode
environment
event:
hierarchyBrowserClass
initialExtent
Answer the desired extent for the receiver when a view on it is first opened on the screen.
5/22/96 sw: in the absence of any override, obtain from RealEstateAgent
initialize
Subclasses should redefine this method to perform initializations on instance creation
isClassBrowser
isSearchBrowser
mercuryPanel
noteChanges
obsoleteAutoCategorizeCommand
optionalButtons
panels
register
release
work-around for bug #7119
stepAt:in:
unload
unregister
wantsStepsIn:
windowIsClosing
This message is used to inform a models that its window is closing. Most models do nothing, but some, such as the Debugger, must do some cleanup. Note that this mechanism must be used with care by models that support multiple views, since one view may be closed while others left open.
OBCodeNode
OBCodeNode is an abstract superclass for node classes that represent program elements active in the image. Though it provides little functionality, it exists for structural purposes.
annotationString
Provide a line of content for an annotation pane, representing information about the method associated with the selected node.
browserEnvironment
Answer a refactoring browser environemnt of the receiving node.
containingPackage
Answer the PackageInfo instance that contains the receiver, or nil if no such package exists.
definedWithinBrowserEnvironment:
hasOrganization
hasSelector
hasVersions
isCategoryNode
isClassCategoryNode
isClassCommentNode
isClassNode
isDescendantOfClass:
isEnvironmentNode
isMethodCategoryNode
isMethodNode
mostSpecificPackage:
mostSpecificPackageIn:
Answer the most specific package of a collection of packages.
on:
withinBrowserEnvironment:
OBEnvironmentNode
OBEnvironmentNode wraps an instance of SystemDictionary. In current Squeak images, there is only one such instance, but OB-Standard is coded so as to use rely on this assumption as little as possible. Thus OBEnvironmentNode typically serves as the root of the standard browser, and passes its environment on to other nodes in the tree.
categories
categoryNodeNamed:
environment
forImage
hasOrganization
isEnvironmentNode
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
on:
organization
setEnvironment:
OBHierarchyBrowser
OBHierarchyBrowser provides a three-pane browers that displays a class within it's surrounding hierarchy - both superclasses and subclasses
defaultBackgroundColor
Answer the color to be used as the base window color for a window whose model is an object of the receiver's class
defaultLabel
defaultMetaNode
onClass:
openOnClass:
paneCount
titleForRoot:
OBHierarchyImplementorsBrowser
An OBHierarchyImplementorsBrowser is xxxxxxxxx.
Instance Variables
defaultMetaNode
title
OBHierarchySendersBrowser
An OBHierarchySendersBrowser is xxxxxxxxx.
Instance Variables
defaultMetaNode
title
OBImplementorSearchNode
An OBImplementorSearchNode is xxxxxxxxx.
Instance Variables
classSatisfiesQuery:
classes
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
OBImplementorsBrowser
An OBImplementorsBrowser is xxxxxxxxx.
Instance Variables
defaultMetaNode
implementorsNav:
title
OBInheritanceBrowser
OBInheritanceBrowser shows the inheritance hierarchy of a method, both superclass implementations which it overrides, and subclass implementations which override it.
defaultBackgroundColor
Answer the color to be used as the base window color for a window whose model is an object of the receiver's class
defaultMetaNode
title
titleForRoot:
OBInheritanceFilter
An OBInheritanceFilter is xxxxxxxxx.
Instance Variables
clickIconColumn:forNode:
icon:forNode:
OBInstanceVariableNode
OBClassVariable provides a method for finding methods which refer to an instance, ie, by searching for instance variable access bytecodes rather than for an association in the literal frame.
accessors
browserEnvironment
Answer a refactoring browser environemnt of the receiving node.
withinBrowserEnvironment:
OBLimitProtocolFilter
An OBLimitProtocolFilter is xxxxxxxxx.
Instance Variables
limitClass: <Object>
theClass: <Object>
limitClass
- xxxxx
theClass
- xxxxx
defaultLimitClass
it's too bad that this needs to be duplicated between the ProtocolBrowser and here'
displayString:forNode:
filterMethods:onClasses:forNode:
filterProtocols:onClasses:forNode:
forClass:
limitClass:
limitClassFor:
nodesFrom:forNode:
on:
setMetaNode:
OBListBrowser
OBListBrowsers are used to display simple lists of methods, such as senders or implementors.
browseRoot:
browseRoot:label:
browseRoot:title:
defaultBackgroundColor
Answer the color to be used as the base window color for a window whose model is an object of the receiver's class
defaultLabel
label:
labelPrefix
labelPrefix:
maxPanes
minPanes
OBMClassQuery
I handle mercury queries like 'Object' and 'OBNode*'. I find classes.
find
openClassBrowser
searchNode
setRawQuery:panel:
OBMClassRefsQuery
I handle mercury queries like '#Object'. I find references to classes.
find
searchNode
OBMMethodQuery
I handle queries that look like 'browse' and 'browse*'. I find method implementors.
browseImplementors
find
findMethod
searchNode
OBMMethodSendersQuery
I handle queries like '#browse'. I find method senders.
find
searchNode
OBMStringQuery
I handle queries that look like "'this is a string'". I find strings in methods.
find
OBMercuryPanel
An OBMercuryPanel is xxxxxxxxx.
Instance Variables
accept:notifying:
addTextCommandsToMenu:selection:
buildOn:
completionController
environment
initialize
Subclasses should redefine this method to perform initializations on instance creation
modelClass
selectedClassOrMetaClass
selection
string:
text
unload
vResizing
OBMercuryQuery
OBMercuryQuery is an abstract superclass for queries made through the 'Mercury' panel in OmniBrowser based browser. The main interface is the class method, find:for:, which builds an appropriate concrete query object for the query string and calls find on it.
announce:
browser
find
find:for:
from:
from:panel:
helpMessage
isClassQuery:
openSearchBrowser
openSearchBrowserOn:
searchNode
selectClassForQuery:
setRawQuery:
setRawQuery:panel:
OBMessageNode
An OBMessageNode refers to a message send in the source code of a method. They are typically used in the 'senders' browser.
asMethodNode
fromMethodNode:
implementors
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
on:inMethod:inClass:
on:inMethodNode:
on:inMethodReference:
selection
sendersOfMessage
setMessage:selector:class:
unifySelectors
OBMetaclassNode
OBMetaclassNode is essentially the same as an OBClassNode, but overrides a few methods to work properly with metaclasses. The instance-variable theClass is always a metaclass.
browse
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
nonMetaName
setClass:
OBMetagraphBuilder
An OBMetagraphBuilder is xxxxxxxxx.
Instance Variables
metaNodes: <Object>
root: <Object>
selectors: <Object>
metaNodes
- xxxxx
root
- xxxxx
selectors
- xxxxx
addMetaNode:
allMethodCategoryMetaNode
classCommentMetaNode
classMetaNode
classSelector
classSelector:
commentSelector
commentSelector:
execute
metaNode:
metaNodes
metaclassMetaNode
metaclassSelector
metaclassSelector:
methodCategoryMetaNode
methodMetaNode
on:class:comment:metaclass:
populateAllMethodCategoryNode
populateClassCommentMetaNode
populateClassNode
populateMetaclassNode
populateMethodCategoryNode
populateMethodNode
populateRoot
root
root:
selectorAt:
selectorAt:put:
selectors
setRoot:classSel:commentSel:metaclassSel:
OBMethodCategoryNode
OBMethodCategory represents a category within a ClassOrganization. Instead of an organization definition, OBMethodCategory presents a MethodDefinition with the class' default method template.
=
Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.
actionsForParent:
allMethods
ancestrySelector
browse
browserEnvironment
Answer a refactoring browser environemnt of the receiving node.
category
container
containingPackage
Answer the PackageInfo instance that contains the receiver, or nil if no such package exists.
definition
dropOnClass:
dropSelector
Override in subclasses
fileOut
hasTestSuite
hash
Answer a SmallInteger whose value is related to the receiver's identity.
May be overridden, and should be overridden in any classes that define =
isCategoryNode
isDescendantOfMethodCat:
isMethodCategoryNode
methodReferences
methods
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
on:
on:inClass:
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
remove
renameTo:
If the receiver has an inherent idea about its own name, it should take action here. Any object that might be pointed to in the References dictionary might get this message sent to it upon reload
setName:
setName:class:
shouldBeStyledBy:
testSuite
withinBrowserEnvironment:
OBMethodDefinition
OBMethodDefinition knows how to present method source in the browser's text pane and compile a new CompiledMethod when the source changes. It implements several safety checks to ensure that methods are not accidentally overwritten.
accept:notifying:
callback:
category
compileCategory
compileCategory:
compileClass
compileClass:
compileMethod:notifying:
compileNotifying:
compileSelector
compileText
compileText:
inCategory:inClass:
nodeFor:
prettyPrint:
selectedClass
selection
selection:source:inCategory:inClass:
selection:source:inClass:
selector
setClass:category:source:selection:
source:inClass:
text
theClass
OBMethodNode
OBMethodNode wraps a method in a particular class. It supplies an OBMethodDefinition for displaying and editing the source code of the method, and various actions for manipulating the method. It has two roles: first it appears in the right most pane of a standard system browser. Second, it often serves as the root node for an OBListBrowser, and has navigation methods for senders, implementors etc.
OBMethodNode also serves as the superclass for nodes that represent *parts* of a method, such as sends of a particular message, references to a class, accesses to a instance variable, etc.
=
Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.
addOverridersOf:inClass:to:
ancestrySelector
annotationString
Provide a line of content for an annotation pane, representing information about the method associated with the selected node.
asMethodNode
browse
browserEnvironment
Answer a refactoring browser environemnt of the receiving node.
category
containingPackage
Answer the PackageInfo instance that contains the receiver, or nil if no such package exists.
defaultSource
definition
displayString
doRemove
dropOnClass:
dropOnMethodCategory:
We don't support dropping on another class yet.
fileOut
fullName
fullNameWithProtocol
hasSelector
hasTestSuite
hasVersions
hash
Answer a SmallInteger whose value is related to the receiver's identity.
May be overridden, and should be overridden in any classes that define =
hierarchyImplementors
hierarchyImplementorsOf:
hierarchySenders
hierarchySendersOf:
implementors
implementorsOf:
inheritanceRoot
isDescendantOfMethod:
isDescendantOfMethodCat:
isDescendantOfMethodVersion:
isLocalSelector
isMethodNode
messageNode
messageSelectors
messages
moveToPackage
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
nameWithClassNameInBrackets
on:
on:inClass:
overrides
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
reference
remove
removeAndBrowse
selection
selector
selectorAndMessages
senders
sendersOf:
setReference:
setSelector:class:
shouldBeStyledBy:
simpleBrowseSenders
source
sourceFiles
sourcePointer
testSuite
versions
withinBrowserEnvironment:
writeMethodHeaderTo:
OBMethodSearchNode
An OBMethodSearchNode is xxxxxxxxx.
Instance Variables
classSatisfiesQuery:
classes
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
OBMethodStringsBrowser
An OBMethodStringsBrowser is xxxxxxxxx.
Instance Variables
browseRoot:target:
defaultBackgroundColor
Answer the color to be used as the base window color for a window whose model is an object of the receiver's class
defaultLabel
defaultMetaNode
numOfMatchesString
selectorString
OBMethodVersion
OBMethodVerison represents a version of a method found in the .sources or .changes files. It provides methods for parsing the method definition referenced by a source pointer, and for filing in the source to replace the current version of the method.
=
Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.
category
classSymbol
fileIn
fromSources:andPointer:
hash
Answer a SmallInteger whose value is related to the receiver's identity.
May be overridden, and should be overridden in any classes that define =
latest
parseChunk:
parseSource
pointer
previous
scan:from:
selector
setSelector
setSources:pointer:
source
stamp
theClass
theClassName
versionsOfMethod:
OBMethodVersionNode
OBMethodVersions refer to OBMethodVersions, and are used by the VersionBrowser.
browse
category
definition
isDescendantOfMethodVersion:
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
on:
reference
selector
setVersion:
shouldBeStyledBy:
version
OBNavigate
An OBNavigate is xxxxxxxxx.
Instance Variables
action: <Object>
bid: <Object>
fan: <Object>
label: <Object>
action
- xxxxx
bid
- xxxxx
fan
- xxxxx
label
- xxxxx
bid:toDo:
browserClass
defaultAction
defaultMetaNode
execute
fan
initialize
Subclasses should redefine this method to perform initializations on instance creation
label
label:
noChildrenMessage
of:
of:label:
setRoot:
OBOrganizationDefinition
OBOrganizationDefinition knows how to display and edit the organization of classes or methods by a Categorizer.
on:
organizer:
text
text:
OBProtocolBrowser
An OBProtocolBrowser is xxxxxxxxx.
Instance Variables
filter: <Object>
limitClass: <Object>
theClass: <Object>
filter
- xxxxx
limitClass
- xxxxx
theClass
- xxxxx
cmdFilterProtocol
defaultBackgroundColor
Answer the color to be used as the base window color for a window whose model is an object of the receiver's class
defaultLabel
defaultLimitClass
defaultMetaNode
limitClass
limitClass:
on:
paneCount
refresh:
setMetaNode:node:
subscribe
theClass
OBReadOnlyDefinition
An OBReadOnlyDefinition is xxxxxxxxx.
Instance Variables
text: <Object>
text
- xxxxx
setText:
text
OBReferencesBrowser
An OBReferencesBrowser is xxxxxxxxx.
Instance Variables
defaultMetaNode
title
OBSearchBrowser
An OBSearchBrowser is xxxxxxxxx.
Instance Variables
defaultBackgroundColor
Answer the color to be used as the base window color for a window whose model is an object of the receiver's class
defaultMetaNode
defaultRootNode
initialize
Subclasses should redefine this method to perform initializations on instance creation
isSearchBrowser
mercuryPanel
registerInOpenMenu
title
unload
with:
OBSearchNode
An OBSearchNode is xxxxxxxxx.
Instance Variables
query: <Object>
query
- xxxxx
=
Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.
classSatisfiesQuery:
classes
comments
displayString
hash
Answer a SmallInteger whose value is related to the receiver's identity.
May be overridden, and should be overridden in any classes that define =
isAncestorOf:
isAncestorOf:using:
metaclasses
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
nodesForRefs:
on:
query
setRawQuery:
OBSelectorNode
OBSelectorNode wraps an instance of Symbol. It typically serves as the root of a senders or implementors OBListBrowser, and is used when cmd-n or cmd-m is invoke from the definition panel, and so no OBMethodNode is available.
hasSelector
implementors
isAncestorOf:
methods
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
on:
reference
this is a bit hacky actually...
selector
selector:
selectorAndMessages
senders
sendersOfMessage
OBSenderSearchNode
An OBSenderSearchNode is xxxxxxxxx.
Instance Variables
classSatisfiesQuery:
classes
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
OBSendersBrowser
An OBSendersBrowser is xxxxxxxxx.
Instance Variables
defaultMetaNode
sendersNav:
title
OBShowHierarchyImplementors
An OBShowHierarchyImplementors is xxxxxxxxx.
Instance Variables
browserClass
noChildrenMessage
OBShowHierarchySenders
An OBShowHierarchySenders is xxxxxxxxx.
Instance Variables
browserClass
noChildrenMessage
OBShowImplementors
An OBShowImplementors is xxxxxxxxx.
Instance Variables
browserClass
noChildrenMessage
OBShowSenders
An OBShowSenders is xxxxxxxxx.
Instance Variables
browserClass
noChildrenMessage
OBSourceFilesRequest
OBSourceFilesRequest is used to work around the fact that Squeak's source files are stored in a global array called SourceFiles. When testing OBMethodVersion and OBVersionBrowser, we don't want to use the real source files, as they are too unpredictable. Instead the test cases supply a source file array with known contents.
Therefore, OBMethodVersion never refers directly to the SourceFiles global. Instead it raises an OBSourceFiles request. If this occurs during a test, the test catches the notification and resumes using the test source files. Otherwise, the default action resumes using the global source file array.
defaultAction
No action is taken. The value nil is returned as the value of the message that signaled the exception.
isBrowseRequest
OBSystemBrowser
This is the basic system browser that is the work-horse of Smalltalk development tools. It presents four panes showing class categories, classes, method categories and methods.
defaultBackgroundColor
Answer the color to be used as the base window color for a window whose model is an object of the receiver's class
defaultMetaNode
defaultRootNode
initialize
Subclasses should redefine this method to perform initializations on instance creation
isClassBrowser
labelString
onClass:
onClass:category:
onClass:selector:
onEnvironment:category:
openOnClass:
openOnClass:category:
openOnClass:selector:
openOnEnvironment:category:
registerInOpenMenu
title
unload
OBSystemBrowserAdaptor
OBSystemBrowserAdaptor implements the protocol expected by the SystemBrowser app registry, and thus allows OmniBrowser to be chosen as the default system browser.
Caveat: because the required protocol is a little ...odd.... it can't be implemented well by OBSystemBrowser directly. OBSystemBrowserAdaptor does this reasonably well, but it has no way to provide a more natural name than its class name to the app registry menu.
browserClass
fullOnClass:selector:
initialize
Subclasses should redefine this method to perform initializations on instance creation
labelString
nameForViewer
Answer a name to be shown in a Viewer that is viewing the receiver
open
openBrowser
openBrowserView:label:
openEditString:
register
selector
setClass:selector:
spawnHierarchy
targetClass
unload
unregister
OBVariableNode
OBVariableNode is an abstract superclass for the two types of variables a class can contain - class variables and instance variables. The only difference between the two subclasses is how they search for methods that refer to them.
accessors
fullName
name
Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..
on:
on:inClass:
setName:class:
OBVariablesBrowser
An OBVariablesBrowser is xxxxxxxxx.
Instance Variables
addChasingFiltersTo:
browseRoot:
buildClassNodeIn:
buildMethodNodeIn:
buildVarNodeIn:
connectNodesIn:
defaultMetaNode
initializeNodesIn:
minPanes
title
OBVersionBrowser
OBVersionBrowser displays a list of OBMethodVersions, which represent versions of a method present in the source or changes files.
defaultBackgroundColor
Answer the color to be used as the base window color for a window whose model is an object of the receiver's class
defaultLabel
defaultMetaNode
maxPanes
minPanes
openOn:
optionalButtons