ProcessMonitorV2.st
author Claus Gittinger <cg@exept.de>
Mon, 20 Jan 2020 21:02:47 +0100
changeset 19422 c6ca1c3e0fd7
parent 19293 4981d5b90b48
child 19453 2a5031cd104b
permissions -rw-r--r--
#REFACTORING by exept class: MultiViewToolApplication added: #askForFile:default:forSave:thenDo: changed: #askForFile:default:thenDo: #askForFile:thenDo: #menuSaveAllAs #menuSaveAs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19243
1e3eecf7383e #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 19218
diff changeset
     1
"{ Encoding: utf8 }"
1e3eecf7383e #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 19218
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
19218
d891e1292e13 #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 18793
diff changeset
   159
! !
d891e1292e13 #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 18793
diff changeset
   160
d891e1292e13 #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 18793
diff changeset
   161
!ProcessMonitorV2 class methodsFor:'help specs'!
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   162
17892
8091f3922eba #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 17721
diff changeset
   163
helpSpec
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   164
    "This resource specification was automatically generated
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   165
     by the UIHelpTool of ST/X."
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   166
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   167
    "Do not manually edit this!! If it is corrupted,
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   168
     the UIHelpTool may not be able to read the specification."
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   169
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   170
    "
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   171
     UIHelpTool openOnClass:ProcessMonitorV2
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   172
    "
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   173
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   174
    <resource: #help>
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   175
17892
8091f3922eba #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 17721
diff changeset
   176
    ^ super helpSpec addPairsFrom:#(
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   177
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   178
#Debug
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   179
'Debug the selected process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   180
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   181
#Details
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   182
'Details - select columns to display'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   183
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   184
#Inspect
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   185
'Inspect the selected process'
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   186
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   187
#findProcessByView
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   188
'Pick a view and select the associated window group process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   189
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   190
#'Lower Prio'
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   191
'Lower the priority of the selected process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   192
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   193
#'Raise Prio'
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   194
'Raise the priority of the selected process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   195
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   196
#RaiseWindow
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   197
'Raise the application''s window'
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   198
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   199
#Restart
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   200
'Restart'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   201
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   202
#Resume
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   203
'Resume'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   204
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   205
#Abort
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   206
'Abort'
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   207
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   208
#Stop
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   209
'Stop'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   210
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   211
#Suspend
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   212
'Suspend'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   213
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   214
#Terminate
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   215
'Terminate'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   216
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   217
#'Terminate Group'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   218
'Terminate Group'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   219
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   220
#'Update Process List'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   221
'Update Process List'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   222
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   223
processId
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   224
'The process ID. A unique number'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   225
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   226
processGroup
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   227
'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
   228
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   229
processName
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   230
'The processes name'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   231
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   232
processApplication
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   233
'The processes application class (if any)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   234
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   235
processWindowTitle
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   236
'The processes window title (if any)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   237
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   238
processInstrumentation
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   239
'The process is currently executed with instrumentaion monitoring active'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   240
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   241
processWasActive
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   242
'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
   243
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   244
processState
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   245
'The execution state'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   246
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   247
processPriority
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   248
'The execution priority, and optional priority range'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   249
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   250
processWhere
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   251
'The currently executed method or the method which suspended it'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   252
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   253
processUsedStack
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   254
'The amount of stack space used by the process (in bytes)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   255
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   256
processTotalStack
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   257
'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
   258
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   259
processSwitch
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   260
'The overall count of stack segment switches'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   261
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   262
processCurrentSegment
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   263
'The address range of the current stack segment'
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   264
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   265
#interruptCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   266
'Interrupts per second'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   267
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   268
#listUpdateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   269
'Interval to update the list of processes'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   270
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   271
#timerActionCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   272
'Timer actions per second'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   273
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   274
#updateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   275
'Interval to update the status of processes'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   276
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   277
)
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   278
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   279
    "Modified: / 05-06-2007 / 18:35:47 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   280
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   281
99d11fbee2af initial checkin
penk
parents:
diff changeset
   282
!ProcessMonitorV2 class methodsFor:'image specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   283
9802
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   284
defaultIcon
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   285
    "This resource specification was automatically generated
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   286
     by the ImageEditor of ST/X."
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   287
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   288
    "Do not manually edit this!! If it is corrupted,
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   289
     the ImageEditor may not be able to read the specification."
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   290
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   291
    "
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   292
     self defaultIcon inspect
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   293
     ImageEditor openOnClass:self andSelector:#defaultIcon
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   294
     Icon flushCachedIcons
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   295
    "
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
    <resource: #image>
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   298
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   299
    ^Icon
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   300
	constantNamed:'ProcessMonitorV2 class defaultIcon'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   301
	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
   302
@@@@@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
   303
@@I????>@@@@@CLX7L0*)QDPJ*TQDCL%FH #IQADH*TPQBJX7Y b') ; yourself]
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   304
!
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   305
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   306
detailsMenuIconDown
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   307
    <resource: #image>
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   308
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   309
     by the ImageEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   310
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   311
     the ImageEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   312
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   313
     self detailsMenuIconDown inspect
99d11fbee2af initial checkin
penk
parents:
diff changeset
   314
     ImageEditor openOnClass:self andSelector:#detailsMenuIconDown
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   315
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   316
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   317
    ^ Icon constantNamed:#'ProcessMonitorV2 class detailsMenuIconDown'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   318
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   319
	    (Depth1Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   320
		width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   321
		height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   322
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   323
		bitsPerSample:(#( 1 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   324
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   325
		bits:(ByteArray fromPackedString:'@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   326
		colorMapFromArray:#[ 0 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   327
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   328
			    width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   329
			    height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   330
			    bits:(ByteArray fromPackedString:'@A@(UJ(b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   331
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   332
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   333
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   334
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   335
99d11fbee2af initial checkin
penk
parents:
diff changeset
   336
detailsMenuIconUp
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   337
    <resource: #image>
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   338
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   339
     by the ImageEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   340
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   341
     the ImageEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   342
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   343
     self detailsMenuIconUp inspect
99d11fbee2af initial checkin
penk
parents:
diff changeset
   344
     ImageEditor openOnClass:self andSelector:#detailsMenuIconUp
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   345
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   346
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   347
    ^ Icon constantNamed:#'ProcessMonitorV2 class detailsMenuIconUp'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   348
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   349
	    (Depth1Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   350
		width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   351
		height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   352
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   353
		bitsPerSample:(#( 1 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   354
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   355
		bits:(ByteArray fromPackedString:'@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   356
		colorMapFromArray:#[ 0 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   357
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   358
			    width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   359
			    height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   360
			    bits:(ByteArray fromPackedString:'*%P(D@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   361
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   362
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   363
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   364
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   365
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   366
process22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   367
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   368
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   369
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   370
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   371
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   372
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   373
     self process22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   374
     ImageEditor openOnClass:self andSelector:#process22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   375
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   376
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   377
    ^ Icon constantNamed:#'ProcessMonitorV2 class process22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   378
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   379
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   380
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   381
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   382
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   383
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   384
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   385
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   386
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   387
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   388
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   389
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
   390
A XFAPTFA XH@@@@@@@@@@@@@@@@APXFA XFA XFB@@@@@@@@@@@@@@@APXHA0XFA XFAPXH@@@@@@@@@@@@@@\H@@@EA XG@@@GB@@@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   391
@@TH@@@@@@@@@@@@@@@@@@@@@@@@@@@EB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   392
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   393
		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
   394
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   395
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   396
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   397
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   398
					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
   399
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   400
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   401
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   402
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   403
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   404
processAbort22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   405
    <resource: #image>
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   406
    "This resource specification was automatically generated
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   407
     by the ImageEditor of ST/X."
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   408
    "Do not manually edit this!! If it is corrupted,
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   409
     the ImageEditor may not be able to read the specification."
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   410
    "
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   411
     self processAbort22x22Icon inspect
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   412
     ImageEditor openOnClass:self andSelector:#processAbort22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   413
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   414
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   415
    ^ Icon constantNamed:#'ProcessMonitorV2 class processAbort22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   416
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   417
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   418
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   419
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   420
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   421
		bitsPerSample:(#[ 8 ]);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   422
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   423
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   424
			    fromPackedString:'
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   425
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@E@ @@@@@@@@@@@@@@@@@@@@@@@@@@APH@@@@@@@@@@@@@@@@@
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   426
@@@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
   427
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
   428
@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
   429
@@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
   430
A XFA@PDA XE@@@@@@@@@@@@@@@@APTFA XFA TE@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   431
		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
   432
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   433
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   434
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   435
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   436
					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
   437
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   438
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   439
	]
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   440
!
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   441
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   442
processDebug22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   443
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   444
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   445
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   446
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   447
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   448
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   449
     self processDebug22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   450
     ImageEditor openOnClass:self andSelector:#processDebug22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   451
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   452
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   453
    ^ Icon constantNamed:#'ProcessMonitorV2 class processDebug22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   454
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   455
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   456
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   457
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   458
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   459
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   460
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   461
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   462
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   463
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@F@0@@@@@@@@@@@@@@@@@@@@@@@@@@A L@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   464
@@@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
   465
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
   466
APTE@@HEAPTEAPTEAPTE@ @@@@@B@ TEAP@BAPTEAPTEAPTEAPH@@@@@@@HEAPT@@@@@@@@@@@@@@@@@@@@@@@HBAPTE@@HBAPTEAPTEAPTE@ @@@@@@@ HE
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   467
@ @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
   468
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   469
		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
   470
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   471
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   472
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   473
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   474
					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
   475
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   476
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   477
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   478
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   479
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   480
processInspect22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   481
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   482
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   483
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   484
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   485
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   486
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   487
     self processInspect22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   488
     ImageEditor openOnClass:self andSelector:#processInspect22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   489
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   490
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   491
    ^ Icon constantNamed:#'ProcessMonitorV2 class processInspect22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   492
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   493
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   494
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   495
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   496
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   497
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   498
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   499
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   500
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   501
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   502
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA @@@@XH@@@@@@@@@@@@@@@@APXF@@@BCPH@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   503
APXF@@0MCP4MCP0@@@@@@@@@@@@EAPXFA @MCPTEAP4M@@TG@@@@@@@@B@ FA @BCPTEAP4MCPH@B@@@@@@@@@@@A0\@CP4EAP4MCP4M@@@@@@@@@@@@@@@G
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   504
@@HMAP4MCP4M@ @@@@@@@@@@@@@@APX@CP4MCP4MCP@@@@@@@@@@@@@@APXH@@0MCP4MCP0@BP@@@@@@@@@@@@\H@@@@@@HM@ @@@ @@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   505
@@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
   506
@@@@@@@@@@@@C ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   507
		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
   508
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   509
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   510
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   511
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   512
					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
   513
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   514
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   515
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   516
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   517
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   518
processLowerPrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   519
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   520
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   521
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   522
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   523
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   524
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   525
     self processLowerPrio22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   526
     ImageEditor openOnClass:self andSelector:#processLowerPrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   527
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   528
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   529
    ^ Icon constantNamed:#'ProcessMonitorV2 class processLowerPrio22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   530
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   531
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   532
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   533
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   534
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   535
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   536
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   537
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   538
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   539
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   540
@@@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
   541
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
   542
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
   543
@@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
   544
@@@@@@@E@@T@@@@@@@@@@@@@@@@@@@@@@@@@@@T@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   545
		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
   546
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   547
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   548
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   549
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   550
					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
   551
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   552
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   553
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   554
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   555
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   556
processRaisePrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   557
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   558
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   559
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   560
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   561
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   562
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   563
     self processRaisePrio22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   564
     ImageEditor openOnClass:self andSelector:#processRaisePrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   565
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   566
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   567
    ^ Icon constantNamed:#'ProcessMonitorV2 class processRaisePrio22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   568
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   569
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   570
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   571
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   572
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   573
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   574
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   575
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   576
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   577
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   578
@@@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
   579
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
   580
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
   581
@@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
   582
@@@@AP@@@@@@AP@@@@@@@@@@@@@@@@@@@@TEAPTEAPT@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   583
		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
   584
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   585
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   586
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   587
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   588
					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
   589
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   590
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   591
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   592
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   593
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   594
processRestart22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   595
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   596
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   597
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   598
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   599
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   600
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   601
     self processRestart22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   602
     ImageEditor openOnClass:self andSelector:#processRestart22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   603
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   604
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   605
    ^ Icon constantNamed:#'ProcessMonitorV2 class processRestart22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   606
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   607
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   608
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   609
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   610
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   611
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   612
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   613
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   614
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   615
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@GAP@@@@@@@@@@@@@@@@@@@@@@@@@@A0T@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   616
@@@EA0@@A0XFA@@@A0T@@@@@@@@@@@@@A@XGA0XFA XGA0XD@@@@@@@@@@@@@@@EA XFA XF@@@@@@@@@@@@@@@@@@@@A0XFAPP@@@LC@0@@@P@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   617
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
   618
@@LC@0LC@0L@@@@@@@@@@@@@@@@@A0X@@0LC@0L@@@@@@@@@@@@@@@@@A0XDAP@C@0L@@@@@@@@@@@@@@@@@@@TD@@@@@@L@@@@@@@@@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   619
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   620
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   621
		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
   622
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   623
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   624
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   625
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   626
					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
   627
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   628
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   629
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   630
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   631
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   632
processResume22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   633
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   634
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   635
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   636
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   637
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   638
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   639
     self processResume22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   640
     ImageEditor openOnClass:self andSelector:#processResume22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   641
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   642
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   643
    ^ Icon constantNamed:#'ProcessMonitorV2 class processResume22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   644
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   645
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   646
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   647
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   648
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   649
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   650
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   651
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   652
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   653
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   654
@@@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
   655
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
   656
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
   657
@@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
   658
@@@@AP@@AP@@@@@@@@@@@@@@@@@@@@@@@@T@AP@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   659
		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
   660
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   661
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   662
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   663
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   664
					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
   665
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   666
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   667
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   668
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   669
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   670
processStop22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   671
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   672
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   673
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   674
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   675
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   676
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   677
     self processStop22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   678
     ImageEditor openOnClass:self andSelector:#processStop22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   679
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   680
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   681
    ^ Icon constantNamed:#'ProcessMonitorV2 class processStop22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   682
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   683
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   684
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   685
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   686
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   687
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   688
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   689
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   690
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   691
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   692
@@@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
   693
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
   694
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
   695
@@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
   696
@@@E@@@@APT@@@@E@@@@@@@@@@@@@@@@APTEAPTEAPTEAP@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   697
		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
   698
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   699
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   700
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   701
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   702
					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
   703
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   704
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   705
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   706
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   707
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   708
processSuspend22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   709
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   710
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   711
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   712
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   713
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   714
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   715
     self processSuspend22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   716
     ImageEditor openOnClass:self andSelector:#processSuspend22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   717
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   718
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   719
    ^ Icon constantNamed:#'ProcessMonitorV2 class processSuspend22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   720
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   721
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   722
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   723
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   724
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   725
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   726
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   727
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   728
			    fromPackedString:'
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   729
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   730
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   731
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
   732
A XFAPTE@@@@@@@@@@@EAP@@@@@@APXFA TEAP@@@@@@@@@@APT@@@@@APXHA0XEAPT@@@@@@@@@@@TE@@@@@@\H@@@EAPTE@@@@@@@@@@@EAP@@@@@@@@@@
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   733
@@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
   734
APTEAPTEAPTEAPTE@@@@@@@@@@@@APTEAPTEAPTEAPTEAP@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   735
		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
   736
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   737
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   738
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   739
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   740
					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
   741
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   742
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   743
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   744
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   745
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   746
processTerminate22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   747
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   748
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   749
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   750
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   751
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   752
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   753
     self processTerminate22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   754
     ImageEditor openOnClass:self andSelector:#processTerminate22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   755
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   756
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   757
    ^ Icon constantNamed:#'ProcessMonitorV2 class processTerminate22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   758
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   759
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   760
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   761
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   762
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   763
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   764
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   765
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   766
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   767
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   768
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   769
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
   770
A XFAPTJB0,LB0,KBP@@@@@@@@@@APXFA XFA (KB0,KBP@@@@@@@@@@APXHA0XFA XFC@,KC@@@@@@@@@@@@@\H@@@EA XGC@,KB00@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   771
@@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
   772
C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   773
		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
   774
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   775
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   776
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   777
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   778
					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
   779
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   780
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   781
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   782
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   783
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   784
processTerminateGroup22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   785
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   786
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   787
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   788
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   789
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   790
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   791
     self processTerminateGroup22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   792
     ImageEditor openOnClass:self andSelector:#processTerminateGroup22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   793
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   794
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   795
    ^ Icon
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   796
	constantNamed:#'ProcessMonitorV2 class processTerminateGroup22x22Icon'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   797
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   798
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   799
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   800
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   801
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   802
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   803
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   804
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   805
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   806
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@@@@@@@@@@@TG@@@@@@@@@@@@@@@@@@@@A0T@@@TFA  @@@TG@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   807
@@ FAPTF@@@FAPTFB@@@@@@@@@@@@@@@A0XF@@TG@@XFB@@@@@@@@@@@@@@@@@@FA @EA0@FA @@@@@@@@@@@@@@@@\E@@@EA XH@@@EA0@@@@@@@@@@AP@H
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   808
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
   809
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
   810
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
   811
@@0I@@@@@@@@B0@@@@@@@@@@@@@@@@@L@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   812
		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
   813
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   814
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   815
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   816
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   817
					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
   818
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   819
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   820
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   821
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   822
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   823
raiseWindow22x22Icon
14396
b93e61a4ddd7 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13775
diff changeset
   824
    <resource: #image>
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   825
    "This resource specification was automatically generated
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   826
     by the ImageEditor of ST/X."
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   827
    "Do not manually edit this!! If it is corrupted,
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   828
     the ImageEditor may not be able to read the specification."
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   829
    "
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   830
     self raiseWindow22x22Icon inspect
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   831
     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
   832
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   833
14396
b93e61a4ddd7 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13775
diff changeset
   834
    ^ Icon constantNamed:'ProcessMonitorV2 class raiseWindow22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   835
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   836
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   837
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   838
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   839
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   840
		bitsPerSample:(#[ 8 ]);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   841
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   842
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   843
			    fromPackedString:'
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   844
@@@.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
   845
@ 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
   846
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
   847
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
   848
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
   849
@@@@@@@@@@@@@@@.@@@@@@@@@@@@@@@@@@@@@@@@K"8.K @a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   850
		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
   851
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   852
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   853
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   854
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   855
					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
   856
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   857
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   858
	]
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   859
!
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   860
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   861
terminateGroupIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   862
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   863
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   864
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   865
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   866
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   867
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   868
     self terminateGroupIcon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   869
     ImageEditor openOnClass:self andSelector:#terminateGroupIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   870
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   871
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   872
    ^ Icon constantNamed:#'ProcessMonitorV2 class terminateGroupIcon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   873
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   874
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   875
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   876
		height:20;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   877
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   878
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   879
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   880
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   881
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   882
@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
   883
@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
   884
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
   885
@ 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
   886
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
   887
		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
   888
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   889
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   890
			    height:20;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   891
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   892
					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
   893
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   894
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   895
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   896
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   897
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   898
terminateIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   899
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   900
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   901
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   902
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   903
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   904
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   905
     self terminateIcon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   906
     ImageEditor openOnClass:self andSelector:#terminateIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   907
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   908
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   909
    ^ Icon constantNamed:#'ProcessMonitorV2 class terminateIcon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   910
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   911
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   912
		width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   913
		height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   914
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   915
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   916
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   917
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   918
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   919
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@@@@@@@@@LC@@@@@@@C@ H@@@@@@@LB@ LC@@@C@ H@@@@@@@@@@@DB@ LB
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   920
@ 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
   921
@0H@@@@@@@DB@@@@@@@@@@L@@@@@@@@@@ @@@@@@@@@C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   922
		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
   923
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   924
			    width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   925
			    height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   926
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   927
					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
   928
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   929
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   930
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   931
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   932
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   933
viewDetailsIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   934
    <resource: #image>
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   935
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   936
     by the ImageEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   937
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   938
     the ImageEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   939
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   940
     self viewDetailsIcon inspect
99d11fbee2af initial checkin
penk
parents:
diff changeset
   941
     ImageEditor openOnClass:self andSelector:#viewDetailsIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   942
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   943
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   944
    ^ Icon constantNamed:#'ProcessMonitorV2 class viewDetailsIcon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   945
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   946
	    (Depth1Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   947
		width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   948
		height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   949
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   950
		bitsPerSample:(#( 1 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   951
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   952
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   953
			    fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   954
		colorMapFromArray:#[ 0 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   955
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   956
			    width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   957
			    height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   958
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   959
					fromPackedString:'@@@@@@@@]+X@@@@@]+X@@@@@]+X@@@@@]+X@@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   960
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   961
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   962
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   963
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   964
99d11fbee2af initial checkin
penk
parents:
diff changeset
   965
!ProcessMonitorV2 class methodsFor:'interface specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   966
99d11fbee2af initial checkin
penk
parents:
diff changeset
   967
windowSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
   968
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   969
     by the UIPainter of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   970
99d11fbee2af initial checkin
penk
parents:
diff changeset
   971
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   972
     the UIPainter may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   973
99d11fbee2af initial checkin
penk
parents:
diff changeset
   974
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   975
     UIPainter new openOnClass:ProcessMonitorV2 andSelector:#windowSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
   976
     ProcessMonitorV2 new openInterface:#windowSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
   977
     ProcessMonitorV2 open
99d11fbee2af initial checkin
penk
parents:
diff changeset
   978
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   979
99d11fbee2af initial checkin
penk
parents:
diff changeset
   980
    <resource: #canvas>
99d11fbee2af initial checkin
penk
parents:
diff changeset
   981
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   982
    ^ 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   983
    #(FullSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   984
       name: windowSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   985
       window: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   986
      (WindowSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   987
         label: 'ProcessMonitor'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   988
         name: 'ProcessMonitor'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   989
         min: (Point 10 10)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   990
         bounds: (Rectangle 0 0 791 358)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   991
         menu: mainMenu
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   992
         icon: defaultIcon
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   993
       )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   994
       component: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   995
      (SpecCollection
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   996
         collection: (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   997
          (MenuPanelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   998
             name: 'ToolBar1'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   999
             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
  1000
             menu: toolBarMainMenu
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1001
             textDefault: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1002
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1003
          (DataSetSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1004
             name: 'ProcessTable'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1005
             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
  1006
             model: selectedProcesses
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1007
             menu: tableMenu
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1008
             hasHorizontalScrollBar: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1009
             hasVerticalScrollBar: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1010
             dataList: processList
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1011
             useIndex: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1012
             doubleClickSelector: doubleClickedAt:
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1013
             columnHolder: tableColumns
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1014
             multipleSelectOk: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1015
             verticalSpacing: 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1016
             postBuildCallback: postBuildProcessTable:
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1017
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1018
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1019
             label: 'IRQ:'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1020
             name: 'Label1'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1021
             layout: (LayoutFrame 0 0 -24 1 50 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1022
             activeHelpKey: interruptCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1023
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1024
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1025
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1026
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1027
             name: 'Label2'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1028
             layout: (LayoutFrame 50 0 -24 1 100 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1029
             activeHelpKey: interruptCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1030
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1031
             labelChannel: interruptCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1032
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1033
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1034
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1035
             label: 'TMR:'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1036
             name: 'Label3'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1037
             layout: (LayoutFrame 100 0 -24 1 150 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1038
             activeHelpKey: timerActionCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1039
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1040
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1041
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1042
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1043
             name: 'Label4'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1044
             layout: (LayoutFrame 150 0 -24 1 200 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1045
             activeHelpKey: timerActionCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1046
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1047
             labelChannel: timerActionCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1048
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1049
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1050
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1051
             label: 'Update Interval (s):'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1052
             name: 'ContentsUpdateLabel'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1053
             layout: (LayoutFrame -593 1 -24 1 -402 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1054
             activeHelpKey: updateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1055
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1056
             adjust: right
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1057
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1058
          (ViewSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1059
             name: 'Box1'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1060
             layout: (LayoutFrame -396 1 -24 1 -306 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1061
             activeHelpKey: updateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1062
             level: 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1063
             component: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1064
            (SpecCollection
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1065
               collection: (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1066
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1067
                   name: 'ArrowButton3'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1068
                   layout: (LayoutFrame 68 0 0 0 89 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1069
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1070
                   model: increaseupdateContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1071
                   enableChannel: enableIncreaseContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1072
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1073
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1074
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1075
                   direction: up
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1076
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1077
                (InputFieldSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1078
                   name: 'EntryField2'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1079
                   layout: (LayoutFrame 22 0 0 0 66 0 22 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1080
                   model: updateContentsDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1081
                   acceptOnReturn: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1082
                   acceptOnTab: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1083
                   acceptOnLostFocus: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1084
                   acceptOnPointerLeave: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1085
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1086
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1087
                   name: 'ArrowButton4'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1088
                   layout: (LayoutFrame 0 0 0 0 20 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1089
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1090
                   model: decreaseupdateContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1091
                   enableChannel: enableDecreaseContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1092
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1093
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1094
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1095
                   direction: down
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
             )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1100
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1101
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1102
             label: 'Processlist:'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1103
             name: 'ListUpdateLabel'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1104
             layout: (LayoutFrame -301 1 -24 1 -110 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1105
             activeHelpKey: listUpdateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1106
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1107
             adjust: right
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1108
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1109
          (ViewSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1110
             name: 'Box2'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1111
             layout: (LayoutFrame -103 1 -24 1 -16 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1112
             activeHelpKey: listUpdateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1113
             level: 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1114
             component: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1115
            (SpecCollection
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1116
               collection: (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1117
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1118
                   name: 'ArrowButton5'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1119
                   layout: (LayoutFrame 68 0 0 0 89 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1120
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1121
                   model: increaseupdateListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1122
                   enableChannel: enableIncreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1123
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1124
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1125
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1126
                   direction: up
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1127
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1128
                (InputFieldSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1129
                   name: 'EntryField3'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1130
                   layout: (LayoutFrame 22 0 0 0 66 0 22 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1131
                   model: updateListDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1132
                   acceptOnReturn: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1133
                   acceptOnTab: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1134
                   acceptOnLostFocus: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1135
                   acceptOnPointerLeave: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1136
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1137
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1138
                   name: 'ArrowButton6'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1139
                   layout: (LayoutFrame 0 0 0 0 20 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1140
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1141
                   model: decreaseupdateListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1142
                   enableChannel: enableDecreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1143
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1144
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1145
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1146
                   direction: down
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
              
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
             keepSpaceForOSXResizeHandleH: true
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
        
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1155
       )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1156
     )
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1157
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1158
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1159
!ProcessMonitorV2 class methodsFor:'menu specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1160
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1161
applicationMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1162
    "This resource specification was automatically generated
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1163
     by the MenuEditor of ST/X."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1164
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1165
    "Do not manually edit this!! If it is corrupted,
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1166
     the MenuEditor may not be able to read the specification."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1167
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1168
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1169
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#applicationMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1170
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 applicationMenu)) startUp
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1171
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1172
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1173
    <resource: #menu>
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1174
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1175
    ^
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1176
     #(Menu
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1177
	(
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1178
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1179
	    enabled: hasSelectionWithApplicationProcessHolder
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1180
	    label: 'Raise Applications Window'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1181
	    itemValue: raiseApplicationWindow
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1182
	    translateLabel: true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1183
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1184
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1185
	    enabled: hasSelectionWithApplicationProcessHolder
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1186
	    label: 'Lower Applications Window'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1187
	    itemValue: lowerApplicationWindow
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1188
	    translateLabel: true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1189
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1190
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1191
	    label: '-'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1192
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1193
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1194
	    enabled: hasSelectionWithApplicationProcessHolder
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1195
	    label: 'Close'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1196
	    itemValue: closeApplication
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1197
	    translateLabel: true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1198
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1199
	 )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1200
	nil
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1201
	nil
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1202
      )
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
    "Modified: / 07-06-2007 / 12:44:21 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1205
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1206
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1207
debugMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1208
    "This resource specification was automatically generated
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1209
     by the MenuEditor of ST/X."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1210
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1211
    "Do not manually edit this!! If it is corrupted,
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1212
     the MenuEditor may not be able to read the specification."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1213
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1214
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1215
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#debugMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1216
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 debugMenu)) startUp
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1217
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1218
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1219
    <resource: #menu>
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1220
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1221
    ^
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1222
     #(Menu
19293
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1223
        (
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1224
         (MenuItem
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1225
            enabled: hasSelectionHolder
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1226
            label: 'Inspect Process'
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1227
            itemValue: inspectSelection
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1228
            translateLabel: true
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1229
          )
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1230
         (MenuItem
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1231
            enabled: hasSelectionWithApplicationProcessHolder
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1232
            label: 'Inspect Application'
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1233
            itemValue: inspectApplication
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1234
            translateLabel: true
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1235
          )
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1236
         (MenuItem
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1237
            label: '-'
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1238
          )
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1239
         (MenuItem
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1240
            enabled: hasSelectionWithApplicationProcessHolder
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1241
            label: 'Browse Application'
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1242
            itemValue: browseApplication
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1243
            translateLabel: true
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1244
          )
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1245
         (MenuItem
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1246
            label: '-'
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1247
            isVisible: allowModificationsAndHasDebugger
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1248
          )
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1249
         (MenuItem
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1250
            enabled: hasSelectionHolder
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1251
            label: 'Debug'
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1252
            itemValue: debugProcess
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1253
            translateLabel: true
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1254
            isVisible: allowModificationsAndHasDebugger
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1255
          )
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1256
         (MenuItem
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1257
            enabled: hasSelectionWithDebuggedProcessHolder
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1258
            label: 'Raise Debugger'
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1259
            itemValue: raiseDebugger
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1260
            translateLabel: true
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1261
            isVisible: allowModificationsAndHasDebugger
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1262
          )
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1263
         )
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1264
        nil
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  1265
        nil
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1266
      )
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1267
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1268
    "Modified: / 07-06-2007 / 12:49:58 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1269
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1270
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1271
instrumentationMenu
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1272
    "This resource specification was automatically generated
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1273
     by the MenuEditor of ST/X."
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1274
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1275
    "Do not manually edit this!! If it is corrupted,
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1276
     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
  1277
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1278
    "
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1279
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#instrumentationMenu
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1280
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 instrumentationMenu)) startUp
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1281
    "
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1282
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1283
    <resource: #menu>
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1284
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1285
    ^
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1286
     #(Menu
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1287
	(
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1288
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1289
	    enabled: hasSelectionWithEnabledInstrumentationHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1290
	    label: 'Disable'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1291
	    itemValue: disableInstrumentation
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1292
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1293
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1294
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1295
	    enabled: hasSelectionWithDisabledInstrumentationHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1296
	    label: 'Enable'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1297
	    itemValue: enableInstrumentation
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1298
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1299
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1300
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1301
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1302
	nil
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1303
      )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1304
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1305
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1306
mainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1307
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1308
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1309
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1310
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1311
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1312
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  1313
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1314
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1315
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#mainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1316
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 mainMenu)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1317
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1318
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1319
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1320
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1321
    ^
7416
6c684d163ac8 #conditionalRight
Claus Gittinger <cg@exept.de>
parents: 7116
diff changeset
  1322
     #(Menu
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1323
	(
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1324
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1325
	    label: 'File'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1326
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1327
	    submenu:
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1328
	   (Menu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1329
	      (
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1330
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1331
		  label: 'Start Timeslicing'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1332
		  itemValue: startTimeslicing
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1333
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1334
		  isVisible: isNotTimeslicing
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: 'Stop Timeslicing'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1338
		  itemValue: stopTimeslicing
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
		  isVisible: isTimeslicing
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
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1343
		  label: '-'
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
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1346
		  label: 'Exit'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1347
		  itemValue: closeRequest
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
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1350
	       )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1351
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1352
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1353
	    )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1354
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1355
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1356
	    label: 'Process'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1357
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1358
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1359
	    submenuChannel: processMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1360
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1361
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1362
	    label: 'Application'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1363
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1364
	    submenuChannel: applicationMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1365
	    keepLinkedMenu: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1366
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1367
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1368
	    label: 'Debug'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1369
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1370
	    submenuChannel: debugMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1371
	    keepLinkedMenu: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1372
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1373
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1374
	    label: 'Instrumentation'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1375
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1376
	    submenuChannel: instrumentationMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1377
	    keepLinkedMenu: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1378
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1379
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1380
	    label: 'View'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1381
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1382
	    submenuChannel: viewDetailsMenuSpec
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1383
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1384
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1385
	    label: 'MENU_Help'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1386
	    startGroup: conditionalRight
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1387
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1388
	    submenu:
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1389
	   (Menu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1390
	      (
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1391
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1392
		  label: 'Documentation'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1393
		  itemValue: openDocumentation
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1394
		  translateLabel: true
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
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1397
		  label: '-'
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
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1400
		  label: 'About this Application...'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1401
		  itemValue: openAboutThisApplication
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1402
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1403
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1404
	       )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1405
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1406
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1407
	    )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1408
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1409
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1410
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1411
	nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1412
      )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1413
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1414
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1415
processMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1416
    "This resource specification was automatically generated
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1417
     by the MenuEditor of ST/X."
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
    "Do not manually edit this!! If it is corrupted,
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1420
     the MenuEditor may not be able to read the specification."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1421
12740
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  1422
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1423
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1424
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#processMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1425
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 processMenu)) startUp
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1426
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1427
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1428
    <resource: #menu>
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1429
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1430
    ^
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1431
     #(Menu
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1432
        (
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1433
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1434
            enabled: hasSelectionWithStoppedProcessHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1435
            label: 'Resume'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1436
            itemValue: resumeProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1437
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1438
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1439
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1440
            label: 'Suspend'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1441
            itemValue: suspendProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1442
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1443
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1444
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1445
            label: 'Stop'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1446
            itemValue: stopProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1447
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1448
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1449
            label: '-'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1450
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1451
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1452
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1453
            label: 'Abort'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1454
            itemValue: abortProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1455
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1456
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1457
            enabled: hasSelectionHolder
18475
370cc934a074 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18431
diff changeset
  1458
            label: 'Terminate Process'
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1459
            itemValue: terminateProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1460
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1461
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1462
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1463
            label: 'Hard Terminate'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1464
            itemValue: hardTerminateProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1465
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1466
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1467
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1468
            label: 'Terminate Group'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1469
            itemValue: terminateProcessGroup
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1470
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1471
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1472
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1473
            label: 'Terminate All Like This'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1474
            itemValue: terminateAllLikeThis
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1475
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1476
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1477
            enabled: selectionRestartable
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1478
            label: 'Restart'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1479
            itemValue: restartProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1480
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1481
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1482
            label: '-'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1483
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1484
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1485
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1486
            label: 'Raise Prio'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1487
            itemValue: raisePrio
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1488
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1489
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1490
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1491
            label: 'Lower Prio'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1492
            itemValue: lowerPrio
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1493
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1494
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1495
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1496
            label: 'Set Prio Range...'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1497
            itemValue: setPrioRange
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1498
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1499
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1500
            label: '-'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1501
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1502
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1503
            label: 'Find by View'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1504
            itemValue: findProcessByView
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1505
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1506
         )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1507
        nil
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1508
        nil
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1509
      )
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1510
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1511
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1512
tableMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1513
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1514
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1515
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1516
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1517
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1518
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1519
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1520
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#tableMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1521
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 tableMenu)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1522
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1523
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1524
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1525
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1526
    ^
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1527
     #(#Menu
17271
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1528
        #(
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1529
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1530
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1531
            #label: 'Debug'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1532
            #itemValue: #debugProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1533
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1534
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1535
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1536
            #label: 'Inspect'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1537
            #itemValue: #inspectSelection
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1538
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1539
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1540
            #enabled: #hasSelectionWithApplicationProcessHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1541
            #label: 'Inspect Application'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1542
            #itemValue: #inspectApplication
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1543
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1544
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1545
            #enabled: #hasSelectionWithApplicationProcessHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1546
            #label: 'Browse Application'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1547
            #itemValue: #browseApplication
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1548
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1549
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1550
            #label: '-'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1551
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1552
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1553
            #enabled: #hasSelectionWithStoppedProcessHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1554
            #label: 'Resume'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1555
            #itemValue: #resumeProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1556
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1557
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1558
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1559
            #label: 'Suspend'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1560
            #itemValue: #suspendProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1561
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1562
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1563
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1564
            #label: 'Stop'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1565
            #itemValue: #stopProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1566
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1567
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1568
            #label: '-'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1569
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1570
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1571
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1572
            #label: 'Abort'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1573
            #itemValue: #abortProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1574
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1575
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1576
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1577
            #label: 'Terminate'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1578
            #itemValue: #terminateProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1579
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1580
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1581
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1582
            #label: 'Hard Terminate'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1583
            #itemValue: #hardTerminateProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1584
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1585
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1586
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1587
            #label: 'Terminate Group'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1588
            #itemValue: #terminateProcessGroup
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1589
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1590
         (MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1591
            enabled: hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1592
            label: 'Terminate All Like This'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1593
            itemValue: terminateAllLikeThis
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1594
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1595
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1596
            #enabled: #selectionRestartable
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1597
            #label: 'Restart'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1598
            #itemValue: #restartProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1599
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1600
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1601
            #label: '-'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1602
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1603
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1604
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1605
            #label: 'Raise Prio'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1606
            #itemValue: #raisePrio
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1607
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1608
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1609
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1610
            #label: 'Lower Prio'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1611
            #itemValue: #lowerPrio
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1612
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1613
         )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1614
        nil
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1615
        nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1616
      )
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  1617
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1618
    "Modified: / 07-06-2007 / 12:49:47 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1619
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1620
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1621
toolBarMainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1622
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1623
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1624
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1625
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1626
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1627
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  1628
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1629
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1630
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#toolBarMainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1631
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 toolBarMainMenu)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1632
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1633
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1634
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1635
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1636
    ^
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
  1637
     #(Menu
15753
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: Inspect
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: 'Inspect'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1643
	    itemValue: inspectSelection
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: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1646
	    labelImage: (ResourceRetriever ProcessMonitorV2 processInspect22x22Icon)
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: Debug
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1650
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1651
	    label: 'Debug'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1652
	    itemValue: debugProcess
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
	    isVisible: allowModificationsAndHasDebugger
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1655
	    labelImage: (ResourceRetriever ProcessMonitorV2 processDebug22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1656
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1657
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1658
	    activeHelpKey: RaiseWindow
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1659
	    enabled: hasSelectionWithApplicationProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1660
	    label: 'Raise Applications Window'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1661
	    itemValue: raiseApplicationWindow
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1662
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1663
	    labelImage: (ResourceRetriever ProcessMonitorV2 raiseWindow22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1664
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1665
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1666
	    label: 'Find Process by View'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1667
	    itemValue: findProcessByView
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1668
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1669
	    labelImage: (ResourceRetriever ToolbarIconLibrary pickWindowIcon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1670
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1671
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1672
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1673
	    isVisible: allowModifications
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: Resume
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1677
	    enabled: hasSelectionWithStoppedProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1678
	    label: 'Resume'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1679
	    itemValue: resumeProcess
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 processResume22x22Icon)
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: Stop
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: 'Stop'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1688
	    itemValue: stopProcess
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 processStop22x22Icon)
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
	    activeHelpKey: Abort
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1695
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1696
	    label: 'Abort'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1697
	    itemValue: abortProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1698
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1699
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1700
	    labelImage: (ResourceRetriever ProcessMonitorV2 processAbort22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1701
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1702
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1703
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1704
	    isVisible: allowModifications
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
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'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1710
	    itemValue: terminateProcess
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 processTerminate22x22Icon)
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: #'Terminate Group'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1717
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1718
	    label: 'Terminate Group'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1719
	    itemValue: terminateProcessGroup
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 processTerminateGroup22x22Icon)
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
	    activeHelpKey: Restart
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1726
	    enabled: selectionRestartable
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1727
	    label: 'Restart'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1728
	    itemValue: restartProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1729
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1730
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1731
	    labelImage: (ResourceRetriever ProcessMonitorV2 processRestart22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1732
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1733
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1734
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1735
	    isVisible: allowModifications
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: #'Lower 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: 'Lower Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1741
	    itemValue: lowerPrio
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 processLowerPrio22x22Icon)
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
	    activeHelpKey: #'Raise Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1748
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1749
	    label: 'Raise Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1750
	    itemValue: raisePrio
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1751
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1752
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1753
	    labelImage: (ResourceRetriever ProcessMonitorV2 processRaisePrio22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1754
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1755
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1756
	    label: ''
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1757
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1758
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1759
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1760
	    activeHelpKey: #'Update Process List'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1761
	    label: 'Update'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1762
	    itemValue: updateList
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1763
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1764
	    startGroup: right
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1765
	    labelImage: (ResourceRetriever ToolbarIconLibrary reloadIcon)
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
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1768
	    activeHelpKey: Details
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1769
	    label: 'View Details'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1770
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1771
	    startGroup: right
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1772
	    submenuChannel: viewDetailsMenuSpec
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1773
	    labelImage: (ResourceRetriever ToolbarIconLibrary viewDetailsIcon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1774
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1775
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1776
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1777
	nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1778
      )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1779
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1780
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1781
viewDetailsMenuSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1782
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1783
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1784
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1785
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1786
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1787
11999
a62eb60fd1aa changed: #viewDetailsMenuSpec
Claus Gittinger <cg@exept.de>
parents: 11997
diff changeset
  1788
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1789
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1790
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#viewDetailsMenuSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1791
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 viewDetailsMenuSpec)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1792
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1793
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1794
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1795
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1796
    ^
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1797
     #(Menu
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1798
        (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1799
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1800
            label: 'Id'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1801
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1802
            indication: showProcessId
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1803
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1804
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1805
            label: 'Group'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1806
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1807
            indication: showGroup
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1808
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1809
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1810
            label: 'Instrumentation'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1811
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1812
            indication: showInstrumentation
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1813
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1814
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1815
            label: 'State'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1816
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1817
            indication: showState
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1818
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1819
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1820
            label: 'Prio'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1821
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1822
            indication: showPrio
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1823
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1824
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1825
            label: 'Used Stack'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1826
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1827
            indication: showUsedStack
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1828
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1829
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1830
            label: 'Total Stack'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1831
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1832
            indication: showTotalStack
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1833
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1834
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1835
            label: 'Current-Segment'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1836
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1837
            indication: showCurrentSegment
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1838
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1839
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1840
            label: 'Switch'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1841
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1842
            indication: showSwitch
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1843
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1844
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1845
            label: 'Where'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1846
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1847
            indication: showWhere
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1848
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1849
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1850
            label: 'Application'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1851
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1852
            indication: showApplication
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1853
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1854
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1855
            label: 'Window Title'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1856
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1857
            indication: showWindowTitle
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1858
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1859
         (MenuItem
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1860
            label: 'Start Time'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1861
            hideMenuOnActivated: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1862
            indication: showStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1863
          )
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1864
         (MenuItem
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1865
            label: '-'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1866
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1867
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1868
            label: 'Show Dead Processes'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1869
            indication: showDeadHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1870
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1871
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1872
            label: '-'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1873
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1874
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1875
            label: 'Update'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1876
            itemValue: updateView
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1877
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1878
         )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1879
        nil
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1880
        nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1881
      )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1882
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1883
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1884
!ProcessMonitorV2 class methodsFor:'tableColumns specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1885
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1886
tableColumns
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1887
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1888
     by the DataSetBuilder of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1889
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1890
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1891
     the DataSetBuilder may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1892
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1893
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1894
     DataSetBuilder new openOnClass:ProcessMonitorV2 andSelector:#tableColumns
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1895
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1896
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1897
    <resource: #tableColumns>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1898
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1899
    ^#(
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1900
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1901
         label: 'Id'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1902
         id: id
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1903
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1904
         activeHelpKeyForLabel: 'processId'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1905
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1906
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1907
         labelActionArgument: 'idVal'
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  1908
         width: 65
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1909
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1910
         type: number
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1911
         model: processId
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1912
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1913
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1914
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1915
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1916
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1917
         label: 'Group'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1918
         id: group
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1919
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1920
         activeHelpKeyForLabel: 'processGroup'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1921
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1922
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1923
         labelActionArgument: 'groupVal'
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  1924
         width: 65
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1925
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1926
         model: processGroup
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1927
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1928
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1929
         showColSeparator: false
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1930
       )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1931
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1932
         label: 'Name'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1933
         id: name
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1934
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1935
         activeHelpKeyForLabel: 'processName'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1936
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1937
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1938
         labelActionArgument: 'processName'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1939
         width: 200
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1940
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1941
         model: processName
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1942
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1943
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1944
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1945
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1946
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1947
         label: 'Instr.'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1948
         id: instrumentation
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1949
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1950
         activeHelpKeyForLabel: 'processInstrumentation'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1951
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1952
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1953
         labelActionArgument: 'processInstrumentation'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1954
         width: 50
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1955
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1956
         model: processInstrumentation
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1957
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1958
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1959
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1960
         showColSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1961
       )
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1962
      (DataSetColumnSpec
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1963
         label: ''
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1964
         id: active
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1965
         activeHelpKeyForLabel: 'processWasActive'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1966
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1967
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1968
         labelActionArgument: 'processActive'
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  1969
         width: 14
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1970
         height: 5
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1971
         model: processActive
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1972
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1973
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1974
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1975
         showColSeparator: false
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  1976
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1977
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1978
         label: 'State'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1979
         id: state
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1980
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1981
         activeHelpKeyForLabel: 'processState'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1982
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1983
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1984
         labelActionArgument: 'processState'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1985
         width: 100
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1986
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1987
         model: processState
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1988
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1989
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1990
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1991
         showColSeparator: false
9526
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  1992
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1993
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1994
         label: 'Prio'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1995
         id: prio
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1996
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1997
         activeHelpKeyForLabel: 'processPriority'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1998
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1999
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2000
         labelActionArgument: 'prioVal'
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  2001
         width: 60
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2002
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2003
         model: processPrio
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2004
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2005
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2006
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2007
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2008
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2009
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2010
         label: 'Used Stack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2011
         id: usedStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2012
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2013
         activeHelpKeyForLabel: 'processUsedStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2014
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2015
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2016
         labelActionArgument: 'processUsedStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2017
         columnAlignment: right
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2018
         width: 75
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2019
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2020
         type: number
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2021
         model: processUsedStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2022
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2023
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2024
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2025
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2026
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2027
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2028
         label: 'Total Stack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2029
         id: totalStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2030
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2031
         activeHelpKeyForLabel: 'processTotalStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2032
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2033
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2034
         labelActionArgument: 'processTotalStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2035
         columnAlignment: right
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2036
         width: 75
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2037
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2038
         model: processTotalStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2039
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2040
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2041
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2042
         showColSeparator: false
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2043
       )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2044
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2045
         label: 'Current-Segment'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2046
         id: currentSegment
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2047
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2048
         activeHelpKeyForLabel: 'processCurrentSegment'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2049
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2050
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2051
         labelActionArgument: 'processCurrentSegment'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2052
         width: 110
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2053
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2054
         model: processCurrentSegment
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2055
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2056
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2057
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2058
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2059
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2060
         label: 'Switch'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2061
         id: switch
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2062
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2063
         activeHelpKeyForLabel: 'processSwitch'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2064
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2065
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2066
         labelActionArgument: 'processSwitch'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2067
         columnAlignment: right
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2068
         width: 55
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2069
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2070
         type: number
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2071
         model: processSwitch
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2072
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2073
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2074
         showColSeparator: false
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2075
       )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2076
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2077
         label: 'Where'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2078
         id: where
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2079
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2080
         activeHelpKeyForLabel: 'processWhere'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2081
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2082
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2083
         labelActionArgument: 'processWhere'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2084
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2085
         model: processWhere
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2086
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2087
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2088
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2089
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2090
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2091
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2092
         label: 'Application'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2093
         id: application
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2094
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2095
         activeHelpKeyForLabel: 'processApplication'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2096
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2097
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2098
         labelActionArgument: 'processApplication'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2099
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2100
         model: processApplication
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2101
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2102
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2103
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2104
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2105
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2106
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2107
         label: 'Window Title'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2108
         id: windowTitle
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2109
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2110
         activeHelpKeyForLabel: 'processWindowTitle'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2111
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2112
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2113
         labelActionArgument: 'processWindowTitle'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2114
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2115
         model: processWindowTitle
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2116
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2117
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2118
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2119
         showColSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2120
       )
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2121
      (DataSetColumnSpec
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2122
         label: 'Start Time'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2123
         id: startTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2124
         activeHelpKeyForLabel: 'processStartTime'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2125
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2126
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2127
         labelActionArgument: 'processStartTime'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2128
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2129
         type: timestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2130
         model: processStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2131
         formatString: '%(day)-%(shortMonthName) %h:%m:%s'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2132
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2133
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2134
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2135
       )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2136
      )
17623
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  2137
db505407fa0c #QUALITY by cg
Claus Gittinger <cg@exept.de>
parents: 17300
diff changeset
  2138
    "Modified: / 21-08-2017 / 10:51:38 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2139
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2140
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2141
!ProcessMonitorV2 methodsFor:'accessing'!
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2142
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2143
visibleBlock
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2144
    ^ visibleBlock
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2145
!
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2146
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2147
visibleBlock:aProcessVisibleFilterBlock
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2148
    visibleBlock := aProcessVisibleFilterBlock.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2149
! !
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2150
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2151
!ProcessMonitorV2 methodsFor:'actions'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2152
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2153
changeSelectionTo:aSelection
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  2154
    | newSelection |
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2155
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2156
    aSelection notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2157
	newSelection := OrderedCollection new.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2158
	aSelection do:[:processItem |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2159
	    | index |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2160
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2161
	    index := processList findFirst:[:anItem | (anItem processInstance == processItem processInstance)].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2162
	    index ~~ 0 ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2163
		newSelection add:(processList at:index).
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2164
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2165
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2166
	self selectedProcesses value:newSelection
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2167
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2168
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2169
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  2170
changeSelectionToProcesses:aProcessList
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2171
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2172
    aProcessList notNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2173
	| newSelection |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2174
	newSelection := OrderedCollection new.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2175
	aProcessList do:[:aProcess |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2176
	    | index |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2177
	    index := processList findFirst:[:anItem | (anItem processInstance == aProcess)].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2178
	    index ~~ 0 ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2179
		newSelection add:(processList at:index).
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2180
	    ].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2181
	].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2182
	self selectedProcesses value:newSelection
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2183
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2184
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2185
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2186
decreaseupdateContentsDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2187
    updateDelay := (self scaledUpdateContentsDelayTime - 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2188
    self updateContentsDelayTimeHolder value:updateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2189
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2190
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2191
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2192
decreaseupdateListDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2193
    listUpdateDelay := (self scaledUpdateListDelayTime - 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2194
    self updateListDelayTimeHolder value:listUpdateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2195
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2196
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2197
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2198
doubleClickedAt:anItemIndex
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2199
    "open a debugger on the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2200
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2201
    self debugProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2202
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2203
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2204
evaluateEnableInDecreaseButtons
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2205
    | contentsDelaySmallerThanListDelay |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2206
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2207
    updateDelay := self scaledUpdateContentsDelayTime.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2208
    listUpdateDelay := self scaledUpdateListDelayTime.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2209
    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2210
    contentsDelaySmallerThanListDelay := (updateDelay < listUpdateDelay).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2211
    self enableDecreaseContentsDelayTime value:(updateDelay > 0.5).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2212
    self enableDecreaseListDelayTime value:contentsDelaySmallerThanListDelay.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2213
    self enableIncreaseContentsDelayTime value:contentsDelaySmallerThanListDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2214
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2215
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2216
getProcessList
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2217
    "select processes to display.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2218
     Subclasses may redefine this"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2219
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2220
    |coll|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2221
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2222
    self showDeadHolder value ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2223
        coll := Process allSubInstances asOrderedCollection.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2224
    ] ifFalse:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2225
        coll := ProcessorScheduler knownProcesses asOrderedCollection.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2226
        coll add:Processor scheduler.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2227
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2228
    ^ coll
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2229
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2230
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2231
increaseupdateContentsDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2232
    updateDelay := (self scaledUpdateContentsDelayTime + 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2233
    self updateContentsDelayTimeHolder value:updateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2234
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2235
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2236
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2237
increaseupdateListDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2238
    listUpdateDelay := (self scaledUpdateListDelayTime + 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2239
    self updateListDelayTimeHolder value:listUpdateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2240
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2241
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2242
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2243
selectedProcessesDo:aBlock
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  2244
    | sel proc|
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2245
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2246
    sel := self selectedProcesses value.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2247
    sel isNil ifTrue:[^ self].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2248
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2249
    sel do:[:processItem |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2250
	proc := processItem processInstance.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2251
	proc notNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2252
	    aBlock value:proc.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2253
	].
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2254
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2255
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2256
    "Modified: / 07-06-2007 / 12:38:25 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2257
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2258
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2259
selectedProcessesSend:aSelector
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2260
    "send a message to all selected processes"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2261
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2262
    self selectedProcessesDo:[:p |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2263
	p perform:aSelector
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2264
    ].
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2265
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2266
    self updateList.
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2267
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2268
    "Modified: / 07-06-2007 / 12:38:29 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2269
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2270
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2271
!ProcessMonitorV2 methodsFor:'aspects'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2272
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2273
currentSortOrder
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2274
    "return/create the 'currentSortOrder' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2275
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2276
    currentSortOrder isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2277
	currentSortOrder := Dictionary new asValue.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2278
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2279
    ^ currentSortOrder
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2280
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2281
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2282
interruptCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2283
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2284
    interruptCountHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2285
        interruptCountHolder := '-' asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2286
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2287
    ^ interruptCountHolder.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2288
!
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2289
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2290
isNotTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2291
    ^ self isTimeslicing not
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2292
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2293
    "Created: / 03-11-2011 / 21:26:10 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2294
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2295
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2296
isTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2297
    ^ Processor isTimeSlicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2298
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2299
    "Created: / 03-11-2011 / 21:25:53 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2300
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2301
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2302
processList
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2303
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2304
    processList isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2305
	processList := List new.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2306
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2307
    ^ processList.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2308
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2309
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2310
scaledUpdateContentsDelayTime
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2311
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2312
    ^ self updateContentsDelayTimeHolder value asFloat asFixedPoint:1.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2313
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2314
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2315
scaledUpdateListDelayTime
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2316
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2317
    ^ self updateListDelayTimeHolder value asFloat asFixedPoint:1.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2318
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2319
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2320
selectedProcesses
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2321
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2322
    selectedProcesses isNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2323
        selectedProcesses := ValueHolder new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2324
        selectedProcesses onChangeSend:#selectionChanged to:self.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2325
        "/ selectedProcesses addDependent:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2326
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2327
    ^ selectedProcesses.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2328
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2329
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2330
showDeadHolder
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2331
    "return/create the 'showDead' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2332
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2333
    showDeadHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2334
        showDeadHolder := false asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2335
        showDeadHolder onChangeSend:#updateList to:self.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2336
        "/ showDead addDependent:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2337
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2338
    ^ showDeadHolder
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2339
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2340
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2341
sortBlock
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2342
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2343
    sortBlock isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2344
	| curSortOrder defaultSortInstance|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2345
	defaultSortInstance := #idVal.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2346
	sortBlock := [:a :b |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2347
	    ((a perform:defaultSortInstance) < (b perform:defaultSortInstance))
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2348
	].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2349
	curSortOrder := self currentSortOrder value.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2350
	curSortOrder at:#column put:defaultSortInstance.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2351
	curSortOrder at:#reverse put:true.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2352
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2353
    ^ sortBlock
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2354
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2355
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2356
tableColumns
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2357
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2358
    tableColumns isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2359
	tableColumns := self class tableColumns asValue.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2360
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2361
    ^ tableColumns.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2362
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2363
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2364
timerActionCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2365
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2366
    timerActionCountHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2367
        timerActionCountHolder := '-' asValue.
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
    ^ timerActionCountHolder.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2370
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2371
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2372
updateContentsDelayTimeHolder
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
    updateContentsDelayTimeHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2375
        updateContentsDelayTimeHolder := updateDelay asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2376
        updateContentsDelayTimeHolder onChangeSend:#evaluateEnableInDecreaseButtons to:self.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2377
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2378
    ^ updateContentsDelayTimeHolder.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2379
!
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2380
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2381
updateListDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2382
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2383
    updateListDelayTimeHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2384
        updateListDelayTimeHolder := listUpdateDelay asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2385
        updateListDelayTimeHolder onChangeSend:#evaluateEnableInDecreaseButtons to:self.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2386
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2387
    ^ updateListDelayTimeHolder.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2388
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2389
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2390
!ProcessMonitorV2 methodsFor:'aspects-column'!
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
showApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2393
    "return/create the 'showApplication' value holder (automatically generated)"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2394
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2395
    showApplication isNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2396
	showApplication := false asValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2397
	showApplication onChangeSend:#viewedColumnsChanged to:self
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2398
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2399
    ^ showApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2400
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2401
    "Created: / 17-08-2011 / 10:46:56 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2402
!
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2403
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2404
showCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2405
    "return/create the 'showCurrentSegment' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2406
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2407
    showCurrentSegment isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2408
	showCurrentSegment := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2409
	showCurrentSegment onChangeSend:#viewedColumnsChanged to:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2410
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2411
    ^ showCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2412
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2413
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2414
showGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2415
    "return/create the 'showGroup' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2416
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2417
    showGroup isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2418
	showGroup := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2419
	showGroup onChangeSend:#viewedColumnsChanged to:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2420
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2421
    ^ showGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2422
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2423
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2424
showInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2425
    "return/create the 'showInstrumentation' value holder (automatically generated)"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2426
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2427
    showInstrumentation isNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2428
	showInstrumentation := true asValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2429
	showInstrumentation onChangeSend:#viewedColumnsChanged to:self
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2430
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2431
    ^ showInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2432
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2433
    "Created: / 17-08-2011 / 10:46:27 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2434
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2435
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2436
showPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2437
    "return/create the 'showPrio' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2438
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2439
    showPrio isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2440
	showPrio := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2441
	showPrio onChangeSend:#viewedColumnsChanged to:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2442
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2443
    ^ showPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2444
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2445
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2446
showProcessId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2447
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2448
    showProcessId isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2449
	showProcessId := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2450
	showProcessId onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2451
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2452
    ^ showProcessId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2453
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2454
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2455
showStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2456
    "return/create the 'showStartTime' value holder (automatically generated)"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2457
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2458
    showStartTime isNil ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2459
        showStartTime := false asValue.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2460
        showStartTime onChangeSend:#viewedColumnsChanged to:self
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2461
    ].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2462
    ^ showStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2463
!
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2464
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2465
showState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2466
    "return/create the 'showState' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2467
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2468
    showState isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2469
	showState := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2470
	showState onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2471
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2472
    ^ showState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2473
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2474
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2475
showSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2476
    "return/create the 'showSwitch' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2477
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2478
    showSwitch isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2479
	showSwitch := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2480
	showSwitch onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2481
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2482
    ^ showSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2483
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2484
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2485
showTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2486
    "return/create the 'showTotalStack' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2487
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2488
    showTotalStack isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2489
	showTotalStack := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2490
	showTotalStack onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2491
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2492
    ^ showTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2493
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2494
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2495
showUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2496
    "return/create the 'showUsedStack' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2497
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2498
    showUsedStack isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2499
	showUsedStack := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2500
	showUsedStack onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2501
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2502
    ^ showUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2503
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2504
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2505
showWhere
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2506
    "return/create the 'showWhere' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2507
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2508
    showWhere isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2509
	showWhere := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2510
	showWhere onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2511
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2512
    ^ showWhere
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2513
!
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
showWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2516
    "return/create the 'showWindowTitle' value holder (automatically generated)"
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
    showWindowTitle isNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2519
	showWindowTitle := false asValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2520
	showWindowTitle onChangeSend:#viewedColumnsChanged to:self
10578
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
    ^ showWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2523
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2524
    "Created: / 17-08-2011 / 10:46:47 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2525
! !
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
!ProcessMonitorV2 methodsFor:'aspects-menu enabling'!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2528
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2529
allowModifications
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2530
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2531
    allowModifications isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2532
	allowModifications := true asValue
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
    ^ allowModifications
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2537
allowModificationsAndHasDebugger
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2538
    ^ BlockValue
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2539
	forLogical:(self allowModifications)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2540
	and:[ Debugger notNil ]
10578
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2543
enableDecreaseContentsDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2544
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2545
    enableDecreaseContentsDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2546
	enableDecreaseContentsDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2547
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2548
    ^ enableDecreaseContentsDelayTime.
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2551
enableDecreaseListDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2552
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2553
    enableDecreaseListDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2554
	enableDecreaseListDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2555
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2556
    ^ enableDecreaseListDelayTime.
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2559
enableIncreaseContentsDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2560
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2561
    enableIncreaseContentsDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2562
	enableIncreaseContentsDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2563
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2564
    ^ enableIncreaseContentsDelayTime.
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2567
enableIncreaseListDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2568
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2569
    enableIncreaseListDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2570
	enableIncreaseListDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2571
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2572
    ^ enableIncreaseListDelayTime.
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
19293
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2575
hasDebuggedProcessSelectedHolder
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2576
    ^ [ self hasSelectionHolder value
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2577
    and:[ true ]]
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2578
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2579
    "Created: / 05-06-2007 / 17:41:54 / cg"
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2580
!
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2581
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2582
hasSelection
17927
49a8dfebc840 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 17892
diff changeset
  2583
    "return true, if an item is selected"
49a8dfebc840 #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 17892
diff changeset
  2584
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2585
    ^ self selectedProcesses value notEmptyOrNil
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2586
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2587
    "Modified: / 05-06-2007 / 17:43:58 / cg"
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2590
hasSelectionHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2591
    ^ hasSelectionHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2592
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2593
    "Created: / 05-06-2007 / 17:41:54 / cg"
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2596
hasSelectionWithApplicationProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2597
    ^ self hasSelectionWithProcessForWhich:[:p |self isApplicationProcess:p ]
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
    "Created: / 05-06-2007 / 17:50:37 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2600
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2601
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2602
hasSelectionWithApplicationProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2603
    ^ hasSelectionWithApplicationProcessHolder
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
    "Created: / 05-06-2007 / 17:50:31 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2606
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2607
19293
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2608
hasSelectionWithDebuggedProcessHolder
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2609
    ^ [ self hasSelectionWithProcessForWhich:[:p |p isDebugged ]]
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2610
!
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  2611
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2612
hasSelectionWithDisabledInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2613
    InstrumentationContext isNil ifTrue:[^ false].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2614
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2615
    ^ self hasSelectionWithProcessForWhich:[:p | (InstrumentationContext forProcess:p) isNil ]
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:42:19 / 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
hasSelectionWithDisabledInstrumentationHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2621
    ^ hasSelectionWithDisabledInstrumentationHolder
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: / 17-08-2011 / 11:49:35 / 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
hasSelectionWithEnabledInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2627
    InstrumentationContext isNil ifTrue:[^ false].
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
    ^ self hasSelectionWithProcessForWhich:[:p | (InstrumentationContext forProcess:p) notNil ]
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
    "Created: / 17-08-2011 / 11:42:08 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2632
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2633
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2634
hasSelectionWithEnabledInstrumentationHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2635
    ^ hasSelectionWithEnabledInstrumentationHolder
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
    "Created: / 17-08-2011 / 11:49:39 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2638
!
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
hasSelectionWithGUIProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2641
    ^ self hasSelectionWithProcessForWhich:[:p |p isGUIProcess ]
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
    "Created: / 05-06-2007 / 17:52:10 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2644
!
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
hasSelectionWithGUIProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2647
    ^ hasSelectionWithGUIProcessHolder
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
    "Created: / 05-06-2007 / 17:52:01 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2650
!
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
hasSelectionWithProcessForWhich:aBlock
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2653
    ^ self hasSelection
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2654
      and:[ self selectedProcesses value contains:[:pItem |
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2655
		|process|
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
		process := pItem processInstance.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2658
		process notNil and:[ aBlock value:process ]]  ]
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
    "Created: / 05-06-2007 / 17:40:27 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2661
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2662
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2663
hasSelectionWithStoppedProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2664
    ^ self hasSelectionWithProcessForWhich:[:p |p isStopped ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2665
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2666
    "Modified: / 05-06-2007 / 17:40:42 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2667
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2668
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2669
hasSelectionWithStoppedProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2670
    ^ hasSelectionWithStoppedProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2671
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2672
    "Created: / 05-06-2007 / 17:42:41 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2673
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2674
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2675
selectionRestartable
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2676
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2677
    selectionRestartable isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2678
	selectionRestartable := ValueHolder new.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2679
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2680
    ^ selectionRestartable
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2681
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2682
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2683
!ProcessMonitorV2 methodsFor:'change & update'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2684
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2685
selectionChanged
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2686
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2687
    |hasSelection allRestartable|
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2688
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2689
    hasSelection := self hasSelection.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2690
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2691
    hasSelectionHolder value:hasSelection.
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2692
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2693
    hasSelection ifFalse:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2694
	self selectionRestartable value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2695
	hasSelectionWithStoppedProcessHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2696
	hasSelectionWithApplicationProcessHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2697
	hasSelectionWithGUIProcessHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2698
	hasSelectionWithEnabledInstrumentationHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2699
	hasSelectionWithDisabledInstrumentationHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2700
	^ self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2701
    ].
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2702
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2703
    hasSelectionWithStoppedProcessHolder value:self hasSelectionWithStoppedProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2704
    hasSelectionWithApplicationProcessHolder value:self hasSelectionWithApplicationProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2705
    hasSelectionWithGUIProcessHolder value:self hasSelectionWithGUIProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2706
    hasSelectionWithEnabledInstrumentationHolder value:self hasSelectionWithEnabledInstrumentation.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2707
    hasSelectionWithDisabledInstrumentationHolder value:self hasSelectionWithDisabledInstrumentation.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2708
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2709
    allRestartable := true.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2710
    self selectedProcessesDo:[:p |
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2711
	p isRestartable ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2712
	    allRestartable := false
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2713
	].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2714
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2715
    self selectionRestartable value:allRestartable.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2716
    ^ self.
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2717
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2718
    "Modified: / 17-08-2011 / 11:41:32 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2719
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2720
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2721
update:something with:aParameter from:changedObject
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2722
    "Invoked when an object that I depend upon sends a change notification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2723
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2724
    "stub code automatically generated - please change as required"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2725
4565
7162b6a896e6 *** empty log message ***
penk
parents: 4561
diff changeset
  2726
    changedObject == builder window ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2727
        something == #visibility ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2728
            self updateList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2729
        ].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2730
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2731
    super update:something with:aParameter from:changedObject
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2732
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2733
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2734
viewedColumnsChanged
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2735
    "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
  2736
     Stuff this filtered tableColSpec into the value holder"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2737
    
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2738
    | columns buffer locCurrentSortOrder currentSortOrderColumn currentSortOrderReverse oldSelection sel|
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2739
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2740
    "/ remember the selected processes
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2741
    sel := self selectedProcesses value.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2742
    sel notNil ifTrue:[
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2743
        oldSelection := OrderedCollection new.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2744
        sel do:[:proItem|
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2745
            |process|
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2746
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2747
            (process := proItem processInstance) notNil ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2748
                oldSelection add:process
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2749
            ].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2750
        ].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2751
    ].
17300
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
    "/ Transcript showCR:'oldSelection on catch in viewedColumnsChanged', (oldSelection isNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2754
    columns := OrderedCollection new.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2755
    self class tableColumns do:[:el|
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2756
        columns add:(DataSetColumnSpec decodeFromLiteralArray:el).
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2757
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2758
    buffer := columns copy.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2759
    locCurrentSortOrder := self currentSortOrder value.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2760
    currentSortOrderColumn := locCurrentSortOrder at:#column ifAbsent:nil.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2761
    currentSortOrderReverse := locCurrentSortOrder at:#reverse ifAbsent:nil.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2762
    buffer do:[:col |
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2763
        | id |
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2764
        id := col id.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2765
        id notNil ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2766
            (col labelActionArgument notNil and:[col labelActionArgument asSymbol == currentSortOrderColumn]) ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2767
                | label icon|
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2768
                label := col label.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2769
                icon := currentSortOrderReverse ifTrue:[self class detailsMenuIconDown] ifFalse:[self class detailsMenuIconUp].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2770
                col label:(LabelAndIcon label:label icon:icon).
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2771
            ].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2772
            #(
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2773
                ( #id             #showProcessId)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2774
                ( #group          #showGroup)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2775
                ( #prio           #showPrio)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2776
                ( #currentSegment #showCurrentSegment)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2777
                ( #state          #showState)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2778
                ( #switch         #showSwitch)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2779
                ( #totalStack     #showTotalStack)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2780
                ( #usedStack      #showUsedStack)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2781
                ( #where          #showWhere)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2782
                ( #application    #showApplication)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2783
                ( #windowTitle    #showWindowTitle)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2784
                ( #startTime      #showStartTime)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2785
                ( #instrumentation #showInstrumentation)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2786
            ) pairsDo:[:colName :holderAccessorSelector |
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2787
                (id == colName and:[(self perform:holderAccessorSelector) value not]) ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2788
                    columns remove:col.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2789
                ]
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2790
            ]
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2791
        ]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2792
    ].
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2793
    
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2794
    updateSema critical:[
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2795
        self tableColumns value:columns.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  2796
"/        self updateTable:nil.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2797
"/        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
  2798
        self changeSelectionToProcesses:oldSelection.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2799
    ].
7767
1547d2d2005c use decodeFromLiteralArray
Claus Gittinger <cg@exept.de>
parents: 7757
diff changeset
  2800
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2801
    "Modified: / 17-08-2011 / 11:11:21 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2802
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2803
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2804
!ProcessMonitorV2 methodsFor:'event handling'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2805
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2806
processEvent:anEvent
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2807
    "filter keyboard events.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2808
     Return true, if I have eaten the event"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2809
12119
b44fd76a6243 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12095
diff changeset
  2810
    <resource: #keyboard (#InspectIt )>
b44fd76a6243 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12095
diff changeset
  2811
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2812
    |focusView key rawKey|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2813
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2814
    anEvent isKeyPressEvent ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2815
	focusView := anEvent targetView.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2816
	key := anEvent key.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2817
	rawKey := anEvent rawKey.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2818
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2819
	(focusView == processList) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2820
	    key == #InspectIt ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2821
		self inspectSelection.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2822
		^ true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2823
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2824
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2825
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2826
    ^ false
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2827
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2828
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2829
!ProcessMonitorV2 methodsFor:'initialization & release'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2830
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2831
commonPostOpen
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2832
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2833
    super commonPostOpen.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2834
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2835
    builder window addDependent:self.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2836
    self viewedColumnsChanged.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2837
    self updateList.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2838
    self startUpdateProcess.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2839
    self selectionChanged.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2840
    self sortProcessListBy:#idVal.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2841
    self windowGroup addPreEventHook:self.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2842
!
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2843
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2844
initialize
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2845
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2846
    super initialize.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2847
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2848
    hasSelectionHolder := false asValue.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2849
    hasSelectionWithStoppedProcessHolder := false asValue.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2850
    hasSelectionWithApplicationProcessHolder := false asValue.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2851
    hasSelectionWithGUIProcessHolder := false asValue.
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2852
    hasSelectionWithDisabledInstrumentationHolder := false asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2853
    hasSelectionWithEnabledInstrumentationHolder := false asValue.
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2854
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2855
    showDetail := (Smalltalk at:#SystemDebugging ifAbsent:false).
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2856
    updateSema := Semaphore forMutualExclusion.
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2857
    updateDelay := 1.0 "0.5" asFixedPoint:1.     "/ seconds
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2858
    listUpdateDelay := 5.0 asFixedPoint:1.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2859
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2860
    "/ event mode is no longer used;
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2861
    "/ this event support may vanish
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2862
    Processor isPureEventDriven ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2863
        updateBlock := [self updateStatus:nil].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2864
        listUpdateBlock := [self updateList].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2865
    ].
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2866
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2867
    "Modified: / 17-08-2011 / 11:39:13 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2868
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2869
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2870
postBuildProcessTable:aWidget
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2871
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2872
    processTable       := aWidget scrolledView.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2873
    processTable wantsFocusWithPointerEnter.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2874
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2875
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2876
release
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2877
    self == Singleton ifTrue:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2878
        Singleton := nil.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2879
    ].    
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2880
    updateBlock notNil ifTrue:[
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2881
        Processor removeTimedBlock:updateBlock.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2882
        updateBlock := nil.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2883
    ].
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2884
    listUpdateBlock notNil ifTrue:[
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2885
        Processor removeTimedBlock:listUpdateBlock.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2886
        listUpdateBlock := nil.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2887
    ].
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2888
    updateProcess notNil ifTrue:[
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2889
        updateProcess terminate.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2890
        updateProcess := nil.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2891
    ].
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2892
    super release
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2893
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  2894
    "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
  2895
!
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2896
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2897
restarted
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2898
    "restarted from snapshot"
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2899
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2900
    super restarted.
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2901
    self startUpdateProcess.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2902
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2903
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2904
!ProcessMonitorV2 methodsFor:'menu accessing'!
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
tableMenu
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2907
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2908
    ^[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2909
	self tableMenuAccess
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2910
    ]
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2911
!
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2912
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2913
tableMenuAccess
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2914
    self allowModifications value ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2915
	tableMenu isNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2916
	    tableMenu := Menu decodeFromLiteralArray:(self class tableMenu).
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2917
	    tableMenu receiver:self.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2918
	    tableMenu findGuiResourcesIn:self.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2919
	].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2920
	^ tableMenu
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2921
    ].
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
  2922
    ^ nil
7767
1547d2d2005c use decodeFromLiteralArray
Claus Gittinger <cg@exept.de>
parents: 7757
diff changeset
  2923
1547d2d2005c use decodeFromLiteralArray
Claus Gittinger <cg@exept.de>
parents: 7757
diff changeset
  2924
    "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
  2925
! !
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2926
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2927
!ProcessMonitorV2 methodsFor:'menu actions'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2928
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2929
abortProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2930
    "abort (raise AbortSignal in) the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2931
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2932
    self selectedProcessesDo:[:p |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2933
	p abort
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2934
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2935
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2936
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2937
    "Modified: / 07-06-2007 / 12:38:42 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2938
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2939
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2940
findProcessByView
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2941
    "let user click on a window. then select the corresponding process"
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2942
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2943
    |v wg p item|
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2944
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2945
    v := Screen current viewFromUser.
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2946
    v notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2947
	(wg := v windowGroup) notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2948
	    (p := wg process) notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2949
		item := processList detect:[:i | i processId = p id] ifNone:nil.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2950
		item notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2951
		    self selectedProcesses value:(Array with:item)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2952
		]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2953
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2954
	]
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2955
    ].
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2956
!
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2957
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2958
hardTerminateProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2959
    "hard terminate the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2960
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2961
    self selectedProcessesSend:#terminateNoSignal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2962
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2963
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2964
lowerPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2965
    "lower the selected processes priority"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2966
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2967
    self selectedProcessesDo:[:p |
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2968
       p priority:(p priority - 1)
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2969
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2970
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2971
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2972
    "Modified: / 07-06-2007 / 12:38:50 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2973
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2974
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2975
openDocumentation
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2976
    "This method was generated by the Browser.
19243
1e3eecf7383e #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 19218
diff changeset
  2977
     It will be invoked when the menu-item 'help-documentation' is selected.
1e3eecf7383e #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 19218
diff changeset
  2978
     Also called when <F1> is pressed"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2979
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2980
    "/ change below as required ...
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2981
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2982
    "/ 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
  2983
    HTMLDocumentView openFullOnDocumentationFile:'tools/misc/TOP.html#PROCESSMONITOR'.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2984
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2985
    "/ add application-specific help files under the 'doc/online/<language>/help/appName'
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2986
    "/ directory, and open a viewer with:
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2987
    "/ HTMLDocumentView openFullOnDocumentationFile:'help/<MyApplication>/TOP.html'.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2988
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2989
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2990
raisePrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2991
    "raise the selected processes priority"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2992
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2993
    self selectedProcessesDo:[:p |
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2994
       p priority:(p priority + 1)
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2995
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2996
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2997
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2998
    "Modified: / 07-06-2007 / 12:38:57 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2999
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3000
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3001
restartProcess
13775
5064cb57c8ac AbortSignal -> AbortOperationRequest
Stefan Vogel <sv@exept.de>
parents: 12742
diff changeset
  3002
    "restarts the selected process"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3003
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3004
    self selectedProcessesDo:[:p |
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3005
	p restart.
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3006
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3007
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3008
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3009
    "Modified: / 07-06-2007 / 12:39:04 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3010
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3011
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3012
resumeProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3013
    "resume the selected process (i.e. let it run) "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3014
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3015
    self selectedProcessesSend:#resume
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3016
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3017
12740
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3018
setPrioRange
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3019
    "set a prio-range the selected processes priority"
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3020
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3021
    |rangeString range|
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3022
12742
54ec064a98eb class: ProcessMonitorV2
Stefan Vogel <sv@exept.de>
parents: 12740
diff changeset
  3023
    [
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3024
	rangeString := Dialog
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3025
			    request:'Priority Range (min to: max)'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3026
			    initialAnswer:'7 to: 8'.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3027
	rangeString isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3028
	    ^ self  "aborted"
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3029
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3030
	range := Interval readFrom:rangeString onError:nil.
12742
54ec064a98eb class: ProcessMonitorV2
Stefan Vogel <sv@exept.de>
parents: 12740
diff changeset
  3031
    ] doWhile:[range isNil].
54ec064a98eb class: ProcessMonitorV2
Stefan Vogel <sv@exept.de>
parents: 12740
diff changeset
  3032
12740
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3033
    self selectedProcessesDo:[:p |
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3034
       p priorityRange:range
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3035
    ].
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3036
    self updateList.
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3037
!
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  3038
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3039
startTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3040
    Processor isTimeSlicing ifFalse:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3041
	Processor startTimeSlicing.
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3042
    ].
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3043
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3044
    "Created: / 03-11-2011 / 21:26:27 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3045
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3046
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3047
stopProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3048
    "stop the selected process - not even interrupts will wake it up"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3049
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3050
    self selectedProcessesSend:#stop
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3051
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3052
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3053
stopTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3054
    Processor isTimeSlicing ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3055
	Processor stopTimeSlicing.
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3056
    ].
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3057
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3058
    "Created: / 03-11-2011 / 21:26:40 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3059
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3060
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3061
suspendProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3062
    "suspend the selected process - interrupts will let it run again"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3063
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3064
    self selectedProcessesSend:#suspend
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3065
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3066
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3067
terminateAllLikeThis
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3068
    "terminate the selected process with all of its subprocesses"
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3069
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3070
    |names|
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
    names := Set new.
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3073
    self selectedProcessesDo:[:p |
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3074
        names add:p name.
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3075
    ].
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3076
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3077
    ProcessorScheduler knownProcesses 
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3078
        select:[:p | (names includes:p name) ]
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3079
        thenDo:[:eachProcessToTerminate |
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3080
        |doTerminateThis|
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3081
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3082
        doTerminateThis :=
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3083
            ((eachProcessToTerminate isSystemProcess not)
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3084
            or:[ Dialog confirm:(resources 
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3085
                                    string:'Terminate the system process: %1 (Pid=%2)?'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3086
                                    with:eachProcessToTerminate name
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3087
                                    with:eachProcessToTerminate id) ]).
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3088
                            
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3089
        doTerminateThis ifTrue:[
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3090
            eachProcessToTerminate terminate
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3091
        ].    
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3092
    ].
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3093
    
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3094
    self updateList.
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3095
!
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3096
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3097
terminateProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3098
    "terminate the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3099
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3100
    self selectedProcessesSend:#terminate.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3101
    self updateList.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3102
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3103
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3104
terminateProcessGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3105
    "terminate the selected process with all of its subprocesses"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3106
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3107
    self selectedProcessesSend:#terminateGroup.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3108
    self updateList.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3109
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3110
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3111
!ProcessMonitorV2 methodsFor:'menu actions-application'!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3112
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3113
closeApplication
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3114
    "close the process(es) topView(s)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3115
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3116
    self selectedApplicationTopViewsDo:[:topView | topView terminate]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3117
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3118
    "Created: / 07-06-2007 / 12:40:20 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3119
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3120
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3121
lowerApplicationWindow
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3122
    "lower the selected process(es) topView(s)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3123
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3124
    self selectedApplicationTopViewsDo:[:topView | topView lower]
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
    "Created: / 07-06-2007 / 12:43:46 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3127
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3128
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3129
raiseApplicationWindow
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3130
    "raise the selected process(es) topView(s)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3131
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3132
    self selectedApplicationTopViewsDo:[:topView |
17063
2cc4c00fa570 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17062
diff changeset
  3133
        |wg v|
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3134
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3135
        topView raiseDeiconified.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3136
        wg := topView windowGroup.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3137
        [wg isInModalLoop] whileTrue:[
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3138
            wg := wg modalGroup.
17063
2cc4c00fa570 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17062
diff changeset
  3139
            (v := wg mainView) notNil ifTrue:[v raiseDeiconified].
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3140
        ].
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3141
    ]
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
    "Created: / 05-06-2007 / 18:37:30 / cg"
17063
2cc4c00fa570 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17062
diff changeset
  3144
    "Modified: / 15-11-2016 / 00:22:22 / cg"
7810
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
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3147
selectedApplicationTopViewsDo:aBlock
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3148
    self selectedProcessesDo:[:eachProcess |
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3149
        |wg|
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3150
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3151
        wg := self windowGroupOfProcess:eachProcess.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3152
        wg notNil ifTrue:[
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3153
            |topView|
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3154
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3155
            (topView := wg mainView) notNil ifTrue:[
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3156
                aBlock value:topView.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3157
            ]
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3158
        ]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3159
    ]
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
    "Created: / 07-06-2007 / 12:42:09 / cg"
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3162
    "Modified: / 15-11-2016 / 00:18:37 / cg"
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3163
! !
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3164
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3165
!ProcessMonitorV2 methodsFor:'menu actions-debug'!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3166
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3167
browseApplication
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3168
    "open a browser on the selected process(es) application or topView"
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
    self selectedApplicationTopViewsDo:[:topView |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3171
	|app|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3172
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3173
	(app := topView application) notNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3174
	    app class browse.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3175
	] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3176
	    topView class browse.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3177
	]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3178
   ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3179
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3180
    "Created: / 07-06-2007 / 12:48:05 / cg"
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
debugProcess
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3184
    "open a debugger on the selected process(es)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3185
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3186
    Debugger isNil ifTrue:[ ^ self ].
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3187
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3188
    self selectedProcessesDo:[:p |
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3189
       Debugger openOn:p
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3190
    ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3191
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3192
    "Modified: / 07-06-2007 / 12:34:43 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3193
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3194
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3195
debugWhenResumed
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3196
    "open a debugger when the selected process(es) is resumed"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3197
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3198
    Debugger isNil ifTrue:[ ^ self ].
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3199
17721
c65669cfd4e9 #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 17623
diff changeset
  3200
    self selectedProcessesDo:[:eachProcess |
c65669cfd4e9 #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 17623
diff changeset
  3201
       eachProcess onResumeDo:[Debugger enter]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3202
    ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3203
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3204
    "Modified: / 07-06-2007 / 12:34:38 / cg"
17721
c65669cfd4e9 #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 17623
diff changeset
  3205
    "Modified: / 25-10-2017 / 17:50:52 / stefan"
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3206
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3207
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3208
disableInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3209
    InstrumentationContext isNil ifTrue:[^ self].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3210
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3211
    self selectedProcessesDo:[:p |
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3212
       InstrumentationContext setInstrumentationContext:nil in:p
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3213
    ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3214
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3215
    "Created: / 17-08-2011 / 11:50:36 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3216
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3217
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3218
enableInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3219
    |context|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3220
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3221
    InstrumentationContext isNil ifTrue:[^ self].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3222
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3223
    context := InstrumentationContext new.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3224
    self selectedProcessesDo:[:p |
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3225
       InstrumentationContext setInstrumentationContext:context in:p
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3226
    ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3227
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3228
    "Created: / 17-08-2011 / 11:50:12 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3229
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3230
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3231
inspectApplication
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3232
    "open an inspector on the selected process(es) application or topView"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3233
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3234
    self selectedApplicationTopViewsDo:[:topView |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3235
	|app|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3236
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3237
	(app := topView application) notNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3238
	    app inspect.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3239
	] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3240
	    topView inspect.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3241
	]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3242
   ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3243
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3244
    "Modified: / 07-06-2007 / 12:46:42 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3245
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3246
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3247
inspectSelection
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3248
    "open an inspector on the selected process"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3249
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3250
    self selectedProcessesSend:#inspect
19293
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3251
!
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3252
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3253
raiseDebugger
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3254
    "raise the debugger window, which is debugging the selected process(es)"
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3255
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3256
    Debugger isNil ifTrue:[ ^ self ].
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3257
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3258
    self selectedProcessesDo:[:p |
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3259
        p isDebugged ifTrue:[
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3260
            Debugger allInstancesDo:[:each |
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3261
                each realized ifTrue:[
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3262
                    each windowGroup process == p ifTrue:[
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3263
                        each raise.
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3264
                    ]
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3265
                ]
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3266
            ]
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3267
        ]
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3268
    ]
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3269
4981d5b90b48 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19243
diff changeset
  3270
    "Modified: / 07-06-2007 / 12:34:43 / cg"
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3271
! !
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3272
6609
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3273
!ProcessMonitorV2 methodsFor:'private queries'!
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3274
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3275
isApplicationProcess:aProcess
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3276
    ^ (self windowGroupOfProcess:aProcess) notNil.
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3277
!
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3278
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3279
windowGroupOfProcess:aProcess
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3280
    WindowGroup scheduledWindowGroups
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3281
	do:[:eachGroup |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3282
	    (eachGroup process == aProcess) ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3283
		eachGroup isModal ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3284
		    ^ eachGroup previousGroup
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3285
		].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3286
		^ eachGroup
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3287
	    ]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3288
	].
6609
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3289
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3290
    ^ nil
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3291
! !
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3292
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3293
!ProcessMonitorV2 methodsFor:'queries - table string'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3294
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3295
getActiveStringFor:aProcess running:isRunning
5538
d004f232b1df cosmetics
Stefan Vogel <sv@exept.de>
parents: 5047
diff changeset
  3296
    |stateCharacter|
d004f232b1df cosmetics
Stefan Vogel <sv@exept.de>
parents: 5047
diff changeset
  3297
d004f232b1df cosmetics
Stefan Vogel <sv@exept.de>
parents: 5047
diff changeset
  3298
    isRunning ifTrue:[
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3299
        ^ '*'.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3300
    ].
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3301
    
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3302
    [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3303
        (Processor scheduledProcesses includes:aProcess) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3304
            stateCharacter := '+'
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3305
        ] ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3306
            stateCharacter := ''.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3307
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3308
    ] valueUninterruptably.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3309
    ^ stateCharacter.
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3310
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3311
    "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
  3312
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3313
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3314
getApplicationFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3315
    |wg app|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3316
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3317
    wg := self windowGroupOfProcess:aProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3318
    wg notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3319
	(app := wg application) notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3320
	    ^ app.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3321
	].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3322
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3323
    ^ nil.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3324
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3325
    "Created: / 17-08-2011 / 11:12:13 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3326
!
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
getApplicationStringFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3329
    |app|
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
    (app := self getApplicationFor:aProcess) notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3332
	^ app class name.
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3333
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3334
    ^ ''.
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 / 10:58:50 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3337
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3338
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3339
getCurrentSegmentStringFor:con
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3340
    | contextCount c sender|
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3341
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3342
    con notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3343
	contextCount := 1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3344
	c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3345
	[(sender := c sender) notNil] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3346
	    c := sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3347
	    contextCount := contextCount + 1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3348
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3349
	^ (((ObjectMemory addressOf:con) printStringRadix:16),
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3350
	   ' .. ',
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3351
	   ((ObjectMemory addressOf:c) printStringRadix:16)).
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3352
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3353
    ^ ''
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3354
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3355
    "Modified (format): / 17-08-2011 / 10:57:23 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3356
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3357
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3358
getGroupStringFor:aProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3359
    |gId|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3360
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3361
    gId := aProcess processGroupId.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3362
    ((gId == aProcess id) or:[gId isNil]) ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3363
	"/ a group leader
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3364
	^ '-'.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3365
    ] ifFalse:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3366
	^ gId.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3367
    ].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3368
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3369
    "Modified (format): / 17-08-2011 / 10:57:33 / cg"
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3372
getInstrumentationStringFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3373
    ^ (InstrumentationContext forProcess:aProcess) isNil
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3374
	ifTrue:['']
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3375
	ifFalse:['Y']
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3376
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3377
    "Created: / 17-08-2011 / 11:04:14 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3378
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3379
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3380
getPrioStringFor:aProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3381
    |prioRange|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3382
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3383
    Processor supportDynamicPriorities ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3384
	(prioRange := aProcess priorityRange) isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3385
	    ^ aProcess priority asString.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3386
	] ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3387
	    ^ (aProcess priority asString,
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3388
		    ' [',
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3389
		    prioRange start printString,
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3390
		    '..',
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3391
		    prioRange stop printString,
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3392
		    ']').
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3393
	].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3394
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3395
    ^ ''
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3396
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3397
    "Modified (format): / 17-08-2011 / 10:57:36 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3398
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3399
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3400
getTotalStackStringFor:aProcess
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3401
    | tStackSize noOfSegs |
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3402
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3403
    aProcess id == 0 ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3404
	^ 'unlimited'.
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3405
    ].
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3406
    ((tStackSize := aProcess totalStackSize) notNil
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3407
    and:[ (noOfSegs := aProcess numberOfStackSegments) notNil ]) ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3408
	^ (tStackSize printString),' (',(noOfSegs printString),')'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3409
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3410
    ^ ''
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3411
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3412
    "Modified: / 17-08-2011 / 10:56:17 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3413
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3414
11289
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3415
getWhereContextFor:con running:isRunning
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3416
    "retrieve a reasonable description of where the process is sitting around;
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3417
     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
  3418
     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
  3419
     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
  3420
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3421
    |c found skipping rs rc r sel|
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3422
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3423
    con notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3424
	c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3425
	found := false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3426
	isRunning ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3427
	    "/ search for a semaphore-wait in the top 10 contexts
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3428
	    1 to:10 do:[:n |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3429
		found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3430
		    c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3431
			(c receiver class == Semaphore) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3432
			    (sel := c selector) == #wait ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3433
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3434
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3435
			    sel == #waitWithTimeout: ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3436
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3437
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3438
			    sel == #waitWithTimeoutMs: ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3439
				found := true.
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
			].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3442
			c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3443
		    ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3444
		]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3445
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3446
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3447
	found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3448
	    "/ search for a non-processor, non-process
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3449
	    "/ receiver in the top 10 contexts
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3450
	    c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3451
	    1 to:10 do:[:n |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3452
		found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3453
		    c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3454
			((r := c receiver) ~~ Processor and:[ r class ~~ Process ]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3455
			    found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3456
			] ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3457
			    c := c sender.
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
		]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3461
	    ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3462
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3463
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3464
	"/ skip, until an interesting context is found.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3465
	"/ This skips intermediate contexts, which lead
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3466
	"/ 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
  3467
	found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3468
	    c := con
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3469
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3470
	skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3471
	[ skipping ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3472
	    skipping := false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3473
	    (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
  3474
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3475
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3476
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3477
	    (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
  3478
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3479
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3480
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3481
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3482
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3483
		    and:[ c receiver isBlock
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3484
		    and:[ ((sel := c selector) startsWith:'value')
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3485
			  or:[ sel = 'doWhile:'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3486
			  or:[ sel = 'doUntil:'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3487
			  or:[ sel = 'ensure:' ]]]]]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3488
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3489
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3490
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3491
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3492
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3493
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3494
		    and:[ c receiver == OperatingSystem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3495
		    and:[ c selector == #unblockInterrupts ] ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3496
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3497
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3498
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3499
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3500
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3501
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3502
		    and:[ c isBlockContext ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3503
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3504
		c := c home.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3505
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3506
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3507
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3508
	c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3509
	    sel := c selector.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3510
	    sel isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3511
		sel := '* unknown *'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3512
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3513
	    r := c receiver.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3514
	    rc := r class.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3515
	    rs := rc name.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3516
	    (rc == SharedQueue
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3517
	    or:[rc == RecursionLock]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3518
		rs := rs , ' (', (r identityHash bitShift:-12) hexPrintString,') '.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3519
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3520
	    ^ (rs , '>>' , sel).
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3521
	]
11289
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3522
    ].
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3523
    ^ ''
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3524
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3525
    "Created: / 28-02-2012 / 11:48:22 / cg"
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3526
!
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3527
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3528
getWhereStringFor:con running:isRunning
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3529
    "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
  3530
     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
  3531
     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
  3532
     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
  3533
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3534
    |c found skipping rs rc r sel|
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3535
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3536
    con notNil ifTrue:[
18671
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
        found := false.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3539
        isRunning ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3540
            "/ search for a semaphore-wait in the top 10 contexts
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3541
            1 to:10 do:[:n |
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3542
                found ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3543
                    c notNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3544
                        (c receiver class == Semaphore) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3545
                            ((sel := c selector) == #wait 
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3546
                              or:[sel == #waitWithTimeout:
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3547
                              or:[sel == #waitWithTimeoutMs:]]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3548
                            ) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3549
                                found := true.
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
                        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3552
                        c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3553
                    ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3554
                ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3555
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3556
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3557
        found ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3558
            "/ search for a non-processor, non-process
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3559
            "/ receiver in the top 10 contexts
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3560
            c := con.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3561
            1 to:10 do:[:n |
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3562
                found ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3563
                    c notNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3564
                        ((r := c receiver) ~~ Processor and:[ r class ~~ Process ]) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3565
                            found := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3566
                        ] ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3567
                            c := c sender.
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
                ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3571
            ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3572
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3573
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3574
        "/ skip, until an interesting context is found.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3575
        "/ This skips intermediate contexts, which lead
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3576
        "/ to the sema-wait (for example, unwind blocks, delay-stuff etc.)
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3577
        found ifFalse:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3578
            c := con
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3579
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3580
        skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3581
        [ skipping ] whileTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3582
            skipping := false.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3583
            (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
  3584
                c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3585
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3586
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3587
            (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
  3588
                c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3589
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3590
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3591
            [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3592
                c notNil
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3593
                  and:[ c receiver isBlock
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3594
                  and:[ ((sel := c selector) startsWith:'value')
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3595
                          or:[ sel = 'doWhile:'
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3596
                          or:[ sel = 'doUntil:'
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3597
                          or:[ sel = 'ensure:' ]]]]]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3598
            ] whileTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3599
                c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3600
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3601
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3602
            [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3603
                c notNil
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3604
                  and:[ c receiver == OperatingSystem 
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3605
                  and:[ c selector == #unblockInterrupts ] ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3606
            ] whileTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3607
                c := c sender.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3608
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3609
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3610
            [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3611
                c notNil and:[ c isBlockContext ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3612
            ] whileTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3613
                c := c home.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3614
                skipping := true.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3615
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3616
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3617
        c notNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3618
            sel := c selector.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3619
            sel isNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3620
                sel := '* unknown *'
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3621
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3622
            r := c receiver.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3623
            rc := r class.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3624
            rs := rc name.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3625
            (rc == SharedQueue
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3626
            or:[rc == RecursionLock]) ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3627
                rs := rs , ' (', (r identityHash bitShift:-12) hexPrintString,') '.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3628
            ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3629
            ^ (rs , '>>' , sel).
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3630
        ]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3631
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3632
    ^ ''
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3633
11288
a9e5e329714c changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents: 10849
diff changeset
  3634
    "Modified: / 28-02-2012 / 11:43:30 / cg"
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3635
    "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
  3636
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3637
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3638
getWindowTitleFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3639
    |wg topViews|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3640
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3641
    wg := self windowGroupOfProcess:aProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3642
    wg notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3643
        (topViews := wg topViews) notEmptyOrNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3644
            ^ '"',(topViews first label ? '<nil>'),'"'.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3645
        ].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3646
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3647
    ^ ''.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3648
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3649
    "Created: / 17-08-2011 / 11:01:21 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3650
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3651
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3652
!ProcessMonitorV2 methodsFor:'sorting'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3653
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3654
sortProcessListBy:instanceName
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3655
    "method to sort the list of BugReport"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3656
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3657
    | aSymbol isReverse cmpOp currentSortOrder|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3658
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3659
    aSymbol := instanceName asSymbol.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3660
    isReverse := false.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3661
    currentSortOrder := self currentSortOrder value.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3662
    currentSortOrder isEmpty ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3663
	currentSortOrder at:#column put:aSymbol.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3664
	currentSortOrder at:#reverse put:false.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3665
    ] ifFalse:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3666
	(currentSortOrder at:#column) = aSymbol ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3667
	    "/ same column like before - change sort order ifReverse is true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3668
	    isReverse := currentSortOrder at:#reverse.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3669
	    currentSortOrder at:#reverse put:(isReverse not).
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3670
	] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3671
	    "/ another column - remark column
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3672
	    currentSortOrder at:#column put:aSymbol.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3673
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3674
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3675
    (currentSortOrder at:#reverse) ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3676
	cmpOp := #'>'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3677
    ] ifFalse:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3678
	cmpOp := #'<'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3679
    ].
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3680
    sortBlock := [:a :b |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3681
	    |entry1 entry2|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3682
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3683
	    entry1 := (a perform:aSymbol) ? 0.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3684
	    entry2 := (b perform:aSymbol) ? 0.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3685
	    entry1 = entry2 ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3686
		(a idVal < 0 and:[b idVal < 0]) ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3687
		    "/ two dead ones (take anything which remains constant)
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3688
		    a processName ~= b processName ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3689
			a processName < b processName
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3690
		    ] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3691
			a processInstance identityHash < b processInstance identityHash
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3692
		    ]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3693
		] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3694
		    a idVal < b idVal
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3695
		]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3696
	    ] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3697
		entry1 perform:cmpOp with:entry2
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3698
	    ]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3699
	].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3700
   self viewedColumnsChanged.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3701
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3702
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3703
!ProcessMonitorV2 methodsFor:'update process'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3704
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3705
fillItemInformationIn:processItem
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3706
    |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
  3707
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3708
    aProcess := processItem processInstance.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3709
    aProcess isNil ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3710
        ^ self.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3711
    ].
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3712
    group := self getGroupStringFor:aProcess.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3713
    
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3714
    state := aProcess state.
18793
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
  3715
    running := (aProcess isRunning and:[aProcess == Processor interruptedProcess]).
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
  3716
    stateColor := aProcess isRunning
18681
c0aa65849475 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18671
diff changeset
  3717
                        ifTrue:[ Color darkGreen ]
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3718
                        ifFalse:[
18793
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
  3719
                            (aProcess isDebuggedOrStopped)
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3720
                                ifTrue:[ Color red ]
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3721
                                ifFalse:[ Color black ]].
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3722
    stateString := state asString withColor:stateColor.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3723
    
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3724
    processItem 
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3725
        processId:(aProcess id)
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3726
        idVal:(aProcess id ? -1)
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3727
        processGroup:group
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3728
        groupVal:(group isNumber ifTrue:[group] ifFalse:[-1])
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3729
        processStartTime:aProcess startTimestamp
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3730
        processName:(aProcess name ? '')
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3731
        processState:stateString.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3732
        
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3733
    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
  3734
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3735
    "/ processItem processBlocked:(aProcess interruptsDisabled).
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3736
    processItem prioVal:(aProcess priority).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3737
    processItem processPrio:(self getPrioStringFor:aProcess).
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 processUsedStack:aProcess usedStackSize.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3740
    processItem processTotalStack:(self getTotalStackStringFor:aProcess).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3741
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3742
    "/ must be very careful here: the process might actually be
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3743
    "/ resumed and con becomes invalid while we access it.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3744
    "/ 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
  3745
    "/ the returned context-ref, when the method returns,
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3746
    "/ 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
  3747
    "/ (it does, if it is ever stored into something...)
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3748
    "/ Therefore, we must do this uninterruptably.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3749
    [
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3750
        con := aProcess suspendedContext.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3751
        con isNil ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3752
            aProcess == Processor activeProcess ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3753
                con := thisContext
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3754
            ]
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3755
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3756
        showWhere value ifTrue:[
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3757
            processItem processWhere:(self getWhereStringFor:con running:running).
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3758
        ].
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3759
        processItem processCurrentSegment:(self getCurrentSegmentStringFor:con).
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3760
        con := nil.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3761
    ] valueUninterruptably.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  3762
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3763
    processItem processSwitch:(aProcess numberOfStackBoundaryHits).
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
  3764
    showApplication value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3765
        processItem processApplication:(self getApplicationStringFor:aProcess)
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3766
    ].
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
  3767
    showWindowTitle value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3768
        processItem processWindowTitle:(self getWindowTitleFor:aProcess)
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3769
    ].
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
  3770
    showInstrumentation value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3771
        processItem processInstrumentation:(self getInstrumentationStringFor:aProcess)
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3772
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3773
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3774
    "Modified: / 17-08-2011 / 11:04:32 / cg"
18793
8f3ce7028eaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18681
diff changeset
  3775
    "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
  3776
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3777
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3778
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
  3779
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3780
    processItem weakArrayWithProcesses:weakArrayWithProcesses.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3781
    processItem processInstanceIndexInWeakArray:processInstanceIndexInWeakArray.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3782
    self fillItemInformationIn:processItem
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3783
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3784
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3785
startUpdateProcess
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3786
    updateBlock notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3787
        Processor addTimedBlock:updateBlock afterSeconds:updateDelay.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3788
        Processor addTimedBlock:listUpdateBlock afterSeconds:listUpdateDelay.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3789
    ] ifFalse:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3790
        "after a restart, updateProcess is a dead process"
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3791
        (updateProcess isNil or:[updateProcess isDead]) ifTrue:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3792
            updateProcess := [
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3793
                [
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3794
                    |id cnt myDelay|
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3795
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3796
                    myDelay := Delay forSeconds:updateDelay.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3797
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3798
                    "
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3799
                     every updateDelay (0.5), we look which process runs;
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3800
                     every half second, the status is updated.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3801
                     every listUpdateDelay (5s), the list of processes is
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3802
                     built up again
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3803
                    "
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3804
                    [true] whileTrue:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3805
                        myDelay delay:updateDelay * 1000.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3806
                        ((listUpdateDelay // updateDelay) max:2) - 1 timesRepeat:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3807
                            myDelay wait.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3808
                            self updateStatus:nil.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3809
                        ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3810
                        myDelay wait.
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3811
                        self updateList.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3812
                    ]
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3813
                ] ifCurtailed:[
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3814
                    updateProcess := nil
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3815
                ]
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3816
            ] forkAt:(Processor userSchedulingPriority + 1).
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3817
            updateProcess name:'monitor [' ,
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3818
                               Processor activeProcess id printString ,
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3819
                               '] update'.
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3820
            "
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3821
             raise my own priority
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3822
            "
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3823
            Processor activeProcess priority:(Processor userSchedulingPriority + 2)
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3824
        ].
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3825
    ].
18338
956d9a637384 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 17927
diff changeset
  3826
18431
5ad6fca26d28 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18338
diff changeset
  3827
    "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
  3828
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3829
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3830
updateChangedItem:oldItem newItem:newItem atIndex:index
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3831
    | colIdx newValue |
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3832
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3833
    colIdx := 1.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3834
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3835
    oldItem weakArrayWithProcesses:newItem weakArrayWithProcesses.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3836
    oldItem processInstanceIndexInWeakArray:newItem processInstanceIndexInWeakArray.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3837
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3838
    "/ ID
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3839
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3840
    oldItem processId ~= (newValue := newItem processId) ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3841
	oldItem processId:newValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3842
	processTable invalidateRowAt:index colAt:colIdx.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3843
    ].
7757
935e3e45cca4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7466
diff changeset
  3844
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3845
    #(
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3846
	( showGroup     processGroup        processGroup: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3847
	( true          processName         processName: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3848
	( showInstrumentation     processInstrumentation        processInstrumentation: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3849
	( true          processActive       processActive: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3850
	( showState     processState        processState: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3851
	( showPrio      processPrio         processPrio: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3852
	( showUsedStack processUsedStack    processUsedStack: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3853
	( showTotalStack processTotalStack  processTotalStack: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3854
	( showCurrentSegment processCurrentSegment processCurrentSegment: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3855
	( showSwitch    processSwitch       processSwitch: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3856
	( showWhere     processWhere        processWhere: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3857
	( showApplication     processApplication        processApplication: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3858
	( showWindowTitle     processWindowTitle        processWindowTitle: )
10578
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
    ) do:[:eachAspect |
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3861
	|showHolder showHolderValue colValueGetter colValueSetter|
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3862
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3863
	showHolder := eachAspect at:1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3864
	colValueGetter := eachAspect at:2.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3865
	colValueSetter := eachAspect at:3.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3866
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3867
	showHolderValue := (showHolder == true) or:[ (self perform:showHolder) value ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3868
	showHolderValue ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3869
	    colIdx := colIdx + 1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3870
	    (oldItem perform:colValueGetter) ~= (newValue := (newItem perform:colValueGetter)) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3871
		oldItem perform:colValueSetter with:newValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3872
		processTable invalidateRowAt:index colAt:colIdx.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3873
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3874
	].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3875
    ].
7757
935e3e45cca4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7466
diff changeset
  3876
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3877
"/    "/ GROUP
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3878
"/    self showGroup value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3879
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3880
"/        oldItem processGroup ~= (newValue := newItem processGroup) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3881
"/            oldItem processGroup:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3882
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3883
"/        ].
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
"/    "/ NAME
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3887
"/    colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3888
"/    oldItem processName ~= (newValue := newItem processName) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3889
"/        oldItem processName:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3890
"/        processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3891
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3892
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3893
"/    "/ ACTIVE
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3894
"/    colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3895
"/    oldItem processActive ~= (newValue := newItem processActive) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3896
"/        oldItem processActive:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3897
"/        "/ (processTable columnAt:colIdx).
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3898
"/        processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3899
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3900
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3901
"/    "/ STATE
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3902
"/    showState value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3903
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3904
"/        (oldItem processState sameStringAndEmphasisAs: (newValue := newItem processState)) ifFalse:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3905
"/            oldItem processState:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3906
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3907
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3908
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3909
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3910
"/    "/ PRIO
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3911
"/    showPrio value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3912
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3913
"/        oldItem processPrio ~= (newValue := newItem processPrio) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3914
"/            oldItem processPrio:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3915
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3916
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3917
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3918
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3919
"/    "/ USED STACK
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3920
"/    showUsedStack value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3921
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3922
"/        oldItem processUsedStack ~= (newValue := newItem processUsedStack) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3923
"/            oldItem processUsedStack:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3924
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3925
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3926
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3927
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3928
"/    "/ TOTAL STACK
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3929
"/    showTotalStack value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3930
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3931
"/        oldItem processTotalStack ~= (newValue := newItem processTotalStack) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3932
"/            oldItem processTotalStack:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3933
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3934
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3935
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3936
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3937
"/    "/ CURRENT SEGMENT
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3938
"/    showCurrentSegment value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3939
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3940
"/        oldItem processCurrentSegment ~= (newValue := newItem processCurrentSegment) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3941
"/            oldItem processCurrentSegment:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3942
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3943
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3944
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3945
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3946
"/    "/ Switch
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3947
"/    showSwitch value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3948
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3949
"/        oldItem processSwitch ~= (newValue := newItem processSwitch) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3950
"/            oldItem processSwitch:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3951
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3952
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3953
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3954
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3955
"/    "/ WHERE
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3956
"/    showWhere value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3957
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3958
"/        oldItem processWhere ~= (newValue := newItem processWhere) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3959
"/            oldItem processWhere:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3960
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3961
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3962
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3963
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3964
    "Modified: / 17-08-2011 / 11:47:01 / cg"
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3965
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3966
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3967
updateList
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3968
    "recompute the list of processes"
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3969
    
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3970
    |newList|
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3971
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3972
    processTable shown ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3973
        newList := self getProcessList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3974
        visibleBlock notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3975
            newList := newList select:visibleBlock
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3976
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3977
        self updateStatus:newList.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3978
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3979
    updateBlock notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3980
        Processor removeTimedBlock:listUpdateBlock.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3981
        Processor addTimedBlock:listUpdateBlock afterSeconds:listUpdateDelay
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3982
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3983
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3984
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3985
updateStatus:newProcessList
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3986
    |startTime endTime deltaT|
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3987
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3988
    self window shown ifTrue:[
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3989
        startTime := Timestamp now.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3990
        updateSema critical:[
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3991
            self updateTable:newProcessList.
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3992
        ].
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3993
        endTime := Timestamp now.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3994
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3995
        lastUpdateTimestamp notNil ifTrue:[
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3996
            |timeDelta newInterruptCount newTimerActionCount n nPerSecond s|
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3997
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  3998
            timeDelta := (endTime - lastUpdateTimestamp) asMilliseconds / 1000.0.
18608
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  3999
            timeDelta > 0 ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4000
                "/ update the interrupt counts
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4001
                newInterruptCount := Processor interruptCounter.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4002
                newTimerActionCount := Processor timedActionCounter.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4003
                lastInterruptCount notNil ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4004
                    "/ attention - these are modulu counters.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4005
                    newInterruptCount >= lastInterruptCount ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4006
                        n := newInterruptCount-lastInterruptCount.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4007
                        n == 0 ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4008
                            "/ the common case
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4009
                            s := '0'
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4010
                        ] ifFalse:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4011
                            nPerSecond := n / timeDelta. 
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4012
                            s := (nPerSecond asInteger "asFixedPoint:1") printString
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4013
                        ].    
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4014
                        self interruptCountHolder value:s
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
                ].
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4017
                lastTimerActionCount notNil ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4018
                    "/ attention - these are modulu counters.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4019
                    newTimerActionCount >= lastTimerActionCount ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4020
                        n := newTimerActionCount-lastTimerActionCount.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4021
                        n == 0 ifTrue:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4022
                            "/ the common case
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4023
                            s := '0'
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4024
                        ] ifFalse:[
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4025
                            nPerSecond := n / timeDelta.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4026
                            s := (nPerSecond asInteger "asFixedPoint:1") printString
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4027
                        ].    
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4028
                        self timerActionCountHolder value:s
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4029
                    ].    
18608
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4030
                ].
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4031
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4032
                lastInterruptCount := newInterruptCount.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4033
                lastTimerActionCount := newTimerActionCount.
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4034
            ].    
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4035
        ].
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4036
        lastUpdateTimestamp := endTime.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4037
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4038
        "/ a check, in case the computation took longer than 20%
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4039
        "/ of the delay time. Then increase the update interval.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4040
        "/ This is to avoid that the processMonitor creates too much overhead
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4041
        "/ (in case we have many processes)
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4042
        deltaT := (endTime millisecondDeltaFrom:startTime) / 1000.0.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4043
        "/ Transcript show:deltaT; show:' ' ; showCR:(self scaledUpdateContentsDelayTime / 10.0).
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4044
        deltaT > (updateDelay / 5) ifTrue:[
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4045
            "/ 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
  4046
            updateDelay := updateDelay * 2.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4047
            self updateContentsDelayTimeHolder value:updateDelay.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4048
            "/ Transcript show:'+++ '; showCR:self scaledUpdateContentsDelayTime.
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4049
        ].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4050
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4051
    
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4052
    updateBlock notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4053
        Processor removeTimedBlock:updateBlock.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4054
        Processor addTimedBlock:updateBlock afterSeconds:updateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4055
    ]
18510
ed8ac4d47eb1 #TUNING by cg
Claus Gittinger <cg@exept.de>
parents: 18475
diff changeset
  4056
18608
d97d8f932fd5 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18580
diff changeset
  4057
    "Modified: / 21-02-2019 / 16:21:31 / Claus Gittinger"
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4058
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4059
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4060
updateTable:newProcessList
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4061
    |oldSelection newList sel diff weakProcessList showDead|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4062
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4063
    processTable shown ifFalse:[^ self].
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
    showDead := self showDeadHolder value.
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
    "/ 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
  4068
    sel := self selectedProcesses value.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4069
    sel notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4070
        oldSelection := OrderedCollection new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4071
        sel do:[:proItem|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4072
            proItem processInstance notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4073
                oldSelection add:(proItem processInstance)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4074
            ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4075
        ].
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
    newList := OrderedCollection new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4079
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4080
    "/ 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
  4081
    newProcessList isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4082
        processList do:[:oldItem |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4083
            | newItem process|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4084
            (showDead
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4085
             or:[ 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4086
                (process := oldItem processInstance) notNil
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4087
                 and:[process isDead not]]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4088
            ) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4089
                newItem := oldItem copy.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4090
                self fillItemInformationIn:newItem.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4091
                newList add:newItem.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4092
            ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4093
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4094
    ] ifFalse:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4095
        "/ remove dead processes if not shown
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4096
        weakProcessList := WeakArray withAll:newProcessList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4097
        weakProcessList keysAndValuesDo:[:indexInWeakArray :procOrNilOrZero |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4098
            "/ in a weakarray, dead entries are 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4099
            (procOrNilOrZero notNil and:[procOrNilOrZero class ~~ SmallInteger]) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4100
                (procOrNilOrZero isDead not or:[showDead]) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4101
                    | processItem |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4102
                    processItem := ProcessItem new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4103
                    self fillItemInformationIn:processItem with:procOrNilOrZero inArray:weakProcessList atIndex:indexInWeakArray.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4104
                    newList add:processItem.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4105
                ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4106
            ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4107
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4108
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4109
    newList sort:self sortBlock.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4110
    newList doWithIndex:[:newItem :index|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4111
        | oldItem |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4112
        oldItem := processList at:index ifAbsent:nil.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4113
        oldItem isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4114
            processList add:newItem beforeIndex:index
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4115
        ] ifFalse:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4116
            self updateChangedItem:oldItem newItem:newItem atIndex:index
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4117
        ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4118
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4119
    diff := processList size - newList size.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4120
    diff > 0 ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4121
        processList removeLast:diff
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4122
    ].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4123
"/            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
  4124
    self changeSelectionToProcesses:oldSelection.
18577
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4125
!
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4126
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4127
updateView
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4128
    self updateList
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4129
677b8bf5eb85 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18510
diff changeset
  4130
    "Created: / 04-02-2019 / 17:13:47 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4131
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4132
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4133
!ProcessMonitorV2::ProcessItem methodsFor:'accessing'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4134
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4135
groupVal
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4136
    "return the groupId"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4137
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4138
    ^ groupVal
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4139
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4140
    "Modified (comment): / 12-03-2019 / 17:58:12 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4141
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4142
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4143
groupVal:groupIdInteger
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4144
    "set the groupId"
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4145
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4146
    groupVal := groupIdInteger.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4147
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4148
    "Modified (comment): / 12-03-2019 / 17:58:38 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4149
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4150
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4151
idVal
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4152
    "return the processId"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4153
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4154
    ^ idVal
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4155
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4156
    "Modified (comment): / 12-03-2019 / 17:58:19 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4157
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4158
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4159
idVal:idInteger
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4160
    "set the processId"
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4161
    
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4162
    idVal := idInteger.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4163
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4164
    "Modified (comment): / 12-03-2019 / 17:58:29 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4165
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4166
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4167
prioVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4168
    "return the value of the instance variable 'prioVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4169
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4170
    ^ prioVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4171
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4172
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4173
prioVal:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4174
    "set the value of the instance variable 'prioVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4175
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4176
    prioVal := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4177
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4178
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4179
processActive
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4180
    "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
  4181
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4182
    ^ processActive
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4183
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4184
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4185
processActive:something
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4186
    "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
  4187
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4188
    processActive := something.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4189
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4190
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4191
processApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4192
    ^ processApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4193
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4194
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4195
processApplication:something
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4196
    processApplication := something.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4197
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4198
9526
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4199
processBlocked
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4200
    ^ processBlocked
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4201
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4202
    "Created: / 18-07-2010 / 23:52:26 / cg"
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4203
!
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4204
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4205
processBlocked:aBoolean
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4206
    processBlocked := aBoolean.
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4207
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4208
    "Created: / 18-07-2010 / 23:52:41 / cg"
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4209
!
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4210
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4211
processCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4212
    "return the value of the instance variable 'processCurrentSegment' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4213
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4214
    ^ processCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4215
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4216
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4217
processCurrentSegment:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4218
    "set the value of the instance variable 'processCurrentSegment' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4219
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4220
    processCurrentSegment := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4221
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4222
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4223
processGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4224
    "return the value of the instance variable 'processGroup' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4225
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4226
    ^ processGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4227
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4228
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4229
processGroup:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4230
    "set the value of the instance variable 'processGroup' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4231
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4232
    processGroup := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4233
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4234
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4235
processId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4236
    "return the value of the instance variable 'processId' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4237
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4238
    ^ processId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4239
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4240
18671
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4241
processId:processIdArg
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4242
    processId := processIdArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4243
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4244
    "Modified (comment): / 12-03-2019 / 17:57:05 / Claus Gittinger"
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4245
!
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4246
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4247
processId:processIdArg idVal:idArg processGroup:processGroupArg groupVal:groupValArg
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4248
        processStartTime:processStartTimeArg processName:processNameArg processState:processStateArg
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4249
    processId := processIdArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4250
    idVal := idArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4251
    processGroup := processGroupArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4252
    groupVal := groupValArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4253
    startTimestamp := processStartTimeArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4254
    processName := processNameArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4255
    processState := processStateArg.
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4256
f63d74a74fd6 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18608
diff changeset
  4257
    "Created: / 12-03-2019 / 18:06:49 / Claus Gittinger"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4258
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4259
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4260
processInstance
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4261
    "return the value of the instance variable 'processInstance' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4262
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4263
    |procOrNilOrZero|
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4264
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4265
    procOrNilOrZero := weakArrayWithProcesses at:processInstanceIndexInWeakArray.
15756
9f212f4609db class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 15753
diff changeset
  4266
    procOrNilOrZero class == SmallInteger ifTrue:[^ nil].
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4267
    ^ procOrNilOrZero
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4268
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4269
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4270
processInstance:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4271
    "set the value of the instance variable 'processInstance' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4272
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4273
    processInstance := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4274
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4275
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4276
processInstanceIndexInWeakArray
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4277
    "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
  4278
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4279
    ^ processInstanceIndexInWeakArray
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4280
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4281
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4282
processInstanceIndexInWeakArray:something
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4283
    "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
  4284
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4285
    processInstanceIndexInWeakArray := something.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4286
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4287
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4288
processInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4289
    ^ processInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4290
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4291
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4292
processInstrumentation:something
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4293
    processInstrumentation := something.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4294
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4295
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4296
processName
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4297
    "return the value of the instance variable 'processName' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4298
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4299
    ^ processName
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4300
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4301
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4302
processName:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4303
    "set the value of the instance variable 'processName' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4304
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4305
    processName := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4306
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4307
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4308
processPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4309
    "return the value of the instance variable 'processPrio' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4310
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4311
    ^ processPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4312
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4313
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4314
processPrio:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4315
    processPrio := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4316
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4317
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4318
processStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4319
    "return the value of the instance variable 'startTime' (automatically generated)"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4320
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4321
    ^ startTimestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4322
!
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4323
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4324
processStartTime:aTimestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4325
    "set the value of the instance variable 'startTime' (automatically generated)"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4326
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4327
    startTimestamp := aTimestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4328
!
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4329
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4330
processState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4331
    ^ processState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4332
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4333
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4334
processState:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4335
    processState := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4336
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4337
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4338
processSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4339
    ^ processSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4340
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4341
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4342
processSwitch:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4343
    processSwitch := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4344
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4345
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4346
processTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4347
    ^ processTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4348
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4349
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4350
processTotalStack:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4351
    processTotalStack := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4352
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4353
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4354
processUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4355
    ^ processUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4356
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4357
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4358
processUsedStack:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4359
    processUsedStack := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4360
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4361
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4362
processWhere
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4363
    ^ processWhere
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4364
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4365
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4366
processWhere:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4367
    processWhere := something.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4368
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4369
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4370
processWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4371
    ^ processWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4372
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4373
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4374
processWindowTitle:something
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4375
    processWindowTitle := something.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4376
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4377
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4378
weakArrayWithProcesses
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4379
    ^ weakArrayWithProcesses
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4380
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4381
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4382
weakArrayWithProcesses:something
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4383
    weakArrayWithProcesses := something.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4384
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4385
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4386
!ProcessMonitorV2::ProcessItem methodsFor:'printing'!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4387
8001
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4388
printOn:aStream
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4389
    (self processName ? '') printOn:aStream.
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4390
    aStream nextPut:$[.
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  4391
    (self processId ? '') printOn:aStream.
8001
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4392
    aStream nextPut:$].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4393
! !
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4394
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4395
!ProcessMonitorV2 class methodsFor:'documentation'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4396
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4397
version
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  4398
    ^ '$Header$'
9035
90950862113a no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents: 8652
diff changeset
  4399
!
90950862113a no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents: 8652
diff changeset
  4400
90950862113a no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents: 8652
diff changeset
  4401
version_CVS
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  4402
    ^ '$Header$'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4403
! !
12095
f6e617086f54 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 11999
diff changeset
  4404