|
Class: InspectorView
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--InspectorView
|
+--ClassInspectorView
|
+--ColorInspectorView
|
+--ContextInspectorView
|
+--DictionaryInspectorView
|
+--ImageInspectorView
|
+--OrderedCollectionInspectorView
|
+--SetInspectorView
- Package:
- stx:libtool
- Category:
- Interface-Inspector
- Version:
- rev:
1.513
date: 2024/04/22 17:43:29
- user: stefan
- file: InspectorView.st directory: libtool
- module: stx stc-classLibrary: libtool
This class implements a graphical inspector.
Inspecting can be done on an object -
(where its instvarnames/values are inspected)
or a list of objects (where a nameArray/valuesArray is inspected).
The later is used by the debugger to inspect method variables/args.
The system calls the inspector through the global variable 'Inspector'
which is bound to this class (but could be redefined - it actually is
set to MiniInspector in a smalltalk without graphical user interface,
or to NewInspector if that is wanted).
Also notice, that there are two methods to inspect an object:
sending #basicInspect to any object, will open this kind of inspector on
it (showing instance variables which are physically present).
Sending it #inspect, will - depending on the object - sometimes invoke a
specialized inspector.
(see OrderedCollectionInspectorView, ImageInspectorView,
ColorInspectorView etc. as examples).
You can also open a monitoring inspector, which displays some instance
variable in regular intervals. See #openOn:monitor:.
examples:
#(1 2 3 4) asOrderedCollection inspect
#(1 2 3 4) asOrderedCollection basicInspect
(Array new:10000) inspect
(Image fromFile:'bitmaps/claus.gif') inspect
(Image fromFile:'bitmaps/claus.gif') basicInspect
(Image fromFile:'bitmaps/SBrowser.xbm') inspect
(Image fromFile:'bitmaps/SBrowser.xbm') basicInspect
InspectorView openOn:Display
InspectorView openOn:Display monitor:'shiftDown'
InspectorView openOn:(Image fromScreen)
InspectorView openOn:(Image fromFile:'banner8.xpm')
The InspectorView can also be used as a subComponent within another view.
In this case, the isStandAlone flag should be cleared, to prevent the
inspector from changing the topViews window label.
Notice:
the instvars 'inspectedObject' and 'selectedLine' have been
renamed to 'object' and 'selectionIndex' for squeak compatibility;
however, the old vars are kept (in sync) for a while, to allow for
smooth migration.
Controlling the contents from the inspected object.
By redefining inspectorExtraAttributes or inspectorExtraNamedFields, the inspected
object can add items to the list of fields as ashown in the left list-view of the inspector.
These methods are meant to return a sequencable Collection of Associations, which represent
of pseudo slot-name, slot-value pairs.
In the list, extra attributes are shown with a dash (-), extra named fields are marked with a tick (`).
These are added (read only) to the list.
Catching/Debugging errors in the displayString/printString generation
set TraceErrors or DebugErrors to true
TraceErrors := true
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.
common label support
-
commonLabelFor: anObject
-
return the windowLabel to use in my topView, when inspecting anObject.
Identical objects are labelled with the same id, which makes it easy to
see if two objects are identical (and is very useful, indeed).
WARNING: used by both Inspector and Inspector2 !!!
-
labelNameFor: anObject
-
return the iconLabel to use in my topView, when inspecting anObject.
Simply returns the className or name of anObjects class
defaults
-
defaultExtent
-
return the default extent of my instances.
The value returned here is usually ignored, and
the value from preferredExtent taken instead.
-
defaultHideHashes
-
-
defaultHideHashes: aBoolean
-
-
defaultHideMessages
-
-
defaultHideMessages: aBoolean
-
-
defaultIcon
-
return the browsers default window icon
-
defaultIntegerDisplayRadix
-
-
defaultIntegerDisplayRadix: anInteger
-
-
defaultMaxValueDisplayStringLength
-
cut off and show '...' if longer
-
defaultMaxValueDisplayStringLength: anIntegerOrNilForDefault
-
cut off and show '...' if longer
-
defaultSortOrder
-
-
defaultTopViewExtent
-
-
expandArraysInAllLists
-
in the 'all instvars' list, expand arrays
-
expandArraysInAllLists: aBoolean
-
in the 'all instvars' list, expand arrays
-
rememberLastExtent: anExtent
-
-
sortOrderAlphabetical
-
-
sortOrderByValuesClassName
-
-
sortOrderByValuesPrintString
-
-
sortOrderInstvarOrder
-
image specs
-
imageFor_arrays
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_arrays inspect
ImageEditor openOnClass:self andSelector:#imageFor_arrays
Icon flushCachedIcons
|
-
imageFor_boolean
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_boolean inspect
ImageEditor openOnClass:self andSelector:#imageFor_boolean
Icon flushCachedIcons
|
-
imageFor_characters
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_characters inspect
ImageEditor openOnClass:self andSelector:#imageFor_characters
Icon flushCachedIcons
|
-
imageFor_classes
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_classes inspect
ImageEditor openOnClass:self andSelector:#imageFor_classes
Icon flushCachedIcons
|
-
imageFor_collectionHolder
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_collectionHolder inspect
ImageEditor openOnClass:self andSelector:#imageFor_collectionHolder
Icon flushCachedIcons
|
-
imageFor_collections
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_collections inspect
ImageEditor openOnClass:self andSelector:#imageFor_collections
Icon flushCachedIcons
|
-
imageFor_collections_empty
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_collections_empty inspect
ImageEditor openOnClass:self andSelector:#imageFor_collections_empty
Icon flushCachedIcons
|
-
imageFor_colors
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_colors inspect
ImageEditor openOnClass:self andSelector:#imageFor_colors
Icon flushCachedIcons
|
-
imageFor_dictionaries
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_dictionaries inspect
ImageEditor openOnClass:self andSelector:#imageFor_dictionaries
Icon flushCachedIcons
|
-
imageFor_false
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_false inspect
ImageEditor openOnClass:self andSelector:#imageFor_false
Icon flushCachedIcons
|
-
imageFor_falseHolder
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_falseHolder inspect
ImageEditor openOnClass:self andSelector:#imageFor_falseHolder
Icon flushCachedIcons
|
-
imageFor_floats
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_floats inspect
ImageEditor openOnClass:self andSelector:#imageFor_floats
Icon flushCachedIcons
|
-
imageFor_fractions
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_fractions inspect
ImageEditor openOnClass:self andSelector:#imageFor_fractions
Icon flushCachedIcons
|
-
imageFor_integers
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_integers inspect
ImageEditor openOnClass:self andSelector:#imageFor_integers
Icon flushCachedIcons
|
-
imageFor_nil
-
-
imageFor_nil1
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_nil1 inspect
ImageEditor openOnClass:self andSelector:#imageFor_nil1
Icon flushCachedIcons
|
-
imageFor_nil2
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_nil2 inspect
ImageEditor openOnClass:self andSelector:#imageFor_nil2
Icon flushCachedIcons
|
-
imageFor_nilHolder
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_nilHolder inspect
ImageEditor openOnClass:self andSelector:#imageFor_nilHolder
Icon flushCachedIcons
|
-
imageFor_numberHolder
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_numberHolder inspect
ImageEditor openOnClass:self andSelector:#imageFor_numberHolder
Icon flushCachedIcons
|
-
imageFor_numbers
-
-
imageFor_others
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_others inspect
ImageEditor openOnClass:self andSelector:#imageFor_others
Icon flushCachedIcons
|
-
imageFor_othersHolder
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_othersHolder inspect
ImageEditor openOnClass:self andSelector:#imageFor_othersHolder
Icon flushCachedIcons
|
-
imageFor_proxy
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_proxy inspect
ImageEditor openOnClass:self andSelector:#imageFor_proxy
Icon flushCachedIcons
|
-
imageFor_sequenceableCollections
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_sequenceableCollections inspect
ImageEditor openOnClass:self andSelector:#imageFor_sequenceableCollections
Icon flushCachedIcons
|
-
imageFor_strings
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_strings inspect
ImageEditor openOnClass:self andSelector:#imageFor_strings
Icon flushCachedIcons
|
-
imageFor_symbols
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_symbols inspect
ImageEditor openOnClass:self andSelector:#imageFor_symbols
Icon flushCachedIcons
|
-
imageFor_timeAndDate
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_timeAndDate inspect
ImageEditor openOnClass:self andSelector:#imageFor_timeAndDate
Icon flushCachedIcons
|
-
imageFor_true
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_true inspect
ImageEditor openOnClass:self andSelector:#imageFor_true
Icon flushCachedIcons
|
-
imageFor_trueHolder
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageFor_trueHolder inspect
ImageEditor openOnClass:self andSelector:#imageFor_trueHolder
Icon flushCachedIcons
|
-
imageGreenBullet
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageGreenBullet inspect
ImageEditor openOnClass:self andSelector:#imageGreenBullet
Icon flushCachedIcons
|
-
imageRedBullet
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self imageRedBullet inspect
ImageEditor openOnClass:self andSelector:#imageRedBullet
Icon flushCachedIcons
|
initialization
-
initialize
-
(comment from inherited method)
to get language changes
instance creation
-
for: anObject
-
create and launch a new inspector for anObject.
This protocol is a historic leftover - this method will vanish.
-
inspect: anObject
-
marked as obsolete by Stefan Vogel at 31-Mrz-2022
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
openOn: anObject
-
create and launch a new inspector for anObject
Usage example(s):
InspectorView openOn:(5 @ 7)
InspectorView openOn:(Array new:400)
DictionaryInspectorView openOn:(IdentityDictionary new)
|
-
openOn: anObject monitor: anInstVarNameOrNil
-
create and launch a new inspector for anObject.
If anInstVarNameOrNil is nonNil, let the inspector monitor it
(use an integer-printString as name, for indexed instVars).
Usage example(s):
|m|
m := 1 asValue.
InspectorView openOn:m monitor:'value'.
2 to:10 do:[:i |
Delay waitForSeconds:1.
m value:i
]
|
Usage example(s):
|o|
o := Array with:1 with:2 with:3.
InspectorView openOn:o monitor:'2'.
Delay waitForSeconds:1.
o at:2 put:20
|
-
openOn: anObject title: aString
-
create and launch a new inspector for anObject
Usage example(s):
InspectorView openOn:(5 @ 7) title:'my point'
|
-
openOn: anObject withEvalPane: withEvalPane
-
-
openOn: anObject withEvalPane: withEvalPane withLabel: aLabel
-
presentation
-
iconForValue: anObject
-
choose a nice icon image to be shown in the list
-
iconForValueClass: aClass
-
this is useful if we do not want to or cannot access the value itself easily;
For example as a helper for bridge objects
queries-plugin
-
aspectSelectors
-
accessing
-
allowFollow: aBoolean
-
enable/disable the follow menu item;
This is disabled for inspectors which are embedded in the debugger
-
autoDefineVariables: autoDefine
-
forward to my workspace
-
dereferenceValueHolders: aBoolean
-
-
fieldListLabel: aString
-
-
headLineLabel: aString
-
an alternative headline label (if used as embedded inspector)
-
headLineLabelView
-
provides access to the headline
-
hideHashes: aBoolean
-
hide/show the hash-entries in the field list;
This can be hidden for end-user applications
-
hideHexDumpView: aBoolean
-
hide/show the hexDump view (ignored by inspectors which have none);
Use this for embedded inspectors (which would grow too big otherwise)
-
hideMessages: aBoolean
-
hide/show the messages-entries in the field list;
This can be hidden for end-user applications
-
hideReceiver: aBoolean
-
hide/show the self-entry for the inspected object;
This is hidden for context inspectors in the debugger
-
inspect: anObject
-
set/update the object to be inspected
-
inspect: anObject keepSelection: keepSelectionBoolean
-
set/update the object to be inspected
-
inspectNext: anObject
-
do a followup inspect on an object.
This does either open a new inspector, or advances
the Inspector2 to anObject
-
isStandaloneInspector: aBoolean
-
obsolete now
-
label: aString
-
set the fieldListLabel - obsolete; collides with inherited label-functionality
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
listView
-
-
makeDependentOnInspectedObject
-
by default, an inspector will NOT make itself dependend,
to avoid flicker and heavy redraws when inspecting a busy object.
(you should select the update menu function).
However, some apps like to make this automatically (eg. the workspace's variable viewer).
These can call for an explicit dependency via this method
-
maxValueDisplayStringLength
-
strip off and add '...' if the display string of a selected item is longer.
(can be changed via class default and menu)
-
maxValueDisplayStringLength: numberOfcharactersShown
-
presented string data will be truncated after that number of characters
-
reinspect
-
update display for a changed inspectedObject
-
suppressHeadline: aBoolean
-
hide/show the title line above the list/value
-
suppressPseudoSlots: aBoolean
-
to enable/disable the pseudo slots (eg. inspectorExtraAttributes)
-
workspace
-
accessing-channels
-
inspectedObjectHolder
-
-
inspectedObjectHolder: aValueHolder
-
-
sortOrderHolder
-
-
sortOrderHolder: aValueHolder
-
change & update
-
holderChanged: aValueHolder
-
a valueHolder of which I have registered an iterest
has changed (see the menu item: 'Catch Change').
Remove the interest (no further notifications) either by evaluating:
aValueHolder retractInterestsFor:holderChangeInterest
or:
self doUncatchChanges
here, or via the field menu
-
sortOrderHolderChanged
-
-
update: something with: aParameter from: changedObject
-
Invoked when one of my dependees sends a change notification.
drag & drop
-
getDisplayObjects
-
-
getDropObjects
-
event handling
-
doubleClickOnLine: lineNr
-
-
keyPress: key x: x y: y
-
handle special keys
-
selectedField
-
-
sizeChanged: how from: oldExtentOrNil
-
my view has changed the size (not the contents)
initialization & release
-
destroy
-
(comment from inherited method)
unmap & destroy - make me invisible, destroy subviews then
make me unknown to the device
-
initialize
-
labelView origin:0.0@0.0 corner:0.0@1.0.
-
initializeDragAndDrop
-
-
realize
-
delayed setup of lists till first map-time -
this makes startup of inspectors a bit faster
-
release
-
release inspected object. This is normally not needed,
since the garbage collector will find this memory alone.
However, if some applications keeps invisible inspectors around
(for example, the debugger does this), the inspected object
would be kept from being freed or freed very late.
Usage example(s):
to release ref to inspectedObject in doItBlock
|
-
setInitialSelection
-
the self-line
menu
-
debugMenu
-
now contains the trap, references etc. items in a submenu
-
fieldMenu
-
return the popup menu for the field-list
-
localProtocolMenu
-
return the menu for the inspected object's local implemented messages
-
numberBaseItems
-
-
optionalByteArraySelectionItems
-
|sel|
-
optionalFilenameSelectionItems
-
-
optionalMethodOrBlockSelectionItems
-
-
optionalOperationMenuItemsFor: anObject
-
chance to add instance-specific operation menu items.
Should return nil or a vector of spec-entries consisting of:
menu-label
action-block
optional: boolean if enabled.
See SerialPort, Color or FileStream as a examples
-
optionalStreamSelectionItems
-
-
optionalToolItems
-
inserted after inspect/browse
-
optionalViewSelectionItems
-
-
protocolMenu
-
return the menu for the inspected object's implemented messages
-
sortOrderItems
-
menu items for sort-order
menu actions
-
browse
-
(comment from inherited method)
open a browser on the receiver's class
-
browseClass
-
browseClass:cls
-
browseClassHierarchy
-
-
browseFullClassProtocol
-
-
browseHome
-
-
browseImplementorsOfSymbolValue
-
Modified (format): / 28-05-2019 / 19:53:17 / Claus Gittinger
-
browseMethodsClass
-
-
browseReferencesToInstvar
-
-
browseUpdateMethods
-
-
browseValue
-
-
doBack
-
user selected back-menu entry
-
doBasicInspect
-
user selected inspect-menu entry
-
doBrowse: what
-
-
doCatchChanges
-
remember the interest, in order to be able to retract later
-
doFollow
-
user selected follow-menu entry
-
doInspect
-
user selected inspect menu entry
-
doInspectValue
-
user selected inspect-value menu entry
-
doNewInspect
-
-
doStartMonitor
-
start a monitoring process
-
doStopMonitor
-
stop the monitor
-
doTrace
-
place a trace on a message sent to the inspected object
-
doTraceAll
-
place a trace on all messages sent to the inspected object
-
doTrap
-
place a trap on a message sent to the inspected object
-
doTrapAll
-
place a trap on all messages sent to the inspected object
-
doTrapAnyInstVarChange
-
place a trap which is triggered if any instVar of the inspected object is changed
-
doTrapInstVarChange
-
place a trap which is triggered if the selected instVar of the inspected object is changed
-
doTrapUpdates
-
place a trap on all update and XXXChanged messages sent to the inspected object
-
doUncatchChanges
-
-
doUntrace
-
remove traps/traces
-
inspectOwners
-
open an inspector on owners of the inspectedObject.
(this is a secret function)
-
letSelectedObjectPerform: aSelector
-
-
openApplication
-
open a windows or osx application (typically a viewer)
-
openFileBrowser
-
-
openWidgetHierarchy
-
-
saveBytesToFile
-
-
setDisplayRadixTo10
-
-
setDisplayRadixTo16
-
-
setDisplayRadixTo2
-
-
setDisplayRadixTo: radix
-
-
setSortOrderTo: aSymbol
-
aSymbol must be one of #alphabetical, #instvarOrder, #valuesPrintString or #valuesClassName
-
setSortOrderToAlphabetical
-
-
setSortOrderToGroupByInheritance
-
-
setSortOrderToInstvarOrder
-
-
setSortOrderToValuesClassName
-
-
setSortOrderToValuesPrintString
-
-
showAll
-
force update (which is otherwise ignored)
-
showAlphabetical: aBoolean
-
-
showDependentOf
-
show all objects of which the selected object is a dependent
-
showDependents
-
show the selected object's dependents
-
showInWindowsExplorer
-
show folder in explorer/finder or filebrowser
-
showMore
-
force update (which is otherwise ignored)
-
showOwners
-
skip weakArrays ... (they don't count)
-
showReferences
-
user selected references-menu entry
-
showStreamContents
-
presentation
-
appendDisplayStringForElementsOf: val indent: lvl pad: padding to: aStream
-
s nextPutAll:(self stringWithAllInstVarValuesFor:el level:lvl+4)
-
basicDisplayStringForValue: someValue
-
return the value's displayString to be pasted into the workspace.
-
derivedFieldNames
-
derived fields are additional pseudo fields, which are usually not instvars.
These consist of valueHolderItems, actions and extraFields.
-
derivedFields
-
by redefining inspectorExtraAttributes in an object to return an array of
pseudo-fieldName->value associations, the inspector's left list can be extended
-
displayStringForPseudoSlot: slotNameString
-
return the displayString for one of the '-xxx' slots or nil.
-
displayStringForValue: someValue
-
return the value's displayString to be pasted into the workspace.
-
extraNamedFieldNames
-
-
extraNamedFields
-
another extension mechanism (only used in some java packages):
by redefining inspectorExtraNamedFields in an object to return an array of
pseudo-fieldName->value associations, the inspector's left list can be extended
-
extraNamedVarIndexForLine: lineNr
-
helper - return the index for a named instVar;
nil, if self or a keyed instvar is selected.
-
fieldList
-
return a list of names to show in the selectionList.
Leave hasMore as true, if a '...' entry should be added.
-
iconForValue: arg
-
-
indexList
-
return a list of indexes usable to access the object's indexed slots.
Set hasMore to true, if a '...' entry should be added.
-
indexOfFirstNamedInstvarInList
-
helper - return the index for the first named instVar;
nil, if self or a keyed instvar is selected.
-
indexedFieldList
-
return a list of indexed-variable names to show in the selectionList.
Set hasMore to true, if a '...' entry should be added.
-
indexedValueAtIndex: idx
-
-
indexedValueAtIndex: idx put: newValue
-
-
indexedValueAtKey: key
-
kludge
-
instVarIndexForLine: lineNr
-
helper - return the index for a named instVar;
nil, if self or a keyed instvar is selected.
-
keyIndexForLine: lineNr
-
helper - return the index of the key-list;
nil, if self or a namedInstVar is selected.
-
listEntryAt: lineNr
-
-
listEntryForName: nameString value: value
-
generates the fieldListEntry (icon + valueString)
-
myObjectsInspectorExtraAttributes
-
by redefining inspectorExtraAttributes in an object to return an array of
pseudo-fieldName->value associations, the inspector's left list can be extended
-
namedFieldAt: idx
-
-
namedFieldAt: idx put: newValue
-
-
namedFieldList
-
return a list of instVar names to show in the selectionList.
-
plainValueStringInListEntryForValue: value
-
returns nil or a string to show in angle brackets (or parenthesis) after the
name in the field list.
This is the string shown in the name list on the left.
For most wellknown classes, the code below generates this;
for other objects, an instance-specific inspectorValueStringInListFor:self is called.
-
pseudoFieldNames
-
return a list of names to show in the selectionList.
Leave hasMore as true, if a '...' entry should be added.
-
pseudoFieldNamesWithIndexed: withIndexed
-
return a list of names to show in the selectionList.
Leave hasMore as true, if a '...' entry should be added.
-
stringWithAllClassVarValues
-
-
stringWithAllClassVarValuesFor: anObject level: lvl
-
sortOrder == SortOrderAlphabetical
-
stringWithAllIndexedVarValues
-
-
stringWithAllInstVarValues
-
-
stringWithAllInstVarValuesFor: anObject level: lvl
-
-
stringWithAllNames: names andValues: values level: lvl
-
-
stringWithMessages: which
-
-
valueAtLine: lineNr
-
helper - return the value of the selected entry
-
valueForSpecialLine: line
-
actionForAll:[Debugger enterException:ex]
-
valueStringInListEntryForValue: value
-
returns something to append to the name in the left list
Typically, for numbers, booleans and short strings, this is the actual value.
If sorting by class name, do not generate a short value string,
but append the className intead
private
-
baseInspectedObjectClass
-
only instvars below that are shown by me in the non-basic tab.
This hides uninterresting details in the regular tab
-
defaultLabel
-
-
hasSelfEntry
-
-
isIgnoredEntry: lineEntry atIndex: lineNr
-
can be redefined to ignore selected separators
-
isSpecialPseudoNameEntry: line
-
-
numIndexedFields
-
-
objectAttributeKeyNames
-
-
setAcceptAction
-
set the codeView's accept action
-
setDoItAction
-
set the codeViews doit action
-
showAllIndexedVarsInFieldList
-
-
theSingleSelectionIndex
-
helper - return the index of the (single) selected entry.
Nil if nothing or multiple items are selected
-
valueAtLine: lineNr put: newValue
-
self or special entry selected - don't store
queries
-
canInspect: anObject
-
-
compilerClass
-
-
dereferenceValueHolders
-
-
isIndexShown
-
-
labelFor: anObject
-
return the windowLabel to use in my topView, when inspecting anObject.
-
labelNameFor: anObject
-
return the iconLabel to use in my topView, when inspecting anObject.
Simply returns the className or name of anObjects class
-
selectedKeyName
-
used by the debugger, to fetch the selected instVar/pseudoVar name,
so it can be reselected after the next single step
(using tryToSelect..)
-
suppressPseudoSlots
-
are pseudo slots (eg. inspectorExtraAttributes) suppressed?
selection
-
selection: lineNr
-
-
showSelection: lineNr
-
user clicked on an instvar - show value in workspace
-
showValue: someValue
-
user clicked on an entry - show value in workspace
user interaction
-
doAccept: theText
-
the selected text is evaluated and stored into the selected field
-
doCopyKey
-
put the instVar-name into the text-copy-buffer
-
doFindKey
-
find the next key which includes a substring
-
doInspect: basicBooleanOrSymbolForHow
-
user selected the inspect- or basicInspect-menu entry
-
doInspect: objectToInspect basic: basic
-
user selected the basic-inspect-menu entry.
Hack: basic used to be a boolean;
it can now be also #new (for the new inspector)
-
doUpdate
-
-
monitor: anInstVarName
-
start a monitoring process, showing the given instVar
in regular time intervals.
-
selection
-
helper - return the value of the (single) selected entry.
Nil if nothing or multiple items are selected
-
showLast
-
user clicked on an instvar - show value in workspace
-
tryToSelectKeyNamed: aString
-
called from the debugger to try to select the previousöy selected
field (by name)
workspace protocol
-
modified: aBoolean
-
-
saveAs: file doAppend: doAppend
-
On error or cancel return false otherwise return true
|