eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ContextInspectorView':

Home

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

Class: ContextInspectorView


Inheritance:

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

Package:
stx:libtool
Category:
Interface-Inspector
Version:
rev: 1.119 date: 2024/02/09 11:15:46
user: stefan
file: ContextInspectorView.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


a modified Inspector for Contexts (used in the Debugger)
TODO:
    when expressions are evaluated in myself, the inst-var
    names are not known by the expression evaluator.
    This has to be fixed 
    (actual work is to be done in the Parser to allow passing of a context ...)

copyright

COPYRIGHT (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.

Instance protocol:

accessing
o  inspect: aContext
set the context to be inspected

o  namesOfBlockContext: aContext

o  release
release inspected object

initialization
o  initialize
(comment from inherited method)
labelView origin:0.0@0.0 corner:0.0@1.0.

menu
o  fieldMenu
return a popUpMenu for the left (fields) pane

presentation
o  listEntryForName: nameString value: value
generates the fieldListEntry (icon + valueString).
Special contexts may mix in text as separators between scopes;
these are left as is

private
o  defaultLabel
ContextInspectorView openOn:thisContext sender

o  displayStringForValue: someValue
return the values displayString

o  fieldList
generate a list of names (& pseudo names) to be shown on the left side

o  hasSelfEntry

o  setDoitActionIn: aWorkspace for: aContext

o  stringWithAllLocalValues
when clicked on '-all local vars'

o  stringWithAllNames: names andValues: values
helper for '-all local vars' and '-all workspace vars'

o  stringWithAllWorkspaceValues
when clicked on '-all workspace vars'

o  valueAtIndex: varIdx
helper - return the value of the selected entry

o  valueAtLine: lineNr
helper - return the value of the selected entry

o  valueForCommentLine: line
a hack to guide beginners

o  valueForSpecialLine: line
(comment from inherited method)
actionForAll:[Debugger enterException:ex]

user actions
o  hideTemporaries
do not show contexts temporaries

o  showTemporaries
show contexts temporaries

o  valueAtLine: lineNr put: newValue
helper - return the value of the selected entry



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:33:05 GMT