eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SystemStatusMonitor':

Home

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

Class: SystemStatusMonitor


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--SystemStatusMonitor
               |
               +--ExternalStreamMonitor

Package:
stx:libtool
Category:
Monitors-ST/X
Version:
rev: 1.22 date: 2018/11/09 23:36:12
user: cg
file: SystemStatusMonitor.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


Abstract class providing common code for list-based status monitors.

[disclaimer:]
    these are some of the oldest tools in the system, written in the early 90's.
    They do in no way reflect the way GUIs are designed/written these days.


Class protocol:

defaults
o  defaultIcon

o  defaultLabel

menu specs
o  fileMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:SystemStatusMonitor andSelector:#fileMenu
     (Menu new fromLiteralArrayEncoding:(SystemStatusMonitor fileMenu)) startUp

o  mainMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:SystemStatusMonitor andSelector:#mainMenu
     (Menu new fromLiteralArrayEncoding:(SystemStatusMonitor mainMenu)) startUp

o  viewMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:SystemStatusMonitor andSelector:#viewMenu
     (Menu new fromLiteralArrayEncoding:(SystemStatusMonitor viewMenu)) startUp

startup
o  isAbstract
return true, if this is an abstract class.

o  isVisualStartable
return true, if this application can be started via #open.
(to allow start of a subclass instance via double-click in the browser)

o  open
ProcessMonitor open


Instance protocol:

destroying
o  release
(comment from inherited method)
remove all dependencies from the receiver

drawing
o  titleLine

o  updateList

o  updateStatus: arg

o  updateView

events
o  canHandle: key
(comment from inherited method)
return true, if I like to handle the key (from a keyPress event).
OBSOLETE: do not use & depend on this method, it is a historic
leftOver and will be removed. Use the delegation mechanism for this.

o  keyPress: key x: x y: y
(comment from inherited method)
a key has been pressed. If there are components,
pass it to the corresponding one.
Otherwise, forward it to the superview, if there is any.

initialization
o  initialize
listView toggleSelect:true.

o  mapped
(comment from inherited method)
the view has been mapped (by some outside
action - i.e. window manager de-iconified me)

o  realize
(comment from inherited method)
realize - make visible;
realizing is done very late (after layout is fixed) to avoid
visible rearranging of windows on the screen

o  reinitialize
(comment from inherited method)
this is called right after snapIn

o  startUpdateProcess
every updateDelay (0.5), we look which process runs;
every half second, the status is updated.
every listUpdateDelay (5s), the list of processes is
built up again

menu
o  closeRequestToTopView

o  menuChangeUpdateInterval

o  selectionIndicesDo: aBlock
evaluate aBlock on all selected indices

private
o  installDelayedUpdate

queries
o  computePreferredExtent
return my preferred extent

user actions
o  doubleClicked
intentionally blank here - to be redefined in subclasses

o  inspectSelection
intentionally blank here - to be redefined in subclasses



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 26 Apr 2024 06:57:31 GMT