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
               |
               +--OSProcessMonitor
               |
               +--TimerQueueMonitor

Package:
stx:libtool
Category:
Interface-Tools-Monitors
Version:
rev: 1.40 date: 2024/02/07 13:32:50
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.
    However, after all those years, they are still very very useful (and not found in many other systems)  

copyright

COPYRIGHT (c) 1997 by eXept Software AG 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.

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  addAdditionalWidgetsTo: aMonitor in: topView
can be redefined in subclasses

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
ProcessMonitorV2 open
OSProcessMonitor open

o  setupIn: aTopView
ProcessMonitor open
OSProcessMonitor open


Instance protocol:

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

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

menu
o  closeRequestToTopView

o  menuChangeUpdateInterval

o  menuChangeUpdateListInterval

o  selectionIndicesDo: aBlock
evaluate aBlock on all selected indices

private
o  hasSelection

o  installDelayedUpdate
event mode is no longer used, so updateBlock is nil these days

queries
o  computePreferredExtent
return my preferred extent

updating
o  listUpdateDelay
the list of entries is updated (fetched) in this interval

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

o  titleLine

** This method must be redefined in concrete classes (subclassResponsibility) **

o  updateDelay
the info per-row is updated in this interval

o  updateList

** This method must be redefined in concrete classes (subclassResponsibility) **

o  updateStatus: arg

** This method must be redefined in concrete classes (subclassResponsibility) **

o  updateView
self updateList.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 17:12:22 GMT