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