|
Class: ProcessMonitorV2
Object
|
+--Model
|
+--ApplicationModel
|
+--ProcessMonitorV2
- Package:
- stx:libtool
- Category:
- Monitors-ST/X
- Version:
- rev:
1.96
date: 2019/05/28 23:12:17
- user: cg
- file: ProcessMonitorV2.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Christian Penk (penk@bierfix)
documentation to be added.
[instance variables:]
[class variables:]
defaults
-
defaultLabel
-
-
resourcePackName
-
return the name which is used as the fileNameBase of my resource file.
Here, use the same resources as the (old) ProcessMonitor
help
-
aboutThisApplicationText
-
-
helpSpec
-
This resource specification was automatically generated
by the UIHelpTool of ST/X.
image specs
-
defaultIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self defaultIcon inspect
ImageEditor openOnClass:self andSelector:#defaultIcon
Icon flushCachedIcons
|
-
detailsMenuIconDown
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self detailsMenuIconDown inspect
ImageEditor openOnClass:self andSelector:#detailsMenuIconDown
Icon flushCachedIcons
|
-
detailsMenuIconUp
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self detailsMenuIconUp inspect
ImageEditor openOnClass:self andSelector:#detailsMenuIconUp
Icon flushCachedIcons
|
-
process22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self process22x22Icon inspect
ImageEditor openOnClass:self andSelector:#process22x22Icon
Icon flushCachedIcons
|
-
processAbort22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processAbort22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processAbort22x22Icon
Icon flushCachedIcons
|
-
processDebug22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processDebug22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processDebug22x22Icon
Icon flushCachedIcons
|
-
processInspect22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processInspect22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processInspect22x22Icon
Icon flushCachedIcons
|
-
processLowerPrio22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processLowerPrio22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processLowerPrio22x22Icon
Icon flushCachedIcons
|
-
processRaisePrio22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processRaisePrio22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processRaisePrio22x22Icon
Icon flushCachedIcons
|
-
processRestart22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processRestart22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processRestart22x22Icon
Icon flushCachedIcons
|
-
processResume22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processResume22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processResume22x22Icon
Icon flushCachedIcons
|
-
processStop22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processStop22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processStop22x22Icon
Icon flushCachedIcons
|
-
processSuspend22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processSuspend22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processSuspend22x22Icon
Icon flushCachedIcons
|
-
processTerminate22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processTerminate22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processTerminate22x22Icon
Icon flushCachedIcons
|
-
processTerminateGroup22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self processTerminateGroup22x22Icon inspect
ImageEditor openOnClass:self andSelector:#processTerminateGroup22x22Icon
Icon flushCachedIcons
|
-
raiseWindow22x22Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self raiseWindow22x22Icon inspect
ImageEditor openOnClass:self andSelector:#raiseWindow22x22Icon
Icon flushCachedIcons
|
-
terminateGroupIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self terminateGroupIcon inspect
ImageEditor openOnClass:self andSelector:#terminateGroupIcon
Icon flushCachedIcons
|
-
terminateIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self terminateIcon inspect
ImageEditor openOnClass:self andSelector:#terminateIcon
Icon flushCachedIcons
|
-
viewDetailsIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self viewDetailsIcon inspect
ImageEditor openOnClass:self andSelector:#viewDetailsIcon
Icon flushCachedIcons
|
instance creation
-
open
-
Singleton closeRequest
-
openAllowNoModifications
-
interface specs
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:ProcessMonitorV2 andSelector:#windowSpec
ProcessMonitorV2 new openInterface:#windowSpec
ProcessMonitorV2 open
|
menu specs
-
applicationMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#applicationMenu
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 applicationMenu)) startUp
|
-
debugMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#debugMenu
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 debugMenu)) startUp
|
-
instrumentationMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#instrumentationMenu
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 instrumentationMenu)) startUp
|
-
mainMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#mainMenu
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 mainMenu)) startUp
|
-
processMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#processMenu
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 processMenu)) startUp
|
-
tableMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#tableMenu
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 tableMenu)) startUp
|
-
toolBarMainMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#toolBarMainMenu
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 toolBarMainMenu)) startUp
|
-
viewDetailsMenuSpec
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#viewDetailsMenuSpec
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 viewDetailsMenuSpec)) startUp
|
tableColumns specs
-
tableColumns
-
This resource specification was automatically generated
by the DataSetBuilder of ST/X.
usage example(s):
DataSetBuilder new openOnClass:ProcessMonitorV2 andSelector:#tableColumns
|
accessing
-
visibleBlock
-
-
visibleBlock: aProcessVisibleFilterBlock
-
actions
-
changeSelectionTo: aSelection
-
-
changeSelectionToProcesses: aProcessList
-
-
decreaseupdateContentsDelayTime
-
-
decreaseupdateListDelayTime
-
-
doubleClickedAt: anItemIndex
-
open a debugger on the selected process
-
evaluateEnableInDecreaseButtons
-
-
getProcessList
-
select processes to display.
Subclasses may redefine this
-
increaseupdateContentsDelayTime
-
-
increaseupdateListDelayTime
-
-
selectedProcessesDo: aBlock
-
-
selectedProcessesSend: aSelector
-
send a message to all selected processes
aspects
-
currentSortOrder
-
return/create the 'currentSortOrder' value holder (automatically generated)
-
interruptCountHolder
-
-
isNotTimeslicing
-
-
isTimeslicing
-
-
processList
-
-
scaledUpdateContentsDelayTime
-
-
scaledUpdateListDelayTime
-
-
selectedProcesses
-
selectedProcesses addDependent:self.
-
showDeadHolder
-
return/create the 'showDead' value holder (automatically generated)
-
sortBlock
-
-
tableColumns
-
-
timerActionCountHolder
-
-
updateContentsDelayTimeHolder
-
-
updateListDelayTimeHolder
-
aspects-column
-
showApplication
-
return/create the 'showApplication' value holder (automatically generated)
-
showCurrentSegment
-
return/create the 'showCurrentSegment' value holder (automatically generated)
-
showGroup
-
return/create the 'showGroup' value holder (automatically generated)
-
showInstrumentation
-
return/create the 'showInstrumentation' value holder (automatically generated)
-
showPrio
-
return/create the 'showPrio' value holder (automatically generated)
-
showProcessId
-
-
showStartTime
-
return/create the 'showStartTime' value holder (automatically generated)
-
showState
-
return/create the 'showState' value holder (automatically generated)
-
showSwitch
-
return/create the 'showSwitch' value holder (automatically generated)
-
showTotalStack
-
return/create the 'showTotalStack' value holder (automatically generated)
-
showUsedStack
-
return/create the 'showUsedStack' value holder (automatically generated)
-
showWhere
-
return/create the 'showWhere' value holder (automatically generated)
-
showWindowTitle
-
return/create the 'showWindowTitle' value holder (automatically generated)
aspects-menu enabling
-
allowModifications
-
-
allowModificationsAndHasDebugger
-
-
enableDecreaseContentsDelayTime
-
-
enableDecreaseListDelayTime
-
-
enableIncreaseContentsDelayTime
-
-
enableIncreaseListDelayTime
-
-
hasSelection
-
return true, if an item is selected
-
hasSelectionHolder
-
-
hasSelectionWithApplicationProcess
-
-
hasSelectionWithApplicationProcessHolder
-
-
hasSelectionWithDisabledInstrumentation
-
-
hasSelectionWithDisabledInstrumentationHolder
-
-
hasSelectionWithEnabledInstrumentation
-
-
hasSelectionWithEnabledInstrumentationHolder
-
-
hasSelectionWithGUIProcess
-
-
hasSelectionWithGUIProcessHolder
-
-
hasSelectionWithProcessForWhich: aBlock
-
-
hasSelectionWithStoppedProcess
-
-
hasSelectionWithStoppedProcessHolder
-
-
selectionRestartable
-
change & update
-
selectionChanged
-
-
update: something with: aParameter from: changedObject
-
Invoked when an object that I depend upon sends a change notification.
-
viewedColumnsChanged
-
take the class's columnSpec and select the one's selected by the user.
Stuff this filtered tableColSpec into the value holder
usage example(s):
Transcript showCR:'oldSelection on catch in viewedColumnsChanged', (oldSelection isNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
|
usage example(s):
Transcript showCR:'oldSelection on set in viewedColumnsChanged', (oldSelection isNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
|
event handling
-
processEvent: anEvent
-
filter keyboard events.
Return true, if I have eaten the event
initialization & release
-
commonPostOpen
-
-
initialize
-
0.5
-
postBuildProcessTable: aWidget
-
-
release
-
(comment from inherited method)
remove all references to objects that may refer to self.
Subclasses may redefine this method but should do a 'super release'.
-
restarted
-
restarted from snapshot
menu accessing
-
tableMenu
-
-
tableMenuAccess
-
menu actions
-
abortProcess
-
abort (raise AbortSignal in) the selected process
-
findProcessByView
-
let user click on a window. then select the corresponding process
-
hardTerminateProcess
-
hard terminate the selected process
-
lowerPrio
-
lower the selected processes priority
-
openDocumentation
-
This method was generated by the Browser.
It will be invoked when the menu-item 'help-documentation' is selected.
-
raisePrio
-
raise the selected processes priority
-
restartProcess
-
restarts the selected process
-
resumeProcess
-
resume the selected process (i.e. let it run)
-
setPrioRange
-
set a prio-range the selected processes priority
-
startTimeslicing
-
-
stopProcess
-
stop the selected process - not even interrupts will wake it up
-
stopTimeslicing
-
-
suspendProcess
-
suspend the selected process - interrupts will let it run again
-
terminateAllLikeThis
-
terminate the selected process with all of its subprocesses
-
terminateProcess
-
terminate the selected process
-
terminateProcessGroup
-
terminate the selected process with all of its subprocesses
menu actions-application
-
closeApplication
-
close the process(es) topView(s)
-
lowerApplicationWindow
-
lower the selected process(es) topView(s)
-
raiseApplicationWindow
-
raise the selected process(es) topView(s)
-
selectedApplicationTopViewsDo: aBlock
-
menu actions-debug
-
browseApplication
-
open a browser on the selected process(es) application or topView
-
debugProcess
-
open a debugger on the selected process(es)
-
debugWhenResumed
-
open a debugger when the selected process(es) is resumed
-
disableInstrumentation
-
-
enableInstrumentation
-
-
inspectApplication
-
open an inspector on the selected process(es) application or topView
-
inspectSelection
-
open an inspector on the selected process
private queries
-
isApplicationProcess: aProcess
-
-
windowGroupOfProcess: aProcess
-
queries - table string
-
getActiveStringFor: aProcess running: isRunning
-
-
getApplicationFor: aProcess
-
-
getApplicationStringFor: aProcess
-
-
getCurrentSegmentStringFor: con
-
Modified (format): / 17-08-2011 / 10:57:23 / cg
-
getGroupStringFor: aProcess
-
a group leader
-
getInstrumentationStringFor: aProcess
-
-
getPrioStringFor: aProcess
-
Modified (format): / 17-08-2011 / 10:57:36 / cg
-
getTotalStackStringFor: aProcess
-
-
getWhereContextFor: con running: isRunning
-
retrieve a reasonable description of where the process is sitting around;
that is not the last context before the context switch, because that would
usually be too low level and non-descriptive; instead, walk up the sender chain to
a higher level waiter, such as a semaphore wait, a shared queue wait etc.
-
getWhereStringFor: con running: isRunning
-
retrieve a reasonable description of where the process is sitting around;
that is not the last context before the context switch, because that would
usually be too low level and non-descriptive; instead, walk up the sender chain to
a higher level waiter, such as a semaphore wait, a shared queue wait etc.
-
getWindowTitleFor: aProcess
-
sorting
-
sortProcessListBy: instanceName
-
method to sort the list of BugReport
update process
-
fillItemInformationIn: processItem
-
processItem processBlocked:(aProcess interruptsDisabled).
-
fillItemInformationIn: processItem with: aProcess inArray: weakArrayWithProcesses atIndex: processInstanceIndexInWeakArray
-
-
startUpdateProcess
-
after a restart, updateProcess is a dead process
-
updateChangedItem: oldItem newItem: newItem atIndex: index
-
ID
-
updateList
-
recompute the list of processes
-
updateStatus: newProcessList
-
update the interrupt counts
-
updateTable: newProcessList
-
Transcript showCR:('update the table', Timestamp now printString, 'with new list:', newProcessList notNil asString).
usage example(s):
Transcript showCR:'oldSelection on catch in updateTable: ', (oldSelection isEmptyOrNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
|
usage example(s):
Transcript showCR:'oldSelection on set in updateTable: ', (oldSelection isEmptyOrNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
|
-
updateView
-
ProcessItem
Starting the application:
Starting the application withot any possibilities to change
the processes
ProcessMonitorV2 openAllowNoModifications
|
more examples to be added:
... add code fragment for
... executable example here ...
|
|