ProcessMonitorV2.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 19 Jul 2017 09:42:32 +0200
branchjv
changeset 17619 edb119820fcb
parent 17379 028adf14bc05
permissions -rw-r--r--
Issue #154: Set window style using `#beToolWindow` to indicate that the minirunner window is kind of support tool rather than some X11 specific code (which does not work on Windows of course) See https://swing.fit.cvut.cz/projects/stx-jv/ticket/154
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6300
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     1
"
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     2
 COPYRIGHT (c) 2003 by eXept Software AG
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
     3
	      All Rights Reserved
6300
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     4
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     5
 This software is furnished under a license and may be used
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     6
 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
     7
 inclusion of the above copyright notice.   This software may not
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     8
 be provided or otherwise made available to, or used by, any
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
     9
 other person.  No title to or ownership of the software is
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    10
 hereby transferred.
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    11
"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
99d11fbee2af initial checkin
penk
parents:
diff changeset
    13
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
    14
"{ NameSpace: Smalltalk }"
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
    15
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
    16
ApplicationModel subclass:#ProcessMonitorV2
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    17
	instanceVariableNames:'processList tableColumns selectedProcesses updateSema showDetail
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    18
		hasSelectionHolder showProcessId showGroup showState showPrio
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    19
		showUsedStack showTotalStack showCurrentSegment showSwitch
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
    20
		showWhere showInstrumentation showApplication showWindowTitle
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    21
		currentSortOrder processTable showDeadHolder sortBlock
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    22
		selectionRestartable updateListDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    23
		updateContentsDelayTimeHolder enableDecreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    24
		enableDecreaseContentsDelayTime enableIncreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    25
		enableIncreaseContentsDelayTime listUpdateDelay updateDelay
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    26
		updateBlock listUpdateBlock updateProcess visibleBlock
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    27
		allowModifications tableMenu
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    28
		hasSelectionWithApplicationProcessHolder
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    29
		hasSelectionAndProcessIsApplicationProcessHolder
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    30
		hasSelectionWithStoppedProcessHolder
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
    31
		hasSelectionAndProcessIsStoppedHolder
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
    32
		hasSelectionWithGUIProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
    33
		hasSelectionWithDisabledInstrumentationHolder
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    34
		hasSelectionWithEnabledInstrumentationHolder interruptCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
    35
		timerActionCountHolder lastInterruptCount lastTimerActionCount
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
    36
		lastUpdateTimestamp showStartTime'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    37
	classVariableNames:''
99d11fbee2af initial checkin
penk
parents:
diff changeset
    38
	poolDictionaries:''
99d11fbee2af initial checkin
penk
parents:
diff changeset
    39
	category:'Monitors-ST/X'
99d11fbee2af initial checkin
penk
parents:
diff changeset
    40
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
    41
99d11fbee2af initial checkin
penk
parents:
diff changeset
    42
Object subclass:#ProcessItem
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    43
	instanceVariableNames:'processId processGroup processName processActive processState
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    44
		processPrio processUsedStack processTotalStack processWhere
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
    45
		processInstrumentation processApplication processWindowTitle
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    46
		processInstance weakArrayWithProcesses
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
    47
		processInstanceIndexInWeakArray processCurrentSegment
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
    48
		processSwitch prioVal idVal groupVal processBlocked
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
    49
		startTimestamp'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    50
	classVariableNames:''
99d11fbee2af initial checkin
penk
parents:
diff changeset
    51
	poolDictionaries:''
99d11fbee2af initial checkin
penk
parents:
diff changeset
    52
	privateIn:ProcessMonitorV2
99d11fbee2af initial checkin
penk
parents:
diff changeset
    53
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
    54
99d11fbee2af initial checkin
penk
parents:
diff changeset
    55
!ProcessMonitorV2 class methodsFor:'documentation'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
    56
6300
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    57
copyright
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    58
"
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    59
 COPYRIGHT (c) 2003 by eXept Software AG
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    60
	      All Rights Reserved
6300
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    61
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    62
 This software is furnished under a license and may be used
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    63
 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
    64
 inclusion of the above copyright notice.   This software may not
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    65
 be provided or otherwise made available to, or used by, any
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    66
 other person.  No title to or ownership of the software is
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    67
 hereby transferred.
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    68
"
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    69
!
4132e93312b2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6290
diff changeset
    70
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    71
documentation
99d11fbee2af initial checkin
penk
parents:
diff changeset
    72
"
99d11fbee2af initial checkin
penk
parents:
diff changeset
    73
    documentation to be added.
99d11fbee2af initial checkin
penk
parents:
diff changeset
    74
99d11fbee2af initial checkin
penk
parents:
diff changeset
    75
    [author:]
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    76
	Christian Penk (penk@bierfix)
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    77
99d11fbee2af initial checkin
penk
parents:
diff changeset
    78
    [instance variables:]
99d11fbee2af initial checkin
penk
parents:
diff changeset
    79
99d11fbee2af initial checkin
penk
parents:
diff changeset
    80
    [class variables:]
99d11fbee2af initial checkin
penk
parents:
diff changeset
    81
99d11fbee2af initial checkin
penk
parents:
diff changeset
    82
    [see also:]
99d11fbee2af initial checkin
penk
parents:
diff changeset
    83
99d11fbee2af initial checkin
penk
parents:
diff changeset
    84
"
99d11fbee2af initial checkin
penk
parents:
diff changeset
    85
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
    86
99d11fbee2af initial checkin
penk
parents:
diff changeset
    87
examples
99d11fbee2af initial checkin
penk
parents:
diff changeset
    88
"
99d11fbee2af initial checkin
penk
parents:
diff changeset
    89
  Starting the application:
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    90
								[exBegin]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    91
    ProcessMonitorV2 open
99d11fbee2af initial checkin
penk
parents:
diff changeset
    92
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    93
								[exEnd]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
    94
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
    95
  Starting the application withot any possibilities to change
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
    96
  the processes
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
    97
								[exBegin]
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
    98
    ProcessMonitorV2 openAllowNoModifications
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
    99
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   100
								[exEnd]
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   101
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   102
  more examples to be added:
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   103
								[exBegin]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   104
    ... add code fragment for
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   105
    ... executable example here ...
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   106
								[exEnd]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   107
"
99d11fbee2af initial checkin
penk
parents:
diff changeset
   108
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   109
99d11fbee2af initial checkin
penk
parents:
diff changeset
   110
history
99d11fbee2af initial checkin
penk
parents:
diff changeset
   111
    "Created: / 14.1.2003 / 11:16:10 / penk"
99d11fbee2af initial checkin
penk
parents:
diff changeset
   112
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   113
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   114
!ProcessMonitorV2 class methodsFor:'instance creation'!
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   115
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   116
openAllowNoModifications
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   117
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   118
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   119
    |application|
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   120
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   121
    application := self new.
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   122
    application open.
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   123
    application allowModifications value:false.
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   124
! !
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
   125
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   126
!ProcessMonitorV2 class methodsFor:'defaults'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   127
99d11fbee2af initial checkin
penk
parents:
diff changeset
   128
defaultLabel
99d11fbee2af initial checkin
penk
parents:
diff changeset
   129
    ^ 'Process Monitor'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   130
!
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   131
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   132
resourcePackName
7874
defda0e80423 comment
Claus Gittinger <cg@exept.de>
parents: 7863
diff changeset
   133
    "return the name which is used as the fileNameBase of my resource file.
defda0e80423 comment
Claus Gittinger <cg@exept.de>
parents: 7863
diff changeset
   134
     Here, use the same resources as the (old) ProcessMonitor"
defda0e80423 comment
Claus Gittinger <cg@exept.de>
parents: 7863
diff changeset
   135
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   136
    ^ 'ProcessMonitor'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   137
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   138
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   139
!ProcessMonitorV2 class methodsFor:'help'!
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   140
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   141
aboutThisApplicationText
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   142
    ^ super aboutThisApplicationText ,
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
   143
      '\\Written 2003 by Christian Penk, eXept Software AG,\and Claus Gittinger, eXept Software AG.' withCRs
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   144
!
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   145
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   146
flyByHelpSpec
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   147
    "This resource specification was automatically generated
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   148
     by the UIHelpTool of ST/X."
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   149
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   150
    "Do not manually edit this!! If it is corrupted,
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   151
     the UIHelpTool may not be able to read the specification."
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   152
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   153
    "
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
   154
     UIHelpTool openOnClass:ProcessMonitorV2
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   155
    "
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   156
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   157
    <resource: #help>
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   158
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   159
    ^ super flyByHelpSpec addPairsFrom:#(
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   160
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   161
#Debug
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   162
'Debug the selected process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   163
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   164
#Details
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   165
'Details - select columns to display'
6239
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
#Inspect
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   168
'Inspect the selected process'
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   169
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   170
#findProcessByView
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   171
'Pick a view and select the associated window group process'
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
#'Lower Prio'
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   174
'Lower the priority of the selected process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   175
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   176
#'Raise Prio'
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   177
'Raise the priority of the selected process'
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   178
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   179
#RaiseWindow
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
   180
'Raise the application''s window'
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   181
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   182
#Restart
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   183
'Restart'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   184
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   185
#Resume
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   186
'Resume'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   187
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   188
#Abort
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   189
'Abort'
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   190
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   191
#Stop
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   192
'Stop'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   193
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   194
#Suspend
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   195
'Suspend'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   196
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   197
#Terminate
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   198
'Terminate'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   199
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   200
#'Terminate Group'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   201
'Terminate Group'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   202
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   203
#'Update Process List'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   204
'Update Process List'
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   205
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   206
processId
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   207
'The process ID. A unique number'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   208
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   209
processGroup
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   210
'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
   211
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   212
processName
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   213
'The processes name'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   214
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   215
processApplication
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   216
'The processes application class (if any)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   217
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   218
processWindowTitle
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   219
'The processes window title (if any)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   220
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   221
processInstrumentation
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   222
'The process is currently executed with instrumentaion monitoring active'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   223
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   224
processWasActive
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   225
'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
   226
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   227
processState
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   228
'The execution state'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   229
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   230
processPriority
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   231
'The execution priority, and optional priority range'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   232
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   233
processWhere
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   234
'The currently executed method or the method which suspended it'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   235
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   236
processUsedStack
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   237
'The amount of stack space used by the process (in bytes)'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   238
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   239
processTotalStack
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   240
'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
   241
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   242
processSwitch
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   243
'The overall count of stack segment switches'
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   244
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   245
processCurrentSegment
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
   246
'The address range of the current stack segment'
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   247
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   248
#interruptCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   249
'Interrupts per second'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   250
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   251
#listUpdateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   252
'Interval to update the list of processes'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   253
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   254
#timerActionCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   255
'Timer actions per second'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   256
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   257
#updateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   258
'Interval to update the status of processes'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   259
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
   260
)
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   261
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   262
    "Modified: / 05-06-2007 / 18:35:47 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   263
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   264
99d11fbee2af initial checkin
penk
parents:
diff changeset
   265
!ProcessMonitorV2 class methodsFor:'image specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   266
9802
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   267
defaultIcon
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   268
    "This resource specification was automatically generated
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   269
     by the ImageEditor of ST/X."
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   270
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   271
    "Do not manually edit this!! If it is corrupted,
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   272
     the ImageEditor may not be able to read the specification."
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   273
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   274
    "
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   275
     self defaultIcon inspect
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   276
     ImageEditor openOnClass:self andSelector:#defaultIcon
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   277
     Icon flushCachedIcons
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   278
    "
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   279
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   280
    <resource: #image>
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   281
bc9e5d0493ff set icon resource
Stefan Vogel <sv@exept.de>
parents: 9661
diff changeset
   282
    ^Icon
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   283
	constantNamed:'ProcessMonitorV2 class defaultIcon'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   284
	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
   285
@@@@@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
   286
@@I????>@@@@@CLX7L0*)QDPJ*TQDCL%FH #IQADH*TPQBJX7Y b') ; yourself]
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
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   289
detailsMenuIconDown
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   290
    <resource: #image>
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   291
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   292
     by the ImageEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   293
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   294
     the ImageEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   295
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   296
     self detailsMenuIconDown inspect
99d11fbee2af initial checkin
penk
parents:
diff changeset
   297
     ImageEditor openOnClass:self andSelector:#detailsMenuIconDown
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   298
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   299
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   300
    ^ Icon constantNamed:#'ProcessMonitorV2 class detailsMenuIconDown'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   301
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   302
	    (Depth1Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   303
		width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   304
		height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   305
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   306
		bitsPerSample:(#( 1 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   307
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   308
		bits:(ByteArray fromPackedString:'@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   309
		colorMapFromArray:#[ 0 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   310
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   311
			    width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   312
			    height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   313
			    bits:(ByteArray fromPackedString:'@A@(UJ(b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   314
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   315
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   316
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   317
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   318
99d11fbee2af initial checkin
penk
parents:
diff changeset
   319
detailsMenuIconUp
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   320
    <resource: #image>
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   321
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   322
     by the ImageEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   323
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   324
     the ImageEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   325
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   326
     self detailsMenuIconUp inspect
99d11fbee2af initial checkin
penk
parents:
diff changeset
   327
     ImageEditor openOnClass:self andSelector:#detailsMenuIconUp
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   328
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   329
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   330
    ^ Icon constantNamed:#'ProcessMonitorV2 class detailsMenuIconUp'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   331
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   332
	    (Depth1Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   333
		width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   334
		height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   335
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   336
		bitsPerSample:(#( 1 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   337
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   338
		bits:(ByteArray fromPackedString:'@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   339
		colorMapFromArray:#[ 0 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   340
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   341
			    width:7;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   342
			    height:5;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   343
			    bits:(ByteArray fromPackedString:'*%P(D@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   344
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   345
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   346
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   347
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   348
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   349
process22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   350
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   351
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   352
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   353
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   354
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   355
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   356
     self process22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   357
     ImageEditor openOnClass:self andSelector:#process22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   358
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   359
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   360
    ^ Icon constantNamed:#'ProcessMonitorV2 class process22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   361
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   362
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   363
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   364
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   365
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   366
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   367
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   368
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   369
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   370
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   371
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   372
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
   373
A XFAPTFA XH@@@@@@@@@@@@@@@@APXFA XFA XFB@@@@@@@@@@@@@@@APXHA0XFA XFAPXH@@@@@@@@@@@@@@\H@@@EA XG@@@GB@@@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   374
@@TH@@@@@@@@@@@@@@@@@@@@@@@@@@@EB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   375
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   376
		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
   377
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   378
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   379
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   380
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   381
					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
   382
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   383
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   384
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   385
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   386
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   387
processAbort22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   388
    <resource: #image>
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   389
    "This resource specification was automatically generated
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   390
     by the ImageEditor of ST/X."
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   391
    "Do not manually edit this!! If it is corrupted,
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   392
     the ImageEditor may not be able to read the specification."
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   393
    "
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   394
     self processAbort22x22Icon inspect
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   395
     ImageEditor openOnClass:self andSelector:#processAbort22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   396
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   397
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   398
    ^ Icon constantNamed:#'ProcessMonitorV2 class processAbort22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   399
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   400
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   401
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   402
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   403
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   404
		bitsPerSample:(#[ 8 ]);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   405
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   406
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   407
			    fromPackedString:'
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   408
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@E@ @@@@@@@@@@@@@@@@@@@@@@@@@@APH@@@@@@@@@@@@@@@@@
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   409
@@@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
   410
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
   411
@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
   412
@@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
   413
A XFA@PDA XE@@@@@@@@@@@@@@@@APTFA XFA TE@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   414
		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
   415
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   416
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   417
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   418
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   419
					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
   420
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   421
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   422
	]
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   423
!
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
   424
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   425
processDebug22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   426
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   427
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   428
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   429
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   430
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   431
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   432
     self processDebug22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   433
     ImageEditor openOnClass:self andSelector:#processDebug22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   434
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   435
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   436
    ^ Icon constantNamed:#'ProcessMonitorV2 class processDebug22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   437
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   438
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   439
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   440
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   441
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   442
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   443
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   444
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   445
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   446
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@F@0@@@@@@@@@@@@@@@@@@@@@@@@@@A L@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   447
@@@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
   448
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
   449
APTE@@HEAPTEAPTEAPTE@ @@@@@B@ TEAP@BAPTEAPTEAPTEAPH@@@@@@@HEAPT@@@@@@@@@@@@@@@@@@@@@@@HBAPTE@@HBAPTEAPTEAPTE@ @@@@@@@ HE
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   450
@ @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
   451
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   452
		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
   453
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   454
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   455
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   456
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   457
					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
   458
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   459
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   460
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   461
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   462
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   463
processInspect22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   464
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   465
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   466
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   467
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   468
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   469
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   470
     self processInspect22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   471
     ImageEditor openOnClass:self andSelector:#processInspect22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   472
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   473
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   474
    ^ Icon constantNamed:#'ProcessMonitorV2 class processInspect22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   475
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   476
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   477
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   478
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   479
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   480
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   481
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   482
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   483
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   484
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   485
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA @@@@XH@@@@@@@@@@@@@@@@APXF@@@BCPH@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   486
APXF@@0MCP4MCP0@@@@@@@@@@@@EAPXFA @MCPTEAP4M@@TG@@@@@@@@B@ FA @BCPTEAP4MCPH@B@@@@@@@@@@@A0\@CP4EAP4MCP4M@@@@@@@@@@@@@@@G
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   487
@@HMAP4MCP4M@ @@@@@@@@@@@@@@APX@CP4MCP4MCP@@@@@@@@@@@@@@APXH@@0MCP4MCP0@BP@@@@@@@@@@@@\H@@@@@@HM@ @@@ @@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   488
@@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
   489
@@@@@@@@@@@@C ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   490
		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
   491
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   492
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   493
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   494
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   495
					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
   496
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   497
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   498
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   499
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   500
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   501
processLowerPrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   502
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   503
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   504
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   505
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   506
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   507
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   508
     self processLowerPrio22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   509
     ImageEditor openOnClass:self andSelector:#processLowerPrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   510
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   511
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   512
    ^ Icon constantNamed:#'ProcessMonitorV2 class processLowerPrio22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   513
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   514
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   515
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   516
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   517
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   518
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   519
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   520
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   521
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   522
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   523
@@@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
   524
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
   525
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
   526
@@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
   527
@@@@@@@E@@T@@@@@@@@@@@@@@@@@@@@@@@@@@@T@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   528
		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
   529
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   530
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   531
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   532
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   533
					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
   534
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   535
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   536
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   537
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   538
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   539
processRaisePrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   540
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   541
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   542
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   543
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   544
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   545
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   546
     self processRaisePrio22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   547
     ImageEditor openOnClass:self andSelector:#processRaisePrio22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   548
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   549
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   550
    ^ Icon constantNamed:#'ProcessMonitorV2 class processRaisePrio22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   551
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   552
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   553
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   554
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   555
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   556
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   557
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   558
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   559
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   560
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   561
@@@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
   562
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
   563
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
   564
@@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
   565
@@@@AP@@@@@@AP@@@@@@@@@@@@@@@@@@@@TEAPTEAPT@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   566
		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
   567
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   568
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   569
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   570
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   571
					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
   572
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   573
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   574
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   575
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   576
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   577
processRestart22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   578
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   579
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   580
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   581
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   582
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   583
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   584
     self processRestart22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   585
     ImageEditor openOnClass:self andSelector:#processRestart22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   586
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   587
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   588
    ^ Icon constantNamed:#'ProcessMonitorV2 class processRestart22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   589
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   590
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   591
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   592
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   593
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   594
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   595
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   596
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   597
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   598
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@GAP@@@@@@@@@@@@@@@@@@@@@@@@@@A0T@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   599
@@@EA0@@A0XFA@@@A0T@@@@@@@@@@@@@A@XGA0XFA XGA0XD@@@@@@@@@@@@@@@EA XFA XF@@@@@@@@@@@@@@@@@@@@A0XFAPP@@@LC@0@@@P@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   600
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
   601
@@LC@0LC@0L@@@@@@@@@@@@@@@@@A0X@@0LC@0L@@@@@@@@@@@@@@@@@A0XDAP@C@0L@@@@@@@@@@@@@@@@@@@TD@@@@@@L@@@@@@@@@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   602
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   603
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   604
		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
   605
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   606
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   607
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   608
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   609
					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
   610
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   611
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   612
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   613
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   614
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   615
processResume22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   616
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   617
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   618
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   619
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   620
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   621
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   622
     self processResume22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   623
     ImageEditor openOnClass:self andSelector:#processResume22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   624
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   625
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   626
    ^ Icon constantNamed:#'ProcessMonitorV2 class processResume22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   627
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   628
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   629
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   630
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   631
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   632
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   633
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   634
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   635
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   636
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   637
@@@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
   638
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
   639
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
   640
@@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
   641
@@@@AP@@AP@@@@@@@@@@@@@@@@@@@@@@@@T@AP@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   642
		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
   643
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   644
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   645
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   646
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   647
					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
   648
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   649
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   650
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   651
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   652
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   653
processStop22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   654
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   655
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   656
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   657
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   658
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   659
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   660
     self processStop22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   661
     ImageEditor openOnClass:self andSelector:#processStop22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   662
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   663
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   664
    ^ Icon constantNamed:#'ProcessMonitorV2 class processStop22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   665
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   666
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   667
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   668
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   669
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   670
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   671
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   672
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   673
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   674
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   675
@@@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
   676
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
   677
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
   678
@@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
   679
@@@E@@@@APT@@@@E@@@@@@@@@@@@@@@@APTEAPTEAPTEAP@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   680
		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
   681
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   682
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   683
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   684
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   685
					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
   686
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   687
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   688
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   689
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   690
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   691
processSuspend22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   692
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   693
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   694
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   695
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   696
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   697
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   698
     self processSuspend22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   699
     ImageEditor openOnClass:self andSelector:#processSuspend22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   700
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   701
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   702
    ^ Icon constantNamed:#'ProcessMonitorV2 class processSuspend22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   703
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   704
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   705
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   706
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   707
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   708
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   709
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   710
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   711
			    fromPackedString:'
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   712
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   713
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   714
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
   715
A XFAPTE@@@@@@@@@@@EAP@@@@@@APXFA TEAP@@@@@@@@@@APT@@@@@APXHA0XEAPT@@@@@@@@@@@TE@@@@@@\H@@@EAPTE@@@@@@@@@@@EAP@@@@@@@@@@
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
   716
@@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
   717
APTEAPTEAPTEAPTE@@@@@@@@@@@@APTEAPTEAPTEAPTEAP@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   718
		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
   719
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   720
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   721
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   722
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   723
					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
   724
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   725
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   726
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   727
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   728
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   729
processTerminate22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   730
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   731
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   732
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   733
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   734
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   735
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   736
     self processTerminate22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   737
     ImageEditor openOnClass:self andSelector:#processTerminate22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   738
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   739
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   740
    ^ Icon constantNamed:#'ProcessMonitorV2 class processTerminate22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   741
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   742
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   743
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   744
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   745
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   746
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   747
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   748
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   749
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   750
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   751
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   752
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
   753
A XFAPTJB0,LB0,KBP@@@@@@@@@@APXFA XFA (KB0,KBP@@@@@@@@@@APXHA0XFA XFC@,KC@@@@@@@@@@@@@\H@@@EA XGC@,KB00@@@@@@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   754
@@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
   755
C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   756
		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
   757
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   758
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   759
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   760
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   761
					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
   762
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   763
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   764
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   765
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   766
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   767
processTerminateGroup22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   768
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   769
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   770
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   771
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   772
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   773
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   774
     self processTerminateGroup22x22Icon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   775
     ImageEditor openOnClass:self andSelector:#processTerminateGroup22x22Icon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   776
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   777
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   778
    ^ Icon
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   779
	constantNamed:#'ProcessMonitorV2 class processTerminateGroup22x22Icon'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   780
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   781
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   782
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   783
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   784
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   785
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   786
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   787
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   788
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   789
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@@@@@@@@@@@TG@@@@@@@@@@@@@@@@@@@@A0T@@@TFA  @@@TG@@@@@@@@@@@@
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   790
@@ FAPTF@@@FAPTFB@@@@@@@@@@@@@@@A0XF@@TG@@XFB@@@@@@@@@@@@@@@@@@FA @EA0@FA @@@@@@@@@@@@@@@@\E@@@EA XH@@@EA0@@@@@@@@@@AP@H
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   791
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
   792
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
   793
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
   794
@@0I@@@@@@@@B0@@@@@@@@@@@@@@@@@L@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   795
		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
   796
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   797
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   798
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   799
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   800
					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
   801
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   802
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   803
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   804
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   805
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   806
raiseWindow22x22Icon
14396
b93e61a4ddd7 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13775
diff changeset
   807
    <resource: #image>
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   808
    "This resource specification was automatically generated
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   809
     by the ImageEditor of ST/X."
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   810
    "Do not manually edit this!! If it is corrupted,
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   811
     the ImageEditor may not be able to read the specification."
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   812
    "
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   813
     self raiseWindow22x22Icon inspect
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   814
     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
   815
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   816
14396
b93e61a4ddd7 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13775
diff changeset
   817
    ^ Icon constantNamed:'ProcessMonitorV2 class raiseWindow22x22Icon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   818
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   819
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   820
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   821
		height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   822
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   823
		bitsPerSample:(#[ 8 ]);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   824
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   825
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   826
			    fromPackedString:'
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   827
@@@.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
   828
@ 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
   829
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
   830
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
   831
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
   832
@@@@@@@@@@@@@@@.@@@@@@@@@@@@@@@@@@@@@@@@K"8.K @a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   833
		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
   834
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   835
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   836
			    height:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   837
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   838
					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
   839
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   840
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   841
	]
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   842
!
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
   843
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   844
terminateGroupIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   845
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   846
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   847
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   848
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   849
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   850
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   851
     self terminateGroupIcon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   852
     ImageEditor openOnClass:self andSelector:#terminateGroupIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   853
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   854
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   855
    ^ Icon constantNamed:#'ProcessMonitorV2 class terminateGroupIcon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   856
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   857
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   858
		width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   859
		height:20;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   860
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   861
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   862
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   863
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   864
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   865
@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
   866
@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
   867
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
   868
@ 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
   869
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
   870
		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
   871
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   872
			    width:22;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   873
			    height:20;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   874
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   875
					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
   876
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   877
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   878
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   879
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   880
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   881
terminateIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   882
    <resource: #image>
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   883
    "This resource specification was automatically generated
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   884
     by the ImageEditor of ST/X."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   885
    "Do not manually edit this!! If it is corrupted,
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   886
     the ImageEditor may not be able to read the specification."
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   887
    "
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   888
     self terminateIcon inspect
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   889
     ImageEditor openOnClass:self andSelector:#terminateIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   890
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   891
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   892
    ^ Icon constantNamed:#'ProcessMonitorV2 class terminateIcon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   893
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   894
	    (Depth8Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   895
		width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   896
		height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   897
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   898
		bitsPerSample:(#( 8 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   899
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   900
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   901
			    fromPackedString:'
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   902
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@@@@@@@@@LC@@@@@@@C@ H@@@@@@@LB@ LC@@@C@ H@@@@@@@@@@@DB@ LB
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   903
@ 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
   904
@0H@@@@@@@DB@@@@@@@@@@L@@@@@@@@@@ @@@@@@@@@C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   905
		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
   906
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   907
			    width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   908
			    height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   909
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   910
					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
   911
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   912
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   913
	]
4468
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   914
!
cc786dd7b4cb checkin from browser
penk
parents: 4463
diff changeset
   915
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   916
viewDetailsIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   917
    <resource: #image>
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   918
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   919
     by the ImageEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   920
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   921
     the ImageEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   922
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   923
     self viewDetailsIcon inspect
99d11fbee2af initial checkin
penk
parents:
diff changeset
   924
     ImageEditor openOnClass:self andSelector:#viewDetailsIcon
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   925
     Icon flushCachedIcons"
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   926
14416
020eb4c3034d Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents: 14396
diff changeset
   927
    ^ Icon constantNamed:#'ProcessMonitorV2 class viewDetailsIcon'
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   928
	ifAbsentPut:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   929
	    (Depth1Image new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   930
		width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   931
		height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   932
		photometric:(#palette);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   933
		bitsPerSample:(#( 1 ));
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   934
		samplesPerPixel:(1);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   935
		bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   936
			    fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   937
		colorMapFromArray:#[ 0 0 0 255 255 255 ];
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   938
		mask:((ImageMask new)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   939
			    width:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   940
			    height:16;
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   941
			    bits:(ByteArray
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   942
					fromPackedString:'@@@@@@@@]+X@@@@@]+X@@@@@]+X@@@@@]+X@@@@@@@@b');
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   943
			    yourself);
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   944
		yourself
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
   945
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
   946
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
   947
99d11fbee2af initial checkin
penk
parents:
diff changeset
   948
!ProcessMonitorV2 class methodsFor:'interface specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
   949
99d11fbee2af initial checkin
penk
parents:
diff changeset
   950
windowSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
   951
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
   952
     by the UIPainter of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   953
99d11fbee2af initial checkin
penk
parents:
diff changeset
   954
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
   955
     the UIPainter may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
   956
99d11fbee2af initial checkin
penk
parents:
diff changeset
   957
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   958
     UIPainter new openOnClass:ProcessMonitorV2 andSelector:#windowSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
   959
     ProcessMonitorV2 new openInterface:#windowSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
   960
     ProcessMonitorV2 open
99d11fbee2af initial checkin
penk
parents:
diff changeset
   961
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
   962
99d11fbee2af initial checkin
penk
parents:
diff changeset
   963
    <resource: #canvas>
99d11fbee2af initial checkin
penk
parents:
diff changeset
   964
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   965
    ^ 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   966
    #(FullSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   967
       name: windowSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   968
       window: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   969
      (WindowSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   970
         label: 'ProcessMonitor'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   971
         name: 'ProcessMonitor'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   972
         min: (Point 10 10)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   973
         bounds: (Rectangle 0 0 791 358)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   974
         menu: mainMenu
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   975
         icon: defaultIcon
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   976
       )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   977
       component: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   978
      (SpecCollection
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   979
         collection: (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   980
          (MenuPanelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   981
             name: 'ToolBar1'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   982
             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
   983
             menu: toolBarMainMenu
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   984
             textDefault: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   985
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   986
          (DataSetSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   987
             name: 'ProcessTable'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   988
             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
   989
             model: selectedProcesses
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   990
             menu: tableMenu
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   991
             hasHorizontalScrollBar: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   992
             hasVerticalScrollBar: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   993
             dataList: processList
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   994
             useIndex: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   995
             doubleClickSelector: doubleClickedAt:
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   996
             columnHolder: tableColumns
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   997
             multipleSelectOk: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   998
             verticalSpacing: 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
   999
             postBuildCallback: postBuildProcessTable:
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1000
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1001
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1002
             label: 'IRQ:'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1003
             name: 'Label1'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1004
             layout: (LayoutFrame 0 0 -24 1 50 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1005
             activeHelpKey: interruptCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1006
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1007
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1008
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1009
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1010
             name: 'Label2'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1011
             layout: (LayoutFrame 50 0 -24 1 100 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1012
             activeHelpKey: interruptCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1013
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1014
             labelChannel: interruptCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1015
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1016
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1017
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1018
             label: 'TMR:'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1019
             name: 'Label3'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1020
             layout: (LayoutFrame 100 0 -24 1 150 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1021
             activeHelpKey: timerActionCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1022
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1023
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1024
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1025
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1026
             name: 'Label4'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1027
             layout: (LayoutFrame 150 0 -24 1 200 0 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1028
             activeHelpKey: timerActionCount
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1029
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1030
             labelChannel: timerActionCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1031
             adjust: left
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1032
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1033
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1034
             label: 'Update Interval (s):'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1035
             name: 'ContentsUpdateLabel'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1036
             layout: (LayoutFrame -593 1 -24 1 -402 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1037
             activeHelpKey: updateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1038
             translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1039
             adjust: right
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1040
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1041
          (ViewSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1042
             name: 'Box1'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1043
             layout: (LayoutFrame -396 1 -24 1 -306 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1044
             activeHelpKey: updateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1045
             level: 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1046
             component: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1047
            (SpecCollection
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1048
               collection: (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1049
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1050
                   name: 'ArrowButton3'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1051
                   layout: (LayoutFrame 68 0 0 0 89 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1052
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1053
                   model: increaseupdateContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1054
                   enableChannel: enableIncreaseContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1055
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1056
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1057
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1058
                   direction: up
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1059
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1060
                (InputFieldSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1061
                   name: 'EntryField2'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1062
                   layout: (LayoutFrame 22 0 0 0 66 0 22 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1063
                   model: updateContentsDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1064
                   acceptOnReturn: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1065
                   acceptOnTab: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1066
                   acceptOnLostFocus: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1067
                   acceptOnPointerLeave: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1068
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1069
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1070
                   name: 'ArrowButton4'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1071
                   layout: (LayoutFrame 0 0 0 0 20 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1072
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1073
                   model: decreaseupdateContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1074
                   enableChannel: enableDecreaseContentsDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1075
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1076
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1077
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1078
                   direction: down
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1079
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1080
                )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1081
              
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1082
             )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1083
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1084
          (LabelSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1085
             label: 'Processlist:'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1086
             name: 'ListUpdateLabel'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1087
             layout: (LayoutFrame -301 1 -24 1 -110 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1088
             activeHelpKey: listUpdateInterval
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
             adjust: right
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1091
           )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1092
          (ViewSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1093
             name: 'Box2'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1094
             layout: (LayoutFrame -103 1 -24 1 -16 1 0 1)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1095
             activeHelpKey: listUpdateInterval
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1096
             level: 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1097
             component: 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1098
            (SpecCollection
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1099
               collection: (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1100
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1101
                   name: 'ArrowButton5'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1102
                   layout: (LayoutFrame 68 0 0 0 89 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1103
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1104
                   model: increaseupdateListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1105
                   enableChannel: enableIncreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1106
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1107
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1108
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1109
                   direction: up
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1110
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1111
                (InputFieldSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1112
                   name: 'EntryField3'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1113
                   layout: (LayoutFrame 22 0 0 0 66 0 22 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1114
                   model: updateListDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1115
                   acceptOnReturn: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1116
                   acceptOnTab: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1117
                   acceptOnLostFocus: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1118
                   acceptOnPointerLeave: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1119
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1120
                (ArrowButtonSpec
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1121
                   name: 'ArrowButton6'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1122
                   layout: (LayoutFrame 0 0 0 0 20 0 20 0)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1123
                   translateLabel: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1124
                   model: decreaseupdateListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1125
                   enableChannel: enableDecreaseListDelayTime
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1126
                   isTriggerOnDown: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1127
                   autoRepeat: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1128
                   actionValue: ''
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1129
                   direction: down
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1130
                 )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1131
                )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1132
              
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1133
             )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1134
             keepSpaceForOSXResizeHandleH: true
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1135
           )
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
        
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1138
       )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1139
     )
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1140
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1141
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1142
!ProcessMonitorV2 class methodsFor:'menu specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1143
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1144
applicationMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1145
    "This resource specification was automatically generated
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1146
     by the MenuEditor of ST/X."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1147
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1148
    "Do not manually edit this!! If it is corrupted,
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1149
     the MenuEditor may not be able to read the specification."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1150
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1151
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1152
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#applicationMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1153
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 applicationMenu)) startUp
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1154
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1155
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1156
    <resource: #menu>
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1157
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1158
    ^
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1159
     #(Menu
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1160
	(
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1161
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1162
	    enabled: hasSelectionWithApplicationProcessHolder
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1163
	    label: 'Raise Applications Window'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1164
	    itemValue: raiseApplicationWindow
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1165
	    translateLabel: true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1166
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1167
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1168
	    enabled: hasSelectionWithApplicationProcessHolder
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1169
	    label: 'Lower Applications Window'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1170
	    itemValue: lowerApplicationWindow
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1171
	    translateLabel: true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1172
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1173
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1174
	    label: '-'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1175
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1176
	 (MenuItem
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1177
	    enabled: hasSelectionWithApplicationProcessHolder
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1178
	    label: 'Close'
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1179
	    itemValue: closeApplication
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1180
	    translateLabel: true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1181
	  )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1182
	 )
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1183
	nil
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1184
	nil
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1185
      )
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1186
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1187
    "Modified: / 07-06-2007 / 12:44:21 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1188
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1189
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1190
debugMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1191
    "This resource specification was automatically generated
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1192
     by the MenuEditor of ST/X."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1193
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1194
    "Do not manually edit this!! If it is corrupted,
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1195
     the MenuEditor may not be able to read the specification."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1196
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1197
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1198
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#debugMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1199
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 debugMenu)) startUp
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1200
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1201
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1202
    <resource: #menu>
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1203
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1204
    ^
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1205
     #(Menu
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1206
	(
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1207
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1208
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1209
	    label: 'Inspect Process'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1210
	    itemValue: inspectSelection
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1211
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1212
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1213
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1214
	    enabled: hasSelectionWithApplicationProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1215
	    label: 'Inspect Application'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1216
	    itemValue: inspectApplication
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1217
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1218
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1219
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1220
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1221
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1222
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1223
	    enabled: hasSelectionWithApplicationProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1224
	    label: 'Browse Application'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1225
	    itemValue: browseApplication
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1226
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1227
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1228
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1229
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1230
	    isVisible: allowModificationsAndHasDebugger
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1231
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1232
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1233
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1234
	    label: 'Debug'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1235
	    itemValue: debugProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1236
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1237
	    isVisible: allowModificationsAndHasDebugger
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1238
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1239
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1240
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1241
	nil
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1242
      )
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1243
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1244
    "Modified: / 07-06-2007 / 12:49:58 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1245
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1246
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1247
instrumentationMenu
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1248
    "This resource specification was automatically generated
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1249
     by the MenuEditor of ST/X."
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1250
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1251
    "Do not manually edit this!! If it is corrupted,
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1252
     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
  1253
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1254
    "
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1255
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#instrumentationMenu
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1256
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 instrumentationMenu)) startUp
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1257
    "
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1258
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1259
    <resource: #menu>
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1260
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1261
    ^
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1262
     #(Menu
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1263
	(
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1264
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1265
	    enabled: hasSelectionWithEnabledInstrumentationHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1266
	    label: 'Disable'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1267
	    itemValue: disableInstrumentation
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1268
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1269
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1270
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1271
	    enabled: hasSelectionWithDisabledInstrumentationHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1272
	    label: 'Enable'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1273
	    itemValue: enableInstrumentation
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1274
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1275
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1276
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1277
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1278
	nil
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1279
      )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1280
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1281
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1282
mainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1283
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1284
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1285
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1286
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1287
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1288
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  1289
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1290
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1291
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#mainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1292
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 mainMenu)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1293
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1294
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1295
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1296
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1297
    ^
7416
6c684d163ac8 #conditionalRight
Claus Gittinger <cg@exept.de>
parents: 7116
diff changeset
  1298
     #(Menu
15753
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
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1301
	    label: 'File'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1302
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1303
	    submenu:
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1304
	   (Menu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1305
	      (
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1306
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1307
		  label: 'Start Timeslicing'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1308
		  itemValue: startTimeslicing
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1309
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1310
		  isVisible: isNotTimeslicing
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1311
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1312
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1313
		  label: 'Stop Timeslicing'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1314
		  itemValue: stopTimeslicing
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1315
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1316
		  isVisible: isTimeslicing
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1317
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1318
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1319
		  label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1320
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1321
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1322
		  label: 'Exit'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1323
		  itemValue: closeRequest
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1324
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1325
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1326
	       )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1327
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1328
	      nil
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
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1331
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1332
	    label: 'Process'
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: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1335
	    submenuChannel: processMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1336
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1337
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1338
	    label: 'Application'
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
	    submenuChannel: applicationMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1341
	    keepLinkedMenu: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1342
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1343
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1344
	    label: 'Debug'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1345
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1346
	    submenuChannel: debugMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1347
	    keepLinkedMenu: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1348
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1349
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1350
	    label: 'Instrumentation'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1351
	    translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1352
	    submenuChannel: instrumentationMenu
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1353
	    keepLinkedMenu: true
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: 'View'
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
	    submenuChannel: viewDetailsMenuSpec
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1359
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1360
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1361
	    label: 'MENU_Help'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1362
	    startGroup: conditionalRight
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
	    submenu:
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1365
	   (Menu
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: 'Documentation'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1369
		  itemValue: openDocumentation
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1370
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1371
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1372
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1373
		  label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1374
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1375
	       (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1376
		  label: 'About this Application...'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1377
		  itemValue: openAboutThisApplication
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1378
		  translateLabel: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1379
		)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1380
	       )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1381
	      nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1382
	      nil
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
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1385
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1386
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1387
	nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1388
      )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1389
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1390
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1391
processMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1392
    "This resource specification was automatically generated
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1393
     by the MenuEditor of ST/X."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1394
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1395
    "Do not manually edit this!! If it is corrupted,
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1396
     the MenuEditor may not be able to read the specification."
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1397
12740
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  1398
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1399
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1400
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#processMenu
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1401
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 processMenu)) startUp
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1402
    "
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1403
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1404
    <resource: #menu>
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1405
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1406
    ^
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1407
     #(Menu
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1408
        (
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1409
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1410
            enabled: hasSelectionWithStoppedProcessHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1411
            label: 'Resume'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1412
            itemValue: resumeProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1413
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1414
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1415
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1416
            label: 'Suspend'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1417
            itemValue: suspendProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1418
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1419
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1420
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1421
            label: 'Stop'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1422
            itemValue: stopProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1423
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1424
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1425
            label: '-'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1426
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1427
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1428
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1429
            label: 'Abort'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1430
            itemValue: abortProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1431
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1432
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1433
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1434
            label: 'Terminate'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1435
            itemValue: terminateProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1436
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1437
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1438
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1439
            label: 'Hard Terminate'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1440
            itemValue: hardTerminateProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1441
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1442
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1443
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1444
            label: 'Terminate Group'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1445
            itemValue: terminateProcessGroup
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1446
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1447
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1448
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1449
            label: 'Terminate All Like This'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1450
            itemValue: terminateAllLikeThis
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1451
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1452
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1453
            enabled: selectionRestartable
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1454
            label: 'Restart'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1455
            itemValue: restartProcess
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1456
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1457
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1458
            label: '-'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1459
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1460
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1461
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1462
            label: 'Raise Prio'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1463
            itemValue: raisePrio
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1464
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1465
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1466
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1467
            label: 'Lower Prio'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1468
            itemValue: lowerPrio
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1469
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1470
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1471
            enabled: hasSelectionHolder
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1472
            label: 'Set Prio Range...'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1473
            itemValue: setPrioRange
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1474
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1475
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1476
            label: '-'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1477
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1478
         (MenuItem
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1479
            label: 'Find by View'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1480
            itemValue: findProcessByView
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1481
          )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1482
         )
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1483
        nil
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  1484
        nil
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1485
      )
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1486
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1487
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1488
tableMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1489
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1490
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1491
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1492
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1493
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1494
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1495
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1496
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#tableMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1497
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 tableMenu)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1498
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1499
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1500
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1501
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  1502
    ^
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1503
     #(#Menu
17271
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1504
        #(
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1505
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1506
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1507
            #label: 'Debug'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1508
            #itemValue: #debugProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1509
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1510
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1511
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1512
            #label: 'Inspect'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1513
            #itemValue: #inspectSelection
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1514
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1515
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1516
            #enabled: #hasSelectionWithApplicationProcessHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1517
            #label: 'Inspect Application'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1518
            #itemValue: #inspectApplication
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1519
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1520
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1521
            #enabled: #hasSelectionWithApplicationProcessHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1522
            #label: 'Browse Application'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1523
            #itemValue: #browseApplication
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1524
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1525
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1526
            #label: '-'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1527
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1528
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1529
            #enabled: #hasSelectionWithStoppedProcessHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1530
            #label: 'Resume'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1531
            #itemValue: #resumeProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1532
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1533
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1534
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1535
            #label: 'Suspend'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1536
            #itemValue: #suspendProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1537
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1538
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1539
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1540
            #label: 'Stop'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1541
            #itemValue: #stopProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1542
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1543
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1544
            #label: '-'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1545
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1546
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1547
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1548
            #label: 'Abort'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1549
            #itemValue: #abortProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1550
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1551
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1552
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1553
            #label: 'Terminate'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1554
            #itemValue: #terminateProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1555
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1556
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1557
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1558
            #label: 'Hard Terminate'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1559
            #itemValue: #hardTerminateProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1560
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1561
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1562
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1563
            #label: 'Terminate Group'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1564
            #itemValue: #terminateProcessGroup
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1565
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1566
         (MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1567
            enabled: hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1568
            label: 'Terminate All Like This'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1569
            itemValue: terminateAllLikeThis
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1570
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1571
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1572
            #enabled: #selectionRestartable
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1573
            #label: 'Restart'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1574
            #itemValue: #restartProcess
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1575
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1576
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1577
            #label: '-'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1578
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1579
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1580
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1581
            #label: 'Raise Prio'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1582
            #itemValue: #raisePrio
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1583
          )
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1584
         #(#MenuItem
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1585
            #enabled: #hasSelectionHolder
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1586
            #label: 'Lower Prio'
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1587
            #itemValue: #lowerPrio
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1588
          )
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
        nil
34d72ea12f93 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17270
diff changeset
  1591
        nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1592
      )
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  1593
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  1594
    "Modified: / 07-06-2007 / 12:49:47 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1595
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1596
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1597
toolBarMainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1598
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1599
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1600
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1601
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1602
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1603
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  1604
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1605
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1606
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#toolBarMainMenu
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1607
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 toolBarMainMenu)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1608
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1609
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1610
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1611
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1612
    ^
6290
e093380884ee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6240
diff changeset
  1613
     #(Menu
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1614
	(
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1615
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1616
	    activeHelpKey: Inspect
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1617
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1618
	    label: 'Inspect'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1619
	    itemValue: inspectSelection
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1620
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1621
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1622
	    labelImage: (ResourceRetriever ProcessMonitorV2 processInspect22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1623
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1624
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1625
	    activeHelpKey: Debug
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1626
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1627
	    label: 'Debug'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1628
	    itemValue: debugProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1629
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1630
	    isVisible: allowModificationsAndHasDebugger
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1631
	    labelImage: (ResourceRetriever ProcessMonitorV2 processDebug22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1632
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1633
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1634
	    activeHelpKey: RaiseWindow
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1635
	    enabled: hasSelectionWithApplicationProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1636
	    label: 'Raise Applications Window'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1637
	    itemValue: raiseApplicationWindow
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1638
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1639
	    labelImage: (ResourceRetriever ProcessMonitorV2 raiseWindow22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1640
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1641
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1642
	    label: 'Find Process by View'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1643
	    itemValue: findProcessByView
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
	    labelImage: (ResourceRetriever ToolbarIconLibrary pickWindowIcon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1646
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1647
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1648
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1649
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1650
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1651
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1652
	    activeHelpKey: Resume
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1653
	    enabled: hasSelectionWithStoppedProcessHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1654
	    label: 'Resume'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1655
	    itemValue: resumeProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1656
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1657
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1658
	    labelImage: (ResourceRetriever ProcessMonitorV2 processResume22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1659
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1660
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1661
	    activeHelpKey: Stop
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1662
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1663
	    label: 'Stop'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1664
	    itemValue: stopProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1665
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1666
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1667
	    labelImage: (ResourceRetriever ProcessMonitorV2 processStop22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1668
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1669
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1670
	    activeHelpKey: Abort
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1671
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1672
	    label: 'Abort'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1673
	    itemValue: abortProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1674
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1675
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1676
	    labelImage: (ResourceRetriever ProcessMonitorV2 processAbort22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1677
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1678
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1679
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1680
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1681
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1682
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1683
	    activeHelpKey: Terminate
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1684
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1685
	    label: 'Terminate'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1686
	    itemValue: terminateProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1687
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1688
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1689
	    labelImage: (ResourceRetriever ProcessMonitorV2 processTerminate22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1690
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1691
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1692
	    activeHelpKey: #'Terminate Group'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1693
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1694
	    label: 'Terminate Group'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1695
	    itemValue: terminateProcessGroup
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1696
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1697
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1698
	    labelImage: (ResourceRetriever ProcessMonitorV2 processTerminateGroup22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1699
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1700
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1701
	    activeHelpKey: Restart
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1702
	    enabled: selectionRestartable
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1703
	    label: 'Restart'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1704
	    itemValue: restartProcess
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1705
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1706
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1707
	    labelImage: (ResourceRetriever ProcessMonitorV2 processRestart22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1708
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1709
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1710
	    label: '-'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1711
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1712
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1713
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1714
	    activeHelpKey: #'Lower Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1715
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1716
	    label: 'Lower Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1717
	    itemValue: lowerPrio
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1718
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1719
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1720
	    labelImage: (ResourceRetriever ProcessMonitorV2 processLowerPrio22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1721
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1722
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1723
	    activeHelpKey: #'Raise Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1724
	    enabled: hasSelectionHolder
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1725
	    label: 'Raise Prio'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1726
	    itemValue: raisePrio
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1727
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1728
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1729
	    labelImage: (ResourceRetriever ProcessMonitorV2 processRaisePrio22x22Icon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1730
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1731
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1732
	    label: ''
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1733
	    isVisible: allowModifications
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1734
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1735
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1736
	    activeHelpKey: #'Update Process List'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1737
	    label: 'Update'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1738
	    itemValue: updateList
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1739
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1740
	    startGroup: right
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1741
	    labelImage: (ResourceRetriever ToolbarIconLibrary reloadIcon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1742
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1743
	 (MenuItem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1744
	    activeHelpKey: Details
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1745
	    label: 'View Details'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1746
	    isButton: true
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1747
	    startGroup: right
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1748
	    submenuChannel: viewDetailsMenuSpec
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1749
	    labelImage: (ResourceRetriever ToolbarIconLibrary viewDetailsIcon)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1750
	  )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1751
	 )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1752
	nil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1753
	nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1754
      )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1755
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1756
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1757
viewDetailsMenuSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1758
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1759
     by the MenuEditor of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1760
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1761
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1762
     the MenuEditor may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1763
11999
a62eb60fd1aa changed: #viewDetailsMenuSpec
Claus Gittinger <cg@exept.de>
parents: 11997
diff changeset
  1764
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1765
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1766
     MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#viewDetailsMenuSpec
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1767
     (Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 viewDetailsMenuSpec)) startUp
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1768
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1769
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1770
    <resource: #menu>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1771
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  1772
    ^
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1773
     #(Menu
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1774
        (
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1775
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1776
            label: 'Id'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1777
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1778
            indication: showProcessId
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1779
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1780
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1781
            label: 'Group'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1782
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1783
            indication: showGroup
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1784
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1785
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1786
            label: 'Instrumentation'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1787
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1788
            indication: showInstrumentation
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1789
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1790
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1791
            label: 'State'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1792
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1793
            indication: showState
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1794
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1795
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1796
            label: 'Prio'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1797
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1798
            indication: showPrio
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1799
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1800
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1801
            label: 'Used Stack'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1802
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1803
            indication: showUsedStack
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1804
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1805
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1806
            label: 'Total Stack'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1807
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1808
            indication: showTotalStack
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1809
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1810
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1811
            label: 'Current-Segment'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1812
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1813
            indication: showCurrentSegment
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1814
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1815
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1816
            label: 'Switch'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1817
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1818
            indication: showSwitch
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1819
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1820
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1821
            label: 'Where'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1822
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1823
            indication: showWhere
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1824
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1825
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1826
            label: 'Application'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1827
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1828
            indication: showApplication
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1829
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1830
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1831
            label: 'Window Title'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1832
            hideMenuOnActivated: false
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1833
            indication: showWindowTitle
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1834
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1835
         (MenuItem
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1836
            label: 'Start Time'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1837
            hideMenuOnActivated: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1838
            indication: showStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1839
          )
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1840
         (MenuItem
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1841
            label: '-'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1842
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1843
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1844
            label: 'Show Dead Processes'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1845
            indication: showDeadHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1846
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1847
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1848
            label: '-'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1849
          )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1850
         (MenuItem
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1851
            label: 'Update'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1852
            itemValue: updateView
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
         )
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1855
        nil
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  1856
        nil
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1857
      )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1858
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1859
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1860
!ProcessMonitorV2 class methodsFor:'tableColumns specs'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1861
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1862
tableColumns
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1863
    "This resource specification was automatically generated
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1864
     by the DataSetBuilder of ST/X."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1865
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1866
    "Do not manually edit this!! If it is corrupted,
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1867
     the DataSetBuilder may not be able to read the specification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1868
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1869
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1870
     DataSetBuilder new openOnClass:ProcessMonitorV2 andSelector:#tableColumns
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1871
    "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1872
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1873
    <resource: #tableColumns>
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1874
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1875
    ^#(
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1876
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1877
         label: 'Id'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1878
         id: id
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1879
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1880
         activeHelpKeyForLabel: 'processId'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1881
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1882
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1883
         labelActionArgument: 'idVal'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1884
         width: 45
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1885
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1886
         type: number
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1887
         model: processId
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1888
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1889
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1890
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1891
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1892
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1893
         label: 'Group'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1894
         id: group
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1895
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1896
         activeHelpKeyForLabel: 'processGroup'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1897
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1898
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1899
         labelActionArgument: 'groupVal'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1900
         width: 45
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1901
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1902
         model: processGroup
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1903
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1904
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1905
         showColSeparator: false
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1906
       )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1907
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1908
         label: 'Name'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1909
         id: name
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1910
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1911
         activeHelpKeyForLabel: 'processName'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1912
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1913
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1914
         labelActionArgument: 'processName'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1915
         width: 200
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1916
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1917
         model: processName
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1918
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1919
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1920
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1921
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1922
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1923
         label: 'Instr.'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1924
         id: instrumentation
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1925
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1926
         activeHelpKeyForLabel: 'processInstrumentation'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1927
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1928
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1929
         labelActionArgument: 'processInstrumentation'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1930
         width: 50
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1931
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1932
         model: processInstrumentation
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1933
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1934
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1935
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1936
         showColSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1937
       )
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1938
      (DataSetColumnSpec
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1939
         label: ''
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1940
         id: active
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1941
         activeHelpKeyForLabel: 'processWasActive'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1942
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1943
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1944
         labelActionArgument: 'processActive'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1945
         width: 10
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1946
         height: 5
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1947
         model: processActive
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1948
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1949
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1950
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1951
         showColSeparator: false
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  1952
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1953
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1954
         label: 'State'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1955
         id: state
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1956
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1957
         activeHelpKeyForLabel: 'processState'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1958
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1959
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1960
         labelActionArgument: 'processState'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1961
         width: 100
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1962
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1963
         model: processState
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1964
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1965
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1966
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1967
         showColSeparator: false
9526
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  1968
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1969
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1970
         label: 'Prio'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1971
         id: prio
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1972
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1973
         activeHelpKeyForLabel: 'processPriority'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1974
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1975
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1976
         labelActionArgument: 'prioVal'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1977
         width: 40
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1978
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1979
         model: processPrio
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1980
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1981
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1982
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1983
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  1984
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  1985
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1986
         label: 'Used Stack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1987
         id: usedStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1988
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1989
         activeHelpKeyForLabel: 'processUsedStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1990
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1991
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1992
         labelActionArgument: 'processUsedStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1993
         columnAlignment: right
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1994
         width: 75
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1995
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1996
         type: number
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1997
         model: processUsedStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1998
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  1999
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2000
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2001
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2002
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2003
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2004
         label: 'Total Stack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2005
         id: totalStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2006
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2007
         activeHelpKeyForLabel: 'processTotalStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2008
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2009
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2010
         labelActionArgument: 'processTotalStack'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2011
         columnAlignment: right
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2012
         width: 75
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2013
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2014
         model: processTotalStack
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2015
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2016
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2017
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2018
         showColSeparator: false
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2019
       )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2020
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2021
         label: 'Current-Segment'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2022
         id: currentSegment
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2023
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2024
         activeHelpKeyForLabel: 'processCurrentSegment'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2025
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2026
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2027
         labelActionArgument: 'processCurrentSegment'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2028
         width: 110
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2029
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2030
         model: processCurrentSegment
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2031
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2032
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2033
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2034
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2035
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2036
         label: 'Switch'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2037
         id: switch
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2038
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2039
         activeHelpKeyForLabel: 'processSwitch'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2040
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2041
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2042
         labelActionArgument: 'processSwitch'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2043
         columnAlignment: right
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2044
         width: 55
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2045
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2046
         type: number
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2047
         model: processSwitch
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2048
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2049
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2050
         showColSeparator: false
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2051
       )
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2052
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2053
         label: 'Where'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2054
         id: where
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2055
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2056
         activeHelpKeyForLabel: 'processWhere'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2057
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2058
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2059
         labelActionArgument: 'processWhere'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2060
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2061
         model: processWhere
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2062
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2063
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2064
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2065
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2066
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2067
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2068
         label: 'Application'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2069
         id: application
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2070
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2071
         activeHelpKeyForLabel: 'processApplication'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2072
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2073
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2074
         labelActionArgument: 'processApplication'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2075
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2076
         model: processApplication
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2077
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2078
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2079
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2080
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2081
       )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2082
      (DataSetColumnSpec
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2083
         label: 'Window Title'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2084
         id: windowTitle
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2085
         labelAlignment: left
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2086
         activeHelpKeyForLabel: 'processWindowTitle'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2087
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2088
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2089
         labelActionArgument: 'processWindowTitle'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2090
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2091
         model: processWindowTitle
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2092
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2093
         canSelect: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2094
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2095
         showColSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2096
       )
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2097
      (DataSetColumnSpec
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2098
         label: 'Start Time'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2099
         id: startTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2100
         activeHelpKeyForLabel: 'processStartTime'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2101
         labelButtonType: Button
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2102
         labelActionSelector: sortProcessListBy:
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2103
         labelActionArgument: 'processStartTime'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2104
         height: heightOfFirstRow
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2105
         type: timestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2106
         model: processStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2107
         formatString: '%(day)-%(shortMonthName) %h:%m:%s'
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2108
         menuFromApplication: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2109
         showRowSeparator: false
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2110
         showColSeparator: false
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2111
       )
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2112
      )
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2113
    
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2114
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2115
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2116
!ProcessMonitorV2 methodsFor:'accessing'!
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2117
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2118
visibleBlock
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2119
    ^ visibleBlock
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2120
!
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2121
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2122
visibleBlock:aProcessVisibleFilterBlock
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2123
    visibleBlock := aProcessVisibleFilterBlock.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2124
! !
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2125
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2126
!ProcessMonitorV2 methodsFor:'actions'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2127
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2128
changeSelectionTo:aSelection
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  2129
    | newSelection |
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2130
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2131
    aSelection notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2132
	newSelection := OrderedCollection new.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2133
	aSelection do:[:processItem |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2134
	    | index |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2135
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2136
	    index := processList findFirst:[:anItem | (anItem processInstance == processItem processInstance)].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2137
	    index ~~ 0 ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2138
		newSelection add:(processList at:index).
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2139
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2140
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2141
	self selectedProcesses value:newSelection
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2142
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2143
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2144
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  2145
changeSelectionToProcesses:aProcessList
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2146
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2147
    aProcessList notNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2148
	| newSelection |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2149
	newSelection := OrderedCollection new.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2150
	aProcessList do:[:aProcess |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2151
	    | index |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2152
	    index := processList findFirst:[:anItem | (anItem processInstance == aProcess)].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2153
	    index ~~ 0 ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2154
		newSelection add:(processList at:index).
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2155
	    ].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2156
	].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2157
	self selectedProcesses value:newSelection
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2158
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2159
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2160
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2161
decreaseupdateContentsDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2162
    updateDelay := (self scaledUpdateContentsDelayTime - 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2163
    self updateContentsDelayTimeHolder value:updateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2164
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2165
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2166
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2167
decreaseupdateListDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2168
    listUpdateDelay := (self scaledUpdateListDelayTime - 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2169
    self updateListDelayTimeHolder value:listUpdateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2170
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2171
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2172
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2173
doubleClickedAt:anItemIndex
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2174
    "open a debugger on the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2175
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2176
    self debugProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2177
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2178
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2179
evaluateEnableInDecreaseButtons
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2180
    | contentsDelaySmallerThanListDelay |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2181
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2182
    updateDelay := self scaledUpdateContentsDelayTime.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2183
    listUpdateDelay := self scaledUpdateListDelayTime.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2184
    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2185
    contentsDelaySmallerThanListDelay := (updateDelay < listUpdateDelay).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2186
    self enableDecreaseContentsDelayTime value:(updateDelay > 0.5).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2187
    self enableDecreaseListDelayTime value:contentsDelaySmallerThanListDelay.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2188
    self enableIncreaseContentsDelayTime value:contentsDelaySmallerThanListDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2189
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2190
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2191
getProcessList
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2192
    "select processes to display.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2193
     Subclasses may redefine this"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2194
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2195
    |coll|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2196
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2197
    self showDeadHolder value ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2198
        coll := Process allSubInstances asOrderedCollection.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2199
    ] ifFalse:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2200
        coll := ProcessorScheduler knownProcesses asOrderedCollection.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2201
        coll add:Processor scheduler.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2202
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2203
    ^ coll
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2204
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2205
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2206
increaseupdateContentsDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2207
    updateDelay := (self scaledUpdateContentsDelayTime + 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2208
    self updateContentsDelayTimeHolder value:updateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2209
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2210
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2211
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2212
increaseupdateListDelayTime
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2213
    listUpdateDelay := (self scaledUpdateListDelayTime + 0.1) asFixedPoint:1.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2214
    self updateListDelayTimeHolder value:listUpdateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2215
    self evaluateEnableInDecreaseButtons.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2216
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2217
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2218
selectedProcessesDo:aBlock
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  2219
    | sel proc|
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2220
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2221
    sel := self selectedProcesses value.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2222
    sel isNil ifTrue:[^ self].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2223
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2224
    sel do:[:processItem |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2225
	proc := processItem processInstance.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2226
	proc notNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2227
	    aBlock value:proc.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2228
	].
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2229
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2230
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2231
    "Modified: / 07-06-2007 / 12:38:25 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2232
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2233
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2234
selectedProcessesSend:aSelector
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2235
    "send a message to all selected processes"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2236
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2237
    self selectedProcessesDo:[:p |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2238
	p perform:aSelector
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2239
    ].
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2240
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2241
    self updateList.
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2242
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2243
    "Modified: / 07-06-2007 / 12:38:29 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2244
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2245
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2246
!ProcessMonitorV2 methodsFor:'aspects'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2247
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2248
currentSortOrder
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2249
    "return/create the 'currentSortOrder' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2250
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2251
    currentSortOrder isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2252
	currentSortOrder := Dictionary new asValue.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2253
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2254
    ^ currentSortOrder
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2255
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2256
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2257
interruptCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2258
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2259
    interruptCountHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2260
        interruptCountHolder := '-' asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2261
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2262
    ^ interruptCountHolder.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2263
!
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2264
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2265
isNotTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2266
    ^ self isTimeslicing not
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2267
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2268
    "Created: / 03-11-2011 / 21:26:10 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2269
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2270
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2271
isTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2272
    ^ Processor isTimeSlicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2273
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2274
    "Created: / 03-11-2011 / 21:25:53 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2275
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2276
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2277
processList
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2278
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2279
    processList isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2280
	processList := List new.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2281
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2282
    ^ processList.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2283
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2284
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2285
scaledUpdateContentsDelayTime
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2286
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2287
    ^ self updateContentsDelayTimeHolder value asFloat asFixedPoint:1.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2288
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2289
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2290
scaledUpdateListDelayTime
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2291
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2292
    ^ self updateListDelayTimeHolder value asFloat asFixedPoint:1.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2293
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2294
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2295
selectedProcesses
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2296
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2297
    selectedProcesses isNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2298
        selectedProcesses := ValueHolder new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2299
        selectedProcesses onChangeSend:#selectionChanged to:self.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2300
        "/ selectedProcesses addDependent:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2301
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2302
    ^ selectedProcesses.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2303
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2304
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2305
showDeadHolder
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2306
    "return/create the 'showDead' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2307
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2308
    showDeadHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2309
        showDeadHolder := false asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2310
        showDeadHolder onChangeSend:#updateList to:self.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2311
        "/ showDead addDependent:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2312
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2313
    ^ showDeadHolder
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2314
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2315
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2316
sortBlock
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2317
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2318
    sortBlock isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2319
	| curSortOrder defaultSortInstance|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2320
	defaultSortInstance := #idVal.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2321
	sortBlock := [:a :b |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2322
	    ((a perform:defaultSortInstance) < (b perform:defaultSortInstance))
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2323
	].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2324
	curSortOrder := self currentSortOrder value.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2325
	curSortOrder at:#column put:defaultSortInstance.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2326
	curSortOrder at:#reverse put:true.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2327
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2328
    ^ sortBlock
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2329
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2330
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2331
tableColumns
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2332
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2333
    tableColumns isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2334
	tableColumns := self class tableColumns asValue.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2335
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2336
    ^ tableColumns.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2337
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2338
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2339
timerActionCountHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2340
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2341
    timerActionCountHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2342
        timerActionCountHolder := '-' asValue.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2343
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2344
    ^ timerActionCountHolder.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2345
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2346
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2347
updateContentsDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2348
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2349
    updateContentsDelayTimeHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2350
        updateContentsDelayTimeHolder := updateDelay asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2351
        updateContentsDelayTimeHolder onChangeSend:#evaluateEnableInDecreaseButtons to:self.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2352
    ].
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2353
    ^ updateContentsDelayTimeHolder.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2354
!
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2355
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2356
updateListDelayTimeHolder
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2357
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2358
    updateListDelayTimeHolder isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2359
        updateListDelayTimeHolder := listUpdateDelay asValue.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2360
        updateListDelayTimeHolder onChangeSend:#evaluateEnableInDecreaseButtons to:self.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2361
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2362
    ^ updateListDelayTimeHolder.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2363
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2364
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2365
!ProcessMonitorV2 methodsFor:'aspects-column'!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2366
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2367
showApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2368
    "return/create the 'showApplication' value holder (automatically generated)"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2369
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2370
    showApplication isNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2371
	showApplication := false asValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2372
	showApplication onChangeSend:#viewedColumnsChanged to:self
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2373
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2374
    ^ showApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2375
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2376
    "Created: / 17-08-2011 / 10:46:56 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2377
!
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2378
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2379
showCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2380
    "return/create the 'showCurrentSegment' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2381
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2382
    showCurrentSegment isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2383
	showCurrentSegment := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2384
	showCurrentSegment onChangeSend:#viewedColumnsChanged to:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2385
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2386
    ^ showCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2387
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2388
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2389
showGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2390
    "return/create the 'showGroup' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2391
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2392
    showGroup isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2393
	showGroup := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2394
	showGroup onChangeSend:#viewedColumnsChanged to:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2395
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2396
    ^ showGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2397
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2398
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2399
showInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2400
    "return/create the 'showInstrumentation' value holder (automatically generated)"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2401
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2402
    showInstrumentation isNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2403
	showInstrumentation := true asValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2404
	showInstrumentation onChangeSend:#viewedColumnsChanged to:self
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2405
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2406
    ^ showInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2407
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2408
    "Created: / 17-08-2011 / 10:46:27 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2409
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2410
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2411
showPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2412
    "return/create the 'showPrio' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2413
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2414
    showPrio isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2415
	showPrio := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2416
	showPrio onChangeSend:#viewedColumnsChanged to:self.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2417
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2418
    ^ showPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2419
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2420
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2421
showProcessId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2422
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2423
    showProcessId isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2424
	showProcessId := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2425
	showProcessId onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2426
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2427
    ^ showProcessId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2428
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2429
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2430
showStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2431
    "return/create the 'showStartTime' value holder (automatically generated)"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2432
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2433
    showStartTime isNil ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2434
        showStartTime := false asValue.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2435
        showStartTime onChangeSend:#viewedColumnsChanged to:self
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2436
    ].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2437
    ^ showStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2438
!
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2439
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2440
showState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2441
    "return/create the 'showState' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2442
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2443
    showState isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2444
	showState := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2445
	showState onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2446
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2447
    ^ showState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2448
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2449
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2450
showSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2451
    "return/create the 'showSwitch' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2452
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2453
    showSwitch isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2454
	showSwitch := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2455
	showSwitch onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2456
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2457
    ^ showSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2458
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2459
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2460
showTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2461
    "return/create the 'showTotalStack' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2462
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2463
    showTotalStack isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2464
	showTotalStack := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2465
	showTotalStack onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2466
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2467
    ^ showTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2468
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2469
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2470
showUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2471
    "return/create the 'showUsedStack' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2472
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2473
    showUsedStack isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2474
	showUsedStack := showDetail asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2475
	showUsedStack onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2476
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2477
    ^ showUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2478
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2479
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2480
showWhere
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2481
    "return/create the 'showWhere' value holder (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2482
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2483
    showWhere isNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2484
	showWhere := true asValue.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2485
	showWhere onChangeSend:#viewedColumnsChanged to:self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2486
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2487
    ^ showWhere
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2488
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2489
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2490
showWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2491
    "return/create the 'showWindowTitle' value holder (automatically generated)"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2492
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2493
    showWindowTitle isNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2494
	showWindowTitle := false asValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2495
	showWindowTitle onChangeSend:#viewedColumnsChanged to:self
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2496
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2497
    ^ showWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2498
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2499
    "Created: / 17-08-2011 / 10:46:47 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2500
! !
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2501
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2502
!ProcessMonitorV2 methodsFor:'aspects-menu enabling'!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2503
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2504
allowModifications
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2505
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2506
    allowModifications isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2507
	allowModifications := true asValue
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2508
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2509
    ^ allowModifications
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2510
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2511
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2512
allowModificationsAndHasDebugger
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2513
    ^ BlockValue
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2514
	forLogical:(self allowModifications)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2515
	and:[ Debugger notNil ]
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2516
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2517
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2518
enableDecreaseContentsDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2519
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2520
    enableDecreaseContentsDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2521
	enableDecreaseContentsDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2522
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2523
    ^ enableDecreaseContentsDelayTime.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2524
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2525
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2526
enableDecreaseListDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2527
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2528
    enableDecreaseListDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2529
	enableDecreaseListDelayTime := true asValue.
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
    ^ enableDecreaseListDelayTime.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2532
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2533
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2534
enableIncreaseContentsDelayTime
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
    enableIncreaseContentsDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2537
	enableIncreaseContentsDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2538
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2539
    ^ enableIncreaseContentsDelayTime.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2540
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2541
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2542
enableIncreaseListDelayTime
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2543
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2544
    enableIncreaseListDelayTime isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2545
	enableIncreaseListDelayTime := true asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2546
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2547
    ^ enableIncreaseListDelayTime.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2548
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2549
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2550
hasSelection
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2551
    ^ self selectedProcesses value notEmptyOrNil
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
    "Modified: / 05-06-2007 / 17:43:58 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2554
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2555
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2556
hasSelectionHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2557
    ^ hasSelectionHolder
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
    "Created: / 05-06-2007 / 17:41:54 / cg"
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2562
hasSelectionWithApplicationProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2563
    ^ self hasSelectionWithProcessForWhich:[:p |self isApplicationProcess:p ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2564
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2565
    "Created: / 05-06-2007 / 17:50:37 / cg"
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2568
hasSelectionWithApplicationProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2569
    ^ hasSelectionWithApplicationProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2570
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2571
    "Created: / 05-06-2007 / 17:50:31 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2572
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2573
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2574
hasSelectionWithDisabledInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2575
    InstrumentationContext isNil ifTrue:[^ false].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2576
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2577
    ^ self hasSelectionWithProcessForWhich:[:p | (InstrumentationContext forProcess:p) isNil ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2579
    "Created: / 17-08-2011 / 11:42:19 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2580
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2581
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2582
hasSelectionWithDisabledInstrumentationHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2583
    ^ hasSelectionWithDisabledInstrumentationHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2584
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2585
    "Created: / 17-08-2011 / 11:49:35 / cg"
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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2588
hasSelectionWithEnabledInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2589
    InstrumentationContext isNil ifTrue:[^ false].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2590
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2591
    ^ self hasSelectionWithProcessForWhich:[:p | (InstrumentationContext forProcess:p) notNil ]
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: / 17-08-2011 / 11:42:08 / 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
hasSelectionWithEnabledInstrumentationHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2597
    ^ hasSelectionWithEnabledInstrumentationHolder
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: / 17-08-2011 / 11:49:39 / 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
hasSelectionWithGUIProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2603
    ^ self hasSelectionWithProcessForWhich:[:p |p isGUIProcess ]
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:52:10 / 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
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2608
hasSelectionWithGUIProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2609
    ^ hasSelectionWithGUIProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2610
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2611
    "Created: / 05-06-2007 / 17:52:01 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2612
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2613
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2614
hasSelectionWithProcessForWhich:aBlock
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2615
    ^ self hasSelection
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2616
      and:[ self selectedProcesses value contains:[:pItem |
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2617
		|process|
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
		process := pItem processInstance.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2620
		process notNil and:[ aBlock value:process ]]  ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2621
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2622
    "Created: / 05-06-2007 / 17:40:27 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2623
!
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
hasSelectionWithStoppedProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2626
    ^ self hasSelectionWithProcessForWhich:[:p |p isStopped ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2627
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2628
    "Modified: / 05-06-2007 / 17:40:42 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2629
!
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
hasSelectionWithStoppedProcessHolder
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2632
    ^ hasSelectionWithStoppedProcessHolder
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
    "Created: / 05-06-2007 / 17:42:41 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2635
!
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
selectionRestartable
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
    selectionRestartable isNil ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2640
	selectionRestartable := ValueHolder new.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2641
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2642
    ^ selectionRestartable
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2643
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2644
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2645
!ProcessMonitorV2 methodsFor:'change & update'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2646
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2647
selectionChanged
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2648
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2649
    |hasSelection allRestartable|
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2650
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2651
    hasSelection := self hasSelection.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2652
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2653
    hasSelectionHolder value:hasSelection.
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2654
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2655
    hasSelection ifFalse:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2656
	self selectionRestartable value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2657
	hasSelectionWithStoppedProcessHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2658
	hasSelectionWithApplicationProcessHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2659
	hasSelectionWithGUIProcessHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2660
	hasSelectionWithEnabledInstrumentationHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2661
	hasSelectionWithDisabledInstrumentationHolder value:false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2662
	^ self
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2663
    ].
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2664
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2665
    hasSelectionWithStoppedProcessHolder value:self hasSelectionWithStoppedProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2666
    hasSelectionWithApplicationProcessHolder value:self hasSelectionWithApplicationProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2667
    hasSelectionWithGUIProcessHolder value:self hasSelectionWithGUIProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2668
    hasSelectionWithEnabledInstrumentationHolder value:self hasSelectionWithEnabledInstrumentation.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2669
    hasSelectionWithDisabledInstrumentationHolder value:self hasSelectionWithDisabledInstrumentation.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2670
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2671
    allRestartable := true.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2672
    self selectedProcessesDo:[:p |
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2673
	p isRestartable ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2674
	    allRestartable := false
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2675
	].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2676
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2677
    self selectionRestartable value:allRestartable.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2678
    ^ self.
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2679
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2680
    "Modified: / 17-08-2011 / 11:41:32 / cg"
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
update:something with:aParameter from:changedObject
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2684
    "Invoked when an object that I depend upon sends a change notification."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2685
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2686
    "stub code automatically generated - please change as required"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2687
4565
7162b6a896e6 *** empty log message ***
penk
parents: 4561
diff changeset
  2688
    changedObject == builder window ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2689
        something == #visibility ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2690
            self updateList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2691
        ].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2692
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2693
    super update:something with:aParameter from:changedObject
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2694
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2695
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2696
viewedColumnsChanged
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2697
    "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
  2698
     Stuff this filtered tableColSpec into the value holder"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2699
    
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2700
    | columns buffer locCurrentSortOrder currentSortOrderColumn currentSortOrderReverse oldSelection sel|
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2701
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2702
    "/ remember the selected processes
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2703
    sel := self selectedProcesses value.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2704
    sel notNil ifTrue:[
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2705
        oldSelection := OrderedCollection new.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2706
        sel do:[:proItem|
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2707
            |process|
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2708
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2709
            (process := proItem processInstance) notNil ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2710
                oldSelection add:process
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2711
            ].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2712
        ].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2713
    ].
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2714
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2715
    "/ Transcript showCR:'oldSelection on catch in viewedColumnsChanged', (oldSelection isNil ifTrue:['nil'] ifFalse:[oldSelection first printString]).
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2716
    columns := OrderedCollection new.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2717
    self class tableColumns do:[:el|
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2718
        columns add:(DataSetColumnSpec decodeFromLiteralArray:el).
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2719
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2720
    buffer := columns copy.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2721
    locCurrentSortOrder := self currentSortOrder value.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2722
    currentSortOrderColumn := locCurrentSortOrder at:#column ifAbsent:nil.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2723
    currentSortOrderReverse := locCurrentSortOrder at:#reverse ifAbsent:nil.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2724
    buffer do:[:col |
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2725
        | id |
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2726
        id := col id.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2727
        id notNil ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2728
            (col labelActionArgument notNil and:[col labelActionArgument asSymbol == currentSortOrderColumn]) ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2729
                | label icon|
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2730
                label := col label.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2731
                icon := currentSortOrderReverse ifTrue:[self class detailsMenuIconDown] ifFalse:[self class detailsMenuIconUp].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2732
                col label:(LabelAndIcon label:label icon:icon).
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2733
            ].
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2734
            #(
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2735
                ( #id             #showProcessId)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2736
                ( #group          #showGroup)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2737
                ( #prio           #showPrio)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2738
                ( #currentSegment #showCurrentSegment)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2739
                ( #state          #showState)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2740
                ( #switch         #showSwitch)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2741
                ( #totalStack     #showTotalStack)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2742
                ( #usedStack      #showUsedStack)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2743
                ( #where          #showWhere)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2744
                ( #application    #showApplication)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2745
                ( #windowTitle    #showWindowTitle)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2746
                ( #startTime      #showStartTime)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2747
                ( #instrumentation #showInstrumentation)
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2748
            ) pairsDo:[:colName :holderAccessorSelector |
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2749
                (id == colName and:[(self perform:holderAccessorSelector) value not]) ifTrue:[
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2750
                    columns remove:col.
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2751
                ]
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2752
            ]
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2753
        ]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2754
    ].
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2755
    
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2756
    updateSema critical:[
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  2757
        self tableColumns value:columns.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  2758
"/        self updateTable:nil.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  2759
"/        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
  2760
        self changeSelectionToProcesses:oldSelection.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2761
    ].
7767
1547d2d2005c use decodeFromLiteralArray
Claus Gittinger <cg@exept.de>
parents: 7757
diff changeset
  2762
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2763
    "Modified: / 17-08-2011 / 11:11:21 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2764
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2765
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2766
!ProcessMonitorV2 methodsFor:'event handling'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2767
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2768
processEvent:anEvent
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2769
    "filter keyboard events.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2770
     Return true, if I have eaten the event"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2771
12119
b44fd76a6243 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12095
diff changeset
  2772
    <resource: #keyboard (#InspectIt )>
b44fd76a6243 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12095
diff changeset
  2773
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2774
    |focusView key rawKey|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2775
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2776
    anEvent isKeyPressEvent ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2777
	focusView := anEvent targetView.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2778
	key := anEvent key.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2779
	rawKey := anEvent rawKey.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2780
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2781
	(focusView == processList) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2782
	    key == #InspectIt ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2783
		self inspectSelection.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2784
		^ true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2785
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2786
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2787
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2788
    ^ false
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2789
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2790
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2791
!ProcessMonitorV2 methodsFor:'initialization & release'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2792
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2793
commonPostOpen
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2794
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2795
    super commonPostOpen.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2796
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2797
    builder window addDependent:self.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2798
    self viewedColumnsChanged.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2799
    self updateList.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2800
    self startUpdateProcess.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2801
    self selectionChanged.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2802
    self sortProcessListBy:#idVal.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2803
    self windowGroup addPreEventHook:self.
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2804
!
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  2805
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2806
initialize
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2807
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2808
    super initialize.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2809
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2810
    hasSelectionHolder := false asValue.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2811
    hasSelectionWithStoppedProcessHolder := false asValue.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2812
    hasSelectionWithApplicationProcessHolder := false asValue.
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2813
    hasSelectionWithGUIProcessHolder := false asValue.
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2814
    hasSelectionWithDisabledInstrumentationHolder := false asValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2815
    hasSelectionWithEnabledInstrumentationHolder := false asValue.
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2816
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2817
    showDetail := (Smalltalk at:#SystemDebugging ifAbsent:false).
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2818
    updateSema := Semaphore forMutualExclusion.
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2819
    updateDelay := 1.0 "0.5" asFixedPoint:1.     "/ seconds
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2820
    listUpdateDelay := 5.0 asFixedPoint:1.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2821
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2822
    "/ event mode is no longer used;
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2823
    "/ this event support may vanish
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2824
    Processor isPureEventDriven ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2825
        updateBlock := [self updateStatus:nil].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  2826
        listUpdateBlock := [self updateList].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2827
    ].
7809
ccba7bb6bfde +raise window function
Claus Gittinger <cg@exept.de>
parents: 7767
diff changeset
  2828
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  2829
    "Modified: / 17-08-2011 / 11:39:13 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2830
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2831
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2832
postBuildProcessTable:aWidget
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2833
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2834
    processTable       := aWidget scrolledView.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2835
    processTable wantsFocusWithPointerEnter.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2836
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2837
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2838
release
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2839
    updateBlock notNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2840
	Processor removeTimedBlock:updateBlock.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2841
	updateBlock := nil.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2842
    ].
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2843
    listUpdateBlock notNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2844
	Processor removeTimedBlock:listUpdateBlock.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2845
	listUpdateBlock := nil.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2846
    ].
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2847
    updateProcess notNil ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2848
	updateProcess terminate.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2849
	updateProcess := nil.
4570
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2850
    ].
3dc36c259ca1 show dead processes have to be enabled after fix remove dead processes
penk
parents: 4568
diff changeset
  2851
    super release
6234
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2852
!
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2853
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2854
restarted
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2855
    "restarted from snapshot"
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2856
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2857
    super restarted.
f4c3118ce840 Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents: 6042
diff changeset
  2858
    self startUpdateProcess.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2859
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2860
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2861
!ProcessMonitorV2 methodsFor:'menu accessing'!
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2862
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2863
tableMenu
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2864
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2865
    ^[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2866
	self tableMenuAccess
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2867
    ]
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2868
!
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2869
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2870
tableMenuAccess
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2871
    self allowModifications value ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2872
	tableMenu isNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2873
	    tableMenu := Menu decodeFromLiteralArray:(self class tableMenu).
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2874
	    tableMenu receiver:self.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2875
	    tableMenu findGuiResourcesIn:self.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2876
	].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2877
	^ tableMenu
4649
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2878
    ].
6239
b006c077d0a0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6234
diff changeset
  2879
    ^ nil
7767
1547d2d2005c use decodeFromLiteralArray
Claus Gittinger <cg@exept.de>
parents: 7757
diff changeset
  2880
1547d2d2005c use decodeFromLiteralArray
Claus Gittinger <cg@exept.de>
parents: 7757
diff changeset
  2881
    "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
  2882
! !
37f55d741468 allow task modifications in Process Monitor can be disabled now
penk
parents: 4576
diff changeset
  2883
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2884
!ProcessMonitorV2 methodsFor:'menu actions'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2885
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2886
abortProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2887
    "abort (raise AbortSignal in) the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2888
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2889
    self selectedProcessesDo:[:p |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  2890
	p abort
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2891
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2892
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2893
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2894
    "Modified: / 07-06-2007 / 12:38:42 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2895
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2896
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2897
findProcessByView
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2898
    "let user click on a window. then select the corresponding process"
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2899
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2900
    |v wg p item|
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2901
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2902
    v := Screen current viewFromUser.
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2903
    v notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2904
	(wg := v windowGroup) notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2905
	    (p := wg process) notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2906
		item := processList detect:[:i | i processId = p id] ifNone:nil.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2907
		item notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2908
		    self selectedProcesses value:(Array with:item)
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2909
		]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2910
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2911
	]
15297
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2912
    ].
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2913
!
59dbcd4b2bb2 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 14416
diff changeset
  2914
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2915
hardTerminateProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2916
    "hard terminate the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2917
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2918
    self selectedProcessesSend:#terminateNoSignal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2919
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2920
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2921
lowerPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2922
    "lower the selected processes priority"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2923
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2924
    self selectedProcessesDo:[:p |
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2925
       p priority:(p priority - 1)
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2926
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2927
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2928
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2929
    "Modified: / 07-06-2007 / 12:38:50 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2930
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2931
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2932
openDocumentation
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2933
    "This method was generated by the Browser.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2934
     It will be invoked when the menu-item 'help-documentation' is selected."
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2935
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2936
    "/ change below as required ...
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2937
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2938
    "/ 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
  2939
    HTMLDocumentView openFullOnDocumentationFile:'tools/misc/TOP.html#PROCESSMONITOR'.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2940
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2941
    "/ add application-specific help files under the 'doc/online/<language>/help/appName'
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2942
    "/ directory, and open a viewer with:
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2943
    "/ HTMLDocumentView openFullOnDocumentationFile:'help/<MyApplication>/TOP.html'.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2944
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2945
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2946
raisePrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2947
    "raise the selected processes priority"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2948
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2949
    self selectedProcessesDo:[:p |
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2950
       p priority:(p priority + 1)
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2951
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2952
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2953
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2954
    "Modified: / 07-06-2007 / 12:38:57 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2955
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2956
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2957
restartProcess
13775
5064cb57c8ac AbortSignal -> AbortOperationRequest
Stefan Vogel <sv@exept.de>
parents: 12742
diff changeset
  2958
    "restarts the selected process"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2959
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2960
    self selectedProcessesDo:[:p |
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2961
	p restart.
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2962
    ].
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2963
    self updateList.
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2964
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  2965
    "Modified: / 07-06-2007 / 12:39:04 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2966
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2967
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2968
resumeProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2969
    "resume the selected process (i.e. let it run) "
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2970
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2971
    self selectedProcessesSend:#resume
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2972
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  2973
12740
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2974
setPrioRange
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2975
    "set a prio-range the selected processes priority"
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2976
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2977
    |rangeString range|
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2978
12742
54ec064a98eb class: ProcessMonitorV2
Stefan Vogel <sv@exept.de>
parents: 12740
diff changeset
  2979
    [
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2980
	rangeString := Dialog
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2981
			    request:'Priority Range (min to: max)'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2982
			    initialAnswer:'7 to: 8'.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2983
	rangeString isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2984
	    ^ self  "aborted"
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2985
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2986
	range := Interval readFrom:rangeString onError:nil.
12742
54ec064a98eb class: ProcessMonitorV2
Stefan Vogel <sv@exept.de>
parents: 12740
diff changeset
  2987
    ] doWhile:[range isNil].
54ec064a98eb class: ProcessMonitorV2
Stefan Vogel <sv@exept.de>
parents: 12740
diff changeset
  2988
12740
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2989
    self selectedProcessesDo:[:p |
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2990
       p priorityRange:range
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2991
    ].
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2992
    self updateList.
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2993
!
18439573e87f class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 12513
diff changeset
  2994
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2995
startTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2996
    Processor isTimeSlicing ifFalse:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  2997
	Processor startTimeSlicing.
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2998
    ].
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  2999
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3000
    "Created: / 03-11-2011 / 21:26:27 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3001
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3002
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3003
stopProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3004
    "stop the selected process - not even interrupts will wake it up"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3005
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3006
    self selectedProcessesSend:#stop
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3007
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3008
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3009
stopTimeslicing
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3010
    Processor isTimeSlicing ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3011
	Processor stopTimeSlicing.
10849
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3012
    ].
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3013
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3014
    "Created: / 03-11-2011 / 21:26:40 / cg"
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3015
!
Claus Gittinger <cg@exept.de>
parents: 10578
diff changeset
  3016
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3017
suspendProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3018
    "suspend the selected process - interrupts will let it run again"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3019
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3020
    self selectedProcessesSend:#suspend
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3021
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3022
17270
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3023
terminateAllLikeThis
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3024
    "terminate the selected process with all of its subprocesses"
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3025
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3026
    |names|
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3027
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3028
    names := Set new.
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3029
    self selectedProcessesDo:[:p |
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3030
        names add:p name.
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3031
    ].
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3032
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3033
    ProcessorScheduler knownProcesses 
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3034
        select:[:p | (names includes:p name) ]
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3035
        thenDo:[:eachProcessToTerminate |
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3036
        |doTerminateThis|
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3037
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3038
        doTerminateThis :=
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3039
            ((eachProcessToTerminate isSystemProcess not)
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3040
            or:[ Dialog confirm:(resources 
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3041
                                    string:'Terminate the system process: %1 (Pid=%2)?'
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3042
                                    with:eachProcessToTerminate name
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3043
                                    with:eachProcessToTerminate id) ]).
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3044
                            
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3045
        doTerminateThis ifTrue:[
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3046
            eachProcessToTerminate terminate
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3047
        ].    
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3048
    ].
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3049
    
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3050
    self updateList.
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3051
!
3ffba83fa768 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17063
diff changeset
  3052
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3053
terminateProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3054
    "terminate the selected process"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3055
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3056
    self selectedProcessesSend:#terminate.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3057
    self updateList.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3058
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3059
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3060
terminateProcessGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3061
    "terminate the selected process with all of its subprocesses"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3062
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3063
    self selectedProcessesSend:#terminateGroup.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3064
    self updateList.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3065
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3066
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3067
!ProcessMonitorV2 methodsFor:'menu actions-application'!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3068
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3069
closeApplication
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3070
    "close the process(es) topView(s)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3071
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3072
    self selectedApplicationTopViewsDo:[:topView | topView terminate]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3073
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3074
    "Created: / 07-06-2007 / 12:40:20 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3075
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3076
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3077
lowerApplicationWindow
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3078
    "lower the selected process(es) topView(s)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3079
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3080
    self selectedApplicationTopViewsDo:[:topView | topView lower]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3081
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3082
    "Created: / 07-06-2007 / 12:43:46 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3083
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3084
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3085
raiseApplicationWindow
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3086
    "raise the selected process(es) topView(s)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3087
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3088
    self selectedApplicationTopViewsDo:[:topView |
17063
2cc4c00fa570 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17062
diff changeset
  3089
        |wg v|
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3090
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3091
        topView raiseDeiconified.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3092
        wg := topView windowGroup.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3093
        [wg isInModalLoop] whileTrue:[
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3094
            wg := wg modalGroup.
17063
2cc4c00fa570 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17062
diff changeset
  3095
            (v := wg mainView) notNil ifTrue:[v raiseDeiconified].
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3096
        ].
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3097
    ]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3098
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3099
    "Created: / 05-06-2007 / 18:37:30 / cg"
17063
2cc4c00fa570 #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17062
diff changeset
  3100
    "Modified: / 15-11-2016 / 00:22:22 / cg"
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3101
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3102
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3103
selectedApplicationTopViewsDo:aBlock
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3104
    self selectedProcessesDo:[:eachProcess |
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3105
        |wg|
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3106
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3107
        wg := self windowGroupOfProcess:eachProcess.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3108
        wg notNil ifTrue:[
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3109
            |topView|
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3110
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3111
            (topView := wg mainView) notNil ifTrue:[
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3112
                aBlock value:topView.
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3113
            ]
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3114
        ]
7810
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
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3117
    "Created: / 07-06-2007 / 12:42:09 / cg"
17062
d57e024b384f #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16609
diff changeset
  3118
    "Modified: / 15-11-2016 / 00:18:37 / cg"
7810
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
!ProcessMonitorV2 methodsFor:'menu actions-debug'!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3122
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3123
browseApplication
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3124
    "open a browser on the selected process(es) application or topView"
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
    self selectedApplicationTopViewsDo:[:topView |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3127
	|app|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3128
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3129
	(app := topView application) notNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3130
	    app class browse.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3131
	] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3132
	    topView class browse.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3133
	]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3134
   ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3135
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3136
    "Created: / 07-06-2007 / 12:48:05 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3137
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3138
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3139
debugProcess
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3140
    "open a debugger on the selected process(es)"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3141
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3142
    Debugger isNil ifTrue:[ ^ self ].
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3143
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3144
    self selectedProcessesDo:[:p |
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3145
       Debugger openOn:p
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
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3148
    "Modified: / 07-06-2007 / 12:34:43 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3149
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3150
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3151
debugWhenResumed
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3152
    "open a debugger when the selected process(es) is resumed"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3153
8651
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3154
    Debugger isNil ifTrue:[ ^ self ].
56eb7da15507 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8408
diff changeset
  3155
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3156
    self selectedProcessesDo:[:p |
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3157
       p addInterruptAction:[Debugger enter]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3158
    ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3159
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3160
    "Modified: / 07-06-2007 / 12:34:38 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3161
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3162
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3163
disableInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3164
    InstrumentationContext isNil ifTrue:[^ self].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3165
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3166
    self selectedProcessesDo:[:p |
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3167
       InstrumentationContext setInstrumentationContext:nil in:p
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3168
    ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3169
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3170
    "Created: / 17-08-2011 / 11:50:36 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3171
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3172
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3173
enableInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3174
    |context|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3175
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3176
    InstrumentationContext isNil ifTrue:[^ self].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3177
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3178
    context := InstrumentationContext new.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3179
    self selectedProcessesDo:[:p |
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3180
       InstrumentationContext setInstrumentationContext:context in:p
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3181
    ]
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3182
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3183
    "Created: / 17-08-2011 / 11:50:12 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3184
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3185
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3186
inspectApplication
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3187
    "open an inspector on the selected process(es) application or topView"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3188
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3189
    self selectedApplicationTopViewsDo:[:topView |
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3190
	|app|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3191
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3192
	(app := topView application) notNil ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3193
	    app inspect.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3194
	] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3195
	    topView inspect.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3196
	]
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3197
   ]
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3198
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3199
    "Modified: / 07-06-2007 / 12:46:42 / cg"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3200
!
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3201
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3202
inspectSelection
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3203
    "open an inspector on the selected process"
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3204
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3205
    self selectedProcessesSend:#inspect
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
6609
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3208
!ProcessMonitorV2 methodsFor:'private queries'!
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3209
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3210
isApplicationProcess:aProcess
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3211
    ^ (self windowGroupOfProcess:aProcess) notNil.
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3212
!
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3213
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3214
windowGroupOfProcess:aProcess
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3215
    WindowGroup scheduledWindowGroups
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3216
	do:[:eachGroup |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3217
	    (eachGroup process == aProcess) ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3218
		eachGroup isModal ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3219
		    ^ eachGroup previousGroup
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3220
		].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3221
		^ eachGroup
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3222
	    ]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3223
	].
6609
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3224
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3225
    ^ nil
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3226
! !
8c68fe4eba22 +inspect application
Claus Gittinger <cg@exept.de>
parents: 6427
diff changeset
  3227
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3228
!ProcessMonitorV2 methodsFor:'queries - table string'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3229
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3230
getActiveStringFor:aProcess running:isRunning
5538
d004f232b1df cosmetics
Stefan Vogel <sv@exept.de>
parents: 5047
diff changeset
  3231
    |stateCharacter|
d004f232b1df cosmetics
Stefan Vogel <sv@exept.de>
parents: 5047
diff changeset
  3232
d004f232b1df cosmetics
Stefan Vogel <sv@exept.de>
parents: 5047
diff changeset
  3233
    isRunning ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3234
	stateCharacter := '*'.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3235
    ] ifFalse:[
7811
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
	    (Processor scheduledProcesses includes:aProcess) ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3238
		stateCharacter := '+'
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
		stateCharacter := ''.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3241
	    ].
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3242
	] valueUninterruptably.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3243
    ].
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3244
    ^ stateCharacter.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3245
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3246
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3247
getApplicationFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3248
    |wg app|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3249
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3250
    wg := self windowGroupOfProcess:aProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3251
    wg notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3252
	(app := wg application) notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3253
	    ^ app.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3254
	].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3255
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3256
    ^ nil.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3257
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3258
    "Created: / 17-08-2011 / 11:12:13 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3259
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3260
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3261
getApplicationStringFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3262
    |app|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3263
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3264
    (app := self getApplicationFor:aProcess) notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3265
	^ app class name.
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3266
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3267
    ^ ''.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3268
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3269
    "Created: / 17-08-2011 / 10:58:50 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3270
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3271
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3272
getCurrentSegmentStringFor:con
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3273
    | contextCount c sender|
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3274
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3275
    con notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3276
	contextCount := 1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3277
	c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3278
	[(sender := c sender) notNil] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3279
	    c := sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3280
	    contextCount := contextCount + 1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3281
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3282
	^ (((ObjectMemory addressOf:con) printStringRadix:16),
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3283
	   ' .. ',
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3284
	   ((ObjectMemory addressOf:c) printStringRadix:16)).
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3285
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3286
    ^ ''
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3287
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3288
    "Modified (format): / 17-08-2011 / 10:57:23 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3289
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3290
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3291
getGroupStringFor:aProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3292
    |gId|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3293
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3294
    gId := aProcess processGroupId.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3295
    ((gId == aProcess id) or:[gId isNil]) ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3296
	"/ a group leader
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3297
	^ '-'.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3298
    ] ifFalse:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3299
	^ gId.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3300
    ].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3301
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3302
    "Modified (format): / 17-08-2011 / 10:57:33 / cg"
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3303
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3304
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3305
getInstrumentationStringFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3306
    ^ (InstrumentationContext forProcess:aProcess) isNil
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3307
	ifTrue:['']
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3308
	ifFalse:['Y']
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3309
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3310
    "Created: / 17-08-2011 / 11:04:14 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3311
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3312
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3313
getPrioStringFor:aProcess
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3314
    |prioRange|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3315
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3316
    Processor supportDynamicPriorities ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3317
	(prioRange := aProcess priorityRange) isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3318
	    ^ aProcess priority asString.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3319
	] ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3320
	    ^ (aProcess priority asString,
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3321
		    ' [',
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3322
		    prioRange start printString,
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3323
		    '..',
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3324
		    prioRange stop printString,
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3325
		    ']').
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3326
	].
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3327
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3328
    ^ ''
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3329
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3330
    "Modified (format): / 17-08-2011 / 10:57:36 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3331
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3332
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3333
getTotalStackStringFor:aProcess
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3334
    | tStackSize noOfSegs |
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3335
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3336
    aProcess id == 0 ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3337
	^ 'unlimited'.
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3338
    ].
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3339
    ((tStackSize := aProcess totalStackSize) notNil
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3340
    and:[ (noOfSegs := aProcess numberOfStackSegments) notNil ]) ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3341
	^ (tStackSize printString),' (',(noOfSegs printString),')'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3342
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3343
    ^ ''
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3344
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3345
    "Modified: / 17-08-2011 / 10:56:17 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3346
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3347
11289
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3348
getWhereContextFor:con running:isRunning
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3349
    "retrieve a reasonable description of where the process is sitting around;
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3350
     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
  3351
     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
  3352
     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
  3353
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3354
    |c found skipping rs rc r sel|
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3355
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3356
    con notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3357
	c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3358
	found := false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3359
	isRunning ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3360
	    "/ search for a semaphore-wait in the top 10 contexts
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3361
	    1 to:10 do:[:n |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3362
		found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3363
		    c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3364
			(c receiver class == Semaphore) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3365
			    (sel := c selector) == #wait ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3366
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3367
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3368
			    sel == #waitWithTimeout: ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3369
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3370
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3371
			    sel == #waitWithTimeoutMs: ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3372
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3373
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3374
			].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3375
			c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3376
		    ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3377
		]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3378
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3379
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3380
	found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3381
	    "/ search for a non-processor, non-process
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3382
	    "/ receiver in the top 10 contexts
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3383
	    c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3384
	    1 to:10 do:[:n |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3385
		found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3386
		    c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3387
			((r := c receiver) ~~ Processor and:[ r class ~~ Process ]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3388
			    found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3389
			] ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3390
			    c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3391
			]
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
		]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3394
	    ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3395
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3396
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3397
	"/ skip, until an interesting context is found.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3398
	"/ This skips intermediate contexts, which lead
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3399
	"/ 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
  3400
	found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3401
	    c := con
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3402
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3403
	skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3404
	[ skipping ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3405
	    skipping := false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3406
	    (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
  3407
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3408
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3409
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3410
	    (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
  3411
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3412
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3413
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3414
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3415
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3416
		    and:[ c receiver isBlock
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3417
		    and:[ ((sel := c selector) startsWith:'value')
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3418
			  or:[ sel = 'doWhile:'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3419
			  or:[ sel = 'doUntil:'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3420
			  or:[ sel = 'ensure:' ]]]]]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3421
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3422
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3423
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3424
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3425
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3426
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3427
		    and:[ c receiver == OperatingSystem
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3428
		    and:[ c selector == #unblockInterrupts ] ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3429
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3430
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3431
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3432
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3433
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3434
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3435
		    and:[ c isBlockContext ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3436
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3437
		c := c home.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3438
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3439
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3440
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3441
	c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3442
	    sel := c selector.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3443
	    sel isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3444
		sel := '* unknown *'
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
	    r := c receiver.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3447
	    rc := r class.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3448
	    rs := rc name.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3449
	    (rc == SharedQueue
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3450
	    or:[rc == RecursionLock]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3451
		rs := rs , ' (', (r identityHash bitShift:-12) hexPrintString,') '.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3452
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3453
	    ^ (rs , '>>' , sel).
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3454
	]
11289
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3455
    ].
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3456
    ^ ''
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3457
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3458
    "Created: / 28-02-2012 / 11:48:22 / cg"
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3459
!
2c2c4a0ec060 added: #getWhereContextFor:running:
Claus Gittinger <cg@exept.de>
parents: 11288
diff changeset
  3460
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3461
getWhereStringFor:con running:isRunning
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3462
    "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
  3463
     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
  3464
     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
  3465
     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
  3466
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3467
    |c found skipping rs rc r sel|
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3468
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3469
    con notNil ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3470
	c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3471
	found := false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3472
	isRunning ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3473
	    "/ search for a semaphore-wait in the top 10 contexts
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3474
	    1 to:10 do:[:n |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3475
		found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3476
		    c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3477
			(c receiver class == Semaphore) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3478
			    c selector == #wait ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3479
				found := 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
			    c selector == #waitWithTimeout: ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3482
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3483
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3484
			    c selector == #waitWithTimeoutMs: ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3485
				found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3486
			    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3487
		       ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3488
			c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3489
		    ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3490
		]
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
	found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3494
	    "/ search for a non-processor, non-process
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3495
	    "/ receiver in the top 10 contexts
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3496
	    c := con.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3497
	    1 to:10 do:[:n |
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3498
		found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3499
		    c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3500
			((r := c receiver) ~~ Processor and:[ r class ~~ Process ]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3501
			    found := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3502
			] ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3503
			    c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3504
			]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3505
		    ]
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
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3509
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3510
	"/ skip, until an interesting context is found.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3511
	"/ This skips intermediate contexts, which lead
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3512
	"/ 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
  3513
	found ifFalse:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3514
	    c := con
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3515
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3516
	skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3517
	[ skipping ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3518
	    skipping := false.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3519
	    (c notNil and:[ c receiver == Delay or:[ c receiver class == Delay ] ]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3520
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3521
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3522
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3523
	    (c notNil and:[ c receiver == Semaphore or:[ c receiver class == Semaphore ] ]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3524
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3525
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3526
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3527
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3528
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3529
		    and:[ c receiver isBlock
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3530
		    and:[ (c selector startsWith:'value')
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3531
			  or:[ c selector = 'doWhile:'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3532
			  or:[ c selector = 'doUntil:'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3533
			  or:[ c selector = 'ensure:' ]]]]]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3534
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3535
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3536
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3537
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3538
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3539
		c notNil
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3540
		    and:[ c receiver == OperatingSystem and:[ c selector == #unblockInterrupts ] ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3541
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3542
		c := c sender.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3543
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3544
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3545
	    [
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3546
		c notNil and:[ c isBlockContext ]
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3547
	    ] whileTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3548
		c := c home.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3549
		skipping := true.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3550
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3551
	].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3552
	c notNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3553
	    sel := c selector.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3554
	    sel isNil ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3555
		sel := '* unknown *'
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3556
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3557
	    r := c receiver.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3558
	    rc := r class.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3559
	    rs := rc name.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3560
	    (rc == SharedQueue
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3561
	    or:[rc == RecursionLock]) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3562
		rs := rs , ' (', (r identityHash bitShift:-12) hexPrintString,') '.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3563
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3564
	    ^ (rs , '>>' , sel).
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3565
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3566
    ].
4504
e07fb8560de3 *** empty log message ***
penk
parents: 4502
diff changeset
  3567
    ^ ''
7810
881d8fda730f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7809
diff changeset
  3568
11288
a9e5e329714c changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents: 10849
diff changeset
  3569
    "Modified: / 28-02-2012 / 11:43:30 / cg"
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3570
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3571
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3572
getWindowTitleFor:aProcess
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3573
    |wg topViews|
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3574
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3575
    wg := self windowGroupOfProcess:aProcess.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3576
    wg notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3577
        (topViews := wg topViews) notEmptyOrNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3578
            ^ '"',(topViews first label ? '<nil>'),'"'.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3579
        ].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3580
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3581
    ^ ''.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3582
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3583
    "Created: / 17-08-2011 / 11:01:21 / cg"
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3584
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3585
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3586
!ProcessMonitorV2 methodsFor:'sorting'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3587
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3588
sortProcessListBy:instanceName
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3589
    "method to sort the list of BugReport"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3590
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3591
    | aSymbol isReverse cmpOp currentSortOrder|
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3592
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3593
    aSymbol := instanceName asSymbol.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3594
    isReverse := false.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3595
    currentSortOrder := self currentSortOrder value.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3596
    currentSortOrder isEmpty ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3597
	currentSortOrder at:#column put:aSymbol.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3598
	currentSortOrder at:#reverse put:false.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3599
    ] ifFalse:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3600
	(currentSortOrder at:#column) = aSymbol ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3601
	    "/ same column like before - change sort order ifReverse is true
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3602
	    isReverse := currentSortOrder at:#reverse.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3603
	    currentSortOrder at:#reverse put:(isReverse not).
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3604
	] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3605
	    "/ another column - remark column
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3606
	    currentSortOrder at:#column put:aSymbol.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3607
	]
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3608
    ].
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3609
    (currentSortOrder at:#reverse) ifTrue:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3610
	cmpOp := #'>'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3611
    ] ifFalse:[
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3612
	cmpOp := #'<'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3613
    ].
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3614
    sortBlock := [:a :b |
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3615
	    |entry1 entry2|
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3616
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3617
	    entry1 := (a perform:aSymbol) ? 0.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3618
	    entry2 := (b perform:aSymbol) ? 0.
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3619
	    entry1 = entry2 ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3620
		(a idVal < 0 and:[b idVal < 0]) ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3621
		    "/ two dead ones (take anything which remains constant)
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3622
		    a processName ~= b processName ifTrue:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3623
			a processName < b processName
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3624
		    ] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3625
			a processInstance identityHash < b processInstance identityHash
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3626
		    ]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3627
		] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3628
		    a idVal < b idVal
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3629
		]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3630
	    ] ifFalse:[
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3631
		entry1 perform:cmpOp with:entry2
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3632
	    ]
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3633
	].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3634
   self viewedColumnsChanged.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3635
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3636
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3637
!ProcessMonitorV2 methodsFor:'update process'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  3638
7811
9d5855023789 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7810
diff changeset
  3639
fillItemInformationIn:processItem
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3640
    |state stateColor running con aProcess|
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3641
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3642
    aProcess := processItem processInstance.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3643
    aProcess isNil ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3644
        ^ self.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3645
    ].
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3646
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3647
    processItem processId:aProcess id.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3648
    processItem idVal:aProcess id ? -1.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3649
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3650
    processItem processGroup:(self getGroupStringFor:aProcess).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3651
    processItem groupVal:(processItem processGroup isNumber ifTrue:[processItem processGroup] ifFalse:[-1]).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3652
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  3653
    processItem processStartTime:aProcess startTimestamp.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3654
    processItem processName:aProcess name ? ''.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3655
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3656
    state := aProcess state.
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3657
    running := (state == #run and:[aProcess == Processor interruptedProcess]).
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3658
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3659
    stateColor := (state == #run)
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3660
                        ifTrue:[ Color green darkened ]
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3661
                        ifFalse:[
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3662
                            (state == #debug or:[state == #stopped])
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3663
                                ifTrue:[ Color red ]
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3664
                                ifFalse:[ Color black ]].
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3665
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3666
    processItem processState:(state asString withColor:stateColor).
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3667
    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
  3668
9526
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  3669
"/    processItem processBlocked:(aProcess interruptsDisabled).
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3670
    processItem prioVal:(aProcess priority).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3671
    processItem processPrio:(self getPrioStringFor:aProcess).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3672
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3673
    processItem processUsedStack:aProcess usedStackSize.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3674
    processItem processTotalStack:(self getTotalStackStringFor:aProcess).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3675
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3676
    con := aProcess suspendedContext.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3677
    con isNil ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3678
        aProcess == Processor activeProcess ifTrue:[
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3679
            con := thisContext
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3680
        ]
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3681
    ].
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3682
    showWhere value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3683
        processItem processWhere:(self getWhereStringFor:con running:running).
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3684
    ].
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3685
    processItem processCurrentSegment:(self getCurrentSegmentStringFor:con).
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3686
    processItem processSwitch:(aProcess numberOfStackBoundaryHits).
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
  3687
    showApplication value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3688
        processItem processApplication:(self getApplicationStringFor:aProcess)
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3689
    ].
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
  3690
    showWindowTitle value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3691
        processItem processWindowTitle:(self getWindowTitleFor:aProcess)
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3692
    ].
11997
e332775e9182 changed:
Claus Gittinger <cg@exept.de>
parents: 11522
diff changeset
  3693
    showInstrumentation value ifTrue:[
16515
d623427c5274 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15756
diff changeset
  3694
        processItem processInstrumentation:(self getInstrumentationStringFor:aProcess)
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3695
    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3696
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3697
    "Modified: / 17-08-2011 / 11:04:32 / cg"
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3698
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3699
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3700
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
  3701
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3702
    processItem weakArrayWithProcesses:weakArrayWithProcesses.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3703
    processItem processInstanceIndexInWeakArray:processInstanceIndexInWeakArray.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3704
    self fillItemInformationIn:processItem
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3705
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3706
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3707
startUpdateProcess
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3708
    updateBlock notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3709
        Processor addTimedBlock:updateBlock afterSeconds:updateDelay.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3710
        Processor addTimedBlock:listUpdateBlock afterSeconds:listUpdateDelay.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3711
    ] ifFalse:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3712
        "after a restart, updateProcess is a dead process"
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3713
        self assert:(updateProcess isNil or:[updateProcess isDead]).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3714
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3715
        updateProcess := [
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3716
            [
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3717
                |id cnt myDelay|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3718
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3719
                myDelay := Delay forSeconds:updateDelay.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3720
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3721
                "
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3722
                 every updateDelay (0.5), we look which process runs;
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3723
                 every half second, the status is updated.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3724
                 every listUpdateDelay (5s), the list of processes is
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3725
                 built up again
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3726
                "
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3727
                [true] whileTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3728
                    myDelay delay:updateDelay * 1000.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3729
                    ((listUpdateDelay // updateDelay) max:2) - 1 timesRepeat:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3730
                        myDelay wait.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3731
                        self updateStatus:nil.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3732
                    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3733
                    myDelay wait.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3734
                    self updateList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3735
                ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3736
            ] ifCurtailed:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3737
                updateProcess := nil
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3738
            ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3739
        ]  forkAt:(Processor userSchedulingPriority + 1).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3740
        updateProcess name:'monitor [' ,
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3741
                           Processor activeProcess id printString ,
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3742
                           '] update'.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3743
        "
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3744
         raise my own priority
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3745
        "
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3746
        Processor activeProcess priority:(Processor userSchedulingPriority + 2)
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3747
    ].
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3748
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3749
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3750
updateChangedItem:oldItem newItem:newItem atIndex:index
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3751
    | colIdx newValue |
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3752
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3753
    colIdx := 1.
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3754
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3755
    oldItem weakArrayWithProcesses:newItem weakArrayWithProcesses.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3756
    oldItem processInstanceIndexInWeakArray:newItem processInstanceIndexInWeakArray.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3757
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3758
    "/ ID
8408
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3759
d4725dafc068 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8195
diff changeset
  3760
    oldItem processId ~= (newValue := newItem processId) ifTrue:[
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3761
	oldItem processId:newValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3762
	processTable invalidateRowAt:index colAt:colIdx.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3763
    ].
7757
935e3e45cca4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7466
diff changeset
  3764
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3765
    #(
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3766
	( showGroup     processGroup        processGroup: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3767
	( true          processName         processName: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3768
	( showInstrumentation     processInstrumentation        processInstrumentation: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3769
	( true          processActive       processActive: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3770
	( showState     processState        processState: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3771
	( showPrio      processPrio         processPrio: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3772
	( showUsedStack processUsedStack    processUsedStack: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3773
	( showTotalStack processTotalStack  processTotalStack: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3774
	( showCurrentSegment processCurrentSegment processCurrentSegment: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3775
	( showSwitch    processSwitch       processSwitch: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3776
	( showWhere     processWhere        processWhere: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3777
	( showApplication     processApplication        processApplication: )
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3778
	( showWindowTitle     processWindowTitle        processWindowTitle: )
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3779
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3780
    ) do:[:eachAspect |
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3781
	|showHolder showHolderValue colValueGetter colValueSetter|
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3782
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3783
	showHolder := eachAspect at:1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3784
	colValueGetter := eachAspect at:2.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3785
	colValueSetter := eachAspect at:3.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3786
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3787
	showHolderValue := (showHolder == true) or:[ (self perform:showHolder) value ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3788
	showHolderValue ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3789
	    colIdx := colIdx + 1.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3790
	    (oldItem perform:colValueGetter) ~= (newValue := (newItem perform:colValueGetter)) ifTrue:[
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3791
		oldItem perform:colValueSetter with:newValue.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3792
		processTable invalidateRowAt:index colAt:colIdx.
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3793
	    ].
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  3794
	].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3795
    ].
7757
935e3e45cca4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7466
diff changeset
  3796
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3797
"/    "/ GROUP
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3798
"/    self showGroup value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3799
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3800
"/        oldItem processGroup ~= (newValue := newItem processGroup) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3801
"/            oldItem processGroup:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3802
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3803
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3804
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3805
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3806
"/    "/ NAME
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3807
"/    colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3808
"/    oldItem processName ~= (newValue := newItem processName) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3809
"/        oldItem processName:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3810
"/        processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3811
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3812
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3813
"/    "/ ACTIVE
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3814
"/    colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3815
"/    oldItem processActive ~= (newValue := newItem processActive) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3816
"/        oldItem processActive:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3817
"/        "/ (processTable columnAt:colIdx).
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3818
"/        processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3819
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3820
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3821
"/    "/ STATE
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3822
"/    showState value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3823
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3824
"/        (oldItem processState sameStringAndEmphasisAs: (newValue := newItem processState)) ifFalse:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3825
"/            oldItem processState:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3826
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3827
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3828
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3829
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3830
"/    "/ PRIO
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3831
"/    showPrio value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3832
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3833
"/        oldItem processPrio ~= (newValue := newItem processPrio) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3834
"/            oldItem processPrio:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3835
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3836
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3837
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3838
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3839
"/    "/ USED STACK
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3840
"/    showUsedStack value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3841
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3842
"/        oldItem processUsedStack ~= (newValue := newItem processUsedStack) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3843
"/            oldItem processUsedStack:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3844
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3845
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3846
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3847
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3848
"/    "/ TOTAL STACK
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3849
"/    showTotalStack value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3850
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3851
"/        oldItem processTotalStack ~= (newValue := newItem processTotalStack) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3852
"/            oldItem processTotalStack:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3853
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3854
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3855
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3856
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3857
"/    "/ CURRENT SEGMENT
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3858
"/    showCurrentSegment value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3859
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3860
"/        oldItem processCurrentSegment ~= (newValue := newItem processCurrentSegment) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3861
"/            oldItem processCurrentSegment:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3862
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3863
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3864
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3865
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3866
"/    "/ Switch
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3867
"/    showSwitch value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3868
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3869
"/        oldItem processSwitch ~= (newValue := newItem processSwitch) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3870
"/            oldItem processSwitch:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3871
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3872
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3873
"/    ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3874
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3875
"/    "/ WHERE
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3876
"/    showWhere value ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3877
"/        colIdx := colIdx + 1.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3878
"/        oldItem processWhere ~= (newValue := newItem processWhere) ifTrue:[
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3879
"/            oldItem processWhere:newValue.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3880
"/            processTable invalidateRowAt:index colAt:colIdx.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3881
"/        ].
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  3882
"/    ].
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
    "Modified: / 17-08-2011 / 11:47:01 / cg"
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3885
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3886
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3887
updateList
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3888
    "recompute the list of processes"
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3889
    
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3890
    |newList|
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3891
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3892
    processTable shown ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3893
        newList := self getProcessList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3894
        visibleBlock notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3895
            newList := newList select:visibleBlock
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3896
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3897
        self updateStatus:newList.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3898
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3899
    updateBlock notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3900
        Processor removeTimedBlock:listUpdateBlock.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3901
        Processor addTimedBlock:listUpdateBlock afterSeconds:listUpdateDelay
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3902
    ].
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3903
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3904
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3905
updateStatus:newProcessList
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3906
    |startTime endTime deltaT|
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3907
5783
5ce97d85326d Rename AbsoluteTime to Timestamp
Stefan Vogel <sv@exept.de>
parents: 5764
diff changeset
  3908
    startTime := Timestamp now.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3909
    updateSema critical:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3910
        self updateTable:newProcessList.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  3911
    ].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3912
5783
5ce97d85326d Rename AbsoluteTime to Timestamp
Stefan Vogel <sv@exept.de>
parents: 5764
diff changeset
  3913
    endTime := Timestamp now.
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3914
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3915
    lastUpdateTimestamp notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3916
        |timeDelta newInterruptCount newTimerActionCount n nPerSecond s|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3917
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3918
        timeDelta := (endTime - lastUpdateTimestamp) asMilliseconds / 1000.0.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3919
        
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3920
        "/ update the interrupt counts
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3921
        newInterruptCount := Processor interruptCounter.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3922
        newTimerActionCount := Processor timedActionCounter.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3923
        lastInterruptCount notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3924
            "/ attention - these are modulu counters.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3925
            newInterruptCount >= lastInterruptCount ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3926
                n := newInterruptCount-lastInterruptCount.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3927
                n == 0 ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3928
                    "/ the common case
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3929
                    s := '0'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3930
                ] ifFalse:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3931
                    nPerSecond := n / timeDelta. 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3932
                    s := (nPerSecond asInteger "asFixedPoint:1") printString
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3933
                ].    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3934
                self interruptCountHolder value:s
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3935
            ].    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3936
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3937
        lastTimerActionCount notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3938
            "/ attention - these are modulu counters.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3939
            newTimerActionCount >= lastTimerActionCount ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3940
                n := newTimerActionCount-lastTimerActionCount.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3941
                n == 0 ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3942
                    "/ the common case
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3943
                    s := '0'
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3944
                ] ifFalse:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3945
                    nPerSecond := n / timeDelta.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3946
                    s := (nPerSecond asInteger "asFixedPoint:1") printString
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3947
                ].    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3948
                self timerActionCountHolder value:s
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3949
            ].    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3950
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3951
        
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3952
        lastInterruptCount := newInterruptCount.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3953
        lastTimerActionCount := newTimerActionCount.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3954
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3955
    lastUpdateTimestamp := endTime.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3956
    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3957
    "/ a check, in case the computation took longer than 20%
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3958
    "/ of the delay time. Then increase the update interval.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3959
    "/ This is to avoid that the processMonitor creates too much overhead
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3960
    "/ (in case we have many processes)
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3961
    deltaT := (endTime millisecondDeltaFrom:startTime) / 1000.0.
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3962
    "/ Transcript show:deltaT; show:' ' ; showCR:(self scaledUpdateContentsDelayTime / 10.0).
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3963
    deltaT > (updateDelay / 5) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3964
        "/ the update took longer than 20% - make delay longer, to reduce cpu load.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3965
        updateDelay := updateDelay * 2.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3966
        self updateContentsDelayTimeHolder value:updateDelay.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3967
        "/ Transcript show:'+++ '; showCR:self scaledUpdateContentsDelayTime.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3968
    ].
16609
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
    updateBlock notNil ifTrue:[
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3971
        Processor removeTimedBlock:updateBlock.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3972
        Processor addTimedBlock:updateBlock afterSeconds:updateDelay.
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3973
    ]
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3974
!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3975
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  3976
updateTable:newProcessList
16609
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3977
    |oldSelection newList sel diff weakProcessList showDead|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3978
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3979
    processTable shown ifFalse:[^ self].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3980
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3981
    showDead := self showDeadHolder value.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3982
    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3983
    "/ 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
  3984
    sel := self selectedProcesses value.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3985
    sel notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3986
        oldSelection := OrderedCollection new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3987
        sel do:[:proItem|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3988
            proItem processInstance notNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3989
                oldSelection add:(proItem processInstance)
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3990
            ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3991
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3992
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3993
    
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3994
    newList := OrderedCollection new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3995
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3996
    "/ 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
  3997
    newProcessList isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3998
        processList do:[:oldItem |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  3999
            | newItem process|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4000
            (showDead
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4001
             or:[ 
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4002
                (process := oldItem processInstance) notNil
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4003
                 and:[process isDead not]]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4004
            ) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4005
                newItem := oldItem copy.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4006
                self fillItemInformationIn:newItem.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4007
                newList add:newItem.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4008
            ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4009
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4010
    ] ifFalse:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4011
        "/ remove dead processes if not shown
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4012
        weakProcessList := WeakArray withAll:newProcessList.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4013
        weakProcessList keysAndValuesDo:[:indexInWeakArray :procOrNilOrZero |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4014
            "/ in a weakarray, dead entries are 0
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4015
            (procOrNilOrZero notNil and:[procOrNilOrZero class ~~ SmallInteger]) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4016
                (procOrNilOrZero isDead not or:[showDead]) ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4017
                    | processItem |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4018
                    processItem := ProcessItem new.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4019
                    self fillItemInformationIn:processItem with:procOrNilOrZero inArray:weakProcessList atIndex:indexInWeakArray.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4020
                    newList add:processItem.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4021
                ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4022
            ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4023
        ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4024
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4025
    newList sort:self sortBlock.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4026
    newList doWithIndex:[:newItem :index|
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4027
        | oldItem |
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4028
        oldItem := processList at:index ifAbsent:nil.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4029
        oldItem isNil ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4030
            processList add:newItem beforeIndex:index
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4031
        ] ifFalse:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4032
            self updateChangedItem:oldItem newItem:newItem atIndex:index
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4033
        ]
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4034
    ].
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4035
    diff := processList size - newList size.
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4036
    diff > 0 ifTrue:[
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4037
        processList removeLast:diff
fa1194cb949e #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 16515
diff changeset
  4038
    ].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4039
"/            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
  4040
    self changeSelectionToProcesses:oldSelection.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4041
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4042
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4043
!ProcessMonitorV2::ProcessItem methodsFor:'accessing'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4044
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4045
groupVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4046
    "return the value of the instance variable 'groupVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4047
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4048
    ^ groupVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4049
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4050
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4051
groupVal:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4052
    "set the value of the instance variable 'groupVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4053
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4054
    groupVal := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4055
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4056
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4057
idVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4058
    "return the value of the instance variable 'idVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4059
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4060
    ^ idVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4061
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4062
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4063
idVal:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4064
    "set the value of the instance variable 'idVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4065
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4066
    idVal := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4067
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4068
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4069
prioVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4070
    "return the value of the instance variable 'prioVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4071
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4072
    ^ prioVal
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4073
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4074
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4075
prioVal:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4076
    "set the value of the instance variable 'prioVal' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4077
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4078
    prioVal := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4079
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4080
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4081
processActive
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4082
    "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
  4083
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4084
    ^ processActive
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4085
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4086
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4087
processActive:something
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4088
    "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
  4089
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4090
    processActive := something.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4091
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4092
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4093
processApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4094
    ^ processApplication
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4095
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4096
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4097
processApplication:something
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4098
    processApplication := something.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4099
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4100
9526
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4101
processBlocked
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4102
    ^ processBlocked
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4103
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4104
    "Created: / 18-07-2010 / 23:52:26 / cg"
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4105
!
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4106
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4107
processBlocked:aBoolean
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4108
    processBlocked := aBoolean.
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4109
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4110
    "Created: / 18-07-2010 / 23:52:41 / cg"
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4111
!
2825b947679d comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents: 9480
diff changeset
  4112
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4113
processCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4114
    "return the value of the instance variable 'processCurrentSegment' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4115
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4116
    ^ processCurrentSegment
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4117
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4118
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4119
processCurrentSegment:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4120
    "set the value of the instance variable 'processCurrentSegment' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4121
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4122
    processCurrentSegment := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4123
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4124
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4125
processGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4126
    "return the value of the instance variable 'processGroup' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4127
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4128
    ^ processGroup
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4129
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4130
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4131
processGroup:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4132
    "set the value of the instance variable 'processGroup' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4133
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4134
    processGroup := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4135
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4136
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4137
processId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4138
    "return the value of the instance variable 'processId' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4139
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4140
    ^ processId
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4141
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4142
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4143
processId:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4144
    "set the value of the instance variable 'processId' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4145
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4146
    processId := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4147
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4148
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4149
processInstance
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4150
    "return the value of the instance variable 'processInstance' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4151
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4152
    |procOrNilOrZero|
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4153
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4154
    procOrNilOrZero := weakArrayWithProcesses at:processInstanceIndexInWeakArray.
15756
9f212f4609db class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 15753
diff changeset
  4155
    procOrNilOrZero class == SmallInteger ifTrue:[^ nil].
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4156
    ^ procOrNilOrZero
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4157
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4158
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4159
processInstance:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4160
    "set the value of the instance variable 'processInstance' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4161
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4162
    processInstance := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4163
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4164
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4165
processInstanceIndexInWeakArray
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4166
    "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
  4167
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4168
    ^ processInstanceIndexInWeakArray
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4169
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4170
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4171
processInstanceIndexInWeakArray:something
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4172
    "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
  4173
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4174
    processInstanceIndexInWeakArray := something.
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4175
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4176
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4177
processInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4178
    ^ processInstrumentation
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4179
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4180
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4181
processInstrumentation:something
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4182
    processInstrumentation := something.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4183
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4184
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4185
processName
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4186
    "return the value of the instance variable 'processName' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4187
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4188
    ^ processName
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4189
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4190
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4191
processName:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4192
    "set the value of the instance variable 'processName' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4193
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4194
    processName := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4195
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4196
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4197
processPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4198
    "return the value of the instance variable 'processPrio' (automatically generated)"
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4199
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4200
    ^ processPrio
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4201
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4202
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4203
processPrio:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4204
    processPrio := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4205
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4206
17300
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4207
processStartTime
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4208
    "return the value of the instance variable 'startTime' (automatically generated)"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4209
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4210
    ^ startTimestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4211
!
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4212
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4213
processStartTime:aTimestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4214
    "set the value of the instance variable 'startTime' (automatically generated)"
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4215
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4216
    startTimestamp := aTimestamp
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4217
!
48714b269838 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17271
diff changeset
  4218
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4219
processState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4220
    ^ processState
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4221
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4222
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4223
processState:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4224
    processState := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4225
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4226
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4227
processSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4228
    ^ processSwitch
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4229
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4230
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4231
processSwitch:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4232
    processSwitch := 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
processTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4236
    ^ processTotalStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4237
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4238
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4239
processTotalStack:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4240
    processTotalStack := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4241
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4242
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4243
processUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4244
    ^ processUsedStack
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4245
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4246
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4247
processUsedStack:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4248
    processUsedStack := something.
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4249
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4250
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4251
processWhere
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4252
    ^ processWhere
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4253
!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4254
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4255
processWhere:something
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4256
    processWhere := something.
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4257
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4258
10578
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4259
processWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4260
    ^ processWindowTitle
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4261
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4262
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4263
processWindowTitle:something
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4264
    processWindowTitle := something.
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4265
!
2ca84430d4a2 more view options + instrumentation menu
Claus Gittinger <cg@exept.de>
parents: 9807
diff changeset
  4266
4576
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4267
weakArrayWithProcesses
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4268
    ^ weakArrayWithProcesses
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4269
!
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4270
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4271
weakArrayWithProcesses:something
4423626f9dfe now the dead processes are gone if collect garbage will pressed in
penk
parents: 4570
diff changeset
  4272
    weakArrayWithProcesses := something.
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4273
! !
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4274
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4275
!ProcessMonitorV2::ProcessItem methodsFor:'printing'!
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4276
8001
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4277
printOn:aStream
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4278
    (self processName ? '') printOn:aStream.
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4279
    aStream nextPut:$[.
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  4280
    (self processId ? '') printOn:aStream.
8001
07add94fd83b Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents: 7921
diff changeset
  4281
    aStream nextPut:$].
4498
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4282
! !
fcebf25e6033 next stage for process monitor
penk
parents: 4468
diff changeset
  4283
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4284
!ProcessMonitorV2 class methodsFor:'documentation'!
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4285
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4286
version
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  4287
    ^ '$Header$'
9035
90950862113a no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents: 8652
diff changeset
  4288
!
90950862113a no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents: 8652
diff changeset
  4289
90950862113a no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents: 8652
diff changeset
  4290
version_CVS
15753
cb4ef7cdc7f1 index chain in WeakArray
Claus Gittinger <cg@exept.de>
parents: 15396
diff changeset
  4291
    ^ '$Header$'
4463
99d11fbee2af initial checkin
penk
parents:
diff changeset
  4292
! !
12095
f6e617086f54 class: ProcessMonitorV2
Claus Gittinger <cg@exept.de>
parents: 11999
diff changeset
  4293