|
Class: DictionaryInspectorView
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--InspectorView
|
+--DictionaryInspectorView
- Package:
- stx:libtool
- Category:
- Interface-Inspector
- Version:
- rev:
1.105
date: 2019/08/06 17:07:24
- user: stefan
- file: DictionaryInspectorView.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Claus Gittinger
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)
event handling
-
keyPress: key x: x y: y
-
handle special keys
initialization & release
-
initialize
-
menu
-
fieldMenu
-
allowed for multi-select
menu actions
-
browse
-
cls isNameSpace ifTrue:[
-
doAddKey
-
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
-
remove selected item from keys
-
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
-
selectedKeys
-
selected keys or empty
-
selection: lineNrCollection
-
redefined because of multiselect
user interaction
-
indexedValueAtIndex: idx
-
-
indexedValueAtIndex: idx put: newValue
-
|