eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'DictionaryInspectorView':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: DictionaryInspectorView


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--InspectorView
               |
               +--DictionaryInspectorView

Package:
stx:libtool
Category:
Interface-Inspector
Version:
rev: 1.100 date: 2018/02/13 14:29:16
user: stefan
file: DictionaryInspectorView.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
Claus Gittinger

Description:


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)



Instance protocol:

event handling
o  keyPress: key x: x y: y
handle special keys

initialization & release
o  initialize

menu
o  fieldMenu
allowed for multi-select

menu actions
o  browse
cls isNameSpace ifTrue:[

o  doAddKey
add a key

o  doHideAliases

o  doHideClassVars

o  doHideClasses

o  doHideCollectionsHoldingOnlyLiterals

o  doHideColorsAndImages

o  doHideEmptyCollections

o  doHideFreeSemaphores

o  doHideLiteralValues

o  doHideNilValues

o  doHideNonRefObjectReferences

o  doHideSignalInstances

o  doHideUnloadedClasses

o  doInspectKey
inspect selected items key

o  doRemoveKey
remove selected item from keys

o  doShowAliases

o  doShowClassVars

o  doShowClasses

o  doShowCollectionsHoldingOnlyLiterals

o  doShowColorsAndImages

o  doShowEmptyCollections

o  doShowFreeSemaphores

o  doShowLiteralValues

o  doShowNilValues

o  doShowNonRefObjectReferences

o  doShowSignalInstances

o  doShowUnloadedClasses

o  showKeyReferences
show users of selected key (i.e. global).
Only useful when inspecting smalltalk

o  showReferencesToKey
Run in own process to allow inspector to be closed while running

private
o  allNumericKeys
answer true, if all keys of the inspectedObject are numbers

o  baseInspectedObjectClass
this is true for e.g. MethodDictionary

o  defaultLabel

o  indexList
return a list of indexes to show in the selectionList.
Set hasMore to true, if a '...' entry should be added.

o  indexListForNameSpace
return a list of indexes to show in the selectionList.
Set hasMore to true, if a '...' entry should be added.

o  indexedFieldList
return a list of indexed-variable names to show in the selectionList.
Set hasMore to true, if a '...' entry should be added.

o  indexedValueAtKey: key
keys may vanish

o  instVarIndexForLine: lineNr
helper - return the index for a named instVar;
nil, if self or a keyed instvar is selected.

o  keyIndexForLine: lineNr
helper - return the index of the key-list

o  namedFieldList
return a list of instVar names to show in the selectionList.

o  numIndexedFields

o  release
release inspected object

o  selectedKey
selected item's key or nil. But only if exactly one item is selected

o  selectedKeys
selected keys or empty

o  selection: lineNrCollection
redefined because of multiselect

user interaction
o  indexedValueAtIndex: idx

o  indexedValueAtIndex: idx put: newValue



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 22 Jul 2018 03:17:23 GMT