|
Class: ProcessMonitorV2
Object
|
+--Model
|
+--ApplicationModel
|
+--ProcessMonitorV2
- Package:
- stx:libtool
- Category:
- Interface-Tools-Monitors
- Version:
- rev:
1.132
date: 2024/04/22 16:50:10
- user: stefan
- file: ProcessMonitorV2.st directory: libtool
- module: stx stc-classLibrary: libtool
documentation to be added.
[instance variables:]
[class variables:]
copyrightCOPYRIGHT (c) 2003 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
-
default
-
return the default class to be used as process monotor
Usage example(s):
Usage example(s):
UserPreferences current processMonitorClass:ProcessMonitor.
ProcessMonitor default open.
UserPreferences current processMonitorClass:nil.
|
-
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
-
(comment from inherited method)
text for an about box for this application.
help specs
-
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
-
-
openOn: aProcess
-
ProcessMonitorV2 openOn:Processor activeProcess
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: aCollectionOfProcessItems
-
Modified (format): / 04-07-2023 / 15:02:56 / exept MBP
-
changeSelectionToProcesses: aCollectionOfProcesses
-
Modified (format): / 04-07-2023 / 15:05:50 / exept MBP
-
decreaseupdateContentsDelayTime
-
-
decreaseupdateListDelayTime
-
-
doubleClickedAt: anItemIndex
-
open a debugger on the selected process
-
evaluateEnableDecreaseButtons
-
-
evaluateEnableInDecreaseButtons
-
-
getProcessList
-
select processes to display.
Subclasses may redefine this
-
increaseupdateContentsDelayTime
-
-
increaseupdateListDelayTime
-
-
selectedProcessesDo: aBlock
-
evaluate aBlock on each selected process
-
selectedProcessesSend: aSelector
-
send a message to each selected process
aspects
-
currentSortOrder
-
return/create the 'currentSortOrder' value holder (automatically generated)
-
interruptCountHolder
-
-
isNotTimeslicing
-
-
isTimeslicing
-
-
memoryAllocatedHolder
-
-
processList
-
-
scaledUpdateContentsDelayTime
-
-
scaledUpdateListDelayTime
-
-
selectedProcesses
-
-
showDeadHolder
-
return/create the 'showDead' value holder (automatically generated)
-
sortBlock
-
-
systemProcessCountHolder
-
-
tableColumns
-
-
timerActionCountHolder
-
-
updateContentsDelayTimeHolder
-
-
updateListDelayTimeHolder
-
-
userProcessCountHolder
-
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
-
-
hasDebuggedProcessSelectedHolder
-
-
hasSelection
-
return true, if an item is selected
-
hasSelectionHolder
-
-
hasSelectionWithApplicationProcess
-
-
hasSelectionWithApplicationProcessHolder
-
-
hasSelectionWithDebuggedProcessHolder
-
-
hasSelectionWithDisabledInstrumentation
-
-
hasSelectionWithDisabledInstrumentationHolder
-
-
hasSelectionWithEnabledInstrumentation
-
-
hasSelectionWithEnabledInstrumentationHolder
-
-
hasSelectionWithGUIProcess
-
-
hasSelectionWithGUIProcessHolder
-
-
hasSelectionWithProcessBlockingOnSemaphore
-
-
hasSelectionWithProcessBlockingOnSemaphoreHolder
-
-
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
-
(comment from inherited method)
a common hook for postOpenWith:, postOpenAsSubcanvasWith: and postOpenAsDialogWith:.
Notice: redefined methods should do a super send.
otherwise resources might be undefined.
-
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.
Also called when <F1> is pressed
-
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
-
inspectBlockingSemaphore
-
-
inspectSelection
-
open an inspector on the selected process
-
raiseDebugger
-
raise the debugger window, which is debugging the selected process(es)
-
raiseDebuggerOfProcess: aProcess
-
raise the debugger window, which is debugging the given 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 blockingSemaphoreInto: aBlockOrNil
-
retrieve a reasonable context 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 as a string;
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 ...
|
|