|
Class: DictionaryInspectorView
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--InspectorView
|
+--DictionaryInspectorView
- Package:
- stx:libtool
- Category:
- Interface-Inspector
- Version:
- rev:
1.115
date: 2023/12/08 09:11:41
- user: cg
- file: DictionaryInspectorView.st directory: libtool
- module: stx stc-classLibrary: libtool
a modified Inspector for Dictionaries
Notice the filters: these are to inspect Smalltalk,
to get to interesting references more quickly
(typically to find class variables which still refer to object,
keeping them from being collected)
Try:
Smalltalk inspect
then enable some filter(s)
copyrightCOPYRIGHT (c) 1993 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.
event handling
-
keyPress: key x: x y: y
-
handle special keys
initialization & release
-
initialize
-
(comment from inherited method)
labelView origin:0.0@0.0 corner:0.0@1.0.
menu
-
fieldMenu
-
allowed for multi-select
menu actions
-
browse
-
cls isNameSpace ifTrue:[
-
doAddKey
-
user action: add a key
-
doHideAliases
-
-
doHideAll
-
hideClassVars := true.
-
doHideClassVars
-
-
doHideClasses
-
-
doHideCollectionsHoldingOnlyLiterals
-
-
doHideColorsAndImages
-
-
doHideEmptyCollections
-
-
doHideFilenames
-
-
doHideFreeSemaphores
-
-
doHideLiteralValues
-
-
doHideNilValues
-
-
doHideNonRefObjectReferences
-
-
doHideSignalInstances
-
-
doHideSimpleObjects
-
-
doHideStreams
-
-
doHideUnloadedClasses
-
-
doInspectKey
-
inspect selected items key
-
doRemoveKey
-
user action: remove selected item from keys;
if via menu, no confirmation dialog is shown;
if via DELETE key, the event handler asks
-
doShowAliases
-
-
doShowAll
-
hideClassVars := := false.
-
doShowClassVars
-
-
doShowClasses
-
-
doShowCollectionsHoldingOnlyLiterals
-
-
doShowColorsAndImages
-
-
doShowEmptyCollections
-
-
doShowFilenames
-
-
doShowFreeSemaphores
-
-
doShowLiteralValues
-
-
doShowNilValues
-
-
doShowNonRefObjectReferences
-
-
doShowSignalInstances
-
-
doShowSimpleObjects
-
-
doShowStreams
-
-
doShowUnloadedClasses
-
-
showKeyReferences
-
show users of selected key (i.e. global).
Only useful when inspecting smalltalk
-
showReferencesToKey
-
Run in own process to allow inspector to be closed while running
private
-
baseInspectedObjectClass
-
only instvars below that are shown by me in the non-basic tab.
This hides uninterresting details in the regular tab
-
defaultLabel
-
-
hasAllNumericKeys
-
answer true, if all keys of the inspectedObject are numbers
-
indexList
-
return a list of indexes to show in the selectionList.
Set hasMore to true, if a '...' entry should be added.
-
indexListForNameSpace
-
return a list of indexes to show in the selectionList.
Set hasMore to true, if a '...' entry should be added.
-
indexedFieldList
-
return a list of indexed-variable names to show in the selectionList.
Set hasMore to true, if a '...' entry should be added.
-
indexedValueAtKey: key
-
keys may vanish
-
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
-
namedFieldList
-
return a list of instVar names to show in the selectionList.
-
numIndexedFields
-
-
release
-
release inspected object
-
selectedKey
-
selected item's key or nil. But only if exactly one item is selected
-
selectedKeyName
-
same as selected item's key here
-
selectedKeys
-
selected keys or empty
-
selection: lineNrCollection
-
redefined because of multiselect
user interaction
-
indexedValueAtIndex: idx
-
-
indexedValueAtIndex: idx put: newValue
-
|