ProcessMonitorV2.st
author Claus Gittinger <cg@exept.de>
Wed, 05 Jun 2019 14:16:59 +0200
changeset 18805 f6df57c6dbfb
parent 18793 8f3ce7028eaa
child 19218 d891e1292e13
permissions -rw-r--r--
#BUGFIX by cg class: AbstractFileBrowser changed: #currentFileNameHolder endless loop if file not present.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18793
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
     1
"{ Encoding: utf8 }"
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
     2
6300
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     3
"
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     4
 COPYRIGHT (c) 2003 by eXept Software AG
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
     5
	      All Rights Reserved
6300
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     6
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     7
 This software is furnished under a license and may be used
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     8
 only in accordance with the terms of that license and with the
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     9
 inclusion of the above copyright notice.   This software may not
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    10
 be provided or otherwise made available to, or used by, any
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    11
 other person.  No title to or ownership of the software is
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    12
 hereby transferred.
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    13
"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    14
"{ Package: 'stx:libtool' }"
99d11fbee2af initial checkin
penk
parents:
diff changeset
    15
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
    16
"{ NameSpace: Smalltalk }"
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
    17
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
    18
ApplicationModel subclass:#ProcessMonitorV2
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    19
	instanceVariableNames:'processList tableColumns selectedProcesses updateSema showDetail
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    20
		hasSelectionHolder showProcessId showGroup showState showPrio
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    21
		showUsedStack showTotalStack showCurrentSegment showSwitch
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
    22
		showWhere showInstrumentation showApplication showWindowTitle
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    23
		currentSortOrder processTable showDeadHolder sortBlock
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    24
		selectionRestartable updateListDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    25
		updateContentsDelayTimeHolder enableDecreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    26
		enableDecreaseContentsDelayTime enableIncreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    27
		enableIncreaseContentsDelayTime listUpdateDelay updateDelay
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    28
		updateBlock listUpdateBlock updateProcess visibleBlock
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    29
		allowModifications tableMenu
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    30
		hasSelectionWithApplicationProcessHolder
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    31
		hasSelectionAndProcessIsApplicationProcessHolder
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    32
		hasSelectionWithStoppedProcessHolder
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    33
		hasSelectionAndProcessIsStoppedHolder
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
    34
		hasSelectionWithGUIProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
    35
		hasSelectionWithDisabledInstrumentationHolder
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    36
		hasSelectionWithEnabledInstrumentationHolder interruptCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    37
		timerActionCountHolder lastInterruptCount lastTimerActionCount
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
    38
		lastUpdateTimestamp showStartTime'
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
    39
	classVariableNames:'Singleton'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    40
	poolDictionaries:''
99d11fbee2af initial checkin
penk
parents:
diff changeset
    41
	category:'Monitors-ST/X'
99d11fbee2af initial checkin
penk
parents:
diff changeset
    42
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
    43
99d11fbee2af initial checkin
penk
parents:
diff changeset
    44
Object subclass:#ProcessItem
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    45
	instanceVariableNames:'processId processGroup processName processActive processState
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    46
		processPrio processUsedStack processTotalStack processWhere
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
    47
		processInstrumentation processApplication processWindowTitle
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    48
		processInstance weakArrayWithProcesses
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    49
		processInstanceIndexInWeakArray processCurrentSegment
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
    50
		processSwitch prioVal idVal groupVal processBlocked
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
    51
		startTimestamp'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    52
	classVariableNames:''
99d11fbee2af initial checkin
penk
parents:
diff changeset
    53
	poolDictionaries:''
99d11fbee2af initial checkin
penk
parents:
diff changeset
    54
	privateIn:ProcessMonitorV2
99d11fbee2af initial checkin
penk
parents:
diff changeset
    55
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
    56
99d11fbee2af initial checkin
penk
parents:
diff changeset
    57
!ProcessMonitorV2 class methodsFor:'documentation'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
    58
6300
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    59
copyright
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    60
"
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    61
 COPYRIGHT (c) 2003 by eXept Software AG
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    62
	      All Rights Reserved
6300
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    63
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    64
 This software is furnished under a license and may be used
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    65
 only in accordance with the terms of that license and with the
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    66
 inclusion of the above copyright notice.   This software may not
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    67
 be provided or otherwise made available to, or used by, any
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    68
 other person.  No title to or ownership of the software is
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    69
 hereby transferred.
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    70
"
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    71
!
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    72
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    73
documentation
99d11fbee2af initial checkin
penk
parents:
diff changeset
    74
"
99d11fbee2af initial checkin
penk
parents:
diff changeset
    75
    documentation to be added.
99d11fbee2af initial checkin
penk
parents:
diff changeset
    76
99d11fbee2af initial checkin
penk
parents:
diff changeset
    77
    [author:]
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    78
	Christian Penk (penk@bierfix)
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    79
99d11fbee2af initial checkin
penk
parents:
diff changeset
    80
    [instance variables:]
99d11fbee2af initial checkin
penk
parents:
diff changeset
    81
99d11fbee2af initial checkin
penk
parents:
diff changeset
    82
    [class variables:]
99d11fbee2af initial checkin
penk
parents:
diff changeset
    83
99d11fbee2af initial checkin
penk
parents:
diff changeset
    84
    [see also:]
99d11fbee2af initial checkin
penk
parents:
diff changeset
    85
99d11fbee2af initial checkin
penk
parents:
diff changeset
    86
"
99d11fbee2af initial checkin
penk
parents:
diff changeset
    87
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
    88
99d11fbee2af initial checkin
penk
parents:
diff changeset
    89
examples
99d11fbee2af initial checkin
penk
parents:
diff changeset
    90
"
99d11fbee2af initial checkin
penk
parents:
diff changeset
    91
  Starting the application:
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    92
								[exBegin]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    93
    ProcessMonitorV2 open
99d11fbee2af initial checkin
penk
parents:
diff changeset
    94
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    95
								[exEnd]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    96
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
    97
  Starting the application withot any possibilities to change
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
    98
  the processes
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    99
								[exBegin]
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   100
    ProcessMonitorV2 openAllowNoModifications
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   101
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   102
								[exEnd]
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   103
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   104
  more examples to be added:
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   105
								[exBegin]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   106
    ... add code fragment for
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   107
    ... executable example here ...
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   108
								[exEnd]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   109
"
99d11fbee2af initial checkin
penk
parents:
diff changeset
   110
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   111
99d11fbee2af initial checkin
penk
parents:
diff changeset
   112
history
99d11fbee2af initial checkin
penk
parents:
diff changeset
   113
    "Created: / 14.1.2003 / 11:16:10 / penk"
99d11fbee2af initial checkin
penk
parents:
diff changeset
   114
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   115
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   116
!ProcessMonitorV2 class methodsFor:'instance creation'!
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   117
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   118
open
18580
50b05e10f8d7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 18577
diff changeset
   119
    "Singleton closeRequest"
50b05e10f8d7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 18577
diff changeset
   120
    
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   121
    (Singleton notNil) ifTrue:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   122
        Singleton window raiseDeiconified.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   123
        ^ Singleton
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   124
    ].
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   125
    ^ (Singleton := super open application)
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   126
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   127
    "Created: / 25-09-2018 / 12:21:37 / Claus Gittinger"
18580
50b05e10f8d7 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 18577
diff changeset
   128
    "Modified (comment): / 07-02-2019 / 17:45:22 / Claus Gittinger"
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   129
!
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
   130
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   131
openAllowNoModifications
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   132
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   133
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   134
    |application|
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   135
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   136
    application := self new.
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   137
    application open.
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   138
    application allowModifications value:false.
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   139
! !
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   140
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   141
!ProcessMonitorV2 class methodsFor:'defaults'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   142
99d11fbee2af initial checkin
penk
parents:
diff changeset
   143
defaultLabel
99d11fbee2af initial checkin
penk
parents:
diff changeset
   144
    ^ 'Process Monitor'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   145
!
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   146
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   147
resourcePackName
7874
defda0e80423 comment
Claus Gittinger <cg@exept.de>
parents: 7863
diff changeset
   148
    "return the name which is used as the fileNameBase of my resource file.
defda0e80423 comment
Claus Gittinger <cg@exept.de>
parents: 7863
diff changeset
   149
     Here, use the same resources as the (old) ProcessMonitor"
defda0e80423 comment
Claus Gittinger <cg@exept.de>
parents: 7863
diff changeset
   150
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   151
    ^ 'ProcessMonitor'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   152
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   153
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   154
!ProcessMonitorV2 class methodsFor:'help'!
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   155
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   156
aboutThisApplicationText
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   157
    ^ super aboutThisApplicationText ,
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
   158
      '\\Written 2003 by Christian Penk, eXept Software AG,\and Claus Gittinger, eXept Software AG.' withCRs
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   159
!
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   160
17892
8091f3922eba #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 17721
diff changeset
   161
helpSpec
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   162
    "This resource specification was automatically generated
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   163
     by the UIHelpTool of ST/X."
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   164
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   165
    "Do not manually edit this!! If it is corrupted,
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   166
     the UIHelpTool may not be able to read the specification."
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   167
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   168
    "
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   169
     UIHelpTool openOnClass:ProcessMonitorV2
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   170
    "
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   171
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   172
    <resource: #help>
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   173
17892
8091f3922eba #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 17721
diff changeset
   174
    ^ super helpSpec addPairsFrom:#(
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   175
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   176
#Debug
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   177
'Debug the selected process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   178
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   179
#Details
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   180
'Details - select columns to display'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   181
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   182
#Inspect
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   183
'Inspect the selected process'
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   184
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   185
#findProcessByView
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   186
'Pick a view and select the associated window group process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   187
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   188
#'Lower Prio'
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   189
'Lower the priority of the selected process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   190
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   191
#'Raise Prio'
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   192
'Raise the priority of the selected process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   193
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   194
#RaiseWindow
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   195
'Raise the application''s window'
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   196
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   197
#Restart
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   198
'Restart'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   199
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   200
#Resume
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   201
'Resume'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   202
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   203
#Abort
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   204
'Abort'
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   205
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   206
#Stop
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   207
'Stop'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   208
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   209
#Suspend
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   210
'Suspend'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   211
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   212
#Terminate
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   213
'Terminate'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   214
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   215
#'Terminate Group'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   216
'Terminate Group'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   217
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   218
#'Update Process List'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   219
'Update Process List'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   220
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   221
processId
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   222
'The process ID. A unique number'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   223
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   224
processGroup
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   225
'The processes group ID. Usually the ID of the parent process. Nil if detached from parent'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   226
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   227
processName
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   228
'The processes name'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   229
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   230
processApplication
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   231
'The processes application class (if any)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   232
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   233
processWindowTitle
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   234
'The processes window title (if any)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   235
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   236
processInstrumentation
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   237
'The process is currently executed with instrumentaion monitoring active'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   238
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   239
processWasActive
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   240
'The process was active any time during the last update interval (+)\ or actively running when probed (*)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   241
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   242
processState
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   243
'The execution state'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   244
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   245
processPriority
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   246
'The execution priority, and optional priority range'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   247
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   248
processWhere
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   249
'The currently executed method or the method which suspended it'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   250
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   251
processUsedStack
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   252
'The amount of stack space used by the process (in bytes)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   253
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   254
processTotalStack
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   255
'The amount of allocated stack space (in bytes) and the number of allocated stack segments'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   256
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   257
processSwitch
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   258
'The overall count of stack segment switches'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   259
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   260
processCurrentSegment
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   261
'The address range of the current stack segment'
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   262
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   263
#interruptCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   264
'Interrupts per second'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   265
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   266
#listUpdateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   267
'Interval to update the list of processes'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   268
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   269
#timerActionCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   270
'Timer actions per second'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   271
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   272
#updateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   273
'Interval to update the status of processes'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   274
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   275
)
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   276
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   277
    "Modified: / 05-06-2007 / 18:35:47 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   278
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   279
99d11fbee2af initial checkin
penk
parents:
diff changeset
   280
!ProcessMonitorV2 class methodsFor:'image specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   281
9802
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   282
defaultIcon
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   283
    "This resource specification was automatically generated
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   284
     by the ImageEditor of ST/X."
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   285
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   286
    "Do not manually edit this!! If it is corrupted,
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   287
     the ImageEditor may not be able to read the specification."
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   288
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   289
    "
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   290
     self defaultIcon inspect
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   291
     ImageEditor openOnClass:self andSelector:#defaultIcon
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   292
     Icon flushCachedIcons
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   293
    "
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   294
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   295
    <resource: #image>
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   296
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   297
    ^Icon
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   298
	constantNamed:'ProcessMonitorV2 class defaultIcon'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   299
	ifAbsentPut:[(Depth1Image new) width: 32; height: 32; photometric:(#whiteIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
9802
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   300
@@@@@G????9@@@@BP@@@@$O?>@I@@@@BP??8@$@@@@IC?? BP@@@@$@@@@I@@@@BP@@@@$M,@@IC[@@BP@@@@$@@@@I@@@@BP@@@@$@@@@I@@@@BP@@@@$@@
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   301
@@I????>@@@@@CLX7L0*)QDPJ*TQDCL%FH #IQADH*TPQBJX7Y b') ; yourself]
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   302
!
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   303
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   304
detailsMenuIconDown
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   305
    <resource: #image>
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   306
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   307
     by the ImageEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   308
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   309
     the ImageEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   310
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   311
     self detailsMenuIconDown inspect
99d11fbee2af initial checkin
penk
parents:
diff changeset
   312
     ImageEditor openOnClass:self andSelector:#detailsMenuIconDown
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   313
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   314
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   315
    ^ Icon constantNamed:#'ProcessMonitorV2 class detailsMenuIconDown'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   316
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   317
	    (Depth1Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   318
		width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   319
		height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   320
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   321
		bitsPerSample:(#( 1 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   322
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   323
		bits:(ByteArray fromPackedString:'@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   324
		colorMapFromArray:#[ 0 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   325
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   326
			    width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   327
			    height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   328
			    bits:(ByteArray fromPackedString:'@A@(UJ(b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   329
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   330
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   331
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   332
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   333
99d11fbee2af initial checkin
penk
parents:
diff changeset
   334
detailsMenuIconUp
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   335
    <resource: #image>
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   336
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   337
     by the ImageEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   338
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   339
     the ImageEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   340
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   341
     self detailsMenuIconUp inspect
99d11fbee2af initial checkin
penk
parents:
diff changeset
   342
     ImageEditor openOnClass:self andSelector:#detailsMenuIconUp
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   343
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   344
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   345
    ^ Icon constantNamed:#'ProcessMonitorV2 class detailsMenuIconUp'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   346
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   347
	    (Depth1Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   348
		width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   349
		height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   350
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   351
		bitsPerSample:(#( 1 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   352
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   353
		bits:(ByteArray fromPackedString:'@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   354
		colorMapFromArray:#[ 0 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   355
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   356
			    width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   357
			    height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   358
			    bits:(ByteArray fromPackedString:'*%P(D@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   359
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   360
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   361
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   362
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   363
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   364
process22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   365
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   366
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   367
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   368
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   369
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   370
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   371
     self process22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   372
     ImageEditor openOnClass:self andSelector:#process22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   373
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   374
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   375
    ^ Icon constantNamed:#'ProcessMonitorV2 class process22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   376
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   377
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   378
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   379
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   380
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   381
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   382
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   383
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   384
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   385
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   386
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   387
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA  @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TFA XHB@@@@@@@@@@@A0\FA T@@@TFA XH@@@@@@@@@@@@@@@G
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   388
A XFAPTFA XH@@@@@@@@@@@@@@@@APXFA XFA XFB@@@@@@@@@@@@@@@APXHA0XFA XFAPXH@@@@@@@@@@@@@@\H@@@EA XG@@@GB@@@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   389
@@TH@@@@@@@@@@@@@@@@@@@@@@@@@@@EB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   390
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   391
		colorMapFromArray:#[ 0 0 0 128 128 128 160 160 160 195 195 195 220 220 220 255 255 255 194 194 194 161 161 165 127 127 127 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   392
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   393
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   394
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   395
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   396
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O??@C?<@C?<@G?>@G?>@COL@@O@@@F@@@@@@@@@@@@@@');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   397
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   398
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   399
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   400
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   401
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   402
processAbort22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   403
    <resource: #image>
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   404
    "This resource specification was automatically generated
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   405
     by the ImageEditor of ST/X."
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   406
    "Do not manually edit this!! If it is corrupted,
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   407
     the ImageEditor may not be able to read the specification."
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   408
    "
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   409
     self processAbort22x22Icon inspect
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   410
     ImageEditor openOnClass:self andSelector:#processAbort22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   411
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   412
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   413
    ^ Icon constantNamed:#'ProcessMonitorV2 class processAbort22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   414
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   415
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   416
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   417
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   418
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   419
		bitsPerSample:(#[ 8 ]);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   420
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   421
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   422
			    fromPackedString:'
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   423
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@E@ @@@@@@@@@@@@@@@@@@@@@@@@@@APH@@@@@@@@@@@@@@@@@
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   424
@@@BAP@@APLC@P@@APH@@@@@@@@@@@@@@PLEAPLC@0LEAPLA@@@@@@@@@@@@@@@B@0LC@0LC@0LA@@@@@@@@@@@@@@@@APLC@ DB@0LC@ @@@@@@@@@@@@@@
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   425
APLC@ D@@@TC@0LB@@@@@@@@@@@EAPLC@0D@@@@@APLC@0TB@@@@@@@@@PDC@0LB@@@@@@TC@0LA@P@@@@@@@@@@@ HC@0T@@@TC@0LA@@TE@@@@@@@@@@@B
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   426
@0LCAPTC@0LA@@TFA TE@@@@@@@@APLC@0LC@0LC@PTFA@PFAP@@@@@@APLA@ LC@0LCAPTFA@PDA@XE@@@@@@HA@@@E@0LB@@TFA@PDA@PFA @@@@@@@@TE
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   427
@@TA@@@EA XDA@PFAPT@@@@@@@@EA TE@P@@APTEA PDA @@@@@@@@@@@@TFAP@@@@TEA PDA T@@@@@@@@@@@@@A XEAPTFA PDA@X@@@@@@@@@@@@@@@TF
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   428
A XFA@PDA XE@@@@@@@@@@@@@@@@APTFA XFA TE@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   429
		colorMapFromArray:#[ 0 0 0 127 127 127 161 161 165 194 194 194 255 0 0 255 255 255 192 0 0 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   430
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   431
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   432
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   433
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   434
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O?? C??8C??8G??<G??<C?_<@?_0@^_0@O? @O? @G?@');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   435
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   436
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   437
	]
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   438
!
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   439
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   440
processDebug22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   441
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   442
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   443
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   444
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   445
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   446
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   447
     self processDebug22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   448
     ImageEditor openOnClass:self andSelector:#processDebug22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   449
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   450
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   451
    ^ Icon constantNamed:#'ProcessMonitorV2 class processDebug22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   452
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   453
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   454
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   455
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   456
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   457
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   458
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   459
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   460
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   461
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@F@0@@@@@@@@@@@@@@@@@@@@@@@@@@A L@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   462
@@@CA @@A PD@P@@A L@@@@@@@@@@@@@@PPFA PDA@PFA PA@@@@@@@@@@@@@@@CA@PD@@@DA@PA@@@@@@@@@@@@@@@@A P@@0DC@@@D@0@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   463
A PD@0@@@@X@@@@@@@@@@@@@@@@FA PDA@D@@@@@@@HB@ HB@ @@@@@@@PDDA@@@@@@@@ HBAPTEAPTB@@@@@@@@@0@B@ @B@ HEAPTEAPTEAPH@@@@@@@HB
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   464
APTE@@HEAPTEAPTEAPTE@ @@@@@B@ TEAP@BAPTEAPTEAPTEAPH@@@@@@@HEAPT@@@@@@@@@@@@@@@@@@@@@@@HBAPTE@@HBAPTEAPTEAPTE@ @@@@@@@ HE
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   465
@ @B@ HEAPTEAPTE@ H@@@@@@@@@@@@@@@HB@ HB@ HB@ @@@@@@@@@@@@@@@@@@@@@B@ HB@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   466
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   467
		colorMapFromArray:#[ 0 0 0 127 127 127 128 0 0 161 161 165 194 194 194 255 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   468
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   469
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   470
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   471
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   472
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?= C??XO?? _=?0_??8O??<???<C??<G??<???<_??<@??8@G?0@L? @Q#X@FA ');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   473
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   474
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   475
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   476
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   477
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   478
processInspect22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   479
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   480
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   481
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   482
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   483
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   484
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   485
     self processInspect22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   486
     ImageEditor openOnClass:self andSelector:#processInspect22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   487
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   488
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   489
    ^ Icon constantNamed:#'ProcessMonitorV2 class processInspect22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   490
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   491
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   492
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   493
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   494
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   495
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   496
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   497
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   498
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   499
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   500
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA @@@@XH@@@@@@@@@@@@@@@@APXF@@@BCPH@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   501
APXF@@0MCP4MCP0@@@@@@@@@@@@EAPXFA @MCPTEAP4M@@TG@@@@@@@@B@ FA @BCPTEAP4MCPH@B@@@@@@@@@@@A0\@CP4EAP4MCP4M@@@@@@@@@@@@@@@G
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   502
@@HMAP4MCP4M@ @@@@@@@@@@@@@@APX@CP4MCP4MCP@@@@@@@@@@@@@@APXH@@0MCP4MCP0@BP@@@@@@@@@@@@\H@@@@@@HM@ @@@ @@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   503
@@T@@@@@B @K@0@@@@@@@@@@@@@@@@@EB@@@@@@@C ,C@@@@@@@@@@@@@@@@@@@@@@@@@@@NB0L@@@@@@@@@@@@@@@@@@@@@@@@@@@8K@0@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   504
@@@@@@@@@@@@C ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   505
		colorMapFromArray:#[ 0 0 0 128 128 128 160 160 160 195 195 195 220 220 220 255 255 255 194 194 194 161 161 165 127 127 127 120 120 120 0 64 64 88 88 88 80 80 80 200 200 200 48 48 48 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   506
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   507
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   508
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   509
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   510
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_?? _?? O??@C?>@C?<@G?>@G??@CO/ @OG0@FC8@@A<@@@<@@@X');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   511
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   512
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   513
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   514
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   515
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   516
processLowerPrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   517
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   518
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   519
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   520
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   521
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   522
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   523
     self processLowerPrio22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   524
     ImageEditor openOnClass:self andSelector:#processLowerPrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   525
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   526
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   527
    ^ Icon constantNamed:#'ProcessMonitorV2 class processLowerPrio22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   528
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   529
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   530
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   531
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   532
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   533
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   534
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   535
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   536
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   537
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   538
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   539
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA  @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TEAPTEAPTE@@@@@@@@A0\FA T@@@TFAP@@@@@@AP@@@@@@@@@G
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   540
A XFAPTFA T@@@@@@@T@@@@@@@@@APXFA XFA XE@@@@@@@E@@@@@@@@APXHA0XFA XFAP@@@@@@AP@@@@@@@@\H@@@EA XEAPT@@@@@@@TEAP@@@@@@@@@@
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   541
@@THAP@@@@@@@@@@@@T@@@@@@@@@@@@EB@@E@@@@@@@@@@T@@@@@@@@@@@@@@@@@@@T@@@@@@@T@@@@@@@@@@@@@@@@@@@@@AP@@@@T@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   542
@@@@@@@E@@T@@@@@@@@@@@@@@@@@@@@@@@@@@@T@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   543
		colorMapFromArray:#[ 0 0 0 128 128 128 160 160 160 195 195 195 220 220 220 255 255 255 194 194 194 161 161 165 127 127 127 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   544
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   545
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   546
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   547
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   548
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9?0O??0C??0C??0G??0G??<CO?<@O?8@F_0@@O @@G@@@B@');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   549
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   550
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   551
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   552
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   553
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   554
processRaisePrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   555
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   556
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   557
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   558
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   559
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   560
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   561
     self processRaisePrio22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   562
     ImageEditor openOnClass:self andSelector:#processRaisePrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   563
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   564
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   565
    ^ Icon constantNamed:#'ProcessMonitorV2 class processRaisePrio22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   566
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   567
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   568
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   569
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   570
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   571
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   572
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   573
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   574
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   575
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   576
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   577
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA  @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TFA XEB@@@@@@@@@@@A0\FA T@@@TFA XE@@T@@@@@@@@@@@@G
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   578
A XFAPTFA XE@@@@AP@@@@@@@@@@APXFA XFA XE@@@@@@@E@@@@@@@@APXHA0XFA XE@@@@@@@@@@T@@@@@@@\H@@@EA XE@@@@@@@@@@@@AP@@@@@@@@@@
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   579
@@THAPTE@@@@@@@EAPT@@@@@@@@@@@@EB@@@AP@@@@@@AP@@@@@@@@@@@@@@@@@@@@T@@@@@@@T@@@@@@@@@@@@@@@@@@@@E@@@@@@@E@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   580
@@@@AP@@@@@@AP@@@@@@@@@@@@@@@@@@@@TEAPTEAPT@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   581
		colorMapFromArray:#[ 0 0 0 128 128 128 160 160 160 195 195 195 220 220 220 255 255 255 194 194 194 161 161 165 127 127 127 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   582
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   583
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   584
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   585
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   586
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O??@C?? C??0G??8G??<CO?<@O_0@F_0@@_0@@_0@@_0');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   587
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   588
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   589
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   590
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   591
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   592
processRestart22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   593
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   594
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   595
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   596
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   597
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   598
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   599
     self processRestart22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   600
     ImageEditor openOnClass:self andSelector:#processRestart22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   601
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   602
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   603
    ^ Icon constantNamed:#'ProcessMonitorV2 class processRestart22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   604
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   605
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   606
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   607
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   608
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   609
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   610
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   611
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   612
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   613
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@GAP@@@@@@@@@@@@@@@@@@@@@@@@@@A0T@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   614
@@@EA0@@A0XFA@@@A0T@@@@@@@@@@@@@A@XGA0XFA XGA0XD@@@@@@@@@@@@@@@EA XFA XF@@@@@@@@@@@@@@@@@@@@A0XFAPP@@@LC@0@@@P@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   615
A0XFAPP@@0LC@0@E@@@@@@@@@@@GA0XFA P@@@LC@0@FA \@@@@@@@@@A@PFA XE@@LC@0@FA XD@@@@@@@@@@@@APTFA @C@0L@A XD@@@@@@@@@@@@@@@E
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   616
@@LC@0LC@0L@@@@@@@@@@@@@@@@@A0X@@0LC@0L@@@@@@@@@@@@@@@@@A0XDAP@C@0L@@@@@@@@@@@@@@@@@@@TD@@@@@@L@@@@@@@@@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   617
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   618
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   619
		colorMapFromArray:#[ 0 0 0 0 64 0 0 128 0 0 192 0 127 127 127 161 161 165 194 194 194 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   620
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   621
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   622
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   623
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   624
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?>@C?? O??0_?>P_?>HO?<@C?= C?30G?''8G7/<CCO0@PC0@HG @L_ @G?@@A<@');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   625
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   626
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   627
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   628
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   629
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   630
processResume22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   631
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   632
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   633
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   634
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   635
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   636
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   637
     self processResume22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   638
     ImageEditor openOnClass:self andSelector:#processResume22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   639
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   640
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   641
    ^ Icon constantNamed:#'ProcessMonitorV2 class processResume22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   642
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   643
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   644
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   645
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   646
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   647
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   648
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   649
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   650
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   651
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   652
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   653
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA  @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TE@@THB@@@@@@@@@@@A0\FA T@@@TFAP@@AP@@@@@@@@@@@@@G
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   654
A XFAPTFA T@@@@E@@@@@@@@@@@@APXFA XFA XE@@@@@@T@@@@@@@@@APXHA0XFA XFAP@@@@@@AP@@@@@@@@\H@@@EA XG@@T@@@@@@@@E@@@@@@@@@@@@
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   655
@@TH@@@E@@@@@@@@AP@@@@@@@@@@@@@EB@@@AP@@@@@@AP@@@@@@@@@@@@@@@@@@@@T@@@@@AP@@@@@@@@@@@@@@@@@@@@@E@@@@AP@@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   656
@@@@AP@@AP@@@@@@@@@@@@@@@@@@@@@@@@T@AP@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   657
		colorMapFromArray:#[ 0 0 0 128 128 128 160 160 160 195 195 195 220 220 220 255 255 255 194 194 194 161 161 165 127 127 127 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   658
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   659
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   660
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   661
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   662
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O??@C??@C?? G??0G??8CO_8@O_0@F_ @@_@@@^@@@\@');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   663
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   664
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   665
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   666
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   667
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   668
processStop22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   669
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   670
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   671
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   672
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   673
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   674
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   675
     self processStop22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   676
     ImageEditor openOnClass:self andSelector:#processStop22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   677
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   678
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   679
    ^ Icon constantNamed:#'ProcessMonitorV2 class processStop22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   680
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   681
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   682
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   683
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   684
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   685
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   686
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   687
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   688
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   689
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   690
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   691
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA  @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TFA XHB@@@@@@@@@@@A0\FA T@@@TFA XH@@@@@@@@@@@@@@@G
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   692
A XFAPTFAPTEAPTEAPTEAP@@@@@@APXFA XFA T@@@@EAP@@@@T@@@@@APXHA0XFA XE@@@@APT@@@@E@@@@@@\H@@@EA XGAP@@@@TE@@@@AP@@@@@@@@@@
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   693
@@TH@@T@@@@EAP@@@@T@@@@@@@@@@@@EB@@E@@@@APT@@@@E@@@@@@@@@@@@@@@@AP@@@@TE@@@@AP@@@@@@@@@@@@@@@@T@@@@EAP@@@@T@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   694
@@@E@@@@APT@@@@E@@@@@@@@@@@@@@@@APTEAPTEAPTEAP@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   695
		colorMapFromArray:#[ 0 0 0 128 128 128 160 160 160 195 195 195 220 220 220 255 255 255 194 194 194 161 161 165 127 127 127 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   696
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   697
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   698
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   699
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   700
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O??@C??<C??<G??<G??<CO?<@O?<@F?<@@?<@@?<@@?<');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   701
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   702
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   703
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   704
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   705
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   706
processSuspend22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   707
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   708
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   709
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   710
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   711
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   712
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   713
     self processSuspend22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   714
     ImageEditor openOnClass:self andSelector:#processSuspend22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   715
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   716
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   717
    ^ Icon constantNamed:#'ProcessMonitorV2 class processSuspend22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   718
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   719
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   720
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   721
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   722
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   723
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   724
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   725
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   726
			    fromPackedString:'
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   727
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   728
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   729
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA  @@@@@APXFA TG@@@@@@@@B@ FA XG@@TEAPTEAPTEAPTEAPT@@@@@A0\FA TEAPTEAPTEAPTEAPTE@@@@@@@G
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   730
A XFAPTE@@@@@@@@@@@EAP@@@@@@APXFA TEAP@@@@@@@@@@APT@@@@@APXHA0XEAPT@@@@@@@@@@@TE@@@@@@\H@@@EAPTE@@@@@@@@@@@EAP@@@@@@@@@@
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   731
@@TEAP@@@@@@@@@@APT@@@@@@@@@@@@EAPT@@@@@@@@@@@TE@@@@@@@@@@@@APTE@@@@@@@@@@@EAP@@@@@@@@@@@@TEAP@@@@@@@@@@APT@@@@@@@@@@@@E
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   732
APTEAPTEAPTEAPTE@@@@@@@@@@@@APTEAPTEAPTEAPTEAP@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   733
		colorMapFromArray:#[ 0 0 0 128 128 128 160 160 160 195 195 195 220 220 220 255 255 255 194 194 194 161 161 165 127 127 127 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   734
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   735
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   736
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   737
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   738
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _??<O??<C??<C??<G??<G??<CO?<@O?<@G?<@G?<@G?<@G?<');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   739
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   740
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   741
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   742
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   743
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   744
processTerminate22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   745
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   746
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   747
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   748
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   749
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   750
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   751
     self processTerminate22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   752
     ImageEditor openOnClass:self andSelector:#processTerminate22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   753
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   754
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   755
    ^ Icon constantNamed:#'ProcessMonitorV2 class processTerminate22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   756
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   757
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   758
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   759
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   760
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   761
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   762
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   763
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   764
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   765
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   766
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   767
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA  @@@@@APXFA TGC@@@@@@@B@ FA XG@@@LC@TFA XHC@,K@@@@@@@@A0\FA TLB0,LC@XHC@,KBP@@@@@@@@@G
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   768
A XFAPTJB0,LB0,KBP@@@@@@@@@@APXFA XFA (KB0,KBP@@@@@@@@@@APXHA0XFA XFC@,KC@@@@@@@@@@@@@\H@@@EA XGC@,KB00@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   769
@@THC@,I@@(KC@@@@@@@@@@@@@@@@@@EB@0I@@@@B ,@@@@@@@@@@@@@@@@@@@0K@@@@@@@JB0@@@@@@@@@@@@@@@@@LBP@@@@@@@@,@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   770
C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   771
		colorMapFromArray:#[ 0 0 0 128 128 128 160 160 160 195 195 195 220 220 220 255 255 255 194 194 194 161 161 165 127 127 127 64 0 0 128 0 0 192 0 0 255 0 0 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   772
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   773
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   774
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   775
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   776
					fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _;?0O??0C?? C??@G?>@G?>@CO?@@O#@@GA @C@ @B@@@@@@');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   777
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   778
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   779
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   780
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   781
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   782
processTerminateGroup22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   783
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   784
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   785
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   786
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   787
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   788
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   789
     self processTerminateGroup22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   790
     ImageEditor openOnClass:self andSelector:#processTerminateGroup22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   791
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   792
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   793
    ^ Icon
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   794
	constantNamed:#'ProcessMonitorV2 class processTerminateGroup22x22Icon'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   795
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   796
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   797
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   798
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   799
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   800
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   801
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   802
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   803
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   804
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@@@@@@@@@@@TG@@@@@@@@@@@@@@@@@@@@A0T@@@TFA  @@@TG@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   805
@@ FAPTF@@@FAPTFB@@@@@@@@@@@@@@@A0XF@@TG@@XFB@@@@@@@@@@@@@@@@@@FA @EA0@FA @@@@@@@@@@@@@@@@\E@@@EA XH@@@EA0@@@@@@@@@@AP@H
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   806
A TEA XFA TEA  @A0@@@@@@@@ H@@\FA XFA XFA  @B@ @@@@@@@@@@@@EA XGB@\FA XG@@@@@@@L@@@@@@@EA XGB@@@AP0LA \@@@@LB0,@@@TEA XF
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   807
B@@FA 0KB00LAP\LB0,I@@@HB@XFA \@A X@AP(KB00KB0,I@@@@@@@GA0XFAP@@APXFB ,KB0,I@@@@@@@@@@\FA XEAPXFA  LB0,L@@@@@@@@@@@EA XF
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   808
A XFA XLB0,KC@@@@@@@@@@EA  GA XFA XLB0$@B ,L@@@@@@@@A0 @@@TFA \@C@$H@@@JB0@@@@@@@@@@@@@@AP @C@,@@@@@@@(K@@@@@@@@@@@@@@TH
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   809
@@0I@@@@@@@@B0@@@@@@@@@@@@@@@@@L@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   810
		colorMapFromArray:#[ 0 0 0 128 128 128 160 160 160 195 195 195 220 220 220 255 255 255 194 194 194 161 161 165 127 127 127 64 0 0 128 0 0 192 0 0 255 0 0 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   811
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   812
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   813
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   814
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   815
					fromPackedString:'@L@@@^@@F^X@O?<@O?<@G?8@G?8@_?>@???@???@_?>P_?>8???8???0_?? G??@G??@O?? O?= F_80@_ P@M@@');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   816
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   817
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   818
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   819
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   820
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   821
raiseWindow22x22Icon
14396
b93e61a4ddd7 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13775
diff changeset
   822
    <resource: #image>
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   823
    "This resource specification was automatically generated
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   824
     by the ImageEditor of ST/X."
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   825
    "Do not manually edit this!! If it is corrupted,
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   826
     the ImageEditor may not be able to read the specification."
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   827
    "
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   828
     self raiseWindow22x22Icon inspect
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   829
     ImageEditor openOnClass:self andSelector:#raiseWindow22x22Icon
14396
b93e61a4ddd7 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13775
diff changeset
   830
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   831
14396
b93e61a4ddd7 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13775
diff changeset
   832
    ^ Icon constantNamed:'ProcessMonitorV2 class raiseWindow22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   833
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   834
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   835
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   836
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   837
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   838
		bitsPerSample:(#[ 8 ]);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   839
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   840
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   841
			    fromPackedString:'
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   842
@@@.K"8.K"8.K"8.K"8.K"8.K"8.K @@@@@@@ HB@ HB@ HB@ HB@ HB@B8@@@@@@@H+J2,+J2,+J2,+J2,+@ @.@@@@@@@BJ2,+J2,+J2,+J2,+J2 @K @@
8652
c7ab5e1b64ca *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8651
diff changeset
   843
@ HB@ HB@ HB@ HB@ HBJ2,"@B8@@@HB@ HB@ HB@ HB@ HB@",EF @.@@@B@ HB@ HB@ HB@ HB@" EHQ(@K @@@ HB@ HB@ HB@ HB@ H"AR$(@B8@@@H+
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   844
J2,+J2,+J2,+J2,!!JBD''J@@.@@@BJ2,+J2,+J2,+J2,+HR !!I2 @K @@@",+J2,+J2,+J2,+J2\(HRL @B8@@@H+J2,+J2,+J2,+J2,''JBT#H@@.@@@BJ2,+
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   845
J2,+J2,+J2,EI2 ''A"@@K @@@",+J2,+J2,+J2,EARL I0X @B8@@@H+J2,+J2,+J2,EAR$#HB\FH@@.@@@BJ2,+J2,+J2,EAR$)A"@F@2@@K @@@",+J2,+
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   846
J2,EAR$)HPX HB@Y@B8@@@H+J2,+J2,EAPT)HRDFH@@@@@@.@@@BJ2,EJR$)HRD!!CB\''@2@@@@@@K @@DRPGA2<^D@,KJ!!<-JB@Y@@@@@B8@@@@@@@@@@@@@
14396
b93e61a4ddd7 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13775
diff changeset
   847
@@@@@@@@@@@@@@@.@@@@@@@@@@@@@@@@@@@@@@@@K"8.K @a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   848
		colorMapFromArray:#[ 160 200 248 175 200 248 0 48 168 208 208 224 207 216 240 240 240 248 223 216 224 80 136 208 240 232 240 175 208 248 176 208 248 64 112 192 239 232 232 255 248 176 255 248 24 255 248 152 79 120 192 48 120 208 159 192 248 255 248 88 160 192 248 255 248 48 255 248 96 144 184 248 240 144 24 15 56 160 63 88 176 191 216 248 240 208 24 255 248 136 79 120 200 63 104 184 48 80 176 239 232 240 31 72 176 223 216 232 80 144 208 224 224 240 255 248 200 224 224 232 48 88 176 240 240 240 64 104 184 255 248 248 47 112 208 63 96 184 236 233 216 79 128 200 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   849
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   850
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   851
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   852
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   853
					fromPackedString:'@@@@A??0A??0A??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O?>@O?>@O?>@@@@@@@@@');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   854
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   855
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   856
	]
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   857
!
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   858
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   859
terminateGroupIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   860
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   861
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   862
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   863
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   864
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   865
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   866
     self terminateGroupIcon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   867
     ImageEditor openOnClass:self andSelector:#terminateGroupIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   868
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   869
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   870
    ^ Icon constantNamed:#'ProcessMonitorV2 class terminateGroupIcon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   871
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   872
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   873
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   874
		height:20;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   875
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   876
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   877
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   878
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   879
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   880
@PDA@PXJB (JB (JB (JB TE@PDA@PDA@PXJB (JB (JB (JB (JA0TA@PD@@PXJB (JB (JB (JB (JB (JA D@@@HDB (J@ HJB (JB PDA@(JB X@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   881
@P\G@PDAA (JB XA@PDFA XA@@@@A DA@PDA@PXJB (F@PDA@PDA@PX@A \A@PD@@@@@@@@@A DJ@@@@@@@@@@XJB DA@@,KB0,K@@@A@@,KB0,KB0@AA XF
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   882
B (@B0,KB0,@@@,KB0,KB0@A@PDA@PXJB @KB0,KB0,KB0,KB0@A@PDA@PXJB (J@@,KB0,KB0,KB0@A@PD@@PXJB (JB (@B0,KB0,KB0@JA D@@@HDB (J
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   883
@ HJB @KB0,KB0@JB X@@@@@@P\G@PDAA @KB0,KB0,K@@XA@@@@@@DA@PDA@P@KB0,KB0,KB0,@@P@@@@@A@PDA@P@KB0,KB0@KB0,KB0@@@@@@@@DA@P@K
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   884
B0,KB0@@@@,KB0,K@@@@@@@@@@@KB0,KB0@A@@@@B0,KB0,@@@@@@@@@@@@@@@@A@P@@@@@@@@@@@@@@@@@@@@@@@@DA@P@@@@@@@@@@@@@b');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   885
		colorMapFromArray:#[ 0 0 0 48 48 48 56 59 56 64 68 64 88 92 88 128 128 128 160 160 160 192 192 192 216 219 216 239 244 239 248 252 248 160 0 0 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   886
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   887
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   888
			    height:20;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   889
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   890
					fromPackedString:'???<???<_??8_??0O??0_??8???<???<???<???<???<_??8_??0O??0O??0O??0G?/8A?''<A?#<@G@@');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   891
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   892
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   893
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   894
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   895
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   896
terminateIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   897
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   898
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   899
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   900
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   901
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   902
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   903
     self terminateIcon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   904
     ImageEditor openOnClass:self andSelector:#terminateIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   905
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   906
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   907
    ^ Icon constantNamed:#'ProcessMonitorV2 class terminateIcon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   908
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   909
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   910
		width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   911
		height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   912
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   913
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   914
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   915
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   916
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   917
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@@@@@@@@@LC@@@@@@@C@ H@@@@@@@LB@ LC@@@C@ H@@@@@@@@@@@DB@ LB
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   918
@ H@@@@@@@@@@@@@@PHB@ H@@@@@@@@@@@@@@@@C@ HC@@@@@@@@@@@@@@@C@ HB@0@@@@@@@@@@@@@C@ @@@PHC@@@@@@@@@@@@@0@@@@@A@ @@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   919
@0H@@@@@@@DB@@@@@@@@@@L@@@@@@@@@@ @@@@@@@@@C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   920
		colorMapFromArray:#[ 64 0 0 128 0 0 192 0 0 255 0 0 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   921
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   922
			    width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   923
			    height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   924
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   925
					fromPackedString:'@@@@@@@HCA0_O@_8@?@A8@O A7@FL@0XC@ H@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   926
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   927
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   928
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   929
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   930
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   931
viewDetailsIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   932
    <resource: #image>
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   933
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   934
     by the ImageEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   935
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   936
     the ImageEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   937
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   938
     self viewDetailsIcon inspect
99d11fbee2af initial checkin
penk
parents:
diff changeset
   939
     ImageEditor openOnClass:self andSelector:#viewDetailsIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   940
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   941
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   942
    ^ Icon constantNamed:#'ProcessMonitorV2 class viewDetailsIcon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   943
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   944
	    (Depth1Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   945
		width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   946
		height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   947
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   948
		bitsPerSample:(#( 1 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   949
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   950
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   951
			    fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   952
		colorMapFromArray:#[ 0 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   953
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   954
			    width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   955
			    height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   956
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   957
					fromPackedString:'@@@@@@@@]+X@@@@@]+X@@@@@]+X@@@@@]+X@@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   958
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   959
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   960
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   961
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   962
99d11fbee2af initial checkin
penk
parents:
diff changeset
   963
!ProcessMonitorV2 class methodsFor:'interface specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   964
99d11fbee2af initial checkin
penk
parents:
diff changeset
   965
windowSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
   966
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   967
     by the UIPainter of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   968
99d11fbee2af initial checkin
penk
parents:
diff changeset
   969
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   970
     the UIPainter may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   971
99d11fbee2af initial checkin
penk
parents:
diff changeset
   972
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   973
     UIPainter new openOnClass:ProcessMonitorV2 andSelector:#windowSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
   974
     ProcessMonitorV2 new openInterface:#windowSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
   975
     ProcessMonitorV2 open
99d11fbee2af initial checkin
penk
parents:
diff changeset
   976
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   977
99d11fbee2af initial checkin
penk
parents:
diff changeset
   978
    <resource: #canvas>
99d11fbee2af initial checkin
penk
parents:
diff changeset
   979
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   980
    ^ 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   981
    #(FullSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   982
       name: windowSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   983
       window: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   984
      (WindowSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   985
         label: 'ProcessMonitor'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   986
         name: 'ProcessMonitor'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   987
         min: (Point 10 10)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   988
         bounds: (Rectangle 0 0 791 358)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   989
         menu: mainMenu
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   990
         icon: defaultIcon
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   991
       )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   992
       component: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   993
      (SpecCollection
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   994
         collection: (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   995
          (MenuPanelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   996
             name: 'ToolBar1'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   997
             layout: (LayoutFrame 0 0.0 0 0 0 1.0 32 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   998
             menu: toolBarMainMenu
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   999
             textDefault: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1000
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1001
          (DataSetSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1002
             name: 'ProcessTable'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1003
             layout: (LayoutFrame 0 0.0 32 0.0 0 1.0 -25 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1004
             model: selectedProcesses
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1005
             menu: tableMenu
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1006
             hasHorizontalScrollBar: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1007
             hasVerticalScrollBar: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1008
             dataList: processList
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1009
             useIndex: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1010
             doubleClickSelector: doubleClickedAt:
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1011
             columnHolder: tableColumns
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1012
             multipleSelectOk: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1013
             verticalSpacing: 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1014
             postBuildCallback: postBuildProcessTable:
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1015
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1016
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1017
             label: 'IRQ:'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1018
             name: 'Label1'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1019
             layout: (LayoutFrame 0 0 -24 1 50 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1020
             activeHelpKey: interruptCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1021
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1022
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1023
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1024
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1025
             name: 'Label2'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1026
             layout: (LayoutFrame 50 0 -24 1 100 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1027
             activeHelpKey: interruptCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1028
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1029
             labelChannel: interruptCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1030
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1031
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1032
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1033
             label: 'TMR:'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1034
             name: 'Label3'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1035
             layout: (LayoutFrame 100 0 -24 1 150 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1036
             activeHelpKey: timerActionCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1037
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1038
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1039
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1040
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1041
             name: 'Label4'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1042
             layout: (LayoutFrame 150 0 -24 1 200 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1043
             activeHelpKey: timerActionCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1044
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1045
             labelChannel: timerActionCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1046
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1047
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1048
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1049
             label: 'Update Interval (s):'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1050
             name: 'ContentsUpdateLabel'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1051
             layout: (LayoutFrame -593 1 -24 1 -402 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1052
             activeHelpKey: updateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1053
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1054
             adjust: right
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1055
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1056
          (ViewSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1057
             name: 'Box1'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1058
             layout: (LayoutFrame -396 1 -24 1 -306 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1059
             activeHelpKey: updateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1060
             level: 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1061
             component: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1062
            (SpecCollection
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1063
               collection: (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1064
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1065
                   name: 'ArrowButton3'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1066
                   layout: (LayoutFrame 68 0 0 0 89 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1067
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1068
                   model: increaseupdateContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1069
                   enableChannel: enableIncreaseContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1070
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1071
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1072
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1073
                   direction: up
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1074
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1075
                (InputFieldSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1076
                   name: 'EntryField2'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1077
                   layout: (LayoutFrame 22 0 0 0 66 0 22 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1078
                   model: updateContentsDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1079
                   acceptOnReturn: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1080
                   acceptOnTab: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1081
                   acceptOnLostFocus: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1082
                   acceptOnPointerLeave: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1083
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1084
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1085
                   name: 'ArrowButton4'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1086
                   layout: (LayoutFrame 0 0 0 0 20 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1087
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1088
                   model: decreaseupdateContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1089
                   enableChannel: enableDecreaseContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1090
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1091
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1092
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1093
                   direction: down
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1094
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1095
                )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1096
              
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1097
             )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1098
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1099
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1100
             label: 'Processlist:'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1101
             name: 'ListUpdateLabel'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1102
             layout: (LayoutFrame -301 1 -24 1 -110 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1103
             activeHelpKey: listUpdateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1104
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1105
             adjust: right
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1106
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1107
          (ViewSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1108
             name: 'Box2'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1109
             layout: (LayoutFrame -103 1 -24 1 -16 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1110
             activeHelpKey: listUpdateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1111
             level: 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1112
             component: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1113
            (SpecCollection
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1114
               collection: (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1115
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1116
                   name: 'ArrowButton5'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1117
                   layout: (LayoutFrame 68 0 0 0 89 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1118
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1119
                   model: increaseupdateListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1120
                   enableChannel: enableIncreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1121
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1122
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1123
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1124
                   direction: up
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1125
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1126
                (InputFieldSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1127
                   name: 'EntryField3'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1128
                   layout: (LayoutFrame 22 0 0 0 66 0 22 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1129
                   model: updateListDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1130
                   acceptOnReturn: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1131
                   acceptOnTab: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1132
                   acceptOnLostFocus: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1133
                   acceptOnPointerLeave: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1134
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1135
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1136
                   name: 'ArrowButton6'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1137
                   layout: (LayoutFrame 0 0 0 0 20 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1138
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1139
                   model: decreaseupdateListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1140
                   enableChannel: enableDecreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1141
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1142
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1143
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1144
                   direction: down
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1145
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1146
                )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1147
              
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1148
             )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1149
             keepSpaceForOSXResizeHandleH: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1150
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1151
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1152
        
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1153
       )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1154
     )
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1155
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1156
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1157
!ProcessMonitorV2 class methodsFor:'menu specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1158
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1159
applicationMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1160
    "This resource specification was automatically generated
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1161
     by the MenuEditor of ST/X."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1162
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1163
    "Do not manually edit this!! If it is corrupted,
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1164
     the MenuEditor may not be able to read the specification."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1165
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1166
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1167
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#applicationMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1168
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 applicationMenu)) startUp
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1169
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1170
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1171
    <resource: #menu>
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1172
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1173
    ^
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1174
     #(Menu
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1175
	(
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1176
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1177
	    enabled: hasSelectionWithApplicationProcessHolder
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1178
	    label: 'Raise Applications Window'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1179
	    itemValue: raiseApplicationWindow
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1180
	    translateLabel: true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1181
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1182
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1183
	    enabled: hasSelectionWithApplicationProcessHolder
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1184
	    label: 'Lower Applications Window'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1185
	    itemValue: lowerApplicationWindow
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1186
	    translateLabel: true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1187
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1188
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1189
	    label: '-'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1190
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1191
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1192
	    enabled: hasSelectionWithApplicationProcessHolder
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1193
	    label: 'Close'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1194
	    itemValue: closeApplication
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1195
	    translateLabel: true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1196
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1197
	 )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1198
	nil
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1199
	nil
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1200
      )
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1201
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1202
    "Modified: / 07-06-2007 / 12:44:21 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1203
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1204
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1205
debugMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1206
    "This resource specification was automatically generated
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1207
     by the MenuEditor of ST/X."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1208
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1209
    "Do not manually edit this!! If it is corrupted,
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1210
     the MenuEditor may not be able to read the specification."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1211
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1212
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1213
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#debugMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1214
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 debugMenu)) startUp
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1215
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1216
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1217
    <resource: #menu>
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1218
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1219
    ^
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1220
     #(Menu
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1221
	(
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1222
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1223
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1224
	    label: 'Inspect Process'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1225
	    itemValue: inspectSelection
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1226
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1227
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1228
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1229
	    enabled: hasSelectionWithApplicationProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1230
	    label: 'Inspect Application'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1231
	    itemValue: inspectApplication
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1232
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1233
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1234
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1235
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1236
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1237
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1238
	    enabled: hasSelectionWithApplicationProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1239
	    label: 'Browse Application'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1240
	    itemValue: browseApplication
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1241
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1242
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1243
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1244
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1245
	    isVisible: allowModificationsAndHasDebugger
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1246
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1247
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1248
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1249
	    label: 'Debug'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1250
	    itemValue: debugProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1251
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1252
	    isVisible: allowModificationsAndHasDebugger
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1253
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1254
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1255
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1256
	nil
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1257
      )
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1258
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1259
    "Modified: / 07-06-2007 / 12:49:58 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1260
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1261
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1262
instrumentationMenu
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1263
    "This resource specification was automatically generated
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1264
     by the MenuEditor of ST/X."
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1265
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1266
    "Do not manually edit this!! If it is corrupted,
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1267
     the MenuEditor may not be able to read the specification."
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1268
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1269
    "
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1270
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#instrumentationMenu
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1271
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 instrumentationMenu)) startUp
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1272
    "
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1273
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1274
    <resource: #menu>
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1275
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1276
    ^
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1277
     #(Menu
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1278
	(
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1279
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1280
	    enabled: hasSelectionWithEnabledInstrumentationHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1281
	    label: 'Disable'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1282
	    itemValue: disableInstrumentation
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1283
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1284
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1285
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1286
	    enabled: hasSelectionWithDisabledInstrumentationHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1287
	    label: 'Enable'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1288
	    itemValue: enableInstrumentation
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1289
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1290
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1291
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1292
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1293
	nil
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1294
      )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1295
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1296
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1297
mainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1298
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1299
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1300
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1301
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1302
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1303
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  1304
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1305
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1306
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#mainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1307
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 mainMenu)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1308
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1309
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1310
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1311
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1312
    ^
7416
6c684d163ac8 #conditionalRight
Claus Gittinger <cg@exept.de>
parents: 7116
diff changeset
  1313
     #(Menu
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1314
	(
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1315
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1316
	    label: 'File'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1317
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1318
	    submenu:
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1319
	   (Menu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1320
	      (
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1321
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1322
		  label: 'Start Timeslicing'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1323
		  itemValue: startTimeslicing
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1324
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1325
		  isVisible: isNotTimeslicing
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1326
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1327
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1328
		  label: 'Stop Timeslicing'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1329
		  itemValue: stopTimeslicing
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1330
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1331
		  isVisible: isTimeslicing
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1332
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1333
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1334
		  label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1335
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1336
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1337
		  label: 'Exit'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1338
		  itemValue: closeRequest
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1339
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1340
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1341
	       )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1342
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1343
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1344
	    )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1345
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1346
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1347
	    label: 'Process'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1348
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1349
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1350
	    submenuChannel: processMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1351
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1352
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1353
	    label: 'Application'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1354
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1355
	    submenuChannel: applicationMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1356
	    keepLinkedMenu: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1357
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1358
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1359
	    label: 'Debug'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1360
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1361
	    submenuChannel: debugMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1362
	    keepLinkedMenu: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1363
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1364
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1365
	    label: 'Instrumentation'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1366
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1367
	    submenuChannel: instrumentationMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1368
	    keepLinkedMenu: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1369
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1370
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1371
	    label: 'View'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1372
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1373
	    submenuChannel: viewDetailsMenuSpec
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1374
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1375
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1376
	    label: 'MENU_Help'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1377
	    startGroup: conditionalRight
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1378
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1379
	    submenu:
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1380
	   (Menu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1381
	      (
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1382
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1383
		  label: 'Documentation'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1384
		  itemValue: openDocumentation
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1385
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1386
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1387
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1388
		  label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1389
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1390
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1391
		  label: 'About this Application...'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1392
		  itemValue: openAboutThisApplication
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1393
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1394
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1395
	       )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1396
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1397
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1398
	    )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1399
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1400
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1401
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1402
	nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1403
      )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1404
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1405
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1406
processMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1407
    "This resource specification was automatically generated
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1408
     by the MenuEditor of ST/X."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1409
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1410
    "Do not manually edit this!! If it is corrupted,
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1411
     the MenuEditor may not be able to read the specification."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1412
12740
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  1413
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1414
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1415
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#processMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1416
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 processMenu)) startUp
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1417
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1418
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1419
    <resource: #menu>
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1420
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1421
    ^
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1422
     #(Menu
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1423
        (
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1424
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1425
            enabled: hasSelectionWithStoppedProcessHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1426
            label: 'Resume'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1427
            itemValue: resumeProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1428
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1429
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1430
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1431
            label: 'Suspend'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1432
            itemValue: suspendProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1433
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1434
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1435
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1436
            label: 'Stop'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1437
            itemValue: stopProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1438
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1439
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1440
            label: '-'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1441
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1442
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1443
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1444
            label: 'Abort'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1445
            itemValue: abortProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1446
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1447
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1448
            enabled: hasSelectionHolder
18475
370cc934a074 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18431
diff changeset
  1449
            label: 'Terminate Process'
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1450
            itemValue: terminateProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1451
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1452
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1453
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1454
            label: 'Hard Terminate'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1455
            itemValue: hardTerminateProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1456
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1457
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1458
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1459
            label: 'Terminate Group'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1460
            itemValue: terminateProcessGroup
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1461
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1462
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1463
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1464
            label: 'Terminate All Like This'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1465
            itemValue: terminateAllLikeThis
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1466
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1467
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1468
            enabled: selectionRestartable
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1469
            label: 'Restart'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1470
            itemValue: restartProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1471
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1472
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1473
            label: '-'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1474
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1475
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1476
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1477
            label: 'Raise Prio'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1478
            itemValue: raisePrio
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1479
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1480
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1481
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1482
            label: 'Lower Prio'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1483
            itemValue: lowerPrio
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1484
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1485
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1486
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1487
            label: 'Set Prio Range...'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1488
            itemValue: setPrioRange
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1489
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1490
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1491
            label: '-'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1492
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1493
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1494
            label: 'Find by View'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1495
            itemValue: findProcessByView
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1496
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1497
         )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1498
        nil
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1499
        nil
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1500
      )
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1501
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1502
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1503
tableMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1504
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1505
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1506
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1507
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1508
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1509
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1510
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1511
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#tableMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1512
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 tableMenu)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1513
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1514
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1515
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1516
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1517
    ^
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1518
     #(#Menu
17271
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1519
        #(
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1520
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1521
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1522
            #label: 'Debug'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1523
            #itemValue: #debugProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1524
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1525
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1526
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1527
            #label: 'Inspect'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1528
            #itemValue: #inspectSelection
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1529
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1530
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1531
            #enabled: #hasSelectionWithApplicationProcessHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1532
            #label: 'Inspect Application'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1533
            #itemValue: #inspectApplication
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1534
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1535
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1536
            #enabled: #hasSelectionWithApplicationProcessHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1537
            #label: 'Browse Application'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1538
            #itemValue: #browseApplication
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1539
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1540
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1541
            #label: '-'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1542
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1543
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1544
            #enabled: #hasSelectionWithStoppedProcessHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1545
            #label: 'Resume'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1546
            #itemValue: #resumeProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1547
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1548
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1549
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1550
            #label: 'Suspend'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1551
            #itemValue: #suspendProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1552
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1553
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1554
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1555
            #label: 'Stop'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1556
            #itemValue: #stopProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1557
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1558
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1559
            #label: '-'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1560
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1561
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1562
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1563
            #label: 'Abort'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1564
            #itemValue: #abortProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1565
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1566
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1567
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1568
            #label: 'Terminate'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1569
            #itemValue: #terminateProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1570
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1571
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1572
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1573
            #label: 'Hard Terminate'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1574
            #itemValue: #hardTerminateProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1575
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1576
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1577
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1578
            #label: 'Terminate Group'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1579
            #itemValue: #terminateProcessGroup
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1580
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1581
         (MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1582
            enabled: hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1583
            label: 'Terminate All Like This'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1584
            itemValue: terminateAllLikeThis
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1585
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1586
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1587
            #enabled: #selectionRestartable
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1588
            #label: 'Restart'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1589
            #itemValue: #restartProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1590
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1591
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1592
            #label: '-'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1593
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1594
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1595
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1596
            #label: 'Raise Prio'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1597
            #itemValue: #raisePrio
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1598
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1599
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1600
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1601
            #label: 'Lower Prio'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1602
            #itemValue: #lowerPrio
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1603
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1604
         )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1605
        nil
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1606
        nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1607
      )
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  1608
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1609
    "Modified: / 07-06-2007 / 12:49:47 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1610
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1611
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1612
toolBarMainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1613
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1614
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1615
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1616
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1617
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1618
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  1619
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1620
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1621
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#toolBarMainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1622
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 toolBarMainMenu)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1623
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1624
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1625
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1626
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1627
    ^
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
  1628
     #(Menu
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1629
	(
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1630
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1631
	    activeHelpKey: Inspect
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1632
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1633
	    label: 'Inspect'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1634
	    itemValue: inspectSelection
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1635
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1636
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1637
	    labelImage: (ResourceRetriever ProcessMonitorV2 processInspect22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1638
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1639
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1640
	    activeHelpKey: Debug
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1641
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1642
	    label: 'Debug'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1643
	    itemValue: debugProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1644
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1645
	    isVisible: allowModificationsAndHasDebugger
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1646
	    labelImage: (ResourceRetriever ProcessMonitorV2 processDebug22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1647
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1648
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1649
	    activeHelpKey: RaiseWindow
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1650
	    enabled: hasSelectionWithApplicationProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1651
	    label: 'Raise Applications Window'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1652
	    itemValue: raiseApplicationWindow
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1653
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1654
	    labelImage: (ResourceRetriever ProcessMonitorV2 raiseWindow22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1655
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1656
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1657
	    label: 'Find Process by View'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1658
	    itemValue: findProcessByView
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1659
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1660
	    labelImage: (ResourceRetriever ToolbarIconLibrary pickWindowIcon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1661
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1662
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1663
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1664
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1665
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1666
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1667
	    activeHelpKey: Resume
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1668
	    enabled: hasSelectionWithStoppedProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1669
	    label: 'Resume'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1670
	    itemValue: resumeProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1671
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1672
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1673
	    labelImage: (ResourceRetriever ProcessMonitorV2 processResume22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1674
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1675
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1676
	    activeHelpKey: Stop
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1677
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1678
	    label: 'Stop'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1679
	    itemValue: stopProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1680
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1681
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1682
	    labelImage: (ResourceRetriever ProcessMonitorV2 processStop22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1683
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1684
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1685
	    activeHelpKey: Abort
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1686
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1687
	    label: 'Abort'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1688
	    itemValue: abortProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1689
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1690
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1691
	    labelImage: (ResourceRetriever ProcessMonitorV2 processAbort22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1692
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1693
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1694
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1695
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1696
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1697
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1698
	    activeHelpKey: Terminate
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1699
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1700
	    label: 'Terminate'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1701
	    itemValue: terminateProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1702
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1703
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1704
	    labelImage: (ResourceRetriever ProcessMonitorV2 processTerminate22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1705
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1706
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1707
	    activeHelpKey: #'Terminate Group'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1708
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1709
	    label: 'Terminate Group'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1710
	    itemValue: terminateProcessGroup
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1711
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1712
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1713
	    labelImage: (ResourceRetriever ProcessMonitorV2 processTerminateGroup22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1714
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1715
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1716
	    activeHelpKey: Restart
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1717
	    enabled: selectionRestartable
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1718
	    label: 'Restart'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1719
	    itemValue: restartProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1720
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1721
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1722
	    labelImage: (ResourceRetriever ProcessMonitorV2 processRestart22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1723
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1724
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1725
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1726
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1727
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1728
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1729
	    activeHelpKey: #'Lower Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1730
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1731
	    label: 'Lower Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1732
	    itemValue: lowerPrio
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1733
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1734
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1735
	    labelImage: (ResourceRetriever ProcessMonitorV2 processLowerPrio22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1736
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1737
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1738
	    activeHelpKey: #'Raise Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1739
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1740
	    label: 'Raise Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1741
	    itemValue: raisePrio
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1742
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1743
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1744
	    labelImage: (ResourceRetriever ProcessMonitorV2 processRaisePrio22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1745
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1746
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1747
	    label: ''
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1748
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1749
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1750
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1751
	    activeHelpKey: #'Update Process List'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1752
	    label: 'Update'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1753
	    itemValue: updateList
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1754
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1755
	    startGroup: right
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1756
	    labelImage: (ResourceRetriever ToolbarIconLibrary reloadIcon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1757
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1758
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1759
	    activeHelpKey: Details
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1760
	    label: 'View Details'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1761
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1762
	    startGroup: right
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1763
	    submenuChannel: viewDetailsMenuSpec
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1764
	    labelImage: (ResourceRetriever ToolbarIconLibrary viewDetailsIcon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1765
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1766
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1767
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1768
	nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1769
      )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1770
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1771
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1772
viewDetailsMenuSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1773
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1774
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1775
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1776
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1777
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1778
11999
a62eb60fd1aa changed: #viewDetailsMenuSpec
Claus Gittinger <cg@exept.de>
parents: 11997
diff changeset
  1779
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1780
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1781
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#viewDetailsMenuSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1782
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 viewDetailsMenuSpec)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1783
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1784
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1785
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1786
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1787
    ^
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1788
     #(Menu
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1789
        (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1790
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1791
            label: 'Id'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1792
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1793
            indication: showProcessId
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1794
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1795
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1796
            label: 'Group'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1797
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1798
            indication: showGroup
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1799
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1800
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1801
            label: 'Instrumentation'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1802
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1803
            indication: showInstrumentation
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1804
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1805
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1806
            label: 'State'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1807
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1808
            indication: showState
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1809
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1810
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1811
            label: 'Prio'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1812
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1813
            indication: showPrio
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1814
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1815
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1816
            label: 'Used Stack'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1817
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1818
            indication: showUsedStack
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1819
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1820
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1821
            label: 'Total Stack'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1822
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1823
            indication: showTotalStack
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1824
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1825
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1826
            label: 'Current-Segment'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1827
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1828
            indication: showCurrentSegment
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1829
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1830
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1831
            label: 'Switch'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1832
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1833
            indication: showSwitch
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1834
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1835
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1836
            label: 'Where'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1837
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1838
            indication: showWhere
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1839
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1840
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1841
            label: 'Application'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1842
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1843
            indication: showApplication
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1844
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1845
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1846
            label: 'Window Title'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1847
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1848
            indication: showWindowTitle
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1849
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1850
         (MenuItem
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1851
            label: 'Start Time'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1852
            hideMenuOnActivated: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1853
            indication: showStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1854
          )
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1855
         (MenuItem
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1856
            label: '-'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1857
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1858
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1859
            label: 'Show Dead Processes'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1860
            indication: showDeadHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1861
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1862
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1863
            label: '-'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1864
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1865
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1866
            label: 'Update'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1867
            itemValue: updateView
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1868
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1869
         )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1870
        nil
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1871
        nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1872
      )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1873
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1874
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1875
!ProcessMonitorV2 class methodsFor:'tableColumns specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1876
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1877
tableColumns
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1878
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1879
     by the DataSetBuilder of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1880
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1881
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1882
     the DataSetBuilder may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1883
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1884
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1885
     DataSetBuilder new openOnClass:ProcessMonitorV2 andSelector:#tableColumns
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1886
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1887
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1888
    <resource: #tableColumns>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1889
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1890
    ^#(
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1891
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1892
         label: 'Id'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1893
         id: id
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1894
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1895
         activeHelpKeyForLabel: 'processId'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1896
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1897
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1898
         labelActionArgument: 'idVal'
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  1899
         width: 65
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1900
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1901
         type: number
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1902
         model: processId
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1903
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1904
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1905
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1906
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1907
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1908
         label: 'Group'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1909
         id: group
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1910
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1911
         activeHelpKeyForLabel: 'processGroup'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1912
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1913
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1914
         labelActionArgument: 'groupVal'
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  1915
         width: 65
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1916
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1917
         model: processGroup
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1918
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1919
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1920
         showColSeparator: false
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1921
       )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1922
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1923
         label: 'Name'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1924
         id: name
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1925
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1926
         activeHelpKeyForLabel: 'processName'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1927
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1928
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1929
         labelActionArgument: 'processName'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1930
         width: 200
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1931
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1932
         model: processName
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1933
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1934
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1935
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1936
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1937
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1938
         label: 'Instr.'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1939
         id: instrumentation
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1940
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1941
         activeHelpKeyForLabel: 'processInstrumentation'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1942
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1943
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1944
         labelActionArgument: 'processInstrumentation'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1945
         width: 50
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1946
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1947
         model: processInstrumentation
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1948
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1949
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1950
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1951
         showColSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1952
       )
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1953
      (DataSetColumnSpec
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1954
         label: ''
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1955
         id: active
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1956
         activeHelpKeyForLabel: 'processWasActive'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1957
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1958
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1959
         labelActionArgument: 'processActive'
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  1960
         width: 14
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1961
         height: 5
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1962
         model: processActive
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1963
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1964
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1965
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1966
         showColSeparator: false
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  1967
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1968
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1969
         label: 'State'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1970
         id: state
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1971
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1972
         activeHelpKeyForLabel: 'processState'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1973
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1974
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1975
         labelActionArgument: 'processState'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1976
         width: 100
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1977
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1978
         model: processState
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1979
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1980
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1981
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1982
         showColSeparator: false
9526
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  1983
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1984
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1985
         label: 'Prio'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1986
         id: prio
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1987
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1988
         activeHelpKeyForLabel: 'processPriority'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1989
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1990
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1991
         labelActionArgument: 'prioVal'
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  1992
         width: 60
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1993
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1994
         model: processPrio
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1995
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1996
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1997
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1998
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1999
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2000
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2001
         label: 'Used Stack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2002
         id: usedStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2003
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2004
         activeHelpKeyForLabel: 'processUsedStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2005
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2006
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2007
         labelActionArgument: 'processUsedStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2008
         columnAlignment: right
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2009
         width: 75
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2010
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2011
         type: number
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2012
         model: processUsedStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2013
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2014
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2015
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2016
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2017
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2018
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2019
         label: 'Total Stack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2020
         id: totalStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2021
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2022
         activeHelpKeyForLabel: 'processTotalStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2023
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2024
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2025
         labelActionArgument: 'processTotalStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2026
         columnAlignment: right
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2027
         width: 75
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2028
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2029
         model: processTotalStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2030
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2031
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2032
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2033
         showColSeparator: false
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2034
       )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2035
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2036
         label: 'Current-Segment'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2037
         id: currentSegment
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2038
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2039
         activeHelpKeyForLabel: 'processCurrentSegment'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2040
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2041
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2042
         labelActionArgument: 'processCurrentSegment'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2043
         width: 110
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2044
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2045
         model: processCurrentSegment
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2046
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2047
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2048
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2049
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2050
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2051
         label: 'Switch'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2052
         id: switch
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2053
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2054
         activeHelpKeyForLabel: 'processSwitch'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2055
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2056
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2057
         labelActionArgument: 'processSwitch'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2058
         columnAlignment: right
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2059
         width: 55
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2060
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2061
         type: number
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2062
         model: processSwitch
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2063
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2064
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2065
         showColSeparator: false
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2066
       )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2067
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2068
         label: 'Where'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2069
         id: where
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2070
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2071
         activeHelpKeyForLabel: 'processWhere'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2072
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2073
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2074
         labelActionArgument: 'processWhere'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2075
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2076
         model: processWhere
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2077
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2078
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2079
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2080
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2081
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2082
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2083
         label: 'Application'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2084
         id: application
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2085
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2086
         activeHelpKeyForLabel: 'processApplication'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2087
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2088
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2089
         labelActionArgument: 'processApplication'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2090
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2091
         model: processApplication
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2092
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2093
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2094
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2095
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2096
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2097
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2098
         label: 'Window Title'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2099
         id: windowTitle
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2100
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2101
         activeHelpKeyForLabel: 'processWindowTitle'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2102
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2103
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2104
         labelActionArgument: 'processWindowTitle'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2105
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2106
         model: processWindowTitle
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2107
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2108
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2109
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2110
         showColSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2111
       )
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2112
      (DataSetColumnSpec
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2113
         label: 'Start Time'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2114
         id: startTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2115
         activeHelpKeyForLabel: 'processStartTime'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2116
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2117
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2118
         labelActionArgument: 'processStartTime'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2119
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2120
         type: timestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2121
         model: processStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2122
         formatString: '%(day)-%(shortMonthName) %h:%m:%s'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2123
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2124
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2125
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2126
       )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2127
      )
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  2128
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  2129
    "Modified: / 21-08-2017 / 10:51:38 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2130
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2131
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2132
!ProcessMonitorV2 methodsFor:'accessing'!
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2133
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2134
visibleBlock
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2135
    ^ visibleBlock
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2136
!
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2137
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2138
visibleBlock:aProcessVisibleFilterBlock
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2139
    visibleBlock := aProcessVisibleFilterBlock.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2140
! !
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2141
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2142
!ProcessMonitorV2 methodsFor:'actions'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2143
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2144
changeSelectionTo:aSelection
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  2145
    | newSelection |
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2146
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2147
    aSelection notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2148
	newSelection := OrderedCollection new.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2149
	aSelection do:[:processItem |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2150
	    | index |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2151
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2152
	    index := processList findFirst:[:anItem | (anItem processInstance == processItem processInstance)].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2153
	    index ~~ 0 ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2154
		newSelection add:(processList at:index).
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2155
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2156
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2157
	self selectedProcesses value:newSelection
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2158
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2159
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2160
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  2161
changeSelectionToProcesses:aProcessList
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2162
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2163
    aProcessList notNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2164
	| newSelection |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2165
	newSelection := OrderedCollection new.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2166
	aProcessList do:[:aProcess |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2167
	    | index |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2168
	    index := processList findFirst:[:anItem | (anItem processInstance == aProcess)].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2169
	    index ~~ 0 ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2170
		newSelection add:(processList at:index).
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2171
	    ].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2172
	].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2173
	self selectedProcesses value:newSelection
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2174
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2175
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2176
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2177
decreaseupdateContentsDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2178
    updateDelay := (self scaledUpdateContentsDelayTime - 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2179
    self updateContentsDelayTimeHolder value:updateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2180
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2181
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2182
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2183
decreaseupdateListDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2184
    listUpdateDelay := (self scaledUpdateListDelayTime - 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2185
    self updateListDelayTimeHolder value:listUpdateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2186
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2187
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2188
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2189
doubleClickedAt:anItemIndex
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2190
    "open a debugger on the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2191
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2192
    self debugProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2193
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2194
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2195
evaluateEnableInDecreaseButtons
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2196
    | contentsDelaySmallerThanListDelay |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2197
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2198
    updateDelay := self scaledUpdateContentsDelayTime.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2199
    listUpdateDelay := self scaledUpdateListDelayTime.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2200
    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2201
    contentsDelaySmallerThanListDelay := (updateDelay < listUpdateDelay).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2202
    self enableDecreaseContentsDelayTime value:(updateDelay > 0.5).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2203
    self enableDecreaseListDelayTime value:contentsDelaySmallerThanListDelay.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2204
    self enableIncreaseContentsDelayTime value:contentsDelaySmallerThanListDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2205
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2206
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2207
getProcessList
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2208
    "select processes to display.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2209
     Subclasses may redefine this"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2210
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2211
    |coll|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2212
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2213
    self showDeadHolder value ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2214
        coll := Process allSubInstances asOrderedCollection.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2215
    ] ifFalse:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2216
        coll := ProcessorScheduler knownProcesses asOrderedCollection.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2217
        coll add:Processor scheduler.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2218
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2219
    ^ coll
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2220
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2221
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2222
increaseupdateContentsDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2223
    updateDelay := (self scaledUpdateContentsDelayTime + 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2224
    self updateContentsDelayTimeHolder value:updateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2225
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2226
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2227
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2228
increaseupdateListDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2229
    listUpdateDelay := (self scaledUpdateListDelayTime + 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2230
    self updateListDelayTimeHolder value:listUpdateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2231
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2232
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2233
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2234
selectedProcessesDo:aBlock
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  2235
    | sel proc|
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2236
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2237
    sel := self selectedProcesses value.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2238
    sel isNil ifTrue:[^ self].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2239
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2240
    sel do:[:processItem |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2241
	proc := processItem processInstance.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2242
	proc notNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2243
	    aBlock value:proc.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2244
	].
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2245
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2246
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2247
    "Modified: / 07-06-2007 / 12:38:25 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2248
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2249
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2250
selectedProcessesSend:aSelector
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2251
    "send a message to all selected processes"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2252
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2253
    self selectedProcessesDo:[:p |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2254
	p perform:aSelector
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2255
    ].
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2256
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2257
    self updateList.
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2258
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2259
    "Modified: / 07-06-2007 / 12:38:29 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2260
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2261
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2262
!ProcessMonitorV2 methodsFor:'aspects'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2263
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2264
currentSortOrder
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2265
    "return/create the 'currentSortOrder' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2266
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2267
    currentSortOrder isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2268
	currentSortOrder := Dictionary new asValue.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2269
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2270
    ^ currentSortOrder
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2271
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2272
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2273
interruptCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2274
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2275
    interruptCountHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2276
        interruptCountHolder := '-' asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2277
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2278
    ^ interruptCountHolder.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2279
!
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2280
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2281
isNotTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2282
    ^ self isTimeslicing not
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2283
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2284
    "Created: / 03-11-2011 / 21:26:10 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2285
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2286
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2287
isTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2288
    ^ Processor isTimeSlicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2289
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2290
    "Created: / 03-11-2011 / 21:25:53 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2291
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2292
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2293
processList
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2294
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2295
    processList isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2296
	processList := List new.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2297
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2298
    ^ processList.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2299
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2300
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2301
scaledUpdateContentsDelayTime
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2302
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2303
    ^ self updateContentsDelayTimeHolder value asFloat asFixedPoint:1.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2304
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2305
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2306
scaledUpdateListDelayTime
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2307
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2308
    ^ self updateListDelayTimeHolder value asFloat asFixedPoint:1.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2309
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2310
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2311
selectedProcesses
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2312
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2313
    selectedProcesses isNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2314
        selectedProcesses := ValueHolder new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2315
        selectedProcesses onChangeSend:#selectionChanged to:self.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2316
        "/ selectedProcesses addDependent:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2317
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2318
    ^ selectedProcesses.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2319
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2320
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2321
showDeadHolder
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2322
    "return/create the 'showDead' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2323
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2324
    showDeadHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2325
        showDeadHolder := false asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2326
        showDeadHolder onChangeSend:#updateList to:self.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2327
        "/ showDead addDependent:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2328
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2329
    ^ showDeadHolder
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2330
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2331
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2332
sortBlock
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2333
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2334
    sortBlock isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2335
	| curSortOrder defaultSortInstance|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2336
	defaultSortInstance := #idVal.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2337
	sortBlock := [:a :b |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2338
	    ((a perform:defaultSortInstance) < (b perform:defaultSortInstance))
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2339
	].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2340
	curSortOrder := self currentSortOrder value.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2341
	curSortOrder at:#column put:defaultSortInstance.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2342
	curSortOrder at:#reverse put:true.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2343
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2344
    ^ sortBlock
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2345
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2346
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2347
tableColumns
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2348
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2349
    tableColumns isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2350
	tableColumns := self class tableColumns asValue.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2351
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2352
    ^ tableColumns.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2353
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2354
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2355
timerActionCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2356
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2357
    timerActionCountHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2358
        timerActionCountHolder := '-' asValue.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2359
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2360
    ^ timerActionCountHolder.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2361
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2362
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2363
updateContentsDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2364
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2365
    updateContentsDelayTimeHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2366
        updateContentsDelayTimeHolder := updateDelay asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2367
        updateContentsDelayTimeHolder onChangeSend:#evaluateEnableInDecreaseButtons to:self.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2368
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2369
    ^ updateContentsDelayTimeHolder.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2370
!
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2371
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2372
updateListDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2373
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2374
    updateListDelayTimeHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2375
        updateListDelayTimeHolder := listUpdateDelay asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2376
        updateListDelayTimeHolder onChangeSend:#evaluateEnableInDecreaseButtons to:self.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2377
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2378
    ^ updateListDelayTimeHolder.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2379
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2380
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2381
!ProcessMonitorV2 methodsFor:'aspects-column'!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2382
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2383
showApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2384
    "return/create the 'showApplication' value holder (automatically generated)"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2385
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2386
    showApplication isNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2387
	showApplication := false asValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2388
	showApplication onChangeSend:#viewedColumnsChanged to:self
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2389
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2390
    ^ showApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2391
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2392
    "Created: / 17-08-2011 / 10:46:56 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2393
!
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2394
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2395
showCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2396
    "return/create the 'showCurrentSegment' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2397
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2398
    showCurrentSegment isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2399
	showCurrentSegment := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2400
	showCurrentSegment onChangeSend:#viewedColumnsChanged to:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2401
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2402
    ^ showCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2403
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2404
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2405
showGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2406
    "return/create the 'showGroup' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2407
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2408
    showGroup isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2409
	showGroup := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2410
	showGroup onChangeSend:#viewedColumnsChanged to:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2411
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2412
    ^ showGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2413
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2414
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2415
showInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2416
    "return/create the 'showInstrumentation' value holder (automatically generated)"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2417
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2418
    showInstrumentation isNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2419
	showInstrumentation := true asValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2420
	showInstrumentation onChangeSend:#viewedColumnsChanged to:self
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2421
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2422
    ^ showInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2423
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2424
    "Created: / 17-08-2011 / 10:46:27 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2425
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2426
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2427
showPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2428
    "return/create the 'showPrio' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2429
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2430
    showPrio isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2431
	showPrio := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2432
	showPrio onChangeSend:#viewedColumnsChanged to:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2433
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2434
    ^ showPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2435
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2436
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2437
showProcessId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2438
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2439
    showProcessId isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2440
	showProcessId := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2441
	showProcessId onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2442
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2443
    ^ showProcessId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2444
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2445
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2446
showStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2447
    "return/create the 'showStartTime' value holder (automatically generated)"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2448
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2449
    showStartTime isNil ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2450
        showStartTime := false asValue.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2451
        showStartTime onChangeSend:#viewedColumnsChanged to:self
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2452
    ].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2453
    ^ showStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2454
!
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2455
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2456
showState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2457
    "return/create the 'showState' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2458
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2459
    showState isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2460
	showState := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2461
	showState onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2462
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2463
    ^ showState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2464
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2465
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2466
showSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2467
    "return/create the 'showSwitch' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2468
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2469
    showSwitch isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2470
	showSwitch := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2471
	showSwitch onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2472
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2473
    ^ showSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2474
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2475
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2476
showTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2477
    "return/create the 'showTotalStack' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2478
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2479
    showTotalStack isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2480
	showTotalStack := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2481
	showTotalStack onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2482
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2483
    ^ showTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2484
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2485
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2486
showUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2487
    "return/create the 'showUsedStack' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2488
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2489
    showUsedStack isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2490
	showUsedStack := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2491
	showUsedStack onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2492
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2493
    ^ showUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2494
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2495
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2496
showWhere
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2497
    "return/create the 'showWhere' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2498
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2499
    showWhere isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2500
	showWhere := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2501
	showWhere onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2502
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2503
    ^ showWhere
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2504
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2505
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2506
showWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2507
    "return/create the 'showWindowTitle' value holder (automatically generated)"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2508
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2509
    showWindowTitle isNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2510
	showWindowTitle := false asValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2511
	showWindowTitle onChangeSend:#viewedColumnsChanged to:self
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2512
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2513
    ^ showWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2514
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2515
    "Created: / 17-08-2011 / 10:46:47 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2516
! !
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2517
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2518
!ProcessMonitorV2 methodsFor:'aspects-menu enabling'!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2519
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2520
allowModifications
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2521
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2522
    allowModifications isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2523
	allowModifications := true asValue
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2524
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2525
    ^ allowModifications
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2526
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2527
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2528
allowModificationsAndHasDebugger
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2529
    ^ BlockValue
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2530
	forLogical:(self allowModifications)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2531
	and:[ Debugger notNil ]
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2532
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2533
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2534
enableDecreaseContentsDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2535
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2536
    enableDecreaseContentsDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2537
	enableDecreaseContentsDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2538
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2539
    ^ enableDecreaseContentsDelayTime.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2540
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2541
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2542
enableDecreaseListDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2543
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2544
    enableDecreaseListDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2545
	enableDecreaseListDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2546
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2547
    ^ enableDecreaseListDelayTime.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2548
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2549
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2550
enableIncreaseContentsDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2551
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2552
    enableIncreaseContentsDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2553
	enableIncreaseContentsDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2554
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2555
    ^ enableIncreaseContentsDelayTime.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2556
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2557
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2558
enableIncreaseListDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2559
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2560
    enableIncreaseListDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2561
	enableIncreaseListDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2562
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2563
    ^ enableIncreaseListDelayTime.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2564
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2565
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2566
hasSelection
17927
49a8dfebc840 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 17892
diff changeset
  2567
    "return true, if an item is selected"
49a8dfebc840 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 17892
diff changeset
  2568
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2569
    ^ self selectedProcesses value notEmptyOrNil
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2570
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2571
    "Modified: / 05-06-2007 / 17:43:58 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2572
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2573
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2574
hasSelectionHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2575
    ^ hasSelectionHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2576
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2577
    "Created: / 05-06-2007 / 17:41:54 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2578
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2579
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2580
hasSelectionWithApplicationProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2581
    ^ self hasSelectionWithProcessForWhich:[:p |self isApplicationProcess:p ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2582
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2583
    "Created: / 05-06-2007 / 17:50:37 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2584
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2585
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2586
hasSelectionWithApplicationProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2587
    ^ hasSelectionWithApplicationProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2588
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2589
    "Created: / 05-06-2007 / 17:50:31 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2590
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2591
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2592
hasSelectionWithDisabledInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2593
    InstrumentationContext isNil ifTrue:[^ false].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2594
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2595
    ^ self hasSelectionWithProcessForWhich:[:p | (InstrumentationContext forProcess:p) isNil ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2596
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2597
    "Created: / 17-08-2011 / 11:42:19 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2598
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2599
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2600
hasSelectionWithDisabledInstrumentationHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2601
    ^ hasSelectionWithDisabledInstrumentationHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2602
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2603
    "Created: / 17-08-2011 / 11:49:35 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2604
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2605
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2606
hasSelectionWithEnabledInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2607
    InstrumentationContext isNil ifTrue:[^ false].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2608
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2609
    ^ self hasSelectionWithProcessForWhich:[:p | (InstrumentationContext forProcess:p) notNil ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2610
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2611
    "Created: / 17-08-2011 / 11:42:08 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2612
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2613
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2614
hasSelectionWithEnabledInstrumentationHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2615
    ^ hasSelectionWithEnabledInstrumentationHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2616
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2617
    "Created: / 17-08-2011 / 11:49:39 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2618
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2619
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2620
hasSelectionWithGUIProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2621
    ^ self hasSelectionWithProcessForWhich:[:p |p isGUIProcess ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2622
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2623
    "Created: / 05-06-2007 / 17:52:10 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2624
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2625
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2626
hasSelectionWithGUIProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2627
    ^ hasSelectionWithGUIProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2628
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2629
    "Created: / 05-06-2007 / 17:52:01 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2630
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2631
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2632
hasSelectionWithProcessForWhich:aBlock
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2633
    ^ self hasSelection
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2634
      and:[ self selectedProcesses value contains:[:pItem |
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2635
		|process|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2636
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2637
		process := pItem processInstance.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2638
		process notNil and:[ aBlock value:process ]]  ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2639
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2640
    "Created: / 05-06-2007 / 17:40:27 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2641
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2642
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2643
hasSelectionWithStoppedProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2644
    ^ self hasSelectionWithProcessForWhich:[:p |p isStopped ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2645
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2646
    "Modified: / 05-06-2007 / 17:40:42 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2647
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2648
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2649
hasSelectionWithStoppedProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2650
    ^ hasSelectionWithStoppedProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2651
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2652
    "Created: / 05-06-2007 / 17:42:41 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2653
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2654
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2655
selectionRestartable
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2656
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2657
    selectionRestartable isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2658
	selectionRestartable := ValueHolder new.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2659
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2660
    ^ selectionRestartable
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2661
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2662
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2663
!ProcessMonitorV2 methodsFor:'change & update'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2664
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2665
selectionChanged
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2666
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2667
    |hasSelection allRestartable|
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2668
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2669
    hasSelection := self hasSelection.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2670
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2671
    hasSelectionHolder value:hasSelection.
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2672
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2673
    hasSelection ifFalse:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2674
	self selectionRestartable value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2675
	hasSelectionWithStoppedProcessHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2676
	hasSelectionWithApplicationProcessHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2677
	hasSelectionWithGUIProcessHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2678
	hasSelectionWithEnabledInstrumentationHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2679
	hasSelectionWithDisabledInstrumentationHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2680
	^ self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2681
    ].
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2682
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2683
    hasSelectionWithStoppedProcessHolder value:self hasSelectionWithStoppedProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2684
    hasSelectionWithApplicationProcessHolder value:self hasSelectionWithApplicationProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2685
    hasSelectionWithGUIProcessHolder value:self hasSelectionWithGUIProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2686
    hasSelectionWithEnabledInstrumentationHolder value:self hasSelectionWithEnabledInstrumentation.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2687
    hasSelectionWithDisabledInstrumentationHolder value:self hasSelectionWithDisabledInstrumentation.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2688
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2689
    allRestartable := true.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2690
    self selectedProcessesDo:[:p |
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2691
	p isRestartable ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2692
	    allRestartable := false
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2693
	].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2694
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2695
    self selectionRestartable value:allRestartable.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2696
    ^ self.
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2697
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2698
    "Modified: / 17-08-2011 / 11:41:32 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2699
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2700
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2701
update:something with:aParameter from:changedObject
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2702
    "Invoked when an object that I depend upon sends a change notification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2703
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2704
    "stub code automatically generated - please change as required"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2705
4565
7162b6a896e6 *** empty log message ***
penk
parents: 4561
diff changeset
  2706
    changedObject == builder window ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2707
        something == #visibility ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2708
            self updateList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2709
        ].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2710
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2711
    super update:something with:aParameter from:changedObject
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2712
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2713
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2714
viewedColumnsChanged
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2715
    "take the class's columnSpec and select the one's selected by the user.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2716
     Stuff this filtered tableColSpec into the value holder"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2717
    
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2718
    | columns buffer locCurrentSortOrder currentSortOrderColumn currentSortOrderReverse oldSelection sel|
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2719
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2720
    "/ remember the selected processes
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2721
    sel := self selectedProcesses value.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2722
    sel notNil ifTrue:[
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2723
        oldSelection := OrderedCollection new.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2724
        sel do:[:proItem|
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2725
            |process|
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2726
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2727
            (process := proItem processInstance) notNil ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2728
                oldSelection add:process
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2729
            ].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2730
        ].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2731
    ].
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2732
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2733
    "/ Transcript showCR:'oldSelection on catch in viewedColumnsChanged', (oldSelection isNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2734
    columns := OrderedCollection new.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2735
    self class tableColumns do:[:el|
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2736
        columns add:(DataSetColumnSpec decodeFromLiteralArray:el).
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2737
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2738
    buffer := columns copy.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2739
    locCurrentSortOrder := self currentSortOrder value.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2740
    currentSortOrderColumn := locCurrentSortOrder at:#column ifAbsent:nil.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2741
    currentSortOrderReverse := locCurrentSortOrder at:#reverse ifAbsent:nil.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2742
    buffer do:[:col |
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2743
        | id |
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2744
        id := col id.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2745
        id notNil ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2746
            (col labelActionArgument notNil and:[col labelActionArgument asSymbol == currentSortOrderColumn]) ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2747
                | label icon|
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2748
                label := col label.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2749
                icon := currentSortOrderReverse ifTrue:[self class detailsMenuIconDown] ifFalse:[self class detailsMenuIconUp].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2750
                col label:(LabelAndIcon label:label icon:icon).
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2751
            ].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2752
            #(
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2753
                ( #id             #showProcessId)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2754
                ( #group          #showGroup)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2755
                ( #prio           #showPrio)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2756
                ( #currentSegment #showCurrentSegment)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2757
                ( #state          #showState)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2758
                ( #switch         #showSwitch)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2759
                ( #totalStack     #showTotalStack)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2760
                ( #usedStack      #showUsedStack)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2761
                ( #where          #showWhere)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2762
                ( #application    #showApplication)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2763
                ( #windowTitle    #showWindowTitle)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2764
                ( #startTime      #showStartTime)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2765
                ( #instrumentation #showInstrumentation)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2766
            ) pairsDo:[:colName :holderAccessorSelector |
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2767
                (id == colName and:[(self perform:holderAccessorSelector) value not]) ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2768
                    columns remove:col.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2769
                ]
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2770
            ]
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2771
        ]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2772
    ].
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2773
    
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2774
    updateSema critical:[
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2775
        self tableColumns value:columns.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  2776
"/        self updateTable:nil.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2777
"/        Transcript showCR:'oldSelection on set in viewedColumnsChanged', (oldSelection isNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2778
        self changeSelectionToProcesses:oldSelection.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2779
    ].
7767
1547d2d2005c use decodeFromLiteralArray
Claus Gittinger <cg@exept.de>
parents: 7757
diff changeset
  2780
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2781
    "Modified: / 17-08-2011 / 11:11:21 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2782
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2783
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2784
!ProcessMonitorV2 methodsFor:'event handling'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2785
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2786
processEvent:anEvent
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2787
    "filter keyboard events.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2788
     Return true, if I have eaten the event"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2789
12119
b44fd76a6243 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12095
diff changeset
  2790
    <resource: #keyboard (#InspectIt )>
b44fd76a6243 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12095
diff changeset
  2791
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2792
    |focusView key rawKey|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2793
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2794
    anEvent isKeyPressEvent ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2795
	focusView := anEvent targetView.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2796
	key := anEvent key.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2797
	rawKey := anEvent rawKey.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2798
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2799
	(focusView == processList) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2800
	    key == #InspectIt ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2801
		self inspectSelection.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2802
		^ true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2803
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2804
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2805
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2806
    ^ false
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2807
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2808
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2809
!ProcessMonitorV2 methodsFor:'initialization & release'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2810
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2811
commonPostOpen
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2812
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2813
    super commonPostOpen.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2814
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2815
    builder window addDependent:self.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2816
    self viewedColumnsChanged.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2817
    self updateList.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2818
    self startUpdateProcess.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2819
    self selectionChanged.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2820
    self sortProcessListBy:#idVal.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2821
    self windowGroup addPreEventHook:self.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2822
!
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2823
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2824
initialize
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2825
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2826
    super initialize.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2827
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2828
    hasSelectionHolder := false asValue.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2829
    hasSelectionWithStoppedProcessHolder := false asValue.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2830
    hasSelectionWithApplicationProcessHolder := false asValue.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2831
    hasSelectionWithGUIProcessHolder := false asValue.
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2832
    hasSelectionWithDisabledInstrumentationHolder := false asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2833
    hasSelectionWithEnabledInstrumentationHolder := false asValue.
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2834
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2835
    showDetail := (Smalltalk at:#SystemDebugging ifAbsent:false).
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2836
    updateSema := Semaphore forMutualExclusion.
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2837
    updateDelay := 1.0 "0.5" asFixedPoint:1.     "/ seconds
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2838
    listUpdateDelay := 5.0 asFixedPoint:1.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2839
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2840
    "/ event mode is no longer used;
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2841
    "/ this event support may vanish
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2842
    Processor isPureEventDriven ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2843
        updateBlock := [self updateStatus:nil].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2844
        listUpdateBlock := [self updateList].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2845
    ].
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2846
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2847
    "Modified: / 17-08-2011 / 11:39:13 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2848
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2849
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2850
postBuildProcessTable:aWidget
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2851
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2852
    processTable       := aWidget scrolledView.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2853
    processTable wantsFocusWithPointerEnter.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2854
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2855
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2856
release
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2857
    self == Singleton ifTrue:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2858
        Singleton := nil.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2859
    ].    
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2860
    updateBlock notNil ifTrue:[
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2861
        Processor removeTimedBlock:updateBlock.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2862
        updateBlock := nil.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2863
    ].
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2864
    listUpdateBlock notNil ifTrue:[
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2865
        Processor removeTimedBlock:listUpdateBlock.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2866
        listUpdateBlock := nil.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2867
    ].
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2868
    updateProcess notNil ifTrue:[
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2869
        updateProcess terminate.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2870
        updateProcess := nil.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2871
    ].
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2872
    super release
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2873
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2874
    "Modified: / 25-09-2018 / 12:29:10 / Claus Gittinger"
6234
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2875
!
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2876
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2877
restarted
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2878
    "restarted from snapshot"
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2879
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2880
    super restarted.
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2881
    self startUpdateProcess.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2882
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2883
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2884
!ProcessMonitorV2 methodsFor:'menu accessing'!
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2885
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2886
tableMenu
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2887
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2888
    ^[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2889
	self tableMenuAccess
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2890
    ]
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2891
!
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2892
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2893
tableMenuAccess
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2894
    self allowModifications value ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2895
	tableMenu isNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2896
	    tableMenu := Menu decodeFromLiteralArray:(self class tableMenu).
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2897
	    tableMenu receiver:self.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2898
	    tableMenu findGuiResourcesIn:self.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2899
	].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2900
	^ tableMenu
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2901
    ].
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
  2902
    ^ nil
7767
1547d2d2005c use decodeFromLiteralArray
Claus Gittinger <cg@exept.de>
parents: 7757
diff changeset
  2903
1547d2d2005c use decodeFromLiteralArray
Claus Gittinger <cg@exept.de>
parents: 7757
diff changeset
  2904
    "Modified: / 27-03-2007 / 08:43:43 / cg"
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2905
! !
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2906
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2907
!ProcessMonitorV2 methodsFor:'menu actions'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2908
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2909
abortProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2910
    "abort (raise AbortSignal in) the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2911
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2912
    self selectedProcessesDo:[:p |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2913
	p abort
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2914
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2915
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2916
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2917
    "Modified: / 07-06-2007 / 12:38:42 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2918
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2919
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2920
findProcessByView
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2921
    "let user click on a window. then select the corresponding process"
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2922
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2923
    |v wg p item|
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2924
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2925
    v := Screen current viewFromUser.
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2926
    v notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2927
	(wg := v windowGroup) notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2928
	    (p := wg process) notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2929
		item := processList detect:[:i | i processId = p id] ifNone:nil.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2930
		item notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2931
		    self selectedProcesses value:(Array with:item)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2932
		]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2933
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2934
	]
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2935
    ].
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2936
!
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2937
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2938
hardTerminateProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2939
    "hard terminate the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2940
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2941
    self selectedProcessesSend:#terminateNoSignal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2942
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2943
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2944
lowerPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2945
    "lower the selected processes priority"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2946
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2947
    self selectedProcessesDo:[:p |
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2948
       p priority:(p priority - 1)
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2949
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2950
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2951
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2952
    "Modified: / 07-06-2007 / 12:38:50 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2953
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2954
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2955
openDocumentation
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2956
    "This method was generated by the Browser.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2957
     It will be invoked when the menu-item 'help-documentation' is selected."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2958
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2959
    "/ change below as required ...
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2960
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2961
    "/ to open an HTML viewer on some document (under 'doc/online/<language>/' ):
4561
893af000a82d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 4505
diff changeset
  2962
    HTMLDocumentView openFullOnDocumentationFile:'tools/misc/TOP.html#PROCESSMONITOR'.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2963
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2964
    "/ add application-specific help files under the 'doc/online/<language>/help/appName'
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2965
    "/ directory, and open a viewer with:
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2966
    "/ HTMLDocumentView openFullOnDocumentationFile:'help/<MyApplication>/TOP.html'.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2967
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2968
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2969
raisePrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2970
    "raise the selected processes priority"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2971
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2972
    self selectedProcessesDo:[:p |
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2973
       p priority:(p priority + 1)
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2974
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2975
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2976
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2977
    "Modified: / 07-06-2007 / 12:38:57 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2978
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2979
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2980
restartProcess
13775
5064cb57c8ac AbortSignal -> AbortOperationRequest
Stefan Vogel <sv@exept.de>
parents: 12742
diff changeset
  2981
    "restarts the selected process"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2982
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2983
    self selectedProcessesDo:[:p |
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2984
	p restart.
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2985
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2986
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2987
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2988
    "Modified: / 07-06-2007 / 12:39:04 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2989
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2990
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2991
resumeProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2992
    "resume the selected process (i.e. let it run) "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2993
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2994
    self selectedProcessesSend:#resume
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2995
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2996
12740
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2997
setPrioRange
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2998
    "set a prio-range the selected processes priority"
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2999
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3000
    |rangeString range|
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3001
12742
54ec064a98eb class: ProcessMonitorV2
Stefan Vogel <sv@exept.de>
parents: 12740
diff changeset
  3002
    [
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3003
	rangeString := Dialog
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3004
			    request:'Priority Range (min to: max)'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3005
			    initialAnswer:'7 to: 8'.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3006
	rangeString isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3007
	    ^ self  "aborted"
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3008
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3009
	range := Interval readFrom:rangeString onError:nil.
12742
54ec064a98eb class: ProcessMonitorV2
Stefan Vogel <sv@exept.de>
parents: 12740
diff changeset
  3010
    ] doWhile:[range isNil].
54ec064a98eb class: ProcessMonitorV2
Stefan Vogel <sv@exept.de>
parents: 12740
diff changeset
  3011
12740
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3012
    self selectedProcessesDo:[:p |
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3013
       p priorityRange:range
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3014
    ].
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3015
    self updateList.
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3016
!
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3017
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3018
startTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3019
    Processor isTimeSlicing ifFalse:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3020
	Processor startTimeSlicing.
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3021
    ].
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3022
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3023
    "Created: / 03-11-2011 / 21:26:27 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3024
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3025
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3026
stopProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3027
    "stop the selected process - not even interrupts will wake it up"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3028
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3029
    self selectedProcessesSend:#stop
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3030
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3031
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3032
stopTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3033
    Processor isTimeSlicing ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3034
	Processor stopTimeSlicing.
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3035
    ].
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3036
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3037
    "Created: / 03-11-2011 / 21:26:40 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3038
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3039
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3040
suspendProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3041
    "suspend the selected process - interrupts will let it run again"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3042
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3043
    self selectedProcessesSend:#suspend
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3044
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3045
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3046
terminateAllLikeThis
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3047
    "terminate the selected process with all of its subprocesses"
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3048
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3049
    |names|
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3050
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3051
    names := Set new.
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3052
    self selectedProcessesDo:[:p |
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3053
        names add:p name.
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3054
    ].
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3055
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3056
    ProcessorScheduler knownProcesses 
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3057
        select:[:p | (names includes:p name) ]
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3058
        thenDo:[:eachProcessToTerminate |
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3059
        |doTerminateThis|
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3060
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3061
        doTerminateThis :=
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3062
            ((eachProcessToTerminate isSystemProcess not)
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3063
            or:[ Dialog confirm:(resources 
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3064
                                    string:'Terminate the system process: %1 (Pid=%2)?'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3065
                                    with:eachProcessToTerminate name
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3066
                                    with:eachProcessToTerminate id) ]).
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3067
                            
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3068
        doTerminateThis ifTrue:[
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3069
            eachProcessToTerminate terminate
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3070
        ].    
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3071
    ].
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3072
    
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3073
    self updateList.
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3074
!
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3075
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3076
terminateProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3077
    "terminate the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3078
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3079
    self selectedProcessesSend:#terminate.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3080
    self updateList.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3081
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3082
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3083
terminateProcessGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3084
    "terminate the selected process with all of its subprocesses"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3085
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3086
    self selectedProcessesSend:#terminateGroup.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3087
    self updateList.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3088
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3089
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3090
!ProcessMonitorV2 methodsFor:'menu actions-application'!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3091
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3092
closeApplication
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3093
    "close the process(es) topView(s)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3094
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3095
    self selectedApplicationTopViewsDo:[:topView | topView terminate]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3096
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3097
    "Created: / 07-06-2007 / 12:40:20 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3098
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3099
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3100
lowerApplicationWindow
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3101
    "lower the selected process(es) topView(s)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3102
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3103
    self selectedApplicationTopViewsDo:[:topView | topView lower]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3104
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3105
    "Created: / 07-06-2007 / 12:43:46 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3106
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3107
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3108
raiseApplicationWindow
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3109
    "raise the selected process(es) topView(s)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3110
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3111
    self selectedApplicationTopViewsDo:[:topView |
17063
2cc4c00fa570 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17062
diff changeset
  3112
        |wg v|
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3113
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3114
        topView raiseDeiconified.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3115
        wg := topView windowGroup.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3116
        [wg isInModalLoop] whileTrue:[
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3117
            wg := wg modalGroup.
17063
2cc4c00fa570 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17062
diff changeset
  3118
            (v := wg mainView) notNil ifTrue:[v raiseDeiconified].
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3119
        ].
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3120
    ]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3121
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3122
    "Created: / 05-06-2007 / 18:37:30 / cg"
17063
2cc4c00fa570 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17062
diff changeset
  3123
    "Modified: / 15-11-2016 / 00:22:22 / cg"
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3124
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3125
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3126
selectedApplicationTopViewsDo:aBlock
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3127
    self selectedProcessesDo:[:eachProcess |
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3128
        |wg|
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3129
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3130
        wg := self windowGroupOfProcess:eachProcess.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3131
        wg notNil ifTrue:[
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3132
            |topView|
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3133
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3134
            (topView := wg mainView) notNil ifTrue:[
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3135
                aBlock value:topView.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3136
            ]
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3137
        ]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3138
    ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3139
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3140
    "Created: / 07-06-2007 / 12:42:09 / cg"
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3141
    "Modified: / 15-11-2016 / 00:18:37 / cg"
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3142
! !
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3143
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3144
!ProcessMonitorV2 methodsFor:'menu actions-debug'!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3145
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3146
browseApplication
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3147
    "open a browser on the selected process(es) application or topView"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3148
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3149
    self selectedApplicationTopViewsDo:[:topView |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3150
	|app|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3151
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3152
	(app := topView application) notNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3153
	    app class browse.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3154
	] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3155
	    topView class browse.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3156
	]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3157
   ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3158
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3159
    "Created: / 07-06-2007 / 12:48:05 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3160
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3161
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3162
debugProcess
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3163
    "open a debugger on the selected process(es)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3164
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3165
    Debugger isNil ifTrue:[ ^ self ].
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3166
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3167
    self selectedProcessesDo:[:p |
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3168
       Debugger openOn:p
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3169
    ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3170
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3171
    "Modified: / 07-06-2007 / 12:34:43 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3172
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3173
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3174
debugWhenResumed
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3175
    "open a debugger when the selected process(es) is resumed"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3176
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3177
    Debugger isNil ifTrue:[ ^ self ].
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3178
17721
c65669cfd4e9 #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 17623
diff changeset
  3179
    self selectedProcessesDo:[:eachProcess |
c65669cfd4e9 #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 17623
diff changeset
  3180
       eachProcess onResumeDo:[Debugger enter]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3181
    ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3182
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3183
    "Modified: / 07-06-2007 / 12:34:38 / cg"
17721
c65669cfd4e9 #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 17623
diff changeset
  3184
    "Modified: / 25-10-2017 / 17:50:52 / stefan"
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3185
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3186
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3187
disableInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3188
    InstrumentationContext isNil ifTrue:[^ self].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3189
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3190
    self selectedProcessesDo:[:p |
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3191
       InstrumentationContext setInstrumentationContext:nil in:p
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3192
    ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3193
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3194
    "Created: / 17-08-2011 / 11:50:36 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3195
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3196
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3197
enableInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3198
    |context|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3199
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3200
    InstrumentationContext isNil ifTrue:[^ self].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3201
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3202
    context := InstrumentationContext new.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3203
    self selectedProcessesDo:[:p |
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3204
       InstrumentationContext setInstrumentationContext:context in:p
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3205
    ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3206
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3207
    "Created: / 17-08-2011 / 11:50:12 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3208
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3209
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3210
inspectApplication
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3211
    "open an inspector on the selected process(es) application or topView"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3212
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3213
    self selectedApplicationTopViewsDo:[:topView |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3214
	|app|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3215
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3216
	(app := topView application) notNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3217
	    app inspect.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3218
	] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3219
	    topView inspect.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3220
	]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3221
   ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3222
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3223
    "Modified: / 07-06-2007 / 12:46:42 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3224
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3225
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3226
inspectSelection
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3227
    "open an inspector on the selected process"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3228
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3229
    self selectedProcessesSend:#inspect
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3230
! !
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3231
6609
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3232
!ProcessMonitorV2 methodsFor:'private queries'!
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3233
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3234
isApplicationProcess:aProcess
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3235
    ^ (self windowGroupOfProcess:aProcess) notNil.
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3236
!
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3237
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3238
windowGroupOfProcess:aProcess
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3239
    WindowGroup scheduledWindowGroups
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3240
	do:[:eachGroup |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3241
	    (eachGroup process == aProcess) ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3242
		eachGroup isModal ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3243
		    ^ eachGroup previousGroup
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3244
		].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3245
		^ eachGroup
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3246
	    ]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3247
	].
6609
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3248
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3249
    ^ nil
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3250
! !
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3251
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3252
!ProcessMonitorV2 methodsFor:'queries - table string'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3253
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3254
getActiveStringFor:aProcess running:isRunning
5538
d004f232b1df cosmetics
Stefan Vogel <sv@exept.de>
parents: 5047
diff changeset
  3255
    |stateCharacter|
d004f232b1df cosmetics
Stefan Vogel <sv@exept.de>
parents: 5047
diff changeset
  3256
d004f232b1df cosmetics
Stefan Vogel <sv@exept.de>
parents: 5047
diff changeset
  3257
    isRunning ifTrue:[
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3258
        ^ '*'.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3259
    ].
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3260
    
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3261
    [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3262
        (Processor scheduledProcesses includes:aProcess) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3263
            stateCharacter := '+'
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3264
        ] ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3265
            stateCharacter := ''.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3266
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3267
    ] valueUninterruptably.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3268
    ^ stateCharacter.
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3269
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3270
    "Modified: / 12-03-2019 / 18:05:59 / Claus Gittinger"
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3271
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3272
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3273
getApplicationFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3274
    |wg app|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3275
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3276
    wg := self windowGroupOfProcess:aProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3277
    wg notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3278
	(app := wg application) notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3279
	    ^ app.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3280
	].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3281
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3282
    ^ nil.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3283
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3284
    "Created: / 17-08-2011 / 11:12:13 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3285
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3286
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3287
getApplicationStringFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3288
    |app|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3289
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3290
    (app := self getApplicationFor:aProcess) notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3291
	^ app class name.
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3292
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3293
    ^ ''.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3294
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3295
    "Created: / 17-08-2011 / 10:58:50 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3296
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3297
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3298
getCurrentSegmentStringFor:con
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3299
    | contextCount c sender|
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3300
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3301
    con notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3302
	contextCount := 1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3303
	c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3304
	[(sender := c sender) notNil] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3305
	    c := sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3306
	    contextCount := contextCount + 1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3307
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3308
	^ (((ObjectMemory addressOf:con) printStringRadix:16),
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3309
	   ' .. ',
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3310
	   ((ObjectMemory addressOf:c) printStringRadix:16)).
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3311
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3312
    ^ ''
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3313
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3314
    "Modified (format): / 17-08-2011 / 10:57:23 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3315
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3316
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3317
getGroupStringFor:aProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3318
    |gId|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3319
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3320
    gId := aProcess processGroupId.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3321
    ((gId == aProcess id) or:[gId isNil]) ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3322
	"/ a group leader
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3323
	^ '-'.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3324
    ] ifFalse:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3325
	^ gId.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3326
    ].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3327
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3328
    "Modified (format): / 17-08-2011 / 10:57:33 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3329
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3330
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3331
getInstrumentationStringFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3332
    ^ (InstrumentationContext forProcess:aProcess) isNil
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3333
	ifTrue:['']
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3334
	ifFalse:['Y']
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3335
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3336
    "Created: / 17-08-2011 / 11:04:14 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3337
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3338
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3339
getPrioStringFor:aProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3340
    |prioRange|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3341
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3342
    Processor supportDynamicPriorities ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3343
	(prioRange := aProcess priorityRange) isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3344
	    ^ aProcess priority asString.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3345
	] ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3346
	    ^ (aProcess priority asString,
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3347
		    ' [',
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3348
		    prioRange start printString,
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3349
		    '..',
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3350
		    prioRange stop printString,
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3351
		    ']').
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3352
	].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3353
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3354
    ^ ''
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3355
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3356
    "Modified (format): / 17-08-2011 / 10:57:36 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3357
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3358
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3359
getTotalStackStringFor:aProcess
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3360
    | tStackSize noOfSegs |
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3361
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3362
    aProcess id == 0 ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3363
	^ 'unlimited'.
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3364
    ].
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3365
    ((tStackSize := aProcess totalStackSize) notNil
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3366
    and:[ (noOfSegs := aProcess numberOfStackSegments) notNil ]) ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3367
	^ (tStackSize printString),' (',(noOfSegs printString),')'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3368
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3369
    ^ ''
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3370
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3371
    "Modified: / 17-08-2011 / 10:56:17 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3372
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3373
11289
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3374
getWhereContextFor:con running:isRunning
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3375
    "retrieve a reasonable description of where the process is sitting around;
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3376
     that is not the last context before the context switch, because that would
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3377
     usually be too low level and non-descriptive; instead, walk up the sender chain to
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3378
     a higher level waiter, such as a semaphore wait, a shared queue wait etc."
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3379
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3380
    |c found skipping rs rc r sel|
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3381
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3382
    con notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3383
	c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3384
	found := false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3385
	isRunning ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3386
	    "/ search for a semaphore-wait in the top 10 contexts
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3387
	    1 to:10 do:[:n |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3388
		found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3389
		    c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3390
			(c receiver class == Semaphore) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3391
			    (sel := c selector) == #wait ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3392
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3393
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3394
			    sel == #waitWithTimeout: ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3395
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3396
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3397
			    sel == #waitWithTimeoutMs: ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3398
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3399
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3400
			].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3401
			c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3402
		    ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3403
		]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3404
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3405
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3406
	found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3407
	    "/ search for a non-processor, non-process
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3408
	    "/ receiver in the top 10 contexts
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3409
	    c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3410
	    1 to:10 do:[:n |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3411
		found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3412
		    c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3413
			((r := c receiver) ~~ Processor and:[ r class ~~ Process ]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3414
			    found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3415
			] ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3416
			    c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3417
			]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3418
		    ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3419
		]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3420
	    ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3421
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3422
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3423
	"/ skip, until an interesting context is found.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3424
	"/ This skips intermediate contexts, which lead
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3425
	"/ to the sema-wait (for example, unwind blocks, delay-stuff etc.)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3426
	found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3427
	    c := con
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3428
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3429
	skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3430
	[ skipping ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3431
	    skipping := false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3432
	    (c notNil and:[ (r := c receiver) == Delay or:[ r class == Delay ] ]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3433
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3434
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3435
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3436
	    (c notNil and:[ (r := c receiver) == Semaphore or:[ r class == Semaphore ] ]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3437
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3438
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3439
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3440
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3441
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3442
		    and:[ c receiver isBlock
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3443
		    and:[ ((sel := c selector) startsWith:'value')
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3444
			  or:[ sel = 'doWhile:'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3445
			  or:[ sel = 'doUntil:'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3446
			  or:[ sel = 'ensure:' ]]]]]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3447
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3448
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3449
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3450
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3451
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3452
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3453
		    and:[ c receiver == OperatingSystem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3454
		    and:[ c selector == #unblockInterrupts ] ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3455
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3456
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3457
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3458
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3459
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3460
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3461
		    and:[ c isBlockContext ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3462
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3463
		c := c home.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3464
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3465
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3466
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3467
	c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3468
	    sel := c selector.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3469
	    sel isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3470
		sel := '* unknown *'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3471
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3472
	    r := c receiver.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3473
	    rc := r class.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3474
	    rs := rc name.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3475
	    (rc == SharedQueue
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3476
	    or:[rc == RecursionLock]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3477
		rs := rs , ' (', (r identityHash bitShift:-12) hexPrintString,') '.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3478
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3479
	    ^ (rs , '>>' , sel).
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3480
	]
11289
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3481
    ].
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3482
    ^ ''
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3483
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3484
    "Created: / 28-02-2012 / 11:48:22 / cg"
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3485
!
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3486
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3487
getWhereStringFor:con running:isRunning
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3488
    "retrieve a reasonable description of where the process is sitting around;
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3489
     that is not the last context before the context switch, because that would
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3490
     usually be too low level and non-descriptive; instead, walk up the sender chain to
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3491
     a higher level waiter, such as a semaphore wait, a shared queue wait etc."
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3492
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3493
    |c found skipping rs rc r sel|
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3494
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3495
    con notNil ifTrue:[
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3496
        c := con.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3497
        found := false.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3498
        isRunning ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3499
            "/ search for a semaphore-wait in the top 10 contexts
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3500
            1 to:10 do:[:n |
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3501
                found ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3502
                    c notNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3503
                        (c receiver class == Semaphore) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3504
                            ((sel := c selector) == #wait 
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3505
                              or:[sel == #waitWithTimeout:
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3506
                              or:[sel == #waitWithTimeoutMs:]]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3507
                            ) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3508
                                found := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3509
                            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3510
                        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3511
                        c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3512
                    ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3513
                ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3514
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3515
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3516
        found ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3517
            "/ search for a non-processor, non-process
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3518
            "/ receiver in the top 10 contexts
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3519
            c := con.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3520
            1 to:10 do:[:n |
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3521
                found ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3522
                    c notNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3523
                        ((r := c receiver) ~~ Processor and:[ r class ~~ Process ]) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3524
                            found := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3525
                        ] ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3526
                            c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3527
                        ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3528
                    ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3529
                ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3530
            ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3531
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3532
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3533
        "/ skip, until an interesting context is found.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3534
        "/ This skips intermediate contexts, which lead
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3535
        "/ to the sema-wait (for example, unwind blocks, delay-stuff etc.)
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3536
        found ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3537
            c := con
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3538
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3539
        skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3540
        [ skipping ] whileTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3541
            skipping := false.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3542
            (c notNil and:[ (r := c receiver) == Delay or:[ r class == Delay ] ]) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3543
                c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3544
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3545
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3546
            (c notNil and:[ (r := c receiver) == Semaphore or:[ r class == Semaphore ] ]) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3547
                c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3548
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3549
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3550
            [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3551
                c notNil
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3552
                  and:[ c receiver isBlock
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3553
                  and:[ ((sel := c selector) startsWith:'value')
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3554
                          or:[ sel = 'doWhile:'
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3555
                          or:[ sel = 'doUntil:'
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3556
                          or:[ sel = 'ensure:' ]]]]]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3557
            ] whileTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3558
                c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3559
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3560
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3561
            [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3562
                c notNil
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3563
                  and:[ c receiver == OperatingSystem 
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3564
                  and:[ c selector == #unblockInterrupts ] ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3565
            ] whileTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3566
                c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3567
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3568
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3569
            [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3570
                c notNil and:[ c isBlockContext ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3571
            ] whileTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3572
                c := c home.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3573
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3574
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3575
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3576
        c notNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3577
            sel := c selector.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3578
            sel isNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3579
                sel := '* unknown *'
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3580
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3581
            r := c receiver.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3582
            rc := r class.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3583
            rs := rc name.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3584
            (rc == SharedQueue
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3585
            or:[rc == RecursionLock]) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3586
                rs := rs , ' (', (r identityHash bitShift:-12) hexPrintString,') '.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3587
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3588
            ^ (rs , '>>' , sel).
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3589
        ]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3590
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3591
    ^ ''
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3592
11288
a9e5e329714c changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents: 10849
diff changeset
  3593
    "Modified: / 28-02-2012 / 11:43:30 / cg"
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3594
    "Modified: / 12-03-2019 / 17:54:47 / Claus Gittinger"
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3595
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3596
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3597
getWindowTitleFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3598
    |wg topViews|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3599
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3600
    wg := self windowGroupOfProcess:aProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3601
    wg notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3602
        (topViews := wg topViews) notEmptyOrNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3603
            ^ '"',(topViews first label ? '<nil>'),'"'.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3604
        ].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3605
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3606
    ^ ''.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3607
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3608
    "Created: / 17-08-2011 / 11:01:21 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3609
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3610
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3611
!ProcessMonitorV2 methodsFor:'sorting'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3612
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3613
sortProcessListBy:instanceName
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3614
    "method to sort the list of BugReport"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3615
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3616
    | aSymbol isReverse cmpOp currentSortOrder|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3617
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3618
    aSymbol := instanceName asSymbol.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3619
    isReverse := false.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3620
    currentSortOrder := self currentSortOrder value.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3621
    currentSortOrder isEmpty ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3622
	currentSortOrder at:#column put:aSymbol.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3623
	currentSortOrder at:#reverse put:false.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3624
    ] ifFalse:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3625
	(currentSortOrder at:#column) = aSymbol ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3626
	    "/ same column like before - change sort order ifReverse is true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3627
	    isReverse := currentSortOrder at:#reverse.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3628
	    currentSortOrder at:#reverse put:(isReverse not).
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3629
	] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3630
	    "/ another column - remark column
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3631
	    currentSortOrder at:#column put:aSymbol.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3632
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3633
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3634
    (currentSortOrder at:#reverse) ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3635
	cmpOp := #'>'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3636
    ] ifFalse:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3637
	cmpOp := #'<'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3638
    ].
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3639
    sortBlock := [:a :b |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3640
	    |entry1 entry2|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3641
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3642
	    entry1 := (a perform:aSymbol) ? 0.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3643
	    entry2 := (b perform:aSymbol) ? 0.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3644
	    entry1 = entry2 ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3645
		(a idVal < 0 and:[b idVal < 0]) ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3646
		    "/ two dead ones (take anything which remains constant)
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3647
		    a processName ~= b processName ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3648
			a processName < b processName
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3649
		    ] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3650
			a processInstance identityHash < b processInstance identityHash
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3651
		    ]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3652
		] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3653
		    a idVal < b idVal
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3654
		]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3655
	    ] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3656
		entry1 perform:cmpOp with:entry2
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3657
	    ]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3658
	].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3659
   self viewedColumnsChanged.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3660
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3661
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3662
!ProcessMonitorV2 methodsFor:'update process'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3663
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3664
fillItemInformationIn:processItem
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3665
    |state stateColor stateString running con aProcess group|
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3666
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3667
    aProcess := processItem processInstance.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3668
    aProcess isNil ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3669
        ^ self.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3670
    ].
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3671
    group := self getGroupStringFor:aProcess.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3672
    
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3673
    state := aProcess state.
18793
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
  3674
    running := (aProcess isRunning and:[aProcess == Processor interruptedProcess]).
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
  3675
    stateColor := aProcess isRunning
18681
c0aa65849475 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18671
diff changeset
  3676
                        ifTrue:[ Color darkGreen ]
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3677
                        ifFalse:[
18793
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
  3678
                            (aProcess isDebuggedOrStopped)
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3679
                                ifTrue:[ Color red ]
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3680
                                ifFalse:[ Color black ]].
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3681
    stateString := state asString withColor:stateColor.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3682
    
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3683
    processItem 
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3684
        processId:(aProcess id)
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3685
        idVal:(aProcess id ? -1)
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3686
        processGroup:group
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3687
        groupVal:(group isNumber ifTrue:[group] ifFalse:[-1])
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3688
        processStartTime:aProcess startTimestamp
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3689
        processName:(aProcess name ? '')
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3690
        processState:stateString.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3691
        
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3692
    processItem processActive:(self getActiveStringFor:aProcess running:running).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3693
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3694
    "/ processItem processBlocked:(aProcess interruptsDisabled).
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3695
    processItem prioVal:(aProcess priority).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3696
    processItem processPrio:(self getPrioStringFor:aProcess).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3697
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3698
    processItem processUsedStack:aProcess usedStackSize.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3699
    processItem processTotalStack:(self getTotalStackStringFor:aProcess).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3700
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3701
    "/ must be very careful here: the process might actually be
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3702
    "/ resumed and con becomes invalid while we access it.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3703
    "/ this seems to be a bug in the current VM, in that it does not update
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3704
    "/ the returned context-ref, when the method returns,
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3705
    "/ AND the ref is from another process's local variable or a return value
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3706
    "/ (it does, if it is ever stored into something...)
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3707
    "/ Therefore, we must do this uninterruptably.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3708
    [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3709
        con := aProcess suspendedContext.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3710
        con isNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3711
            aProcess == Processor activeProcess ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3712
                con := thisContext
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3713
            ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3714
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3715
        showWhere value ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3716
            processItem processWhere:(self getWhereStringFor:con running:running).
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3717
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3718
        processItem processCurrentSegment:(self getCurrentSegmentStringFor:con).
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3719
        con := nil.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3720
    ] valueUninterruptably.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3721
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3722
    processItem processSwitch:(aProcess numberOfStackBoundaryHits).
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
  3723
    showApplication value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3724
        processItem processApplication:(self getApplicationStringFor:aProcess)
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3725
    ].
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
  3726
    showWindowTitle value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3727
        processItem processWindowTitle:(self getWindowTitleFor:aProcess)
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3728
    ].
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
  3729
    showInstrumentation value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3730
        processItem processInstrumentation:(self getInstrumentationStringFor:aProcess)
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3731
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3732
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3733
    "Modified: / 17-08-2011 / 11:04:32 / cg"
18793
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
  3734
    "Modified: / 29-05-2019 / 01:01:34 / Claus Gittinger"
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3735
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3736
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3737
fillItemInformationIn:processItem with:aProcess inArray:weakArrayWithProcesses atIndex:processInstanceIndexInWeakArray
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3738
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3739
    processItem weakArrayWithProcesses:weakArrayWithProcesses.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3740
    processItem processInstanceIndexInWeakArray:processInstanceIndexInWeakArray.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3741
    self fillItemInformationIn:processItem
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3742
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3743
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3744
startUpdateProcess
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3745
    updateBlock notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3746
        Processor addTimedBlock:updateBlock afterSeconds:updateDelay.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3747
        Processor addTimedBlock:listUpdateBlock afterSeconds:listUpdateDelay.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3748
    ] ifFalse:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3749
        "after a restart, updateProcess is a dead process"
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3750
        (updateProcess isNil or:[updateProcess isDead]) ifTrue:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3751
            updateProcess := [
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3752
                [
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3753
                    |id cnt myDelay|
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3754
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3755
                    myDelay := Delay forSeconds:updateDelay.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3756
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3757
                    "
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3758
                     every updateDelay (0.5), we look which process runs;
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3759
                     every half second, the status is updated.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3760
                     every listUpdateDelay (5s), the list of processes is
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3761
                     built up again
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3762
                    "
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3763
                    [true] whileTrue:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3764
                        myDelay delay:updateDelay * 1000.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3765
                        ((listUpdateDelay // updateDelay) max:2) - 1 timesRepeat:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3766
                            myDelay wait.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3767
                            self updateStatus:nil.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3768
                        ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3769
                        myDelay wait.
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3770
                        self updateList.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3771
                    ]
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3772
                ] ifCurtailed:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3773
                    updateProcess := nil
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3774
                ]
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3775
            ] forkAt:(Processor userSchedulingPriority + 1).
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3776
            updateProcess name:'monitor [' ,
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3777
                               Processor activeProcess id printString ,
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3778
                               '] update'.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3779
            "
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3780
             raise my own priority
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3781
            "
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3782
            Processor activeProcess priority:(Processor userSchedulingPriority + 2)
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3783
        ].
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3784
    ].
18338
956d9a637384 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 17927
diff changeset
  3785
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3786
    "Modified: / 25-09-2018 / 12:30:44 / Claus Gittinger"
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3787
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3788
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3789
updateChangedItem:oldItem newItem:newItem atIndex:index
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3790
    | colIdx newValue |
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3791
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3792
    colIdx := 1.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3793
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3794
    oldItem weakArrayWithProcesses:newItem weakArrayWithProcesses.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3795
    oldItem processInstanceIndexInWeakArray:newItem processInstanceIndexInWeakArray.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3796
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3797
    "/ ID
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3798
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3799
    oldItem processId ~= (newValue := newItem processId) ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3800
	oldItem processId:newValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3801
	processTable invalidateRowAt:index colAt:colIdx.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3802
    ].
7757
935e3e45cca4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7466
diff changeset
  3803
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3804
    #(
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3805
	( showGroup     processGroup        processGroup: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3806
	( true          processName         processName: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3807
	( showInstrumentation     processInstrumentation        processInstrumentation: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3808
	( true          processActive       processActive: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3809
	( showState     processState        processState: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3810
	( showPrio      processPrio         processPrio: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3811
	( showUsedStack processUsedStack    processUsedStack: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3812
	( showTotalStack processTotalStack  processTotalStack: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3813
	( showCurrentSegment processCurrentSegment processCurrentSegment: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3814
	( showSwitch    processSwitch       processSwitch: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3815
	( showWhere     processWhere        processWhere: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3816
	( showApplication     processApplication        processApplication: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3817
	( showWindowTitle     processWindowTitle        processWindowTitle: )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3818
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3819
    ) do:[:eachAspect |
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3820
	|showHolder showHolderValue colValueGetter colValueSetter|
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3821
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3822
	showHolder := eachAspect at:1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3823
	colValueGetter := eachAspect at:2.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3824
	colValueSetter := eachAspect at:3.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3825
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3826
	showHolderValue := (showHolder == true) or:[ (self perform:showHolder) value ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3827
	showHolderValue ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3828
	    colIdx := colIdx + 1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3829
	    (oldItem perform:colValueGetter) ~= (newValue := (newItem perform:colValueGetter)) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3830
		oldItem perform:colValueSetter with:newValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3831
		processTable invalidateRowAt:index colAt:colIdx.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3832
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3833
	].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3834
    ].
7757
935e3e45cca4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7466
diff changeset
  3835
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3836
"/    "/ GROUP
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3837
"/    self showGroup value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3838
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3839
"/        oldItem processGroup ~= (newValue := newItem processGroup) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3840
"/            oldItem processGroup:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3841
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3842
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3843
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3844
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3845
"/    "/ NAME
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3846
"/    colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3847
"/    oldItem processName ~= (newValue := newItem processName) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3848
"/        oldItem processName:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3849
"/        processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3850
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3851
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3852
"/    "/ ACTIVE
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3853
"/    colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3854
"/    oldItem processActive ~= (newValue := newItem processActive) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3855
"/        oldItem processActive:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3856
"/        "/ (processTable columnAt:colIdx).
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3857
"/        processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3858
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3859
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3860
"/    "/ STATE
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3861
"/    showState value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3862
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3863
"/        (oldItem processState sameStringAndEmphasisAs: (newValue := newItem processState)) ifFalse:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3864
"/            oldItem processState:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3865
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3866
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3867
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3868
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3869
"/    "/ PRIO
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3870
"/    showPrio value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3871
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3872
"/        oldItem processPrio ~= (newValue := newItem processPrio) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3873
"/            oldItem processPrio:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3874
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3875
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3876
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3877
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3878
"/    "/ USED STACK
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3879
"/    showUsedStack value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3880
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3881
"/        oldItem processUsedStack ~= (newValue := newItem processUsedStack) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3882
"/            oldItem processUsedStack:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3883
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3884
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3885
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3886
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3887
"/    "/ TOTAL STACK
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3888
"/    showTotalStack value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3889
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3890
"/        oldItem processTotalStack ~= (newValue := newItem processTotalStack) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3891
"/            oldItem processTotalStack:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3892
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3893
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3894
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3895
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3896
"/    "/ CURRENT SEGMENT
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3897
"/    showCurrentSegment value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3898
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3899
"/        oldItem processCurrentSegment ~= (newValue := newItem processCurrentSegment) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3900
"/            oldItem processCurrentSegment:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3901
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3902
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3903
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3904
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3905
"/    "/ Switch
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3906
"/    showSwitch value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3907
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3908
"/        oldItem processSwitch ~= (newValue := newItem processSwitch) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3909
"/            oldItem processSwitch:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3910
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3911
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3912
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3913
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3914
"/    "/ WHERE
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3915
"/    showWhere value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3916
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3917
"/        oldItem processWhere ~= (newValue := newItem processWhere) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3918
"/            oldItem processWhere:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3919
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3920
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3921
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3922
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3923
    "Modified: / 17-08-2011 / 11:47:01 / cg"
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3924
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3925
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3926
updateList
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3927
    "recompute the list of processes"
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3928
    
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3929
    |newList|
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3930
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3931
    processTable shown ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3932
        newList := self getProcessList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3933
        visibleBlock notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3934
            newList := newList select:visibleBlock
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3935
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3936
        self updateStatus:newList.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3937
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3938
    updateBlock notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3939
        Processor removeTimedBlock:listUpdateBlock.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3940
        Processor addTimedBlock:listUpdateBlock afterSeconds:listUpdateDelay
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3941
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3942
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3943
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3944
updateStatus:newProcessList
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3945
    |startTime endTime deltaT|
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3946
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3947
    self window shown ifTrue:[
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3948
        startTime := Timestamp now.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3949
        updateSema critical:[
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3950
            self updateTable:newProcessList.
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3951
        ].
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3952
        endTime := Timestamp now.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3953
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3954
        lastUpdateTimestamp notNil ifTrue:[
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3955
            |timeDelta newInterruptCount newTimerActionCount n nPerSecond s|
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3956
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3957
            timeDelta := (endTime - lastUpdateTimestamp) asMilliseconds / 1000.0.
18608
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3958
            timeDelta > 0 ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3959
                "/ update the interrupt counts
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3960
                newInterruptCount := Processor interruptCounter.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3961
                newTimerActionCount := Processor timedActionCounter.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3962
                lastInterruptCount notNil ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3963
                    "/ attention - these are modulu counters.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3964
                    newInterruptCount >= lastInterruptCount ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3965
                        n := newInterruptCount-lastInterruptCount.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3966
                        n == 0 ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3967
                            "/ the common case
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3968
                            s := '0'
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3969
                        ] ifFalse:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3970
                            nPerSecond := n / timeDelta. 
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3971
                            s := (nPerSecond asInteger "asFixedPoint:1") printString
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3972
                        ].    
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3973
                        self interruptCountHolder value:s
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3974
                    ].    
18608
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3975
                ].
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3976
                lastTimerActionCount notNil ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3977
                    "/ attention - these are modulu counters.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3978
                    newTimerActionCount >= lastTimerActionCount ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3979
                        n := newTimerActionCount-lastTimerActionCount.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3980
                        n == 0 ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3981
                            "/ the common case
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3982
                            s := '0'
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3983
                        ] ifFalse:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3984
                            nPerSecond := n / timeDelta.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3985
                            s := (nPerSecond asInteger "asFixedPoint:1") printString
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3986
                        ].    
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3987
                        self timerActionCountHolder value:s
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3988
                    ].    
18608
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3989
                ].
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3990
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3991
                lastInterruptCount := newInterruptCount.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3992
                lastTimerActionCount := newTimerActionCount.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3993
            ].    
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3994
        ].
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3995
        lastUpdateTimestamp := endTime.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3996
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3997
        "/ a check, in case the computation took longer than 20%
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3998
        "/ of the delay time. Then increase the update interval.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3999
        "/ This is to avoid that the processMonitor creates too much overhead
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4000
        "/ (in case we have many processes)
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4001
        deltaT := (endTime millisecondDeltaFrom:startTime) / 1000.0.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4002
        "/ Transcript show:deltaT; show:' ' ; showCR:(self scaledUpdateContentsDelayTime / 10.0).
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4003
        deltaT > (updateDelay / 5) ifTrue:[
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4004
            "/ the update took longer than 20% - make delay longer, to reduce cpu load.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4005
            updateDelay := updateDelay * 2.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4006
            self updateContentsDelayTimeHolder value:updateDelay.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4007
            "/ Transcript show:'+++ '; showCR:self scaledUpdateContentsDelayTime.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4008
        ].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4009
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4010
    
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4011
    updateBlock notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4012
        Processor removeTimedBlock:updateBlock.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4013
        Processor addTimedBlock:updateBlock afterSeconds:updateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4014
    ]
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4015
18608
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4016
    "Modified: / 21-02-2019 / 16:21:31 / Claus Gittinger"
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4017
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4018
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4019
updateTable:newProcessList
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4020
    |oldSelection newList sel diff weakProcessList showDead|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4021
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4022
    processTable shown ifFalse:[^ self].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4023
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4024
    showDead := self showDeadHolder value.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4025
    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4026
    "/ Transcript showCR:('update the table', Timestamp now printString, 'with new list:', newProcessList notNil asString).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4027
    sel := self selectedProcesses value.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4028
    sel notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4029
        oldSelection := OrderedCollection new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4030
        sel do:[:proItem|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4031
            proItem processInstance notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4032
                oldSelection add:(proItem processInstance)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4033
            ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4034
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4035
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4036
    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4037
    newList := OrderedCollection new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4038
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4039
    "/ Transcript showCR:'oldSelection on catch in updateTable: ', (oldSelection isEmptyOrNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4040
    newProcessList isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4041
        processList do:[:oldItem |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4042
            | newItem process|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4043
            (showDead
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4044
             or:[ 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4045
                (process := oldItem processInstance) notNil
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4046
                 and:[process isDead not]]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4047
            ) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4048
                newItem := oldItem copy.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4049
                self fillItemInformationIn:newItem.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4050
                newList add:newItem.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4051
            ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4052
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4053
    ] ifFalse:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4054
        "/ remove dead processes if not shown
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4055
        weakProcessList := WeakArray withAll:newProcessList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4056
        weakProcessList keysAndValuesDo:[:indexInWeakArray :procOrNilOrZero |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4057
            "/ in a weakarray, dead entries are 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4058
            (procOrNilOrZero notNil and:[procOrNilOrZero class ~~ SmallInteger]) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4059
                (procOrNilOrZero isDead not or:[showDead]) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4060
                    | processItem |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4061
                    processItem := ProcessItem new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4062
                    self fillItemInformationIn:processItem with:procOrNilOrZero inArray:weakProcessList atIndex:indexInWeakArray.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4063
                    newList add:processItem.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4064
                ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4065
            ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4066
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4067
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4068
    newList sort:self sortBlock.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4069
    newList doWithIndex:[:newItem :index|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4070
        | oldItem |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4071
        oldItem := processList at:index ifAbsent:nil.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4072
        oldItem isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4073
            processList add:newItem beforeIndex:index
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4074
        ] ifFalse:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4075
            self updateChangedItem:oldItem newItem:newItem atIndex:index
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4076
        ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4077
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4078
    diff := processList size - newList size.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4079
    diff > 0 ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4080
        processList removeLast:diff
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4081
    ].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4082
"/            Transcript showCR:'oldSelection on set in updateTable: ', (oldSelection isEmptyOrNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4083
    self changeSelectionToProcesses:oldSelection.
18577
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4084
!
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4085
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4086
updateView
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4087
    self updateList
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4088
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4089
    "Created: / 04-02-2019 / 17:13:47 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4090
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4091
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4092
!ProcessMonitorV2::ProcessItem methodsFor:'accessing'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4093
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4094
groupVal
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4095
    "return the groupId"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4096
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4097
    ^ groupVal
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4098
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4099
    "Modified (comment): / 12-03-2019 / 17:58:12 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4100
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4101
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4102
groupVal:groupIdInteger
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4103
    "set the groupId"
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4104
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4105
    groupVal := groupIdInteger.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4106
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4107
    "Modified (comment): / 12-03-2019 / 17:58:38 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4108
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4109
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4110
idVal
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4111
    "return the processId"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4112
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4113
    ^ idVal
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4114
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4115
    "Modified (comment): / 12-03-2019 / 17:58:19 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4116
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4117
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4118
idVal:idInteger
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4119
    "set the processId"
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4120
    
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4121
    idVal := idInteger.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4122
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4123
    "Modified (comment): / 12-03-2019 / 17:58:29 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4124
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4125
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4126
prioVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4127
    "return the value of the instance variable 'prioVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4128
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4129
    ^ prioVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4130
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4131
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4132
prioVal:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4133
    "set the value of the instance variable 'prioVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4134
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4135
    prioVal := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4136
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4137
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4138
processActive
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4139
    "return the value of the instance variable 'processActive' (automatically generated)"
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4140
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4141
    ^ processActive
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4142
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4143
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4144
processActive:something
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4145
    "set the value of the instance variable 'processActive' (automatically generated)"
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4146
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4147
    processActive := something.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4148
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4149
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4150
processApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4151
    ^ processApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4152
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4153
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4154
processApplication:something
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4155
    processApplication := something.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4156
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4157
9526
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4158
processBlocked
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4159
    ^ processBlocked
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4160
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4161
    "Created: / 18-07-2010 / 23:52:26 / cg"
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4162
!
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4163
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4164
processBlocked:aBoolean
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4165
    processBlocked := aBoolean.
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4166
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4167
    "Created: / 18-07-2010 / 23:52:41 / cg"
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4168
!
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4169
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4170
processCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4171
    "return the value of the instance variable 'processCurrentSegment' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4172
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4173
    ^ processCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4174
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4175
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4176
processCurrentSegment:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4177
    "set the value of the instance variable 'processCurrentSegment' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4178
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4179
    processCurrentSegment := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4180
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4181
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4182
processGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4183
    "return the value of the instance variable 'processGroup' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4184
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4185
    ^ processGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4186
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4187
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4188
processGroup:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4189
    "set the value of the instance variable 'processGroup' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4190
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4191
    processGroup := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4192
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4193
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4194
processId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4195
    "return the value of the instance variable 'processId' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4196
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4197
    ^ processId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4198
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4199
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4200
processId:processIdArg
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4201
    processId := processIdArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4202
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4203
    "Modified (comment): / 12-03-2019 / 17:57:05 / Claus Gittinger"
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4204
!
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4205
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4206
processId:processIdArg idVal:idArg processGroup:processGroupArg groupVal:groupValArg
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4207
        processStartTime:processStartTimeArg processName:processNameArg processState:processStateArg
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4208
    processId := processIdArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4209
    idVal := idArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4210
    processGroup := processGroupArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4211
    groupVal := groupValArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4212
    startTimestamp := processStartTimeArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4213
    processName := processNameArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4214
    processState := processStateArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4215
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4216
    "Created: / 12-03-2019 / 18:06:49 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4217
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4218
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4219
processInstance
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4220
    "return the value of the instance variable 'processInstance' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4221
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4222
    |procOrNilOrZero|
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4223
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4224
    procOrNilOrZero := weakArrayWithProcesses at:processInstanceIndexInWeakArray.
15756
9f212f4609db class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 15753
diff changeset
  4225
    procOrNilOrZero class == SmallInteger ifTrue:[^ nil].
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4226
    ^ procOrNilOrZero
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4227
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4228
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4229
processInstance:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4230
    "set the value of the instance variable 'processInstance' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4231
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4232
    processInstance := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4233
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4234
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4235
processInstanceIndexInWeakArray
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4236
    "return the value of the instance variable 'processInstanceIndexInWeakArray' (automatically generated)"
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4237
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4238
    ^ processInstanceIndexInWeakArray
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4239
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4240
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4241
processInstanceIndexInWeakArray:something
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4242
    "set the value of the instance variable 'processInstanceIndexInWeakArray' (automatically generated)"
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4243
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4244
    processInstanceIndexInWeakArray := something.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4245
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4246
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4247
processInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4248
    ^ processInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4249
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4250
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4251
processInstrumentation:something
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4252
    processInstrumentation := something.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4253
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4254
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4255
processName
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4256
    "return the value of the instance variable 'processName' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4257
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4258
    ^ processName
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4259
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4260
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4261
processName:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4262
    "set the value of the instance variable 'processName' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4263
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4264
    processName := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4265
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4266
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4267
processPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4268
    "return the value of the instance variable 'processPrio' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4269
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4270
    ^ processPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4271
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4272
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4273
processPrio:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4274
    processPrio := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4275
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4276
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4277
processStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4278
    "return the value of the instance variable 'startTime' (automatically generated)"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4279
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4280
    ^ startTimestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4281
!
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4282
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4283
processStartTime:aTimestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4284
    "set the value of the instance variable 'startTime' (automatically generated)"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4285
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4286
    startTimestamp := aTimestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4287
!
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4288
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4289
processState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4290
    ^ processState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4291
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4292
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4293
processState:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4294
    processState := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4295
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4296
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4297
processSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4298
    ^ processSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4299
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4300
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4301
processSwitch:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4302
    processSwitch := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4303
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4304
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4305
processTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4306
    ^ processTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4307
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4308
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4309
processTotalStack:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4310
    processTotalStack := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4311
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4312
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4313
processUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4314
    ^ processUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4315
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4316
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4317
processUsedStack:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4318
    processUsedStack := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4319
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4320
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4321
processWhere
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4322
    ^ processWhere
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4323
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4324
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4325
processWhere:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4326
    processWhere := something.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4327
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4328
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4329
processWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4330
    ^ processWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4331
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4332
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4333
processWindowTitle:something
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4334
    processWindowTitle := something.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4335
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4336
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4337
weakArrayWithProcesses
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4338
    ^ weakArrayWithProcesses
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4339
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4340
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4341
weakArrayWithProcesses:something
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4342
    weakArrayWithProcesses := something.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4343
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4344
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4345
!ProcessMonitorV2::ProcessItem methodsFor:'printing'!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4346
8001
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4347
printOn:aStream
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4348
    (self processName ? '') printOn:aStream.
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4349
    aStream nextPut:$[.
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  4350
    (self processId ? '') printOn:aStream.
8001
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4351
    aStream nextPut:$].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4352
! !
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4353
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4354
!ProcessMonitorV2 class methodsFor:'documentation'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4355
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4356
version
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  4357
    ^ '$Header$'
9035
90950862113a no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents: 8652
diff changeset
  4358
!
90950862113a no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents: 8652
diff changeset
  4359
90950862113a no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents: 8652
diff changeset
  4360
version_CVS
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  4361
    ^ '$Header$'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4362
! !
12095
f6e617086f54 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 11999
diff changeset
  4363