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