|
Class: SystemStatusMonitor
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
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)
copyrightCOPYRIGHT (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.
defaults
-
defaultIcon
-
-
defaultLabel
-
menu specs
-
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
|
-
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
|
-
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
-
addAdditionalWidgetsTo: aMonitor in: topView
-
can be redefined in subclasses
-
isAbstract
-
return true, if this is an abstract class.
-
isVisualStartable
-
return true, if this application can be started via #open.
(to allow start of a subclass instance via double-click in the browser)
-
open
-
ProcessMonitor open
ProcessMonitorV2 open
OSProcessMonitor open
-
setupIn: aTopView
-
ProcessMonitor open
OSProcessMonitor open
destroying
-
release
-
(comment from inherited method)
remove all dependencies from the receiver
events
-
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.
-
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
-
initialize
-
listView toggleSelect:true.
-
mapped
-
(comment from inherited method)
the view has been mapped (by some outside
action - i.e. window manager de-iconified me)
-
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
-
reinitialize
-
(comment from inherited method)
this is called right after snapIn
menu
-
closeRequestToTopView
-
-
menuChangeUpdateInterval
-
-
menuChangeUpdateListInterval
-
-
selectionIndicesDo: aBlock
-
evaluate aBlock on all selected indices
private
-
hasSelection
-
-
installDelayedUpdate
-
event mode is no longer used, so updateBlock is nil these days
queries
-
computePreferredExtent
-
return my preferred extent
updating
-
listUpdateDelay
-
the list of entries is updated (fetched) in this interval
-
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
-
titleLine
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
updateDelay
-
the info per-row is updated in this interval
-
updateList
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
updateStatus: arg
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
updateView
-
self updateList.
user actions
-
doubleClicked
-
intentionally blank here - to be redefined in subclasses
-
inspectSelection
-
intentionally blank here - to be redefined in subclasses
|