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.19 date: 2017/01/16 23:57:31
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  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

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  selectionIndicesDo: aBlock
evaluate aBlock on all selected indices

private
o  installDelayedUpdate

queries
o  preferredExtent
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.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 20 May 2019 23:03:16 GMT