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.105 date: 2019/08/06 17:07:24
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  doHideAll
hideClassVars := true.

o  doHideClassVars

o  doHideClasses

o  doHideCollectionsHoldingOnlyLiterals

o  doHideColorsAndImages

o  doHideEmptyCollections

o  doHideFilenames

o  doHideFreeSemaphores

o  doHideLiteralValues

o  doHideNilValues

o  doHideNonRefObjectReferences

o  doHideSignalInstances

o  doHideSimpleObjects

o  doHideStreams

o  doHideUnloadedClasses

o  doInspectKey
inspect selected items key

o  doRemoveKey
remove selected item from keys

o  doShowAliases

o  doShowAll
hideClassVars := := false.

o  doShowClassVars

o  doShowClasses

o  doShowCollectionsHoldingOnlyLiterals

o  doShowColorsAndImages

o  doShowEmptyCollections

o  doShowFilenames

o  doShowFreeSemaphores

o  doShowLiteralValues

o  doShowNilValues

o  doShowNonRefObjectReferences

o  doShowSignalInstances

o  doShowSimpleObjects

o  doShowStreams

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  baseInspectedObjectClass
only instvars below that are shown by me in the non-basic tab.
This hides uninterresting details in the regular tab

o  defaultLabel

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

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 24 Apr 2024 05:27:08 GMT