author | Claus Gittinger <cg@exept.de> |
Tue, 08 Feb 2011 09:12:12 +0100 | |
changeset 9738 | 7dd722970a40 |
parent 9661 | 947e86d2fc7f |
child 9802 | bc9e5d0493ff |
permissions | -rw-r--r-- |
6300 | 1 |
" |
2 |
COPYRIGHT (c) 2003 by eXept Software AG |
|
7811 | 3 |
All Rights Reserved |
6300 | 4 |
|
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
4463 | 12 |
"{ Package: 'stx:libtool' }" |
13 |
||
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
14 |
ApplicationModel subclass:#ProcessMonitorV2 |
4463 | 15 |
instanceVariableNames:'processList tableColumns selectedProcesses updateSema showDetail |
7809 | 16 |
hasSelectionHolder showProcessId showGroup showState showPrio |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
17 |
showUsedStack showTotalStack showCurrentSegment showSwitch |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
18 |
showWhere currentSortOrder processTable showDead sortBlock |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
19 |
selectionRestartable updateListDelayTime updateContentsDelayTime |
4498 | 20 |
enableDecreaseListDelayTime enableDecreaseContentsDelayTime |
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
21 |
enableIncreaseListDelayTime enableIncreaseContentsDelayTime |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
22 |
listUpdateDelay updateDelay updateBlock listUpdateBlock |
7809 | 23 |
updateProcess visibleBlock allowModifications tableMenu |
24 |
hasSelectionWithApplicationProcessHolder |
|
25 |
hasSelectionAndProcessIsApplicationProcessHolder |
|
26 |
hasSelectionWithStoppedProcessHolder |
|
27 |
hasSelectionAndProcessIsStoppedHolder |
|
28 |
hasSelectionWithGUIProcessHolder' |
|
4463 | 29 |
classVariableNames:'' |
30 |
poolDictionaries:'' |
|
31 |
category:'Monitors-ST/X' |
|
32 |
! |
|
33 |
||
34 |
Object subclass:#ProcessItem |
|
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
35 |
instanceVariableNames:'processId processGroup processName processActive processState |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
36 |
processPrio processUsedStack processTotalStack processWhere |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
37 |
processInstance weakArrayWithProcesses |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
38 |
processInstanceIndexInWeakArray processCurrentSegment |
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
39 |
processSwitch prioVal idVal groupVal processBlocked' |
4463 | 40 |
classVariableNames:'' |
41 |
poolDictionaries:'' |
|
42 |
privateIn:ProcessMonitorV2 |
|
43 |
! |
|
44 |
||
45 |
!ProcessMonitorV2 class methodsFor:'documentation'! |
|
46 |
||
6300 | 47 |
copyright |
48 |
" |
|
49 |
COPYRIGHT (c) 2003 by eXept Software AG |
|
7811 | 50 |
All Rights Reserved |
6300 | 51 |
|
52 |
This software is furnished under a license and may be used |
|
53 |
only in accordance with the terms of that license and with the |
|
54 |
inclusion of the above copyright notice. This software may not |
|
55 |
be provided or otherwise made available to, or used by, any |
|
56 |
other person. No title to or ownership of the software is |
|
57 |
hereby transferred. |
|
58 |
" |
|
59 |
! |
|
60 |
||
4463 | 61 |
documentation |
62 |
" |
|
63 |
documentation to be added. |
|
64 |
||
65 |
[author:] |
|
7811 | 66 |
Christian Penk (penk@bierfix) |
4463 | 67 |
|
68 |
[instance variables:] |
|
69 |
||
70 |
[class variables:] |
|
71 |
||
72 |
[see also:] |
|
73 |
||
74 |
" |
|
75 |
! |
|
76 |
||
77 |
examples |
|
78 |
" |
|
79 |
Starting the application: |
|
7811 | 80 |
[exBegin] |
4463 | 81 |
ProcessMonitorV2 open |
82 |
||
7811 | 83 |
[exEnd] |
4463 | 84 |
|
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
85 |
Starting the application withot any possibilities to change |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
86 |
the processes |
7811 | 87 |
[exBegin] |
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
88 |
ProcessMonitorV2 openAllowNoModifications |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
89 |
|
7811 | 90 |
[exEnd] |
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
91 |
|
4463 | 92 |
more examples to be added: |
7811 | 93 |
[exBegin] |
94 |
... add code fragment for |
|
4463 | 95 |
... executable example here ... |
7811 | 96 |
[exEnd] |
4463 | 97 |
" |
98 |
! |
|
99 |
||
100 |
history |
|
101 |
"Created: / 14.1.2003 / 11:16:10 / penk" |
|
102 |
! ! |
|
103 |
||
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
104 |
!ProcessMonitorV2 class methodsFor:'instance creation'! |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
105 |
|
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
106 |
openAllowNoModifications |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
107 |
|
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
108 |
|
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
109 |
|application| |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
110 |
|
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
111 |
application := self new. |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
112 |
application open. |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
113 |
application allowModifications value:false. |
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 |
|
4463 | 116 |
!ProcessMonitorV2 class methodsFor:'defaults'! |
117 |
||
118 |
defaultIcon |
|
119 |
|i| |
|
120 |
||
121 |
i := Image fromFile:'ProcMon.xbm'. |
|
122 |
i notNil ifTrue:[^ i]. |
|
123 |
^ super defaultIcon |
|
124 |
||
125 |
"Modified: 23.1.1997 / 02:52:31 / cg" |
|
126 |
! |
|
127 |
||
128 |
defaultLabel |
|
129 |
^ 'Process Monitor' |
|
6239 | 130 |
! |
131 |
||
132 |
resourcePackName |
|
7874 | 133 |
"return the name which is used as the fileNameBase of my resource file. |
134 |
Here, use the same resources as the (old) ProcessMonitor" |
|
135 |
||
6239 | 136 |
^ 'ProcessMonitor' |
4463 | 137 |
! ! |
138 |
||
6290 | 139 |
!ProcessMonitorV2 class methodsFor:'help'! |
140 |
||
141 |
aboutThisApplicationText |
|
7811 | 142 |
^ super aboutThisApplicationText , |
6290 | 143 |
'\\Written by Christian Penk, eXept Software AG.' withCRs |
144 |
! ! |
|
145 |
||
4463 | 146 |
!ProcessMonitorV2 class methodsFor:'help specs'! |
147 |
||
6239 | 148 |
flyByHelpSpec |
149 |
"This resource specification was automatically generated |
|
150 |
by the UIHelpTool of ST/X." |
|
151 |
||
152 |
"Do not manually edit this!! If it is corrupted, |
|
153 |
the UIHelpTool may not be able to read the specification." |
|
154 |
||
155 |
" |
|
7811 | 156 |
UIHelpTool openOnClass:ProcessMonitorV2 |
6239 | 157 |
" |
158 |
||
159 |
<resource: #help> |
|
160 |
||
161 |
^ super flyByHelpSpec addPairsFrom:#( |
|
162 |
||
163 |
#Debug |
|
164 |
'Debug' |
|
165 |
||
166 |
#Details |
|
167 |
'Details' |
|
168 |
||
169 |
#Inspect |
|
170 |
'Inspect' |
|
171 |
||
172 |
#'Lower Prio' |
|
173 |
'Lower Prio' |
|
174 |
||
175 |
#'Raise Prio' |
|
176 |
'Raise Prio' |
|
177 |
||
7809 | 178 |
#RaiseWindow |
9293 | 179 |
'Raise Application''s Window' |
7809 | 180 |
|
6239 | 181 |
#Restart |
182 |
'Restart' |
|
183 |
||
184 |
#Resume |
|
185 |
'Resume' |
|
186 |
||
6290 | 187 |
#Abort |
188 |
'Abort' |
|
189 |
||
6239 | 190 |
#Stop |
191 |
'Stop' |
|
192 |
||
193 |
#Suspend |
|
194 |
'Suspend' |
|
195 |
||
196 |
#Terminate |
|
197 |
'Terminate' |
|
198 |
||
199 |
#'Terminate Group' |
|
200 |
'Terminate Group' |
|
201 |
||
202 |
#'Update Process List' |
|
203 |
'Update Process List' |
|
204 |
||
205 |
) |
|
7809 | 206 |
|
207 |
"Modified: / 05-06-2007 / 18:35:47 / cg" |
|
4463 | 208 |
! ! |
209 |
||
210 |
!ProcessMonitorV2 class methodsFor:'image specs'! |
|
211 |
||
212 |
detailsMenuIconDown |
|
213 |
"This resource specification was automatically generated |
|
214 |
by the ImageEditor of ST/X." |
|
215 |
||
216 |
"Do not manually edit this!! If it is corrupted, |
|
217 |
the ImageEditor may not be able to read the specification." |
|
218 |
||
219 |
" |
|
220 |
self detailsMenuIconDown inspect |
|
221 |
ImageEditor openOnClass:self andSelector:#detailsMenuIconDown |
|
222 |
Icon flushCachedIcons |
|
223 |
" |
|
224 |
||
225 |
<resource: #image> |
|
226 |
||
227 |
^Icon |
|
7811 | 228 |
constantNamed:#'ProcessMonitorV2 class detailsMenuIconDown' |
229 |
ifAbsentPut:[(Depth1Image new) width: 7; height: 5; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255]; mask:((Depth1Image new) width: 7; height: 5; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@A@(UJ(b') ; yourself); yourself] |
|
4463 | 230 |
! |
231 |
||
232 |
detailsMenuIconUp |
|
233 |
"This resource specification was automatically generated |
|
234 |
by the ImageEditor of ST/X." |
|
235 |
||
236 |
"Do not manually edit this!! If it is corrupted, |
|
237 |
the ImageEditor may not be able to read the specification." |
|
238 |
||
239 |
" |
|
240 |
self detailsMenuIconUp inspect |
|
241 |
ImageEditor openOnClass:self andSelector:#detailsMenuIconUp |
|
242 |
Icon flushCachedIcons |
|
243 |
" |
|
244 |
||
245 |
<resource: #image> |
|
246 |
||
247 |
^Icon |
|
7811 | 248 |
constantNamed:#'ProcessMonitorV2 class detailsMenuIconUp' |
249 |
ifAbsentPut:[(Depth1Image new) width: 7; height: 5; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255]; mask:((Depth1Image new) width: 7; height: 5; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'*%P(D@@b') ; yourself); yourself] |
|
4463 | 250 |
! |
251 |
||
4468 | 252 |
process22x22Icon |
253 |
"This resource specification was automatically generated |
|
254 |
by the ImageEditor of ST/X." |
|
255 |
||
256 |
"Do not manually edit this!! If it is corrupted, |
|
257 |
the ImageEditor may not be able to read the specification." |
|
258 |
||
259 |
" |
|
260 |
self process22x22Icon inspect |
|
261 |
ImageEditor openOnClass:self andSelector:#process22x22Icon |
|
262 |
Icon flushCachedIcons |
|
263 |
" |
|
264 |
||
265 |
<resource: #image> |
|
266 |
||
267 |
^Icon |
|
7811 | 268 |
constantNamed:#'ProcessMonitorV2 class process22x22Icon' |
269 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 270 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@ |
271 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@ |
|
272 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TFA XHB@@@@@@@@@@@A0\FA T@@@TFA XH@@@@@@@@@@@@@@@G |
|
273 |
A XFAPTFA XH@@@@@@@@@@@@@@@@APXFA XFA XFB@@@@@@@@@@@@@@@APXHA0XFA XFAPXH@@@@@@@@@@@@@@\H@@@EA XG@@@GB@@@@@@@@@@@@@@@@@@@ |
|
274 |
@@TH@@@@@@@@@@@@@@@@@@@@@@@@@@@EB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
|
275 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O??@C?<@C?<@G?>@G?>@COL@@O@@@F@@@@@@@@@@@@@@') ; yourself); yourself] |
|
276 |
! |
|
277 |
||
6290 | 278 |
processAbort22x22Icon |
279 |
"This resource specification was automatically generated |
|
280 |
by the ImageEditor of ST/X." |
|
281 |
||
282 |
"Do not manually edit this!! If it is corrupted, |
|
283 |
the ImageEditor may not be able to read the specification." |
|
284 |
||
285 |
" |
|
286 |
self processAbort22x22Icon inspect |
|
287 |
ImageEditor openOnClass:self andSelector:#processAbort22x22Icon |
|
288 |
Icon flushCachedIcons |
|
289 |
" |
|
290 |
||
291 |
<resource: #image> |
|
292 |
||
293 |
^Icon |
|
7811 | 294 |
constantNamed:#'ProcessMonitorV2 class processAbort22x22Icon' |
295 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
6290 | 296 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@E@ @@@@@@@@@@@@@@@@@@@@@@@@@@APH@@@@@@@@@@@@@@@@@ |
297 |
@@@BAP@@APLC@P@@APH@@@@@@@@@@@@@@PLEAPLC@0LEAPLA@@@@@@@@@@@@@@@B@0LC@0LC@0LA@@@@@@@@@@@@@@@@APLC@ DB@0LC@ @@@@@@@@@@@@@@ |
|
298 |
APLC@ D@@@TC@0LB@@@@@@@@@@@EAPLC@0D@@@@@APLC@0TB@@@@@@@@@PDC@0LB@@@@@@TC@0LA@P@@@@@@@@@@@ HC@0T@@@TC@0LA@@TE@@@@@@@@@@@B |
|
299 |
@0LCAPTC@0LA@@TFA TE@@@@@@@@APLC@0LC@0LC@PTFA@PFAP@@@@@@APLA@ LC@0LCAPTFA@PDA@XE@@@@@@HA@@@E@0LB@@TFA@PDA@PFA @@@@@@@@TE |
|
300 |
@@TA@@@EA XDA@PFAPT@@@@@@@@EA TE@P@@APTEA PDA @@@@@@@@@@@@TFAP@@@@TEA PDA T@@@@@@@@@@@@@A XEAPTFA PDA@X@@@@@@@@@@@@@@@TF |
|
301 |
A XFA@PDA XE@@@@@@@@@@@@@@@@APTFA XFA TE@@@@@@@a') ; colorMapFromArray:#[0 0 0 127 127 127 161 161 165 194 194 194 255 0 0 255 255 255 192 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O?? C??8C??8G??<G??<C?_<@?_0@^_0@O? @O? @G?@') ; yourself); yourself] |
|
302 |
! |
|
303 |
||
4468 | 304 |
processDebug22x22Icon |
305 |
"This resource specification was automatically generated |
|
306 |
by the ImageEditor of ST/X." |
|
307 |
||
308 |
"Do not manually edit this!! If it is corrupted, |
|
309 |
the ImageEditor may not be able to read the specification." |
|
310 |
||
311 |
" |
|
312 |
self processDebug22x22Icon inspect |
|
313 |
ImageEditor openOnClass:self andSelector:#processDebug22x22Icon |
|
314 |
Icon flushCachedIcons |
|
315 |
" |
|
316 |
||
317 |
<resource: #image> |
|
318 |
||
319 |
^Icon |
|
7811 | 320 |
constantNamed:#'ProcessMonitorV2 class processDebug22x22Icon' |
321 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 322 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@F@0@@@@@@@@@@@@@@@@@@@@@@@@@@A L@@@@@@@@@@@@@@@@@ |
323 |
@@@CA @@A PD@P@@A L@@@@@@@@@@@@@@PPFA PDA@PFA PA@@@@@@@@@@@@@@@CA@PD@@@DA@PA@@@@@@@@@@@@@@@@A P@@0DC@@@D@0@@@@@@@@@@@@@@ |
|
324 |
A PD@0@@@@X@@@@@@@@@@@@@@@@FA PDA@D@@@@@@@HB@ HB@ @@@@@@@PDDA@@@@@@@@ HBAPTEAPTB@@@@@@@@@0@B@ @B@ HEAPTEAPTEAPH@@@@@@@HB |
|
325 |
APTE@@HEAPTEAPTEAPTE@ @@@@@B@ TEAP@BAPTEAPTEAPTEAPH@@@@@@@HEAPT@@@@@@@@@@@@@@@@@@@@@@@HBAPTE@@HBAPTEAPTEAPTE@ @@@@@@@ HE |
|
326 |
@ @B@ HEAPTEAPTE@ H@@@@@@@@@@@@@@@HB@ HB@ HB@ @@@@@@@@@@@@@@@@@@@@@B@ HB@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
|
327 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 127 127 127 128 0 0 161 161 165 194 194 194 255 0 0 255 255 255]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?= C??XO?? _=?0_??8O??<???<C??<G??<???<_??<@??8@G?0@L? @Q#X@FA ') ; yourself); yourself] |
|
328 |
! |
|
329 |
||
330 |
processInspect22x22Icon |
|
331 |
"This resource specification was automatically generated |
|
332 |
by the ImageEditor of ST/X." |
|
333 |
||
334 |
"Do not manually edit this!! If it is corrupted, |
|
335 |
the ImageEditor may not be able to read the specification." |
|
336 |
||
337 |
" |
|
338 |
self processInspect22x22Icon inspect |
|
339 |
ImageEditor openOnClass:self andSelector:#processInspect22x22Icon |
|
340 |
Icon flushCachedIcons |
|
341 |
" |
|
342 |
||
343 |
<resource: #image> |
|
344 |
||
345 |
^Icon |
|
7811 | 346 |
constantNamed:#'ProcessMonitorV2 class processInspect22x22Icon' |
347 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 348 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@ |
349 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA @@@@XH@@@@@@@@@@@@@@@@APXF@@@BCPH@@@@@@@@@@@@@@@@@ |
|
350 |
APXF@@0MCP4MCP0@@@@@@@@@@@@EAPXFA @MCPTEAP4M@@TG@@@@@@@@B@ FA @BCPTEAP4MCPH@B@@@@@@@@@@@A0\@CP4EAP4MCP4M@@@@@@@@@@@@@@@G |
|
351 |
@@HMAP4MCP4M@ @@@@@@@@@@@@@@APX@CP4MCP4MCP@@@@@@@@@@@@@@APXH@@0MCP4MCP0@BP@@@@@@@@@@@@\H@@@@@@HM@ @@@ @@@@@@@@@@@@@@@@@@ |
|
352 |
@@T@@@@@B @K@0@@@@@@@@@@@@@@@@@EB@@@@@@@C ,C@@@@@@@@@@@@@@@@@@@@@@@@@@@NB0L@@@@@@@@@@@@@@@@@@@@@@@@@@@8K@0@@@@@@@@@@@@@@ |
|
353 |
@@@@@@@@@@@@C ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_?? _?? O??@C?>@C?<@G?>@G??@CO/ @OG0@FC8@@A<@@@<@@@X') ; yourself); yourself] |
|
354 |
! |
|
355 |
||
356 |
processLowerPrio22x22Icon |
|
357 |
"This resource specification was automatically generated |
|
358 |
by the ImageEditor of ST/X." |
|
359 |
||
360 |
"Do not manually edit this!! If it is corrupted, |
|
361 |
the ImageEditor may not be able to read the specification." |
|
362 |
||
363 |
" |
|
364 |
self processLowerPrio22x22Icon inspect |
|
365 |
ImageEditor openOnClass:self andSelector:#processLowerPrio22x22Icon |
|
366 |
Icon flushCachedIcons |
|
367 |
" |
|
368 |
||
369 |
<resource: #image> |
|
370 |
||
371 |
^Icon |
|
7811 | 372 |
constantNamed:#'ProcessMonitorV2 class processLowerPrio22x22Icon' |
373 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 374 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@ |
375 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@ |
|
6290 | 376 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TEAPTEAPTE@@@@@@@@A0\FA T@@@TFAP@@@@@@AP@@@@@@@@@G |
377 |
A XFAPTFA T@@@@@@@T@@@@@@@@@APXFA XFA XE@@@@@@@E@@@@@@@@APXHA0XFA XFAP@@@@@@AP@@@@@@@@\H@@@EA XEAPT@@@@@@@TEAP@@@@@@@@@@ |
|
378 |
@@THAP@@@@@@@@@@@@T@@@@@@@@@@@@EB@@E@@@@@@@@@@T@@@@@@@@@@@@@@@@@@@T@@@@@@@T@@@@@@@@@@@@@@@@@@@@@AP@@@@T@@@@@@@@@@@@@@@@@ |
|
379 |
@@@@@@@E@@T@@@@@@@@@@@@@@@@@@@@@@@@@@@T@@@@@@@@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9?0O??0C??0C??0G??0G??<CO?<@O?8@F_0@@O @@G@@@B@') ; yourself); yourself] |
|
4468 | 380 |
! |
381 |
||
382 |
processRaisePrio22x22Icon |
|
383 |
"This resource specification was automatically generated |
|
384 |
by the ImageEditor of ST/X." |
|
385 |
||
386 |
"Do not manually edit this!! If it is corrupted, |
|
387 |
the ImageEditor may not be able to read the specification." |
|
388 |
||
389 |
" |
|
390 |
self processRaisePrio22x22Icon inspect |
|
391 |
ImageEditor openOnClass:self andSelector:#processRaisePrio22x22Icon |
|
392 |
Icon flushCachedIcons |
|
393 |
" |
|
394 |
||
395 |
<resource: #image> |
|
396 |
||
397 |
^Icon |
|
7811 | 398 |
constantNamed:#'ProcessMonitorV2 class processRaisePrio22x22Icon' |
399 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 400 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@ |
401 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@ |
|
6290 | 402 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TFA XEB@@@@@@@@@@@A0\FA T@@@TFA XE@@T@@@@@@@@@@@@G |
403 |
A XFAPTFA XE@@@@AP@@@@@@@@@@APXFA XFA XE@@@@@@@E@@@@@@@@APXHA0XFA XE@@@@@@@@@@T@@@@@@@\H@@@EA XE@@@@@@@@@@@@AP@@@@@@@@@@ |
|
404 |
@@THAPTE@@@@@@@EAPT@@@@@@@@@@@@EB@@@AP@@@@@@AP@@@@@@@@@@@@@@@@@@@@T@@@@@@@T@@@@@@@@@@@@@@@@@@@@E@@@@@@@E@@@@@@@@@@@@@@@@ |
|
405 |
@@@@AP@@@@@@AP@@@@@@@@@@@@@@@@@@@@TEAPTEAPT@@@@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O??@C?? C??0G??8G??<CO?<@O_0@F_0@@_0@@_0@@_0') ; yourself); yourself] |
|
4468 | 406 |
! |
407 |
||
408 |
processRestart22x22Icon |
|
409 |
"This resource specification was automatically generated |
|
410 |
by the ImageEditor of ST/X." |
|
411 |
||
412 |
"Do not manually edit this!! If it is corrupted, |
|
413 |
the ImageEditor may not be able to read the specification." |
|
414 |
||
415 |
" |
|
416 |
self processRestart22x22Icon inspect |
|
417 |
ImageEditor openOnClass:self andSelector:#processRestart22x22Icon |
|
418 |
Icon flushCachedIcons |
|
419 |
" |
|
420 |
||
421 |
<resource: #image> |
|
422 |
||
423 |
^Icon |
|
7811 | 424 |
constantNamed:#'ProcessMonitorV2 class processRestart22x22Icon' |
425 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 426 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@GAP@@@@@@@@@@@@@@@@@@@@@@@@@@A0T@@@@@@@@@@@@@@@@@ |
427 |
@@@EA0@@A0XFA@@@A0T@@@@@@@@@@@@@A@XGA0XFA XGA0XD@@@@@@@@@@@@@@@EA XFA XF@@@@@@@@@@@@@@@@@@@@A0XFAPP@@@LC@0@@@P@@@@@@@@@@ |
|
428 |
A0XFAPP@@0LC@0@E@@@@@@@@@@@GA0XFA P@@@LC@0@FA \@@@@@@@@@A@PFA XE@@LC@0@FA XD@@@@@@@@@@@@APTFA @C@0L@A XD@@@@@@@@@@@@@@@E |
|
429 |
@@LC@0LC@0L@@@@@@@@@@@@@@@@@A0X@@0LC@0L@@@@@@@@@@@@@@@@@A0XDAP@C@0L@@@@@@@@@@@@@@@@@@@TD@@@@@@L@@@@@@@@@@@@@@@@@@@@@@@@@ |
|
430 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
|
431 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?>@C?? O??0_?>P_?>HO?<@C?= C?30G?''8G7/<CCO0@PC0@HG @L_ @G?@@A<@') ; yourself); yourself] |
|
432 |
! |
|
433 |
||
434 |
processResume22x22Icon |
|
435 |
"This resource specification was automatically generated |
|
436 |
by the ImageEditor of ST/X." |
|
437 |
||
438 |
"Do not manually edit this!! If it is corrupted, |
|
439 |
the ImageEditor may not be able to read the specification." |
|
440 |
||
441 |
" |
|
442 |
self processResume22x22Icon inspect |
|
443 |
ImageEditor openOnClass:self andSelector:#processResume22x22Icon |
|
444 |
Icon flushCachedIcons |
|
445 |
" |
|
446 |
||
447 |
<resource: #image> |
|
448 |
||
449 |
^Icon |
|
7811 | 450 |
constantNamed:#'ProcessMonitorV2 class processResume22x22Icon' |
451 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 452 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@ |
453 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@ |
|
6290 | 454 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TE@@THB@@@@@@@@@@@A0\FA T@@@TFAP@@AP@@@@@@@@@@@@@G |
455 |
A XFAPTFA T@@@@E@@@@@@@@@@@@APXFA XFA XE@@@@@@T@@@@@@@@@APXHA0XFA XFAP@@@@@@AP@@@@@@@@\H@@@EA XG@@T@@@@@@@@E@@@@@@@@@@@@ |
|
456 |
@@TH@@@E@@@@@@@@AP@@@@@@@@@@@@@EB@@@AP@@@@@@AP@@@@@@@@@@@@@@@@@@@@T@@@@@AP@@@@@@@@@@@@@@@@@@@@@E@@@@AP@@@@@@@@@@@@@@@@@@ |
|
457 |
@@@@AP@@AP@@@@@@@@@@@@@@@@@@@@@@@@T@AP@@@@@@@@@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O??@C??@C?? G??0G??8CO_8@O_0@F_ @@_@@@^@@@\@') ; yourself); yourself] |
|
4468 | 458 |
! |
459 |
||
460 |
processStop22x22Icon |
|
461 |
"This resource specification was automatically generated |
|
462 |
by the ImageEditor of ST/X." |
|
463 |
||
464 |
"Do not manually edit this!! If it is corrupted, |
|
465 |
the ImageEditor may not be able to read the specification." |
|
466 |
||
467 |
" |
|
468 |
self processStop22x22Icon inspect |
|
469 |
ImageEditor openOnClass:self andSelector:#processStop22x22Icon |
|
470 |
Icon flushCachedIcons |
|
471 |
" |
|
472 |
||
473 |
<resource: #image> |
|
474 |
||
475 |
^Icon |
|
7811 | 476 |
constantNamed:#'ProcessMonitorV2 class processStop22x22Icon' |
477 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 478 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@ |
479 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@ |
|
6290 | 480 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TFA XHB@@@@@@@@@@@A0\FA T@@@TFA XH@@@@@@@@@@@@@@@G |
481 |
A XFAPTFAPTEAPTEAPTEAP@@@@@@APXFA XFA T@@@@EAP@@@@T@@@@@APXHA0XFA XE@@@@APT@@@@E@@@@@@\H@@@EA XGAP@@@@TE@@@@AP@@@@@@@@@@ |
|
482 |
@@TH@@T@@@@EAP@@@@T@@@@@@@@@@@@EB@@E@@@@APT@@@@E@@@@@@@@@@@@@@@@AP@@@@TE@@@@AP@@@@@@@@@@@@@@@@T@@@@EAP@@@@T@@@@@@@@@@@@@ |
|
483 |
@@@E@@@@APT@@@@E@@@@@@@@@@@@@@@@APTEAPTEAPTEAP@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1)); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _9? O??@C??<C??<G??<G??<CO?<@O?<@F?<@@?<@@?<@@?<') ; yourself); yourself] |
|
4468 | 484 |
! |
485 |
||
486 |
processSuspend22x22Icon |
|
487 |
"This resource specification was automatically generated |
|
488 |
by the ImageEditor of ST/X." |
|
489 |
||
490 |
"Do not manually edit this!! If it is corrupted, |
|
491 |
the ImageEditor may not be able to read the specification." |
|
492 |
||
493 |
" |
|
494 |
self processSuspend22x22Icon inspect |
|
495 |
ImageEditor openOnClass:self andSelector:#processSuspend22x22Icon |
|
496 |
Icon flushCachedIcons |
|
497 |
" |
|
498 |
||
499 |
<resource: #image> |
|
500 |
||
501 |
^Icon |
|
7811 | 502 |
constantNamed:#'ProcessMonitorV2 class processSuspend22x22Icon' |
503 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4498 | 504 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@ |
505 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@ |
|
506 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@TEAPTEAPTEAPTEAPT@@@@@A0\FA TEAPTEAPTEAPTEAPTE@@@@@@@G |
|
507 |
A XFAPTE@@@@@@@@@@@EAP@@@@@@APXFA TEAP@@@@@@@@@@APT@@@@@APXHA0XEAPT@@@@@@@@@@@TE@@@@@@\H@@@EAPTE@@@@@@@@@@@EAP@@@@@@@@@@ |
|
508 |
@@TEAP@@@@@@@@@@APT@@@@@@@@@@@@EAPT@@@@@@@@@@@TE@@@@@@@@@@@@APTE@@@@@@@@@@@EAP@@@@@@@@@@@@TEAP@@@@@@@@@@APT@@@@@@@@@@@@E |
|
509 |
APTEAPTEAPTEAPTE@@@@@@@@@@@@APTEAPTEAPTEAPTEAP@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _??<O??<C??<C??<G??<G??<CO?<@O?<@G?<@G?<@G?<@G?<') ; yourself); yourself] |
|
4468 | 510 |
! |
511 |
||
512 |
processTerminate22x22Icon |
|
513 |
"This resource specification was automatically generated |
|
514 |
by the ImageEditor of ST/X." |
|
515 |
||
516 |
"Do not manually edit this!! If it is corrupted, |
|
517 |
the ImageEditor may not be able to read the specification." |
|
518 |
||
519 |
" |
|
520 |
self processTerminate22x22Icon inspect |
|
521 |
ImageEditor openOnClass:self andSelector:#processTerminate22x22Icon |
|
522 |
Icon flushCachedIcons |
|
523 |
" |
|
524 |
||
525 |
<resource: #image> |
|
526 |
||
527 |
^Icon |
|
7811 | 528 |
constantNamed:#'ProcessMonitorV2 class processTerminate22x22Icon' |
529 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 530 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@ |
531 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@ |
|
532 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TGC@@@@@@@B@ FA XG@@@LC@TFA XHC@,K@@@@@@@@A0\FA TLB0,LC@XHC@,KBP@@@@@@@@@G |
|
533 |
A XFAPTJB0,LB0,KBP@@@@@@@@@@APXFA XFA (KB0,KBP@@@@@@@@@@APXHA0XFA XFC@,KC@@@@@@@@@@@@@\H@@@EA XGC@,KB00@@@@@@@@@@@@@@@@@ |
|
534 |
@@THC@,I@@(KC@@@@@@@@@@@@@@@@@@EB@0I@@@@B ,@@@@@@@@@@@@@@@@@@@0K@@@@@@@JB0@@@@@@@@@@@@@@@@@LBP@@@@@@@@,@@@@@@@@@@@@@@@@@ |
|
535 |
C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@F@@@O@@COL@G?>@G?>@C?<@C?<@O??@_9? _;?0O??0C?? C??@G?>@G?>@CO?@@O#@@GA @C@ @B@@@@@@') ; yourself); yourself] |
|
536 |
! |
|
537 |
||
538 |
processTerminateGroup22x22Icon |
|
539 |
"This resource specification was automatically generated |
|
540 |
by the ImageEditor of ST/X." |
|
541 |
||
542 |
"Do not manually edit this!! If it is corrupted, |
|
543 |
the ImageEditor may not be able to read the specification." |
|
544 |
||
545 |
" |
|
546 |
self processTerminateGroup22x22Icon inspect |
|
547 |
ImageEditor openOnClass:self andSelector:#processTerminateGroup22x22Icon |
|
548 |
Icon flushCachedIcons |
|
549 |
" |
|
550 |
||
551 |
<resource: #image> |
|
552 |
||
553 |
^Icon |
|
7811 | 554 |
constantNamed:#'ProcessMonitorV2 class processTerminateGroup22x22Icon' |
555 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 556 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@@@@@@@@@@@TG@@@@@@@@@@@@@@@@@@@@A0T@@@TFA @@@TG@@@@@@@@@@@@ |
557 |
@@ FAPTF@@@FAPTFB@@@@@@@@@@@@@@@A0XF@@TG@@XFB@@@@@@@@@@@@@@@@@@FA @EA0@FA @@@@@@@@@@@@@@@@\E@@@EA XH@@@EA0@@@@@@@@@@AP@H |
|
558 |
A TEA XFA TEA @A0@@@@@@@@ H@@\FA XFA XFA @B@ @@@@@@@@@@@@EA XGB@\FA XG@@@@@@@L@@@@@@@EA XGB@@@AP0LA \@@@@LB0,@@@TEA XF |
|
559 |
B@@FA 0KB00LAP\LB0,I@@@HB@XFA \@A X@AP(KB00KB0,I@@@@@@@GA0XFAP@@APXFB ,KB0,I@@@@@@@@@@\FA XEAPXFA LB0,L@@@@@@@@@@@EA XF |
|
560 |
A XFA XLB0,KC@@@@@@@@@@EA GA XFA XLB0$@B ,L@@@@@@@@A0 @@@TFA \@C@$H@@@JB0@@@@@@@@@@@@@@AP @C@,@@@@@@@(K@@@@@@@@@@@@@@TH |
|
561 |
@@0I@@@@@@@@B0@@@@@@@@@@@@@@@@@L@@@@@@@@@@@@@@@a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@L@@@^@@F^X@O?<@O?<@G?8@G?8@_?>@???@???@_?>P_?>8???8???0_?? G??@G??@O?? O?= F_80@_ P@M@@') ; yourself); yourself] |
|
562 |
! |
|
563 |
||
7809 | 564 |
raiseWindow22x22Icon |
565 |
"This resource specification was automatically generated |
|
566 |
by the ImageEditor of ST/X." |
|
567 |
||
568 |
"Do not manually edit this!! If it is corrupted, |
|
569 |
the ImageEditor may not be able to read the specification." |
|
570 |
||
571 |
" |
|
572 |
self raiseWindow22x22Icon inspect |
|
573 |
ImageEditor openOnClass:self andSelector:#raiseWindow22x22Icon |
|
574 |
Icon flushCachedIcons |
|
575 |
" |
|
576 |
||
577 |
<resource: #image> |
|
578 |
||
579 |
^Icon |
|
8652 | 580 |
constantNamed:'ProcessMonitorV2 class raiseWindow22x22Icon' |
581 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
7809 | 582 |
@@@.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 | 583 |
@ 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 | 584 |
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,+ |
585 |
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,+ |
|
586 |
J2,EAR$)HPX HB@Y@B8@@@H+J2,+J2,EAPT)HRDFH@@@@@@.@@@BJ2,EJR$)HRD!!CB\''@2@@@@@@K @@DRPGA2<^D@,KJ!!<-JB@Y@@@@@B8@@@@@@@@@@@@@ |
|
587 |
@@@@@@@@@@@@@@@.@@@@@@@@@@@@@@@@@@@@@@@@K"8.K @a') ; 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]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@A??0A??0A??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O??0O?>@O?>@O?>@@@@@@@@@') ; yourself); yourself] |
|
588 |
! |
|
589 |
||
4468 | 590 |
terminateGroupIcon |
591 |
"This resource specification was automatically generated |
|
592 |
by the ImageEditor of ST/X." |
|
593 |
||
594 |
"Do not manually edit this!! If it is corrupted, |
|
595 |
the ImageEditor may not be able to read the specification." |
|
596 |
||
597 |
" |
|
598 |
self terminateGroupIcon inspect |
|
599 |
ImageEditor openOnClass:self andSelector:#terminateGroupIcon |
|
600 |
Icon flushCachedIcons |
|
601 |
" |
|
602 |
||
603 |
<resource: #image> |
|
604 |
||
605 |
^Icon |
|
7811 | 606 |
constantNamed:#'ProcessMonitorV2 class terminateGroupIcon' |
607 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 20; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 608 |
@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@@@@@ |
609 |
@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 |
|
610 |
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 |
|
611 |
@ 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 |
|
612 |
B0,KB0@@@@,KB0,K@@@@@@@@@@@KB0,KB0@A@@@@B0,KB0,@@@@@@@@@@@@@@@@A@P@@@@@@@@@@@@@@@@@@@@@@@@DA@P@@@@@@@@@@@@@b') ; 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]; mask:((Depth1Image new) width: 22; height: 20; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???<???<_??8_??0O??0_??8???<???<???<???<???<_??8_??0O??0O??0O??0G?/8A?''<A?#<@G@@') ; yourself); yourself] |
|
613 |
! |
|
614 |
||
615 |
terminateIcon |
|
616 |
"This resource specification was automatically generated |
|
617 |
by the ImageEditor of ST/X." |
|
618 |
||
619 |
"Do not manually edit this!! If it is corrupted, |
|
620 |
the ImageEditor may not be able to read the specification." |
|
621 |
||
622 |
" |
|
623 |
self terminateIcon inspect |
|
624 |
ImageEditor openOnClass:self andSelector:#terminateIcon |
|
625 |
Icon flushCachedIcons |
|
626 |
" |
|
627 |
||
628 |
<resource: #image> |
|
629 |
||
630 |
^Icon |
|
7811 | 631 |
constantNamed:#'ProcessMonitorV2 class terminateIcon' |
632 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
4468 | 633 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@@@@@@@@@LC@@@@@@@C@ H@@@@@@@LB@ LC@@@C@ H@@@@@@@@@@@DB@ LB |
634 |
@ H@@@@@@@@@@@@@@PHB@ H@@@@@@@@@@@@@@@@C@ HC@@@@@@@@@@@@@@@C@ HB@0@@@@@@@@@@@@@C@ @@@PHC@@@@@@@@@@@@@0@@@@@A@ @@@@@@@@@@ |
|
635 |
@0H@@@@@@@DB@@@@@@@@@@L@@@@@@@@@@ @@@@@@@@@C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[64 0 0 128 0 0 192 0 0 255 0 0]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@HCA0_O@_8@?@A8@O A7@FL@0XC@ H@@@@@@@b') ; yourself); yourself] |
|
636 |
! |
|
637 |
||
4463 | 638 |
viewDetailsIcon |
639 |
"This resource specification was automatically generated |
|
640 |
by the ImageEditor of ST/X." |
|
641 |
||
642 |
"Do not manually edit this!! If it is corrupted, |
|
643 |
the ImageEditor may not be able to read the specification." |
|
644 |
||
645 |
" |
|
646 |
self viewDetailsIcon inspect |
|
647 |
ImageEditor openOnClass:self andSelector:#viewDetailsIcon |
|
648 |
Icon flushCachedIcons |
|
649 |
" |
|
650 |
||
651 |
<resource: #image> |
|
652 |
||
653 |
^Icon |
|
7811 | 654 |
constantNamed:#'ProcessMonitorV2 class viewDetailsIcon' |
655 |
ifAbsentPut:[(Depth1Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@]+X@@@@@]+X@@@@@]+X@@@@@]+X@@@@@@@@b') ; yourself); yourself] |
|
4463 | 656 |
! ! |
657 |
||
658 |
!ProcessMonitorV2 class methodsFor:'interface specs'! |
|
659 |
||
660 |
windowSpec |
|
661 |
"This resource specification was automatically generated |
|
662 |
by the UIPainter of ST/X." |
|
663 |
||
664 |
"Do not manually edit this!! If it is corrupted, |
|
665 |
the UIPainter may not be able to read the specification." |
|
666 |
||
667 |
" |
|
668 |
UIPainter new openOnClass:ProcessMonitorV2 andSelector:#windowSpec |
|
669 |
ProcessMonitorV2 new openInterface:#windowSpec |
|
670 |
ProcessMonitorV2 open |
|
671 |
" |
|
672 |
||
673 |
<resource: #canvas> |
|
674 |
||
7811 | 675 |
^ |
5938
482ef199ebdb
Do not set maxExtent (to 1024x768).
Stefan Vogel <sv@exept.de>
parents:
5783
diff
changeset
|
676 |
#(FullSpec |
8195 | 677 |
name: windowSpec |
678 |
window: |
|
5938
482ef199ebdb
Do not set maxExtent (to 1024x768).
Stefan Vogel <sv@exept.de>
parents:
5783
diff
changeset
|
679 |
(WindowSpec |
8195 | 680 |
label: 'ProcessMonitor' |
681 |
name: 'ProcessMonitor' |
|
682 |
min: (Point 10 10) |
|
683 |
bounds: (Rectangle 0 0 791 358) |
|
684 |
menu: mainMenu |
|
685 |
) |
|
686 |
component: |
|
5938
482ef199ebdb
Do not set maxExtent (to 1024x768).
Stefan Vogel <sv@exept.de>
parents:
5783
diff
changeset
|
687 |
(SpecCollection |
8195 | 688 |
collection: ( |
689 |
(MenuPanelSpec |
|
690 |
name: 'ToolBar1' |
|
691 |
layout: (LayoutFrame 0 0.0 0 0 0 1.0 32 0) |
|
692 |
menu: toolBarMainMenu |
|
693 |
textDefault: true |
|
694 |
) |
|
695 |
(DataSetSpec |
|
696 |
name: 'ProcessTable' |
|
697 |
layout: (LayoutFrame 0 0.0 32 0.0 0 1.0 -23 1) |
|
698 |
model: selectedProcesses |
|
699 |
menu: tableMenu |
|
700 |
hasHorizontalScrollBar: true |
|
701 |
hasVerticalScrollBar: true |
|
702 |
dataList: processList |
|
703 |
useIndex: false |
|
704 |
doubleClickSelector: doubleClickedAt: |
|
705 |
columnHolder: tableColumns |
|
706 |
multipleSelectOk: true |
|
707 |
verticalSpacing: 0 |
|
708 |
postBuildCallback: postBuildProcessTable: |
|
709 |
) |
|
710 |
(LabelSpec |
|
711 |
label: 'Update Contents Delay (s):' |
|
712 |
name: 'ContentsUpdateLabel' |
|
713 |
layout: (LayoutFrame -593 1 -20 1 -402 1 0 1) |
|
714 |
translateLabel: true |
|
715 |
adjust: right |
|
716 |
) |
|
717 |
(ViewSpec |
|
718 |
name: 'Box1' |
|
719 |
layout: (LayoutFrame -396 1 -22 1 -306 1 0 1) |
|
720 |
level: 0 |
|
721 |
component: |
|
722 |
(SpecCollection |
|
723 |
collection: ( |
|
724 |
(ArrowButtonSpec |
|
725 |
name: 'ArrowButton3' |
|
726 |
layout: (LayoutFrame 68 0 0 0 89 0 20 0) |
|
727 |
model: increaseupdateContentsDelayTime |
|
728 |
enableChannel: enableIncreaseContentsDelayTime |
|
729 |
isTriggerOnDown: true |
|
730 |
autoRepeat: true |
|
731 |
actionValue: '' |
|
732 |
direction: up |
|
733 |
) |
|
734 |
(InputFieldSpec |
|
735 |
name: 'EntryField2' |
|
736 |
layout: (LayoutFrame 22 0 0 0 66 0 20 0) |
|
737 |
model: updateContentsDelayTime |
|
738 |
acceptOnReturn: true |
|
739 |
acceptOnTab: true |
|
740 |
acceptOnLostFocus: true |
|
741 |
acceptOnPointerLeave: false |
|
742 |
) |
|
743 |
(ArrowButtonSpec |
|
744 |
name: 'ArrowButton4' |
|
745 |
layout: (LayoutFrame 0 0 0 0 20 0 20 0) |
|
746 |
model: decreaseupdateContentsDelayTime |
|
747 |
enableChannel: enableDecreaseContentsDelayTime |
|
748 |
isTriggerOnDown: true |
|
749 |
autoRepeat: true |
|
750 |
actionValue: '' |
|
751 |
direction: down |
|
752 |
) |
|
753 |
) |
|
754 |
||
755 |
) |
|
756 |
) |
|
757 |
(LabelSpec |
|
758 |
label: 'Update List Delay (s):' |
|
759 |
name: 'ListUpdateLabel' |
|
760 |
layout: (LayoutFrame -301 1 -20 1 -93 1 0 1) |
|
761 |
translateLabel: true |
|
762 |
adjust: right |
|
763 |
) |
|
764 |
(ViewSpec |
|
765 |
name: 'Box2' |
|
766 |
layout: (LayoutFrame -89 1 -21 1 1 1 1 1) |
|
767 |
level: 0 |
|
768 |
component: |
|
769 |
(SpecCollection |
|
770 |
collection: ( |
|
771 |
(ArrowButtonSpec |
|
772 |
name: 'ArrowButton5' |
|
773 |
layout: (LayoutFrame 68 0 0 0 89 0 20 0) |
|
774 |
model: increaseupdateListDelayTime |
|
775 |
enableChannel: enableIncreaseListDelayTime |
|
776 |
isTriggerOnDown: true |
|
777 |
autoRepeat: true |
|
778 |
actionValue: '' |
|
779 |
direction: up |
|
780 |
) |
|
781 |
(InputFieldSpec |
|
782 |
name: 'EntryField3' |
|
783 |
layout: (LayoutFrame 22 0 0 0 66 0 20 0) |
|
784 |
model: updateListDelayTime |
|
785 |
acceptOnReturn: true |
|
786 |
acceptOnTab: true |
|
787 |
acceptOnLostFocus: true |
|
788 |
acceptOnPointerLeave: false |
|
789 |
) |
|
790 |
(ArrowButtonSpec |
|
791 |
name: 'ArrowButton6' |
|
792 |
layout: (LayoutFrame 0 0 0 0 20 0 20 0) |
|
793 |
model: decreaseupdateListDelayTime |
|
794 |
enableChannel: enableDecreaseListDelayTime |
|
795 |
isTriggerOnDown: true |
|
796 |
autoRepeat: true |
|
797 |
actionValue: '' |
|
798 |
direction: down |
|
799 |
) |
|
800 |
) |
|
801 |
||
802 |
) |
|
803 |
) |
|
804 |
) |
|
805 |
||
806 |
) |
|
4463 | 807 |
) |
808 |
! ! |
|
809 |
||
810 |
!ProcessMonitorV2 class methodsFor:'menu specs'! |
|
811 |
||
7810 | 812 |
applicationMenu |
813 |
"This resource specification was automatically generated |
|
814 |
by the MenuEditor of ST/X." |
|
815 |
||
816 |
"Do not manually edit this!! If it is corrupted, |
|
817 |
the MenuEditor may not be able to read the specification." |
|
818 |
||
819 |
" |
|
820 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#applicationMenu |
|
821 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 applicationMenu)) startUp |
|
822 |
" |
|
823 |
||
824 |
<resource: #menu> |
|
825 |
||
7811 | 826 |
^ |
7810 | 827 |
#(Menu |
7811 | 828 |
( |
829 |
(MenuItem |
|
830 |
enabled: hasSelectionWithApplicationProcessHolder |
|
831 |
label: 'Raise Applications Window' |
|
832 |
itemValue: raiseApplicationWindow |
|
833 |
translateLabel: true |
|
834 |
) |
|
835 |
(MenuItem |
|
836 |
enabled: hasSelectionWithApplicationProcessHolder |
|
837 |
label: 'Lower Applications Window' |
|
838 |
itemValue: lowerApplicationWindow |
|
839 |
translateLabel: true |
|
840 |
) |
|
841 |
(MenuItem |
|
842 |
label: '-' |
|
843 |
) |
|
844 |
(MenuItem |
|
845 |
enabled: hasSelectionWithApplicationProcessHolder |
|
846 |
label: 'Close' |
|
847 |
itemValue: closeApplication |
|
848 |
translateLabel: true |
|
849 |
) |
|
850 |
) |
|
851 |
nil |
|
852 |
nil |
|
7810 | 853 |
) |
854 |
||
855 |
"Modified: / 07-06-2007 / 12:44:21 / cg" |
|
856 |
! |
|
857 |
||
858 |
debugMenu |
|
859 |
"This resource specification was automatically generated |
|
860 |
by the MenuEditor of ST/X." |
|
861 |
||
862 |
"Do not manually edit this!! If it is corrupted, |
|
863 |
the MenuEditor may not be able to read the specification." |
|
864 |
||
865 |
" |
|
866 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#debugMenu |
|
867 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 debugMenu)) startUp |
|
868 |
" |
|
869 |
||
870 |
<resource: #menu> |
|
871 |
||
7811 | 872 |
^ |
7810 | 873 |
#(Menu |
8651 | 874 |
( |
875 |
(MenuItem |
|
876 |
enabled: hasSelectionHolder |
|
877 |
label: 'Inspect Process' |
|
878 |
itemValue: inspectSelection |
|
879 |
translateLabel: true |
|
880 |
) |
|
881 |
(MenuItem |
|
882 |
enabled: hasSelectionWithApplicationProcessHolder |
|
883 |
label: 'Inspect Application' |
|
884 |
itemValue: inspectApplication |
|
885 |
translateLabel: true |
|
886 |
) |
|
887 |
(MenuItem |
|
888 |
label: '-' |
|
889 |
) |
|
890 |
(MenuItem |
|
891 |
enabled: hasSelectionWithApplicationProcessHolder |
|
892 |
label: 'Browse Application' |
|
893 |
itemValue: browseApplication |
|
894 |
translateLabel: true |
|
895 |
) |
|
896 |
(MenuItem |
|
897 |
label: '-' |
|
898 |
isVisible: allowModificationsAndHasDebugger |
|
899 |
) |
|
900 |
(MenuItem |
|
901 |
enabled: hasSelectionHolder |
|
902 |
label: 'Debug' |
|
903 |
itemValue: debugProcess |
|
904 |
translateLabel: true |
|
905 |
isVisible: allowModificationsAndHasDebugger |
|
906 |
) |
|
907 |
) |
|
908 |
nil |
|
909 |
nil |
|
7810 | 910 |
) |
911 |
||
912 |
"Modified: / 07-06-2007 / 12:49:58 / cg" |
|
913 |
! |
|
914 |
||
4463 | 915 |
mainMenu |
916 |
"This resource specification was automatically generated |
|
917 |
by the MenuEditor of ST/X." |
|
918 |
||
919 |
"Do not manually edit this!! If it is corrupted, |
|
920 |
the MenuEditor may not be able to read the specification." |
|
921 |
||
922 |
" |
|
923 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#mainMenu |
|
924 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 mainMenu)) startUp |
|
925 |
" |
|
926 |
||
927 |
<resource: #menu> |
|
928 |
||
7811 | 929 |
^ |
7416 | 930 |
#(Menu |
7811 | 931 |
( |
932 |
(MenuItem |
|
933 |
label: 'File' |
|
934 |
translateLabel: true |
|
935 |
submenu: |
|
936 |
(Menu |
|
937 |
( |
|
938 |
(MenuItem |
|
939 |
label: 'Exit' |
|
940 |
itemValue: closeRequest |
|
941 |
translateLabel: true |
|
942 |
) |
|
943 |
) |
|
944 |
nil |
|
945 |
nil |
|
946 |
) |
|
947 |
) |
|
948 |
(MenuItem |
|
949 |
label: 'Process' |
|
950 |
translateLabel: true |
|
951 |
isVisible: allowModifications |
|
952 |
submenuChannel: processMenu |
|
953 |
) |
|
954 |
(MenuItem |
|
955 |
label: 'Application' |
|
956 |
translateLabel: true |
|
957 |
submenuChannel: applicationMenu |
|
958 |
keepLinkedMenu: true |
|
959 |
) |
|
960 |
(MenuItem |
|
961 |
label: 'Debug' |
|
962 |
translateLabel: true |
|
963 |
submenuChannel: debugMenu |
|
964 |
keepLinkedMenu: true |
|
965 |
) |
|
966 |
(MenuItem |
|
967 |
label: 'View' |
|
968 |
translateLabel: true |
|
969 |
submenuChannel: viewDetailsMenuSpec |
|
970 |
) |
|
971 |
(MenuItem |
|
972 |
label: 'Help' |
|
973 |
translateLabel: true |
|
974 |
startGroup: conditionalRight |
|
975 |
submenu: |
|
976 |
(Menu |
|
977 |
( |
|
978 |
(MenuItem |
|
979 |
label: 'Documentation' |
|
980 |
itemValue: openDocumentation |
|
981 |
translateLabel: true |
|
982 |
) |
|
983 |
(MenuItem |
|
984 |
label: '-' |
|
985 |
) |
|
986 |
(MenuItem |
|
987 |
label: 'About this Application...' |
|
988 |
itemValue: openAboutThisApplication |
|
989 |
translateLabel: true |
|
990 |
) |
|
991 |
) |
|
992 |
nil |
|
993 |
nil |
|
994 |
) |
|
995 |
) |
|
996 |
) |
|
997 |
nil |
|
998 |
nil |
|
4463 | 999 |
) |
1000 |
! |
|
1001 |
||
7810 | 1002 |
processMenu |
1003 |
"This resource specification was automatically generated |
|
1004 |
by the MenuEditor of ST/X." |
|
1005 |
||
1006 |
"Do not manually edit this!! If it is corrupted, |
|
1007 |
the MenuEditor may not be able to read the specification." |
|
1008 |
||
1009 |
" |
|
1010 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#processMenu |
|
1011 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 processMenu)) startUp |
|
1012 |
" |
|
1013 |
||
1014 |
<resource: #menu> |
|
1015 |
||
7811 | 1016 |
^ |
7810 | 1017 |
#(Menu |
7811 | 1018 |
( |
1019 |
(MenuItem |
|
1020 |
enabled: hasSelectionWithStoppedProcessHolder |
|
1021 |
label: 'Resume' |
|
1022 |
itemValue: resumeProcess |
|
1023 |
translateLabel: true |
|
1024 |
) |
|
1025 |
(MenuItem |
|
1026 |
enabled: hasSelectionHolder |
|
1027 |
label: 'Suspend' |
|
1028 |
itemValue: suspendProcess |
|
1029 |
translateLabel: true |
|
1030 |
) |
|
1031 |
(MenuItem |
|
1032 |
enabled: hasSelectionHolder |
|
1033 |
label: 'Stop' |
|
1034 |
itemValue: stopProcess |
|
1035 |
translateLabel: true |
|
1036 |
) |
|
1037 |
(MenuItem |
|
1038 |
label: '-' |
|
1039 |
) |
|
1040 |
(MenuItem |
|
1041 |
enabled: hasSelectionHolder |
|
1042 |
label: 'Abort' |
|
1043 |
itemValue: abortProcess |
|
1044 |
translateLabel: true |
|
1045 |
) |
|
1046 |
(MenuItem |
|
1047 |
enabled: hasSelectionHolder |
|
1048 |
label: 'Terminate' |
|
1049 |
itemValue: terminateProcess |
|
1050 |
translateLabel: true |
|
1051 |
) |
|
1052 |
(MenuItem |
|
1053 |
enabled: hasSelectionHolder |
|
1054 |
label: 'Hard Terminate' |
|
1055 |
itemValue: hardTerminateProcess |
|
1056 |
translateLabel: true |
|
1057 |
) |
|
1058 |
(MenuItem |
|
1059 |
enabled: hasSelectionHolder |
|
1060 |
label: 'Terminate Group' |
|
1061 |
itemValue: terminateProcessGroup |
|
1062 |
translateLabel: true |
|
1063 |
) |
|
1064 |
(MenuItem |
|
1065 |
enabled: selectionRestartable |
|
1066 |
label: 'Restart' |
|
1067 |
itemValue: restartProcess |
|
1068 |
translateLabel: true |
|
1069 |
) |
|
1070 |
(MenuItem |
|
1071 |
label: '-' |
|
1072 |
) |
|
1073 |
(MenuItem |
|
1074 |
enabled: hasSelectionHolder |
|
1075 |
label: 'Raise Prio' |
|
1076 |
itemValue: raisePrio |
|
1077 |
translateLabel: true |
|
1078 |
) |
|
1079 |
(MenuItem |
|
1080 |
enabled: hasSelectionHolder |
|
1081 |
label: 'Lower Prio' |
|
1082 |
itemValue: lowerPrio |
|
1083 |
translateLabel: true |
|
1084 |
) |
|
1085 |
) |
|
1086 |
nil |
|
1087 |
nil |
|
7810 | 1088 |
) |
1089 |
! |
|
1090 |
||
4463 | 1091 |
tableMenu |
1092 |
"This resource specification was automatically generated |
|
1093 |
by the MenuEditor of ST/X." |
|
1094 |
||
1095 |
"Do not manually edit this!! If it is corrupted, |
|
1096 |
the MenuEditor may not be able to read the specification." |
|
1097 |
||
1098 |
" |
|
1099 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#tableMenu |
|
1100 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 tableMenu)) startUp |
|
1101 |
" |
|
1102 |
||
1103 |
<resource: #menu> |
|
1104 |
||
7811 | 1105 |
^ |
4463 | 1106 |
#(#Menu |
7811 | 1107 |
#( |
1108 |
#(#MenuItem |
|
1109 |
#enabled: #hasSelectionHolder |
|
1110 |
#label: 'Debug' |
|
1111 |
#itemValue: #debugProcess |
|
1112 |
#translateLabel: true |
|
1113 |
) |
|
1114 |
#(#MenuItem |
|
1115 |
#enabled: #hasSelectionHolder |
|
1116 |
#label: 'Inspect' |
|
1117 |
#itemValue: #inspectSelection |
|
1118 |
#translateLabel: true |
|
1119 |
) |
|
1120 |
#(#MenuItem |
|
1121 |
#enabled: #hasSelectionWithApplicationProcessHolder |
|
1122 |
#label: 'Inspect Application' |
|
1123 |
#itemValue: #inspectApplication |
|
1124 |
#translateLabel: true |
|
1125 |
) |
|
1126 |
#(#MenuItem |
|
1127 |
#enabled: #hasSelectionWithApplicationProcessHolder |
|
1128 |
#label: 'Browse Application' |
|
1129 |
#itemValue: #browseApplication |
|
1130 |
#translateLabel: true |
|
1131 |
) |
|
1132 |
#(#MenuItem |
|
1133 |
#label: '-' |
|
1134 |
) |
|
1135 |
#(#MenuItem |
|
1136 |
#enabled: #hasSelectionWithStoppedProcessHolder |
|
1137 |
#label: 'Resume' |
|
1138 |
#itemValue: #resumeProcess |
|
1139 |
#translateLabel: true |
|
1140 |
) |
|
1141 |
#(#MenuItem |
|
1142 |
#enabled: #hasSelectionHolder |
|
1143 |
#label: 'Suspend' |
|
1144 |
#itemValue: #suspendProcess |
|
1145 |
#translateLabel: true |
|
1146 |
) |
|
1147 |
#(#MenuItem |
|
1148 |
#enabled: #hasSelectionHolder |
|
1149 |
#label: 'Stop' |
|
1150 |
#itemValue: #stopProcess |
|
1151 |
#translateLabel: true |
|
1152 |
) |
|
1153 |
#(#MenuItem |
|
1154 |
#label: '-' |
|
1155 |
) |
|
1156 |
#(#MenuItem |
|
1157 |
#enabled: #hasSelectionHolder |
|
1158 |
#label: 'Abort' |
|
1159 |
#itemValue: #abortProcess |
|
1160 |
#translateLabel: true |
|
1161 |
) |
|
1162 |
#(#MenuItem |
|
1163 |
#enabled: #hasSelectionHolder |
|
1164 |
#label: 'Terminate' |
|
1165 |
#itemValue: #terminateProcess |
|
1166 |
#translateLabel: true |
|
1167 |
) |
|
1168 |
#(#MenuItem |
|
1169 |
#enabled: #hasSelectionHolder |
|
1170 |
#label: 'Hard Terminate' |
|
1171 |
#itemValue: #hardTerminateProcess |
|
1172 |
#translateLabel: true |
|
1173 |
) |
|
1174 |
#(#MenuItem |
|
1175 |
#enabled: #hasSelectionHolder |
|
1176 |
#label: 'Terminate Group' |
|
1177 |
#itemValue: #terminateProcessGroup |
|
1178 |
#translateLabel: true |
|
1179 |
) |
|
1180 |
#(#MenuItem |
|
1181 |
#enabled: #selectionRestartable |
|
1182 |
#label: 'Restart' |
|
1183 |
#itemValue: #restartProcess |
|
1184 |
#translateLabel: true |
|
1185 |
) |
|
1186 |
#(#MenuItem |
|
1187 |
#label: '-' |
|
1188 |
) |
|
1189 |
#(#MenuItem |
|
1190 |
#enabled: #hasSelectionHolder |
|
1191 |
#label: 'Raise Prio' |
|
1192 |
#itemValue: #raisePrio |
|
1193 |
#translateLabel: true |
|
1194 |
) |
|
1195 |
#(#MenuItem |
|
1196 |
#enabled: #hasSelectionHolder |
|
1197 |
#label: 'Lower Prio' |
|
1198 |
#itemValue: #lowerPrio |
|
1199 |
#translateLabel: true |
|
1200 |
) |
|
1201 |
) |
|
1202 |
nil |
|
1203 |
nil |
|
4463 | 1204 |
) |
7809 | 1205 |
|
7810 | 1206 |
"Modified: / 07-06-2007 / 12:49:47 / cg" |
4463 | 1207 |
! |
1208 |
||
1209 |
toolBarMainMenu |
|
1210 |
"This resource specification was automatically generated |
|
1211 |
by the MenuEditor of ST/X." |
|
1212 |
||
1213 |
"Do not manually edit this!! If it is corrupted, |
|
1214 |
the MenuEditor may not be able to read the specification." |
|
1215 |
||
1216 |
" |
|
1217 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#toolBarMainMenu |
|
1218 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 toolBarMainMenu)) startUp |
|
1219 |
" |
|
1220 |
||
1221 |
<resource: #menu> |
|
1222 |
||
7863 | 1223 |
^ |
6290 | 1224 |
#(Menu |
7863 | 1225 |
( |
1226 |
(MenuItem |
|
1227 |
activeHelpKey: Inspect |
|
1228 |
enabled: hasSelectionHolder |
|
1229 |
label: 'Inspect' |
|
1230 |
itemValue: inspectSelection |
|
1231 |
translateLabel: true |
|
1232 |
isButton: true |
|
1233 |
isVisible: allowModifications |
|
1234 |
labelImage: (ResourceRetriever ProcessMonitorV2 processInspect22x22Icon) |
|
1235 |
) |
|
1236 |
(MenuItem |
|
1237 |
activeHelpKey: Debug |
|
1238 |
enabled: hasSelectionHolder |
|
1239 |
label: 'Debug' |
|
1240 |
itemValue: debugProcess |
|
1241 |
translateLabel: true |
|
1242 |
isButton: true |
|
8651 | 1243 |
isVisible: allowModificationsAndHasDebugger |
7863 | 1244 |
labelImage: (ResourceRetriever ProcessMonitorV2 processDebug22x22Icon) |
1245 |
) |
|
1246 |
(MenuItem |
|
1247 |
activeHelpKey: RaiseWindow |
|
1248 |
enabled: hasSelectionWithApplicationProcessHolder |
|
1249 |
label: 'Raise Applications Window' |
|
1250 |
itemValue: raiseApplicationWindow |
|
1251 |
translateLabel: true |
|
1252 |
isButton: true |
|
1253 |
labelImage: (ResourceRetriever ProcessMonitorV2 raiseWindow22x22Icon) |
|
1254 |
) |
|
1255 |
(MenuItem |
|
1256 |
label: '-' |
|
1257 |
isVisible: allowModifications |
|
1258 |
) |
|
1259 |
(MenuItem |
|
1260 |
activeHelpKey: Resume |
|
1261 |
enabled: hasSelectionWithStoppedProcessHolder |
|
1262 |
label: 'Resume' |
|
1263 |
itemValue: resumeProcess |
|
1264 |
translateLabel: true |
|
1265 |
isButton: true |
|
1266 |
isVisible: allowModifications |
|
1267 |
labelImage: (ResourceRetriever ProcessMonitorV2 processResume22x22Icon) |
|
1268 |
) |
|
1269 |
(MenuItem |
|
1270 |
activeHelpKey: Stop |
|
1271 |
enabled: hasSelectionHolder |
|
1272 |
label: 'Stop' |
|
1273 |
itemValue: stopProcess |
|
1274 |
translateLabel: true |
|
1275 |
isButton: true |
|
1276 |
isVisible: allowModifications |
|
1277 |
labelImage: (ResourceRetriever ProcessMonitorV2 processStop22x22Icon) |
|
1278 |
) |
|
1279 |
(MenuItem |
|
1280 |
activeHelpKey: Abort |
|
1281 |
enabled: hasSelectionHolder |
|
1282 |
label: 'Abort' |
|
1283 |
itemValue: abortProcess |
|
1284 |
translateLabel: true |
|
1285 |
isButton: true |
|
1286 |
isVisible: allowModifications |
|
1287 |
labelImage: (ResourceRetriever ProcessMonitorV2 processAbort22x22Icon) |
|
1288 |
) |
|
1289 |
(MenuItem |
|
1290 |
label: '-' |
|
1291 |
isVisible: allowModifications |
|
1292 |
) |
|
1293 |
(MenuItem |
|
1294 |
activeHelpKey: Terminate |
|
1295 |
enabled: hasSelectionHolder |
|
1296 |
label: 'Terminate' |
|
1297 |
itemValue: terminateProcess |
|
1298 |
translateLabel: true |
|
1299 |
isButton: true |
|
1300 |
isVisible: allowModifications |
|
1301 |
labelImage: (ResourceRetriever ProcessMonitorV2 processTerminate22x22Icon) |
|
1302 |
) |
|
1303 |
(MenuItem |
|
1304 |
activeHelpKey: #'Terminate Group' |
|
1305 |
enabled: hasSelectionHolder |
|
1306 |
label: 'Terminate Group' |
|
1307 |
itemValue: terminateProcessGroup |
|
1308 |
translateLabel: true |
|
1309 |
isButton: true |
|
1310 |
isVisible: allowModifications |
|
1311 |
labelImage: (ResourceRetriever ProcessMonitorV2 processTerminateGroup22x22Icon) |
|
1312 |
) |
|
1313 |
(MenuItem |
|
1314 |
activeHelpKey: Restart |
|
1315 |
enabled: selectionRestartable |
|
1316 |
label: 'Restart' |
|
1317 |
itemValue: restartProcess |
|
1318 |
translateLabel: true |
|
1319 |
isButton: true |
|
1320 |
isVisible: allowModifications |
|
1321 |
labelImage: (ResourceRetriever ProcessMonitorV2 processRestart22x22Icon) |
|
1322 |
) |
|
1323 |
(MenuItem |
|
1324 |
label: '-' |
|
1325 |
isVisible: allowModifications |
|
1326 |
) |
|
1327 |
(MenuItem |
|
7921 | 1328 |
activeHelpKey: #'Lower Prio' |
1329 |
enabled: hasSelectionHolder |
|
1330 |
label: 'Lower Prio' |
|
1331 |
itemValue: lowerPrio |
|
1332 |
translateLabel: true |
|
1333 |
isButton: true |
|
1334 |
isVisible: allowModifications |
|
1335 |
labelImage: (ResourceRetriever ProcessMonitorV2 processLowerPrio22x22Icon) |
|
1336 |
) |
|
1337 |
(MenuItem |
|
7863 | 1338 |
activeHelpKey: #'Raise Prio' |
1339 |
enabled: hasSelectionHolder |
|
1340 |
label: 'Raise Prio' |
|
1341 |
itemValue: raisePrio |
|
1342 |
translateLabel: true |
|
1343 |
isButton: true |
|
1344 |
isVisible: allowModifications |
|
1345 |
labelImage: (ResourceRetriever ProcessMonitorV2 processRaisePrio22x22Icon) |
|
1346 |
) |
|
1347 |
(MenuItem |
|
1348 |
label: '' |
|
1349 |
isVisible: allowModifications |
|
1350 |
) |
|
1351 |
(MenuItem |
|
1352 |
activeHelpKey: #'Update Process List' |
|
1353 |
label: 'Update' |
|
1354 |
itemValue: updateList |
|
1355 |
translateLabel: true |
|
1356 |
isButton: true |
|
1357 |
startGroup: right |
|
1358 |
labelImage: (ResourceRetriever ToolbarIconLibrary reloadIcon) |
|
1359 |
) |
|
1360 |
(MenuItem |
|
1361 |
activeHelpKey: Details |
|
1362 |
label: 'View Details' |
|
1363 |
translateLabel: true |
|
1364 |
isButton: true |
|
1365 |
startGroup: right |
|
1366 |
submenuChannel: viewDetailsMenuSpec |
|
1367 |
labelImage: (ResourceRetriever ToolbarIconLibrary viewDetailsIcon) |
|
1368 |
) |
|
1369 |
) |
|
1370 |
nil |
|
1371 |
nil |
|
4463 | 1372 |
) |
1373 |
! |
|
1374 |
||
1375 |
viewDetailsMenuSpec |
|
1376 |
"This resource specification was automatically generated |
|
1377 |
by the MenuEditor of ST/X." |
|
1378 |
||
1379 |
"Do not manually edit this!! If it is corrupted, |
|
1380 |
the MenuEditor may not be able to read the specification." |
|
1381 |
||
1382 |
" |
|
1383 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#viewDetailsMenuSpec |
|
1384 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 viewDetailsMenuSpec)) startUp |
|
1385 |
" |
|
1386 |
||
1387 |
<resource: #menu> |
|
1388 |
||
7811 | 1389 |
^ |
4463 | 1390 |
#(#Menu |
7811 | 1391 |
#( |
1392 |
#(#MenuItem |
|
1393 |
#label: 'Id' |
|
1394 |
#translateLabel: true |
|
1395 |
#hideMenuOnActivated: false |
|
1396 |
#indication: #showProcessId |
|
1397 |
) |
|
1398 |
#(#MenuItem |
|
1399 |
#label: 'Group' |
|
1400 |
#translateLabel: true |
|
1401 |
#hideMenuOnActivated: false |
|
1402 |
#indication: #showGroup |
|
1403 |
) |
|
1404 |
#(#MenuItem |
|
1405 |
#label: 'State' |
|
1406 |
#translateLabel: true |
|
1407 |
#hideMenuOnActivated: false |
|
1408 |
#indication: #showState |
|
1409 |
) |
|
1410 |
#(#MenuItem |
|
1411 |
#label: 'Prio' |
|
1412 |
#translateLabel: true |
|
1413 |
#hideMenuOnActivated: false |
|
1414 |
#indication: #showPrio |
|
1415 |
) |
|
1416 |
#(#MenuItem |
|
1417 |
#label: 'Used Stack' |
|
1418 |
#translateLabel: true |
|
1419 |
#hideMenuOnActivated: false |
|
1420 |
#indication: #showUsedStack |
|
1421 |
) |
|
1422 |
#(#MenuItem |
|
1423 |
#label: 'Total Stack' |
|
1424 |
#translateLabel: true |
|
1425 |
#hideMenuOnActivated: false |
|
1426 |
#indication: #showTotalStack |
|
1427 |
) |
|
1428 |
#(#MenuItem |
|
1429 |
#label: 'Current-Segment' |
|
1430 |
#translateLabel: true |
|
1431 |
#hideMenuOnActivated: false |
|
1432 |
#indication: #showCurrentSegment |
|
1433 |
) |
|
1434 |
#(#MenuItem |
|
1435 |
#label: 'Switch' |
|
1436 |
#translateLabel: true |
|
1437 |
#hideMenuOnActivated: false |
|
1438 |
#indication: #showSwitch |
|
1439 |
) |
|
1440 |
#(#MenuItem |
|
1441 |
#label: 'Where' |
|
1442 |
#translateLabel: true |
|
1443 |
#hideMenuOnActivated: false |
|
1444 |
#indication: #showWhere |
|
1445 |
) |
|
1446 |
#(#MenuItem |
|
1447 |
#label: '-' |
|
1448 |
) |
|
1449 |
#(#MenuItem |
|
1450 |
#label: 'Show Dead Processes' |
|
1451 |
#translateLabel: true |
|
1452 |
#indication: #showDead |
|
1453 |
) |
|
1454 |
#(#MenuItem |
|
1455 |
#label: '-' |
|
1456 |
) |
|
1457 |
#(#MenuItem |
|
1458 |
#label: 'Update' |
|
1459 |
#itemValue: #updateView |
|
1460 |
#translateLabel: true |
|
1461 |
) |
|
1462 |
) |
|
1463 |
nil |
|
1464 |
nil |
|
4463 | 1465 |
) |
1466 |
! ! |
|
1467 |
||
1468 |
!ProcessMonitorV2 class methodsFor:'tableColumns specs'! |
|
1469 |
||
1470 |
tableColumns |
|
1471 |
"This resource specification was automatically generated |
|
1472 |
by the DataSetBuilder of ST/X." |
|
1473 |
||
1474 |
"Do not manually edit this!! If it is corrupted, |
|
1475 |
the DataSetBuilder may not be able to read the specification." |
|
1476 |
||
1477 |
" |
|
1478 |
DataSetBuilder new openOnClass:ProcessMonitorV2 andSelector:#tableColumns |
|
1479 |
" |
|
1480 |
||
1481 |
<resource: #tableColumns> |
|
1482 |
||
1483 |
^#( |
|
1484 |
#(#DataSetColumnSpec |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1485 |
#label: 'Id' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1486 |
#id: #id |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1487 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1488 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1489 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1490 |
#labelActionArgument: 'idVal' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1491 |
#width: 45 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1492 |
#type: #number |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1493 |
#model: #processId |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1494 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1495 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1496 |
#showColSeparator: false |
4463 | 1497 |
) |
1498 |
#(#DataSetColumnSpec |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1499 |
#label: 'Group' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1500 |
#id: #group |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1501 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1502 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1503 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1504 |
#labelActionArgument: 'groupVal' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1505 |
#width: 45 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1506 |
#model: #processGroup |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1507 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1508 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1509 |
#showColSeparator: false |
4463 | 1510 |
) |
1511 |
#(#DataSetColumnSpec |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1512 |
#label: 'Name' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1513 |
#id: #name |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1514 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1515 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1516 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1517 |
#labelActionArgument: 'processName' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1518 |
#width: 200 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1519 |
#model: #processName |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1520 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1521 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1522 |
#showColSeparator: false |
4463 | 1523 |
) |
1524 |
#(#DataSetColumnSpec |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1525 |
#label: '' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1526 |
#id: #active |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1527 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1528 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1529 |
#labelActionArgument: 'processActive' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1530 |
#width: 10 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1531 |
#height: 5 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1532 |
#model: #processActive |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1533 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1534 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1535 |
#showColSeparator: false |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
1536 |
) |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
1537 |
#(#DataSetColumnSpec |
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1538 |
#label: 'State' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1539 |
#id: #state |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1540 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1541 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1542 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1543 |
#labelActionArgument: 'processState' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1544 |
#width: 100 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1545 |
#model: #processState |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1546 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1547 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1548 |
#showColSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1549 |
) |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1550 |
#(#DataSetColumnSpec |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1551 |
#label: 'Prio' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1552 |
#id: #prio |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1553 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1554 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1555 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1556 |
#labelActionArgument: 'prioVal' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1557 |
#width: 40 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1558 |
#model: #processPrio |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1559 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1560 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1561 |
#showColSeparator: false |
4463 | 1562 |
) |
1563 |
#(#DataSetColumnSpec |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1564 |
#label: 'Used Stack' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1565 |
#id: #usedStack |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1566 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1567 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1568 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1569 |
#labelActionArgument: 'processUsedStack' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1570 |
#columnAlignment: #right |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1571 |
#width: 75 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1572 |
#type: #number |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1573 |
#model: #processUsedStack |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1574 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1575 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1576 |
#showColSeparator: false |
4463 | 1577 |
) |
1578 |
#(#DataSetColumnSpec |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1579 |
#label: 'Total Stack' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1580 |
#id: #totalStack |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1581 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1582 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1583 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1584 |
#labelActionArgument: 'processTotalStack' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1585 |
#columnAlignment: #right |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1586 |
#width: 75 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1587 |
#model: #processTotalStack |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1588 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1589 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1590 |
#showColSeparator: false |
4463 | 1591 |
) |
1592 |
#(#DataSetColumnSpec |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1593 |
#label: 'Current-Segment' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1594 |
#id: #currentSegment |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1595 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1596 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1597 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1598 |
#labelActionArgument: 'processCurrentSegment' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1599 |
#width: 110 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1600 |
#model: #processCurrentSegment |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1601 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1602 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1603 |
#showColSeparator: false |
4463 | 1604 |
) |
1605 |
#(#DataSetColumnSpec |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1606 |
#label: 'Switch' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1607 |
#id: #switch |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1608 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1609 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1610 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1611 |
#labelActionArgument: 'processSwitch' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1612 |
#columnAlignment: #right |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1613 |
#width: 55 |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1614 |
#type: #number |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1615 |
#model: #processSwitch |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1616 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1617 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1618 |
#showColSeparator: false |
4463 | 1619 |
) |
1620 |
#(#DataSetColumnSpec |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1621 |
#label: 'Where' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1622 |
#id: #where |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1623 |
#labelAlignment: #left |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1624 |
#labelButtonType: #Button |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1625 |
#labelActionSelector: #sortProcessListBy: |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1626 |
#labelActionArgument: 'processWhere' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1627 |
#model: #processWhere |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1628 |
#canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1629 |
#showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1630 |
#showColSeparator: false |
4463 | 1631 |
) |
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1632 |
"/ #(#DataSetColumnSpec |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1633 |
"/ #label: 'B' |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1634 |
"/ #id: #where |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1635 |
"/ #model: #processBlocked |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1636 |
"/ #canSelect: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1637 |
"/ #showRowSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1638 |
"/ #showColSeparator: false |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1639 |
"/ ) |
4463 | 1640 |
) |
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1641 |
|
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
1642 |
"Modified: / 18-07-2010 / 23:57:51 / cg" |
4463 | 1643 |
! ! |
1644 |
||
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1645 |
!ProcessMonitorV2 methodsFor:'accessing'! |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1646 |
|
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1647 |
visibleBlock |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1648 |
^ visibleBlock |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1649 |
! |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1650 |
|
8651 | 1651 |
visibleBlock:aProcessVisibleFilterBlock |
1652 |
visibleBlock := aProcessVisibleFilterBlock. |
|
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1653 |
! ! |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1654 |
|
4463 | 1655 |
!ProcessMonitorV2 methodsFor:'actions'! |
1656 |
||
4498 | 1657 |
changeSelectionTo:aSelection |
8408 | 1658 |
| newSelection | |
4498 | 1659 |
|
1660 |
aSelection notNil ifTrue:[ |
|
8408 | 1661 |
newSelection := OrderedCollection new. |
1662 |
aSelection do:[:processItem | |
|
1663 |
| index | |
|
1664 |
||
1665 |
index := processList findFirst:[:anItem | (anItem processInstance == processItem processInstance)]. |
|
1666 |
index ~~ 0 ifTrue:[ |
|
1667 |
newSelection add:(processList at:index). |
|
1668 |
]. |
|
1669 |
]. |
|
1670 |
self selectedProcesses value:newSelection |
|
4498 | 1671 |
]. |
1672 |
! |
|
1673 |
||
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
1674 |
changeSelectionToProcesses:aProcessList |
4498 | 1675 |
|
1676 |
aProcessList notNil ifTrue:[ |
|
7811 | 1677 |
| newSelection | |
1678 |
newSelection := OrderedCollection new. |
|
1679 |
aProcessList do:[:aProcess | |
|
1680 |
| index | |
|
1681 |
index := processList findFirst:[:anItem | (anItem processInstance == aProcess)]. |
|
1682 |
index ~~ 0 ifTrue:[ |
|
1683 |
newSelection add:(processList at:index). |
|
1684 |
]. |
|
1685 |
]. |
|
1686 |
self selectedProcesses value:newSelection |
|
4498 | 1687 |
]. |
1688 |
! |
|
1689 |
||
1690 |
decreaseupdateContentsDelayTime |
|
1691 |
||
1692 |
self updateContentsDelayTime value:(self scaledUpdateContentsDelayTime - 0.1). |
|
1693 |
self evaluateEnableInDecreaseButtons. |
|
1694 |
! |
|
1695 |
||
1696 |
decreaseupdateListDelayTime |
|
1697 |
||
1698 |
self updateListDelayTime value:(self scaledUpdateListDelayTime - 0.1). |
|
1699 |
self evaluateEnableInDecreaseButtons. |
|
1700 |
! |
|
1701 |
||
4463 | 1702 |
doubleClickedAt:anItemIndex |
1703 |
"open a debugger on the selected process" |
|
1704 |
||
1705 |
self debugProcess |
|
1706 |
! |
|
1707 |
||
4498 | 1708 |
evaluateEnableInDecreaseButtons |
1709 |
||
1710 |
| contDelaySmallerListDelay | |
|
1711 |
||
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1712 |
contDelaySmallerListDelay := (self scaledUpdateContentsDelayTime < (self scaledUpdateListDelayTime)). |
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
1713 |
self enableDecreaseContentsDelayTime value:((self scaledUpdateContentsDelayTime <= 0.5) not). |
4498 | 1714 |
self enableDecreaseListDelayTime value:contDelaySmallerListDelay. |
1715 |
self enableIncreaseContentsDelayTime value:contDelaySmallerListDelay. |
|
1716 |
! |
|
1717 |
||
4463 | 1718 |
getProcessList |
1719 |
"select processes to display. |
|
1720 |
Subclasses may redefine this" |
|
1721 |
||
1722 |
|coll| |
|
1723 |
||
5690
024838c5f342
Fix bug 44: Process allSubInstances was called all the time causing
Stefan Vogel <sv@exept.de>
parents:
5538
diff
changeset
|
1724 |
self showDead value ifTrue:[ |
9480 | 1725 |
coll := Process allSubInstances asOrderedCollection. |
4463 | 1726 |
] ifFalse:[ |
9480 | 1727 |
coll := ProcessorScheduler knownProcesses asOrderedCollection. |
1728 |
coll add:Processor scheduler. |
|
4463 | 1729 |
]. |
1730 |
^ coll |
|
1731 |
! |
|
1732 |
||
4498 | 1733 |
increaseupdateContentsDelayTime |
1734 |
||
1735 |
self updateContentsDelayTime value:(self scaledUpdateContentsDelayTime + 0.1). |
|
1736 |
self evaluateEnableInDecreaseButtons. |
|
1737 |
! |
|
1738 |
||
1739 |
increaseupdateListDelayTime |
|
1740 |
||
1741 |
self updateListDelayTime value:(self scaledUpdateListDelayTime + 0.1). |
|
1742 |
self evaluateEnableInDecreaseButtons. |
|
1743 |
! |
|
1744 |
||
4463 | 1745 |
selectedProcessesDo:aBlock |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
1746 |
| sel proc| |
4463 | 1747 |
|
1748 |
sel := self selectedProcesses value. |
|
1749 |
sel isNil ifTrue:[^ self]. |
|
1750 |
||
1751 |
sel do:[:processItem | |
|
7811 | 1752 |
proc := processItem processInstance. |
1753 |
proc notNil ifTrue:[ |
|
1754 |
aBlock value:proc. |
|
1755 |
]. |
|
7810 | 1756 |
]. |
1757 |
||
1758 |
"Modified: / 07-06-2007 / 12:38:25 / cg" |
|
4463 | 1759 |
! |
1760 |
||
1761 |
selectedProcessesSend:aSelector |
|
1762 |
"send a message to all selected processes" |
|
1763 |
||
1764 |
self selectedProcessesDo:[:p | |
|
7811 | 1765 |
p perform:aSelector |
4463 | 1766 |
]. |
7810 | 1767 |
|
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
1768 |
self updateList. |
7810 | 1769 |
|
1770 |
"Modified: / 07-06-2007 / 12:38:29 / cg" |
|
4463 | 1771 |
! ! |
1772 |
||
1773 |
!ProcessMonitorV2 methodsFor:'aspects'! |
|
1774 |
||
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
1775 |
allowModifications |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
1776 |
|
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
1777 |
allowModifications isNil ifTrue:[ |
7811 | 1778 |
allowModifications := true asValue |
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
1779 |
]. |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
1780 |
^ allowModifications |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
1781 |
! |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
1782 |
|
8651 | 1783 |
allowModificationsAndHasDebugger |
1784 |
^ BlockValue |
|
1785 |
forLogical:(self allowModifications) |
|
1786 |
and:[ Debugger notNil ] |
|
1787 |
! |
|
1788 |
||
4463 | 1789 |
currentSortOrder |
1790 |
"return/create the 'currentSortOrder' value holder (automatically generated)" |
|
1791 |
||
1792 |
currentSortOrder isNil ifTrue:[ |
|
7811 | 1793 |
currentSortOrder := Dictionary new asValue. |
4463 | 1794 |
]. |
1795 |
^ currentSortOrder |
|
1796 |
! |
|
1797 |
||
4498 | 1798 |
enableDecreaseContentsDelayTime |
1799 |
||
1800 |
enableDecreaseContentsDelayTime isNil ifTrue:[ |
|
7811 | 1801 |
enableDecreaseContentsDelayTime := true asValue. |
4498 | 1802 |
]. |
1803 |
^ enableDecreaseContentsDelayTime. |
|
1804 |
! |
|
1805 |
||
1806 |
enableDecreaseListDelayTime |
|
1807 |
||
1808 |
enableDecreaseListDelayTime isNil ifTrue:[ |
|
7811 | 1809 |
enableDecreaseListDelayTime := true asValue. |
4498 | 1810 |
]. |
1811 |
^ enableDecreaseListDelayTime. |
|
1812 |
! |
|
1813 |
||
1814 |
enableIncreaseContentsDelayTime |
|
1815 |
||
1816 |
enableIncreaseContentsDelayTime isNil ifTrue:[ |
|
7811 | 1817 |
enableIncreaseContentsDelayTime := true asValue. |
4498 | 1818 |
]. |
1819 |
^ enableIncreaseContentsDelayTime. |
|
1820 |
! |
|
1821 |
||
1822 |
enableIncreaseListDelayTime |
|
1823 |
||
1824 |
enableIncreaseListDelayTime isNil ifTrue:[ |
|
7811 | 1825 |
enableIncreaseListDelayTime := true asValue. |
4498 | 1826 |
]. |
1827 |
^ enableIncreaseListDelayTime. |
|
1828 |
! |
|
1829 |
||
4463 | 1830 |
hasSelection |
7809 | 1831 |
^ self selectedProcesses value notEmptyOrNil |
1832 |
||
1833 |
"Modified: / 05-06-2007 / 17:43:58 / cg" |
|
1834 |
! |
|
1835 |
||
1836 |
hasSelectionHolder |
|
1837 |
^ hasSelectionHolder |
|
1838 |
||
1839 |
"Created: / 05-06-2007 / 17:41:54 / cg" |
|
1840 |
! |
|
1841 |
||
1842 |
hasSelectionWithApplicationProcess |
|
1843 |
^ self hasSelectionWithProcessForWhich:[:p |self isApplicationProcess:p ] |
|
1844 |
||
1845 |
"Created: / 05-06-2007 / 17:50:37 / cg" |
|
4463 | 1846 |
! |
1847 |
||
7809 | 1848 |
hasSelectionWithApplicationProcessHolder |
1849 |
^ hasSelectionWithApplicationProcessHolder |
|
1850 |
||
1851 |
"Created: / 05-06-2007 / 17:50:31 / cg" |
|
1852 |
! |
|
1853 |
||
1854 |
hasSelectionWithGUIProcess |
|
1855 |
^ self hasSelectionWithProcessForWhich:[:p |p isGUIProcess ] |
|
1856 |
||
1857 |
"Created: / 05-06-2007 / 17:52:10 / cg" |
|
1858 |
! |
|
1859 |
||
1860 |
hasSelectionWithGUIProcessHolder |
|
1861 |
^ hasSelectionWithGUIProcessHolder |
|
1862 |
||
1863 |
"Created: / 05-06-2007 / 17:52:01 / cg" |
|
1864 |
! |
|
1865 |
||
1866 |
hasSelectionWithProcessForWhich:aBlock |
|
7811 | 1867 |
^ self hasSelection |
1868 |
and:[ self selectedProcesses value contains:[:pItem | |
|
1869 |
|process| |
|
1870 |
||
1871 |
process := pItem processInstance. |
|
1872 |
process notNil and:[ aBlock value:process ]] ] |
|
7809 | 1873 |
|
1874 |
"Created: / 05-06-2007 / 17:40:27 / cg" |
|
1875 |
! |
|
1876 |
||
1877 |
hasSelectionWithStoppedProcess |
|
1878 |
^ self hasSelectionWithProcessForWhich:[:p |p isStopped ] |
|
1879 |
||
1880 |
"Modified: / 05-06-2007 / 17:40:42 / cg" |
|
1881 |
! |
|
1882 |
||
1883 |
hasSelectionWithStoppedProcessHolder |
|
1884 |
^ hasSelectionWithStoppedProcessHolder |
|
1885 |
||
1886 |
"Created: / 05-06-2007 / 17:42:41 / cg" |
|
6609 | 1887 |
! |
1888 |
||
4463 | 1889 |
processList |
1890 |
||
1891 |
processList isNil ifTrue:[ |
|
7811 | 1892 |
processList := List new. |
4463 | 1893 |
]. |
1894 |
^ processList. |
|
1895 |
! |
|
1896 |
||
4498 | 1897 |
scaledUpdateContentsDelayTime |
1898 |
||
1899 |
^ self updateContentsDelayTime value asFloat asFixedPoint:1. |
|
1900 |
! |
|
1901 |
||
1902 |
scaledUpdateListDelayTime |
|
1903 |
||
1904 |
^ self updateListDelayTime value asFloat asFixedPoint:1. |
|
1905 |
! |
|
1906 |
||
4463 | 1907 |
selectedProcesses |
1908 |
||
1909 |
selectedProcesses isNil ifTrue:[ |
|
7811 | 1910 |
selectedProcesses := ValueHolder new. |
1911 |
selectedProcesses addDependent:self. |
|
4463 | 1912 |
]. |
1913 |
^ selectedProcesses. |
|
1914 |
! |
|
1915 |
||
1916 |
selectionRestartable |
|
1917 |
||
1918 |
selectionRestartable isNil ifTrue:[ |
|
7811 | 1919 |
selectionRestartable := ValueHolder new. |
4463 | 1920 |
]. |
1921 |
^ selectionRestartable |
|
1922 |
! |
|
1923 |
||
1924 |
showDead |
|
1925 |
"return/create the 'showDead' value holder (automatically generated)" |
|
1926 |
||
1927 |
showDead isNil ifTrue:[ |
|
7811 | 1928 |
showDead := false asValue. |
1929 |
showDead addDependent:self. |
|
4463 | 1930 |
]. |
1931 |
^ showDead |
|
1932 |
! |
|
1933 |
||
1934 |
sortBlock |
|
1935 |
||
1936 |
sortBlock isNil ifTrue:[ |
|
7811 | 1937 |
| curSortOrder defaultSortInstance| |
1938 |
defaultSortInstance := #idVal. |
|
1939 |
sortBlock := [:a :b | |
|
1940 |
((a perform:defaultSortInstance) < (b perform:defaultSortInstance)) |
|
1941 |
]. |
|
1942 |
curSortOrder := self currentSortOrder value. |
|
1943 |
curSortOrder at:#column put:defaultSortInstance. |
|
1944 |
curSortOrder at:#reverse put:true. |
|
4463 | 1945 |
]. |
1946 |
^ sortBlock |
|
1947 |
! |
|
1948 |
||
1949 |
tableColumns |
|
1950 |
||
1951 |
tableColumns isNil ifTrue:[ |
|
7811 | 1952 |
tableColumns := self class tableColumns asValue. |
4463 | 1953 |
]. |
1954 |
^ tableColumns. |
|
4498 | 1955 |
! |
1956 |
||
1957 |
updateContentsDelayTime |
|
1958 |
||
1959 |
updateContentsDelayTime isNil ifTrue:[ |
|
7811 | 1960 |
updateContentsDelayTime := updateDelay asValue. |
1961 |
updateContentsDelayTime onChangeSend:#evaluateEnableInDecreaseButtons to:self. |
|
4498 | 1962 |
]. |
1963 |
^ updateContentsDelayTime. |
|
1964 |
! |
|
1965 |
||
1966 |
updateListDelayTime |
|
1967 |
||
1968 |
updateListDelayTime isNil ifTrue:[ |
|
7811 | 1969 |
updateListDelayTime := listUpdateDelay asValue. |
1970 |
updateListDelayTime onChangeSend:#evaluateEnableInDecreaseButtons to:self. |
|
4498 | 1971 |
]. |
1972 |
^ updateListDelayTime. |
|
4463 | 1973 |
! ! |
1974 |
||
1975 |
!ProcessMonitorV2 methodsFor:'aspects column'! |
|
1976 |
||
1977 |
showCurrentSegment |
|
1978 |
"return/create the 'showCurrentSegment' value holder (automatically generated)" |
|
1979 |
||
1980 |
showCurrentSegment isNil ifTrue:[ |
|
7811 | 1981 |
showCurrentSegment := showDetail asValue. |
1982 |
showCurrentSegment onChangeSend:#viewedColumnsChanged to:self. |
|
4463 | 1983 |
]. |
1984 |
^ showCurrentSegment |
|
1985 |
! |
|
1986 |
||
1987 |
showGroup |
|
1988 |
"return/create the 'showGroup' value holder (automatically generated)" |
|
1989 |
||
1990 |
showGroup isNil ifTrue:[ |
|
7811 | 1991 |
showGroup := true asValue. |
1992 |
showGroup onChangeSend:#viewedColumnsChanged to:self. |
|
4463 | 1993 |
]. |
1994 |
^ showGroup |
|
1995 |
! |
|
1996 |
||
1997 |
showPrio |
|
1998 |
"return/create the 'showPrio' value holder (automatically generated)" |
|
1999 |
||
2000 |
showPrio isNil ifTrue:[ |
|
7811 | 2001 |
showPrio := true asValue. |
2002 |
showPrio onChangeSend:#viewedColumnsChanged to:self. |
|
4463 | 2003 |
]. |
2004 |
^ showPrio |
|
2005 |
! |
|
2006 |
||
2007 |
showProcessId |
|
2008 |
||
2009 |
showProcessId isNil ifTrue:[ |
|
7811 | 2010 |
showProcessId := true asValue. |
2011 |
showProcessId onChangeSend:#viewedColumnsChanged to:self |
|
4463 | 2012 |
]. |
2013 |
^ showProcessId |
|
2014 |
! |
|
2015 |
||
2016 |
showState |
|
2017 |
"return/create the 'showState' value holder (automatically generated)" |
|
2018 |
||
2019 |
showState isNil ifTrue:[ |
|
7811 | 2020 |
showState := true asValue. |
2021 |
showState onChangeSend:#viewedColumnsChanged to:self |
|
4463 | 2022 |
]. |
2023 |
^ showState |
|
2024 |
! |
|
2025 |
||
2026 |
showSwitch |
|
2027 |
"return/create the 'showSwitch' value holder (automatically generated)" |
|
2028 |
||
2029 |
showSwitch isNil ifTrue:[ |
|
7811 | 2030 |
showSwitch := showDetail asValue. |
2031 |
showSwitch onChangeSend:#viewedColumnsChanged to:self |
|
4463 | 2032 |
]. |
2033 |
^ showSwitch |
|
2034 |
! |
|
2035 |
||
2036 |
showTotalStack |
|
2037 |
"return/create the 'showTotalStack' value holder (automatically generated)" |
|
2038 |
||
2039 |
showTotalStack isNil ifTrue:[ |
|
7811 | 2040 |
showTotalStack := showDetail asValue. |
2041 |
showTotalStack onChangeSend:#viewedColumnsChanged to:self |
|
4463 | 2042 |
]. |
2043 |
^ showTotalStack |
|
2044 |
! |
|
2045 |
||
2046 |
showUsedStack |
|
2047 |
"return/create the 'showUsedStack' value holder (automatically generated)" |
|
2048 |
||
2049 |
showUsedStack isNil ifTrue:[ |
|
7811 | 2050 |
showUsedStack := showDetail asValue. |
2051 |
showUsedStack onChangeSend:#viewedColumnsChanged to:self |
|
4463 | 2052 |
]. |
2053 |
^ showUsedStack |
|
2054 |
! |
|
2055 |
||
2056 |
showWhere |
|
2057 |
"return/create the 'showWhere' value holder (automatically generated)" |
|
2058 |
||
2059 |
showWhere isNil ifTrue:[ |
|
7811 | 2060 |
showWhere := true asValue. |
2061 |
showWhere onChangeSend:#viewedColumnsChanged to:self |
|
4463 | 2062 |
]. |
2063 |
^ showWhere |
|
2064 |
! ! |
|
2065 |
||
2066 |
!ProcessMonitorV2 methodsFor:'change & update'! |
|
2067 |
||
2068 |
selectionChanged |
|
2069 |
||
7809 | 2070 |
|hasSelection allRestartable| |
2071 |
||
2072 |
hasSelection := self hasSelection. |
|
2073 |
||
2074 |
self hasSelectionHolder value:hasSelection. |
|
2075 |
self hasSelectionWithStoppedProcessHolder value:self hasSelectionWithStoppedProcess. |
|
2076 |
self hasSelectionWithApplicationProcessHolder value:self hasSelectionWithApplicationProcess. |
|
2077 |
self hasSelectionWithGUIProcessHolder value:self hasSelectionWithGUIProcess. |
|
2078 |
||
2079 |
hasSelection ifFalse:[ |
|
7811 | 2080 |
self selectionRestartable value:false. |
2081 |
^ self |
|
4463 | 2082 |
]. |
7809 | 2083 |
|
4463 | 2084 |
allRestartable := true. |
2085 |
self selectedProcessesDo:[:p | |
|
7811 | 2086 |
p isRestartable ifFalse:[ |
2087 |
allRestartable := false |
|
2088 |
]. |
|
4463 | 2089 |
]. |
2090 |
self selectionRestartable value:allRestartable. |
|
2091 |
^ self. |
|
7809 | 2092 |
|
2093 |
"Modified: / 05-06-2007 / 17:51:48 / cg" |
|
4463 | 2094 |
! |
2095 |
||
2096 |
update:something with:aParameter from:changedObject |
|
2097 |
"Invoked when an object that I depend upon sends a change notification." |
|
2098 |
||
2099 |
"stub code automatically generated - please change as required" |
|
2100 |
||
4565 | 2101 |
changedObject == builder window ifTrue:[ |
7811 | 2102 |
something == #visibility ifTrue:[ |
2103 |
self updateList. |
|
2104 |
]. |
|
4565 | 2105 |
]. |
4463 | 2106 |
changedObject == self selectedProcesses ifTrue:[ |
7811 | 2107 |
self selectionChanged. |
2108 |
^ self |
|
4463 | 2109 |
]. |
2110 |
changedObject == self showDead ifTrue:[ |
|
7811 | 2111 |
self updateList. |
2112 |
^ self |
|
4463 | 2113 |
]. |
2114 |
super update:something with:aParameter from:changedObject |
|
2115 |
! |
|
2116 |
||
2117 |
viewedColumnsChanged |
|
2118 |
||
4498 | 2119 |
| columns buffer locCurrentSortOrder currentSortOrderColumn currentSortOrderReverse oldSelection sel| |
2120 |
||
2121 |
sel := self selectedProcesses value. |
|
2122 |
sel notNil ifTrue:[ |
|
7811 | 2123 |
oldSelection := OrderedCollection new. |
2124 |
sel do:[:proItem| |
|
2125 |
proItem processInstance notNil ifTrue:[ |
|
2126 |
oldSelection add:(proItem processInstance) |
|
2127 |
]. |
|
2128 |
]. |
|
4498 | 2129 |
]. |
2130 |
"/ Transcript showCR:'oldSelection on catch in viewedColumnsChanged', (oldSelection isNil ifTrue:['nil'] ifFalse:[oldSelection first printString]). |
|
4463 | 2131 |
columns := OrderedCollection new. |
2132 |
self class tableColumns do:[:el| |
|
7811 | 2133 |
columns add:(DataSetColumnSpec decodeFromLiteralArray:el). |
4463 | 2134 |
]. |
2135 |
buffer := columns copy. |
|
2136 |
locCurrentSortOrder := self currentSortOrder value. |
|
2137 |
currentSortOrderColumn := locCurrentSortOrder at:#column ifAbsent:nil. |
|
2138 |
currentSortOrderReverse := locCurrentSortOrder at:#reverse ifAbsent:nil. |
|
2139 |
buffer do:[:col | |
|
7811 | 2140 |
| id | |
2141 |
id := col id. |
|
2142 |
id notNil ifTrue:[ |
|
2143 |
(col labelActionArgument notNil and:[col labelActionArgument asSymbol == currentSortOrderColumn]) ifTrue:[ |
|
2144 |
| label icon| |
|
2145 |
label := col label. |
|
2146 |
icon := currentSortOrderReverse ifTrue:[self class detailsMenuIconDown] ifFalse:[self class detailsMenuIconUp]. |
|
2147 |
col label:(LabelAndIcon label:label icon:icon). |
|
2148 |
]. |
|
2149 |
#( |
|
2150 |
( #id #showProcessId) |
|
2151 |
( #group #showGroup) |
|
2152 |
( #prio #showPrio) |
|
2153 |
( #currentSegment #showCurrentSegment) |
|
2154 |
( #state #showState) |
|
2155 |
( #switch #showSwitch) |
|
2156 |
( #totalStack #showTotalStack) |
|
2157 |
( #usedStack #showUsedStack) |
|
2158 |
( #where #showWhere) |
|
2159 |
) pairsDo:[:colName :holderAccessorSelector | |
|
2160 |
(id == colName and:[(self perform:holderAccessorSelector) value not]) ifTrue:[ |
|
2161 |
columns remove:col. |
|
2162 |
] |
|
2163 |
] |
|
2164 |
] |
|
4463 | 2165 |
]. |
2166 |
updateSema critical:[ |
|
7811 | 2167 |
self tableColumns value:columns. |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2168 |
"/ self updateTable:nil. |
4498 | 2169 |
"/ Transcript showCR:'oldSelection on set in viewedColumnsChanged', (oldSelection isNil ifTrue:['nil'] ifFalse:[oldSelection first printString]). |
7811 | 2170 |
self changeSelectionToProcesses:oldSelection. |
4463 | 2171 |
]. |
7767 | 2172 |
|
2173 |
"Modified: / 27-03-2007 / 08:43:49 / cg" |
|
4463 | 2174 |
! ! |
2175 |
||
2176 |
!ProcessMonitorV2 methodsFor:'event handling'! |
|
2177 |
||
2178 |
processEvent:anEvent |
|
2179 |
"filter keyboard events. |
|
2180 |
Return true, if I have eaten the event" |
|
2181 |
||
2182 |
|focusView key rawKey| |
|
2183 |
||
2184 |
anEvent isKeyPressEvent ifTrue:[ |
|
7811 | 2185 |
focusView := anEvent targetView. |
2186 |
key := anEvent key. |
|
2187 |
rawKey := anEvent rawKey. |
|
2188 |
||
2189 |
(focusView == processList) ifTrue:[ |
|
2190 |
key == #InspectIt ifTrue:[ |
|
2191 |
self inspectSelection. |
|
2192 |
^ true. |
|
2193 |
]. |
|
2194 |
] |
|
4463 | 2195 |
]. |
2196 |
^ false |
|
2197 |
! ! |
|
2198 |
||
2199 |
!ProcessMonitorV2 methodsFor:'initialization & release'! |
|
2200 |
||
8651 | 2201 |
commonPostOpen |
2202 |
||
2203 |
super commonPostOpen. |
|
2204 |
||
2205 |
builder window addDependent:self. |
|
2206 |
self viewedColumnsChanged. |
|
2207 |
self updateList. |
|
2208 |
self startUpdateProcess. |
|
2209 |
self selectionChanged. |
|
2210 |
self sortProcessListBy:#idVal. |
|
2211 |
self windowGroup addPreEventHook:self. |
|
2212 |
! |
|
2213 |
||
4463 | 2214 |
initialize |
2215 |
||
2216 |
super initialize. |
|
2217 |
||
7809 | 2218 |
hasSelectionHolder := false asValue. |
2219 |
hasSelectionWithStoppedProcessHolder := false asValue. |
|
2220 |
hasSelectionWithApplicationProcessHolder := false asValue. |
|
2221 |
hasSelectionWithGUIProcessHolder := false asValue. |
|
2222 |
||
4463 | 2223 |
showDetail := (Smalltalk at:#SystemDebugging ifAbsent:false). |
2224 |
updateSema := Semaphore forMutualExclusion. |
|
2225 |
updateDelay := 0.5. |
|
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
2226 |
listUpdateDelay := 5.0. |
4463 | 2227 |
|
2228 |
"/ event mode is no longer used; |
|
2229 |
"/ this event support may vanish |
|
2230 |
Processor isPureEventDriven ifTrue:[ |
|
7811 | 2231 |
updateBlock := [self updateStatus:nil]. |
2232 |
listUpdateBlock := [self updateList]. |
|
4463 | 2233 |
]. |
7809 | 2234 |
|
2235 |
"Modified: / 05-06-2007 / 17:53:48 / cg" |
|
4463 | 2236 |
! |
2237 |
||
2238 |
postBuildProcessTable:aWidget |
|
2239 |
||
2240 |
processTable := aWidget scrolledView. |
|
2241 |
processTable wantsFocusWithPointerEnter. |
|
2242 |
! |
|
2243 |
||
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
2244 |
release |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
2245 |
updateBlock notNil ifTrue:[ |
7811 | 2246 |
Processor removeTimedBlock:updateBlock. |
2247 |
updateBlock := nil. |
|
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
2248 |
]. |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
2249 |
listUpdateBlock notNil ifTrue:[ |
7811 | 2250 |
Processor removeTimedBlock:listUpdateBlock. |
2251 |
listUpdateBlock := nil. |
|
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
2252 |
]. |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
2253 |
updateProcess notNil ifTrue:[ |
7811 | 2254 |
updateProcess terminate. |
2255 |
updateProcess := nil. |
|
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
2256 |
]. |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
2257 |
super release |
6234
f4c3118ce840
Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents:
6042
diff
changeset
|
2258 |
! |
f4c3118ce840
Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents:
6042
diff
changeset
|
2259 |
|
f4c3118ce840
Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents:
6042
diff
changeset
|
2260 |
restarted |
f4c3118ce840
Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents:
6042
diff
changeset
|
2261 |
"restarted from snapshot" |
f4c3118ce840
Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents:
6042
diff
changeset
|
2262 |
|
f4c3118ce840
Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents:
6042
diff
changeset
|
2263 |
super restarted. |
f4c3118ce840
Restart update process after snapshot restart
Stefan Vogel <sv@exept.de>
parents:
6042
diff
changeset
|
2264 |
self startUpdateProcess. |
4463 | 2265 |
! ! |
2266 |
||
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2267 |
!ProcessMonitorV2 methodsFor:'menu accessing'! |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2268 |
|
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2269 |
tableMenu |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2270 |
|
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2271 |
^[ |
7811 | 2272 |
self tableMenuAccess |
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2273 |
] |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2274 |
! |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2275 |
|
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2276 |
tableMenuAccess |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2277 |
self allowModifications value ifTrue:[ |
7811 | 2278 |
tableMenu isNil ifTrue:[ |
2279 |
tableMenu := Menu decodeFromLiteralArray:(self class tableMenu). |
|
2280 |
tableMenu receiver:self. |
|
2281 |
tableMenu findGuiResourcesIn:self. |
|
2282 |
]. |
|
2283 |
^ tableMenu |
|
4649
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2284 |
]. |
6239 | 2285 |
^ nil |
7767 | 2286 |
|
2287 |
"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
|
2288 |
! ! |
37f55d741468
allow task modifications in Process Monitor can be disabled now
penk
parents:
4576
diff
changeset
|
2289 |
|
4463 | 2290 |
!ProcessMonitorV2 methodsFor:'menu actions'! |
2291 |
||
2292 |
abortProcess |
|
2293 |
"abort (raise AbortSignal in) the selected process" |
|
2294 |
||
2295 |
self selectedProcessesDo:[:p | |
|
7811 | 2296 |
p abort |
7810 | 2297 |
]. |
2298 |
self updateList. |
|
2299 |
||
2300 |
"Modified: / 07-06-2007 / 12:38:42 / cg" |
|
4463 | 2301 |
! |
2302 |
||
2303 |
hardTerminateProcess |
|
2304 |
"hard terminate the selected process" |
|
2305 |
||
2306 |
self selectedProcessesSend:#terminateNoSignal |
|
2307 |
! |
|
2308 |
||
2309 |
lowerPrio |
|
2310 |
"lower the selected processes priority" |
|
2311 |
||
2312 |
self selectedProcessesDo:[:p | |
|
2313 |
p priority:(p priority - 1) |
|
7810 | 2314 |
]. |
2315 |
self updateList. |
|
2316 |
||
2317 |
"Modified: / 07-06-2007 / 12:38:50 / cg" |
|
4463 | 2318 |
! |
2319 |
||
2320 |
openDocumentation |
|
2321 |
"This method was generated by the Browser. |
|
2322 |
It will be invoked when the menu-item 'help-documentation' is selected." |
|
2323 |
||
2324 |
"/ change below as required ... |
|
2325 |
||
2326 |
"/ to open an HTML viewer on some document (under 'doc/online/<language>/' ): |
|
4561 | 2327 |
HTMLDocumentView openFullOnDocumentationFile:'tools/misc/TOP.html#PROCESSMONITOR'. |
4463 | 2328 |
|
2329 |
"/ add application-specific help files under the 'doc/online/<language>/help/appName' |
|
2330 |
"/ directory, and open a viewer with: |
|
2331 |
"/ HTMLDocumentView openFullOnDocumentationFile:'help/<MyApplication>/TOP.html'. |
|
2332 |
! |
|
2333 |
||
2334 |
raisePrio |
|
2335 |
"raise the selected processes priority" |
|
2336 |
||
2337 |
self selectedProcessesDo:[:p | |
|
2338 |
p priority:(p priority + 1) |
|
7810 | 2339 |
]. |
2340 |
self updateList. |
|
2341 |
||
2342 |
"Modified: / 07-06-2007 / 12:38:57 / cg" |
|
4463 | 2343 |
! |
2344 |
||
2345 |
restartProcess |
|
2346 |
"abort (raise AbortSignal in) the selected process" |
|
2347 |
||
2348 |
self selectedProcessesDo:[:p | |
|
7811 | 2349 |
p restart. |
7810 | 2350 |
]. |
2351 |
self updateList. |
|
2352 |
||
2353 |
"Modified: / 07-06-2007 / 12:39:04 / cg" |
|
4463 | 2354 |
! |
2355 |
||
2356 |
resumeProcess |
|
2357 |
"resume the selected process (i.e. let it run) " |
|
2358 |
||
2359 |
self selectedProcessesSend:#resume |
|
2360 |
! |
|
2361 |
||
2362 |
stopProcess |
|
2363 |
"stop the selected process - not even interrupts will wake it up" |
|
2364 |
||
2365 |
self selectedProcessesSend:#stop |
|
2366 |
! |
|
2367 |
||
2368 |
suspendProcess |
|
2369 |
"suspend the selected process - interrupts will let it run again" |
|
2370 |
||
2371 |
self selectedProcessesSend:#suspend |
|
2372 |
! |
|
2373 |
||
2374 |
terminateProcess |
|
2375 |
"terminate the selected process" |
|
2376 |
||
2377 |
self selectedProcessesSend:#terminate. |
|
2378 |
self updateList. |
|
2379 |
! |
|
2380 |
||
2381 |
terminateProcessGroup |
|
2382 |
"terminate the selected process with all of its subprocesses" |
|
2383 |
||
2384 |
self selectedProcessesSend:#terminateGroup. |
|
2385 |
self updateList. |
|
2386 |
! ! |
|
2387 |
||
7810 | 2388 |
!ProcessMonitorV2 methodsFor:'menu actions-application'! |
2389 |
||
2390 |
closeApplication |
|
2391 |
"close the process(es) topView(s)" |
|
2392 |
||
2393 |
self selectedApplicationTopViewsDo:[:topView | topView terminate] |
|
2394 |
||
2395 |
"Created: / 07-06-2007 / 12:40:20 / cg" |
|
2396 |
! |
|
2397 |
||
2398 |
lowerApplicationWindow |
|
2399 |
"lower the selected process(es) topView(s)" |
|
2400 |
||
2401 |
self selectedApplicationTopViewsDo:[:topView | topView lower] |
|
2402 |
||
2403 |
"Created: / 07-06-2007 / 12:43:46 / cg" |
|
2404 |
! |
|
2405 |
||
2406 |
raiseApplicationWindow |
|
2407 |
"raise the selected process(es) topView(s)" |
|
2408 |
||
2409 |
self selectedApplicationTopViewsDo:[:topView | topView raiseDeiconified] |
|
2410 |
||
2411 |
"Created: / 05-06-2007 / 18:37:30 / cg" |
|
2412 |
"Modified: / 07-06-2007 / 12:43:55 / cg" |
|
2413 |
! |
|
2414 |
||
2415 |
selectedApplicationTopViewsDo:aBlock |
|
2416 |
self selectedProcessesDo:[:eachProcess | |
|
7811 | 2417 |
|wg app topView| |
2418 |
||
2419 |
wg := self windowGroupOfProcess:eachProcess. |
|
2420 |
wg notNil ifTrue:[ |
|
2421 |
(topView := wg mainView) notNil ifTrue:[ |
|
2422 |
aBlock value:topView. |
|
2423 |
] |
|
2424 |
] |
|
7810 | 2425 |
] |
2426 |
||
2427 |
"Created: / 07-06-2007 / 12:42:09 / cg" |
|
2428 |
! ! |
|
2429 |
||
2430 |
!ProcessMonitorV2 methodsFor:'menu actions-debug'! |
|
2431 |
||
2432 |
browseApplication |
|
2433 |
"open a browser on the selected process(es) application or topView" |
|
2434 |
||
2435 |
self selectedApplicationTopViewsDo:[:topView | |
|
7811 | 2436 |
|app| |
2437 |
||
2438 |
(app := topView application) notNil ifTrue:[ |
|
2439 |
app class browse. |
|
2440 |
] ifFalse:[ |
|
2441 |
topView class browse. |
|
2442 |
] |
|
7810 | 2443 |
] |
2444 |
||
2445 |
"Created: / 07-06-2007 / 12:48:05 / cg" |
|
2446 |
! |
|
2447 |
||
2448 |
debugProcess |
|
2449 |
"open a debugger on the selected process(es)" |
|
2450 |
||
8651 | 2451 |
Debugger isNil ifTrue:[ ^ self ]. |
2452 |
||
7810 | 2453 |
self selectedProcessesDo:[:p | |
2454 |
Debugger openOn:p |
|
2455 |
] |
|
2456 |
||
2457 |
"Modified: / 07-06-2007 / 12:34:43 / cg" |
|
2458 |
! |
|
2459 |
||
2460 |
debugWhenResumed |
|
2461 |
"open a debugger when the selected process(es) is resumed" |
|
2462 |
||
8651 | 2463 |
Debugger isNil ifTrue:[ ^ self ]. |
2464 |
||
7810 | 2465 |
self selectedProcessesDo:[:p | |
2466 |
p addInterruptAction:[Debugger enter] |
|
2467 |
] |
|
2468 |
||
2469 |
"Modified: / 07-06-2007 / 12:34:38 / cg" |
|
2470 |
! |
|
2471 |
||
2472 |
inspectApplication |
|
2473 |
"open an inspector on the selected process(es) application or topView" |
|
2474 |
||
2475 |
self selectedApplicationTopViewsDo:[:topView | |
|
7811 | 2476 |
|app| |
2477 |
||
2478 |
(app := topView application) notNil ifTrue:[ |
|
2479 |
app inspect. |
|
2480 |
] ifFalse:[ |
|
2481 |
topView inspect. |
|
2482 |
] |
|
7810 | 2483 |
] |
2484 |
||
2485 |
"Modified: / 07-06-2007 / 12:46:42 / cg" |
|
2486 |
! |
|
2487 |
||
2488 |
inspectSelection |
|
2489 |
"open an inspector on the selected process" |
|
2490 |
||
2491 |
self selectedProcessesSend:#inspect |
|
2492 |
! ! |
|
2493 |
||
6609 | 2494 |
!ProcessMonitorV2 methodsFor:'private queries'! |
2495 |
||
2496 |
isApplicationProcess:aProcess |
|
2497 |
^ (self windowGroupOfProcess:aProcess) notNil. |
|
2498 |
! |
|
2499 |
||
2500 |
windowGroupOfProcess:aProcess |
|
7811 | 2501 |
WindowGroup scheduledWindowGroups |
2502 |
do:[:eachGroup | |
|
2503 |
(eachGroup process == aProcess) ifTrue:[ |
|
2504 |
eachGroup isModal ifTrue:[ |
|
2505 |
^ eachGroup previousGroup |
|
2506 |
]. |
|
2507 |
^ eachGroup |
|
2508 |
] |
|
2509 |
]. |
|
6609 | 2510 |
|
2511 |
^ nil |
|
2512 |
! ! |
|
2513 |
||
4463 | 2514 |
!ProcessMonitorV2 methodsFor:'queries - table string'! |
2515 |
||
7811 | 2516 |
getActiveStringFor:aProcess running:isRunning |
5538 | 2517 |
|stateCharacter| |
2518 |
||
2519 |
isRunning ifTrue:[ |
|
7811 | 2520 |
stateCharacter := '*'. |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2521 |
] ifFalse:[ |
7811 | 2522 |
[ |
2523 |
(Processor scheduledProcesses includes:aProcess) ifTrue:[ |
|
2524 |
stateCharacter := '+' |
|
2525 |
] ifFalse:[ |
|
2526 |
stateCharacter := ''. |
|
2527 |
]. |
|
2528 |
] valueUninterruptably. |
|
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2529 |
]. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2530 |
^ stateCharacter. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2531 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2532 |
|
4463 | 2533 |
getCurrentSegmentStringFor:con |
2534 |
||
2535 |
con notNil ifTrue:[ |
|
7811 | 2536 |
| contextCount c sender| |
2537 |
contextCount := 1. |
|
2538 |
c := con. |
|
2539 |
[(sender := c sender) notNil] whileTrue:[ |
|
2540 |
c := sender. |
|
2541 |
contextCount := contextCount + 1. |
|
2542 |
]. |
|
2543 |
^ (((ObjectMemory addressOf:con) printStringRadix:16), |
|
2544 |
' .. ', |
|
2545 |
((ObjectMemory addressOf:c) printStringRadix:16)). |
|
4463 | 2546 |
]. |
4504 | 2547 |
^ '' |
4463 | 2548 |
! |
2549 |
||
2550 |
getGroupStringFor:aProcess |
|
2551 |
||
2552 |
|gId| |
|
2553 |
||
2554 |
gId := aProcess processGroupId. |
|
2555 |
((gId == aProcess id) or:[gId isNil]) ifTrue:[ |
|
7811 | 2556 |
"/ a group leader |
2557 |
^ '-'. |
|
4463 | 2558 |
] ifFalse:[ |
7811 | 2559 |
^ gId. |
4463 | 2560 |
]. |
2561 |
! |
|
2562 |
||
2563 |
getPrioStringFor:aProcess |
|
2564 |
||
2565 |
|prioRange| |
|
2566 |
||
2567 |
Processor supportDynamicPriorities ifTrue:[ |
|
7811 | 2568 |
(prioRange := aProcess priorityRange) isNil ifTrue:[ |
2569 |
^ aProcess priority asString. |
|
2570 |
] ifFalse:[ |
|
2571 |
^ (aProcess priority asString, |
|
2572 |
' [', |
|
2573 |
prioRange start printString, |
|
2574 |
'..', |
|
2575 |
prioRange stop printString, |
|
2576 |
']'). |
|
2577 |
]. |
|
4463 | 2578 |
]. |
4504 | 2579 |
^ '' |
4463 | 2580 |
! |
2581 |
||
2582 |
getTotalStackStringFor:aProcess |
|
2583 |
||
2584 |
||
2585 |
aProcess id == 0 ifTrue:[ |
|
7811 | 2586 |
^ 'unlimited'. |
4463 | 2587 |
] ifFalse:[ |
7811 | 2588 |
| tStackSize noOfSegs | |
2589 |
((tStackSize := aProcess totalStackSize) notNil and:[ |
|
2590 |
(noOfSegs := aProcess numberOfStackSegments) notNil |
|
2591 |
]) ifTrue:[ |
|
2592 |
^ ((tStackSize printString), |
|
2593 |
' (', |
|
2594 |
(noOfSegs printString), |
|
2595 |
')' ) |
|
2596 |
] |
|
4463 | 2597 |
]. |
4504 | 2598 |
^ '' |
4463 | 2599 |
! |
2600 |
||
7811 | 2601 |
getWhereStringFor:con running:isRunning |
7810 | 2602 |
|c found skipping rs rc r sel| |
2603 |
||
4463 | 2604 |
con notNil ifTrue:[ |
9661
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2605 |
c := con. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2606 |
found := false. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2607 |
isRunning ifFalse:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2608 |
"/ search for a semaphore-wait in the top 10 contexts |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2609 |
1 to:10 do:[:n | |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2610 |
found ifFalse:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2611 |
c notNil ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2612 |
(c receiver class == Semaphore) ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2613 |
c selector == #wait ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2614 |
found := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2615 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2616 |
c selector == #waitWithTimeout: ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2617 |
found := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2618 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2619 |
c selector == #waitWithTimeoutMs: ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2620 |
found := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2621 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2622 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2623 |
c := c sender. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2624 |
] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2625 |
] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2626 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2627 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2628 |
found ifFalse:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2629 |
"/ search for a non-processor, non-process |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2630 |
"/ receiver in the top 10 contexts |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2631 |
c := con. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2632 |
1 to:10 do:[:n | |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2633 |
found ifFalse:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2634 |
c notNil ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2635 |
((r := c receiver) ~~ Processor and:[ r class ~~ Process ]) ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2636 |
found := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2637 |
] ifFalse:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2638 |
c := c sender. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2639 |
] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2640 |
] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2641 |
] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2642 |
] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2643 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2644 |
|
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2645 |
"/ skip, until an interesting context is |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2646 |
"/ found. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2647 |
"/ this skips intermediate contexts, which lead |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2648 |
"/ to the sema-wait (for example, unwind blocks, |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2649 |
"/ delay-stuff etc.) |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2650 |
found ifFalse:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2651 |
c := con |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2652 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2653 |
skipping := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2654 |
[ skipping ] whileTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2655 |
skipping := false. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2656 |
(c notNil and:[ c receiver == Delay or:[ c receiver class == Delay ] ]) ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2657 |
c := c sender. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2658 |
skipping := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2659 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2660 |
(c notNil and:[ c receiver == Semaphore or:[ c receiver class == Semaphore ] ]) ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2661 |
c := c sender. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2662 |
skipping := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2663 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2664 |
[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2665 |
c notNil and:[ c receiver isBlock and:[ c selector startsWith:'value' ] ] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2666 |
] whileTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2667 |
c := c sender. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2668 |
skipping := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2669 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2670 |
[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2671 |
c notNil and:[ c receiver isBlock and:[ c selector = 'ensure:' ] ] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2672 |
] whileTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2673 |
c := c sender. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2674 |
skipping := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2675 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2676 |
[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2677 |
c notNil |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2678 |
and:[ c receiver == OperatingSystem and:[ c selector == #unblockInterrupts ] ] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2679 |
] whileTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2680 |
c := c sender. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2681 |
skipping := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2682 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2683 |
[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2684 |
c notNil and:[ c isBlockContext ] |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2685 |
] whileTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2686 |
c := c home. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2687 |
skipping := true. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2688 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2689 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2690 |
c notNil ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2691 |
sel := c selector. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2692 |
sel isNil ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2693 |
sel := '* unknown *' |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2694 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2695 |
r := c receiver. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2696 |
rc := r class. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2697 |
rs := rc name. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2698 |
(rc == SharedQueue |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2699 |
or:[rc == RecursionLock]) ifTrue:[ |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2700 |
rs := rs , ' (', (r identityHash bitShift:-12) hexPrintString,') '. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2701 |
]. |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2702 |
^ (rs , '>>' , sel). |
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2703 |
] |
4463 | 2704 |
]. |
4504 | 2705 |
^ '' |
7810 | 2706 |
|
9661
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
2707 |
"Modified: / 08-12-2010 / 18:23:59 / cg" |
4463 | 2708 |
! ! |
2709 |
||
2710 |
!ProcessMonitorV2 methodsFor:'sorting'! |
|
2711 |
||
7811 | 2712 |
sortProcessListBy:instanceName |
4463 | 2713 |
"method to sort the list of BugReport" |
2714 |
||
2715 |
| aSymbol isReverse cmpOp currentSortOrder| |
|
2716 |
||
2717 |
aSymbol := instanceName asSymbol. |
|
2718 |
isReverse := false. |
|
2719 |
currentSortOrder := self currentSortOrder value. |
|
2720 |
currentSortOrder isEmpty ifTrue:[ |
|
7811 | 2721 |
currentSortOrder at:#column put:aSymbol. |
2722 |
currentSortOrder at:#reverse put:false. |
|
4463 | 2723 |
] ifFalse:[ |
7811 | 2724 |
(currentSortOrder at:#column) = aSymbol ifTrue:[ |
2725 |
"/ same column like before - change sort order ifReverse is true |
|
2726 |
isReverse := currentSortOrder at:#reverse. |
|
2727 |
currentSortOrder at:#reverse put:(isReverse not). |
|
2728 |
] ifFalse:[ |
|
2729 |
"/ another column - remark column |
|
2730 |
currentSortOrder at:#column put:aSymbol. |
|
2731 |
] |
|
4463 | 2732 |
]. |
2733 |
(currentSortOrder at:#reverse) ifTrue:[ |
|
7811 | 2734 |
cmpOp := #'>' |
4463 | 2735 |
] ifFalse:[ |
7811 | 2736 |
cmpOp := #'<' |
4463 | 2737 |
]. |
7811 | 2738 |
sortBlock := [:a :b | |
2739 |
|entry1 entry2| |
|
2740 |
||
2741 |
entry1 := (a perform:aSymbol) ? 0. |
|
2742 |
entry2 := (b perform:aSymbol) ? 0. |
|
2743 |
entry1 = entry2 ifTrue:[ |
|
2744 |
(a idVal < 0 and:[b idVal < 0]) ifTrue:[ |
|
2745 |
"/ two dead ones (take anything which remains constant) |
|
2746 |
a processName ~= b processName ifTrue:[ |
|
2747 |
a processName < b processName |
|
2748 |
] ifFalse:[ |
|
2749 |
a processInstance identityHash < b processInstance identityHash |
|
2750 |
] |
|
2751 |
] ifFalse:[ |
|
2752 |
a idVal < b idVal |
|
2753 |
] |
|
2754 |
] ifFalse:[ |
|
2755 |
entry1 perform:cmpOp with:entry2 |
|
2756 |
] |
|
2757 |
]. |
|
4498 | 2758 |
self viewedColumnsChanged. |
4463 | 2759 |
! ! |
2760 |
||
2761 |
!ProcessMonitorV2 methodsFor:'update process'! |
|
2762 |
||
7811 | 2763 |
fillItemInformationIn:processItem |
8408 | 2764 |
|state stateColor running con aProcess| |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2765 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2766 |
aProcess := processItem processInstance. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2767 |
aProcess isNil ifTrue:[ |
8408 | 2768 |
^ self. |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2769 |
]. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2770 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2771 |
processItem processId:aProcess id. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2772 |
processItem idVal:aProcess id ? -1. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2773 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2774 |
processItem processGroup:(self getGroupStringFor:aProcess). |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2775 |
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
|
2776 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2777 |
processItem processName:aProcess name ? ''. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2778 |
|
8408 | 2779 |
state := aProcess state. |
2780 |
running := (state == #run and:[aProcess == Processor interruptedProcess]). |
|
2781 |
||
2782 |
stateColor := (state == #run) |
|
2783 |
ifTrue:[ Color green darkened ] |
|
2784 |
ifFalse:[ |
|
2785 |
(state == #debug or:[state == #stopped]) |
|
2786 |
ifTrue:[ Color red ] |
|
2787 |
ifFalse:[ Color black ]]. |
|
2788 |
||
9035
90950862113a
no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents:
8652
diff
changeset
|
2789 |
processItem processState:(state asString colorizeAllWith:stateColor). |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2790 |
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
|
2791 |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
2792 |
"/ processItem processBlocked:(aProcess interruptsDisabled). |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2793 |
processItem prioVal:(aProcess priority). |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2794 |
processItem processPrio:(self getPrioStringFor:aProcess). |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2795 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2796 |
processItem processUsedStack:aProcess usedStackSize. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2797 |
processItem processTotalStack:(self getTotalStackStringFor:aProcess). |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2798 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2799 |
con := aProcess suspendedContext. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2800 |
con isNil ifTrue:[ |
8408 | 2801 |
aProcess == Processor activeProcess ifTrue:[ |
2802 |
con := thisContext |
|
2803 |
] |
|
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2804 |
]. |
8408 | 2805 |
processItem processWhere:(self getWhereStringFor:con running:running). |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2806 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2807 |
processItem processCurrentSegment:(self getCurrentSegmentStringFor:con). |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2808 |
processItem processSwitch:(aProcess numberOfStackBoundaryHits). |
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
2809 |
|
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
2810 |
"Modified: / 18-07-2010 / 23:57:33 / cg" |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2811 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2812 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2813 |
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
|
2814 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2815 |
processItem weakArrayWithProcesses:weakArrayWithProcesses. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2816 |
processItem processInstanceIndexInWeakArray:processInstanceIndexInWeakArray. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2817 |
self fillItemInformationIn:processItem |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2818 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2819 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2820 |
startUpdateProcess |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2821 |
updateBlock notNil ifTrue:[ |
8651 | 2822 |
Processor addTimedBlock:updateBlock afterSeconds:self scaledUpdateContentsDelayTime. |
2823 |
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
|
2824 |
] ifFalse:[ |
9410 | 2825 |
"after a restart, updateProcess is a dead process" |
2826 |
self assert:(updateProcess isNil or:[updateProcess isDead]). |
|
8651 | 2827 |
|
2828 |
updateProcess := [ |
|
2829 |
[ |
|
2830 |
|id cnt myDelay| |
|
2831 |
||
2832 |
myDelay := Delay forSeconds:self scaledUpdateContentsDelayTime. |
|
2833 |
||
2834 |
" |
|
2835 |
every updateDelay (0.5), we look which process runs; |
|
2836 |
every half second, the status is updated. |
|
2837 |
every listUpdateDelay (5s), the list of processes is |
|
2838 |
built up again |
|
2839 |
" |
|
2840 |
[true] whileTrue:[ |
|
2841 |
((self scaledUpdateListDelayTime // self scaledUpdateContentsDelayTime) max:2) - 1 timesRepeat:[ |
|
2842 |
myDelay wait. |
|
2843 |
self updateStatus:nil. |
|
2844 |
]. |
|
2845 |
myDelay wait. |
|
2846 |
self updateList. |
|
2847 |
] |
|
2848 |
] valueOnUnwindDo:[ |
|
2849 |
updateProcess := nil |
|
2850 |
] |
|
2851 |
] forkAt:(Processor userSchedulingPriority + 1). |
|
2852 |
updateProcess name:'monitor [' , |
|
2853 |
Processor activeProcess id printString , |
|
2854 |
'] update'. |
|
2855 |
" |
|
2856 |
raise my own priority |
|
2857 |
" |
|
2858 |
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
|
2859 |
]. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2860 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2861 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2862 |
updateChangedItem:oldItem newItem:newItem atIndex:index |
8408 | 2863 |
| colIdx newValue | |
2864 |
||
4498 | 2865 |
colIdx := 1. |
2866 |
||
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2867 |
oldItem weakArrayWithProcesses:newItem weakArrayWithProcesses. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2868 |
oldItem processInstanceIndexInWeakArray:newItem processInstanceIndexInWeakArray. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2869 |
|
4498 | 2870 |
"/ ID |
8408 | 2871 |
|
2872 |
oldItem processId ~= (newValue := newItem processId) ifTrue:[ |
|
2873 |
oldItem processId:newValue. |
|
2874 |
processTable invalidateRowAt:index colAt:colIdx. |
|
4498 | 2875 |
]. |
7757 | 2876 |
|
4498 | 2877 |
"/ GROUP |
2878 |
self showGroup value ifTrue:[ |
|
8408 | 2879 |
colIdx := colIdx + 1. |
2880 |
oldItem processGroup ~= (newValue := newItem processGroup) ifTrue:[ |
|
2881 |
oldItem processGroup:newValue. |
|
2882 |
processTable invalidateRowAt:index colAt:colIdx. |
|
2883 |
]. |
|
4498 | 2884 |
]. |
7757 | 2885 |
|
4498 | 2886 |
"/ NAME |
2887 |
colIdx := colIdx + 1. |
|
8408 | 2888 |
oldItem processName ~= (newValue := newItem processName) ifTrue:[ |
2889 |
oldItem processName:newValue. |
|
2890 |
processTable invalidateRowAt:index colAt:colIdx. |
|
4498 | 2891 |
]. |
7757 | 2892 |
|
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2893 |
"/ ACTIVE |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2894 |
colIdx := colIdx + 1. |
8408 | 2895 |
oldItem processActive ~= (newValue := newItem processActive) ifTrue:[ |
2896 |
oldItem processActive:newValue. |
|
2897 |
"/ (processTable columnAt:colIdx). |
|
2898 |
processTable invalidateRowAt:index colAt:colIdx. |
|
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2899 |
]. |
7757 | 2900 |
|
4498 | 2901 |
"/ STATE |
2902 |
self showState value ifTrue:[ |
|
8408 | 2903 |
colIdx := colIdx + 1. |
2904 |
(oldItem processState sameStringAndEmphasisAs: (newValue := newItem processState)) ifFalse:[ |
|
2905 |
oldItem processState:newValue. |
|
2906 |
processTable invalidateRowAt:index colAt:colIdx. |
|
2907 |
]. |
|
4498 | 2908 |
]. |
7757 | 2909 |
|
4498 | 2910 |
"/ PRIO |
2911 |
self showPrio value ifTrue:[ |
|
8408 | 2912 |
colIdx := colIdx + 1. |
2913 |
oldItem processPrio ~= (newValue := newItem processPrio) ifTrue:[ |
|
2914 |
oldItem processPrio:newValue. |
|
2915 |
processTable invalidateRowAt:index colAt:colIdx. |
|
2916 |
]. |
|
4498 | 2917 |
]. |
7757 | 2918 |
|
4498 | 2919 |
"/ USED STACK |
2920 |
self showUsedStack value ifTrue:[ |
|
8408 | 2921 |
colIdx := colIdx + 1. |
2922 |
oldItem processUsedStack ~= (newValue := newItem processUsedStack) ifTrue:[ |
|
2923 |
oldItem processUsedStack:newValue. |
|
2924 |
processTable invalidateRowAt:index colAt:colIdx. |
|
2925 |
]. |
|
4498 | 2926 |
]. |
7757 | 2927 |
|
4498 | 2928 |
"/ TOTAL STACK |
2929 |
self showTotalStack value ifTrue:[ |
|
8408 | 2930 |
colIdx := colIdx + 1. |
2931 |
oldItem processTotalStack ~= (newValue := newItem processTotalStack) ifTrue:[ |
|
2932 |
oldItem processTotalStack:newValue. |
|
2933 |
processTable invalidateRowAt:index colAt:colIdx. |
|
2934 |
]. |
|
4498 | 2935 |
]. |
7757 | 2936 |
|
4498 | 2937 |
"/ CURRENT SEGMENT |
2938 |
self showCurrentSegment value ifTrue:[ |
|
8408 | 2939 |
colIdx := colIdx + 1. |
2940 |
oldItem processCurrentSegment ~= (newValue := newItem processCurrentSegment) ifTrue:[ |
|
2941 |
oldItem processCurrentSegment:newValue. |
|
2942 |
processTable invalidateRowAt:index colAt:colIdx. |
|
2943 |
]. |
|
4498 | 2944 |
]. |
7757 | 2945 |
|
4498 | 2946 |
"/ Switch |
2947 |
self showSwitch value ifTrue:[ |
|
8408 | 2948 |
colIdx := colIdx + 1. |
2949 |
oldItem processSwitch ~= (newValue := newItem processSwitch) ifTrue:[ |
|
2950 |
oldItem processSwitch:newValue. |
|
2951 |
processTable invalidateRowAt:index colAt:colIdx. |
|
2952 |
]. |
|
4498 | 2953 |
]. |
7757 | 2954 |
|
4498 | 2955 |
"/ WHERE |
2956 |
self showWhere value ifTrue:[ |
|
8408 | 2957 |
colIdx := colIdx + 1. |
2958 |
oldItem processWhere ~= (newValue := newItem processWhere) ifTrue:[ |
|
2959 |
oldItem processWhere:newValue. |
|
2960 |
processTable invalidateRowAt:index colAt:colIdx. |
|
2961 |
]. |
|
4498 | 2962 |
]. |
7757 | 2963 |
|
2964 |
"Modified: / 19-03-2007 / 10:28:27 / cg" |
|
4498 | 2965 |
! |
2966 |
||
2967 |
updateList |
|
2968 |
||
2969 |
|newList| |
|
2970 |
||
2971 |
processTable shown ifTrue:[ |
|
8651 | 2972 |
newList := self getProcessList. |
2973 |
visibleBlock notNil ifTrue:[ |
|
2974 |
newList := newList select:visibleBlock |
|
2975 |
]. |
|
2976 |
self updateStatus:newList. |
|
4498 | 2977 |
]. |
2978 |
updateBlock notNil ifTrue:[ |
|
8651 | 2979 |
Processor removeTimedBlock:listUpdateBlock. |
2980 |
Processor addTimedBlock:listUpdateBlock afterSeconds:self scaledUpdateListDelayTime. |
|
4498 | 2981 |
]. |
2982 |
! |
|
2983 |
||
2984 |
updateStatus:newProcessList |
|
2985 |
||
2986 |
|startTime endTime deltaT| |
|
2987 |
||
2988 |
||
5783
5ce97d85326d
Rename AbsoluteTime to Timestamp
Stefan Vogel <sv@exept.de>
parents:
5764
diff
changeset
|
2989 |
startTime := Timestamp now. |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2990 |
updateSema critical:[ |
7811 | 2991 |
self updateTable:newProcessList. |
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
2992 |
]. |
4498 | 2993 |
|
5783
5ce97d85326d
Rename AbsoluteTime to Timestamp
Stefan Vogel <sv@exept.de>
parents:
5764
diff
changeset
|
2994 |
endTime := Timestamp now. |
4498 | 2995 |
deltaT := (endTime millisecondDeltaFrom:startTime) / 1000.0. |
2996 |
"/ Transcript show:deltaT; show:' ' ; showCR:(self scaledUpdateContentsDelayTime / 10.0). |
|
2997 |
deltaT > (self scaledUpdateContentsDelayTime / 5) ifTrue:[ |
|
7811 | 2998 |
"/ the update took longer than 20% - make delay longer, to reduce cpu load. |
2999 |
self updateContentsDelayTime value:(self scaledUpdateContentsDelayTime * 2). |
|
3000 |
"/ Transcript show:'+++ '; showCR:self scaledUpdateContentsDelayTime. |
|
4498 | 3001 |
] ifFalse:[ |
4570
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
3002 |
"/ self scaledUpdateContentsDelayTime > 0.5 ifTrue:[ |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
3003 |
"/ deltaT < (self scaledUpdateContentsDelayTime / 20) ifTrue:[ |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
3004 |
"/ "/ 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
|
3005 |
"/ 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
|
3006 |
"/ "/ Transcript show:'--- ';showCR:self scaledUpdateContentsDelayTime. |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
3007 |
"/ ]. |
3dc36c259ca1
show dead processes have to be enabled after fix remove dead processes
penk
parents:
4568
diff
changeset
|
3008 |
"/ ]. |
4498 | 3009 |
]. |
3010 |
updateBlock notNil ifTrue:[ |
|
7811 | 3011 |
Processor removeTimedBlock:updateBlock. |
3012 |
Processor addTimedBlock:updateBlock afterSeconds:self scaledUpdateContentsDelayTime. |
|
4498 | 3013 |
] |
3014 |
! |
|
3015 |
||
3016 |
updateTable:newProcessList |
|
6042 | 3017 |
|oldSelection newList sel diff weakProcessList| |
4498 | 3018 |
|
3019 |
processTable shown ifTrue:[ |
|
5783
5ce97d85326d
Rename AbsoluteTime to Timestamp
Stefan Vogel <sv@exept.de>
parents:
5764
diff
changeset
|
3020 |
"/ Transcript showCR:('update the table', Timestamp now printString, 'with new list:', newProcessList notNil asString). |
7811 | 3021 |
sel := self selectedProcesses value. |
3022 |
sel notNil ifTrue:[ |
|
3023 |
oldSelection := OrderedCollection new. |
|
3024 |
sel do:[:proItem| |
|
3025 |
proItem processInstance notNil ifTrue:[ |
|
3026 |
oldSelection add:(proItem processInstance) |
|
3027 |
]. |
|
3028 |
]. |
|
3029 |
]. |
|
4498 | 3030 |
"/ Transcript showCR:'oldSelection on catch in updateTable: ', (oldSelection isEmptyOrNil ifTrue:['nil'] ifFalse:[oldSelection first printString]). |
7811 | 3031 |
newProcessList isNil ifTrue:[ |
3032 |
newList := OrderedCollection new. |
|
3033 |
processList do:[:oldItem | |
|
3034 |
| newItem | |
|
3035 |
(self showDead value |
|
3036 |
or:[oldItem processInstance notNil |
|
3037 |
and:[oldItem processInstance isDead not]]) ifTrue:[ |
|
3038 |
newItem := oldItem copy. |
|
3039 |
self fillItemInformationIn:newItem. |
|
3040 |
newList add:newItem. |
|
3041 |
] |
|
3042 |
]. |
|
3043 |
] ifFalse:[ |
|
3044 |
"/ remove dead processes if not shown |
|
3045 |
newList := OrderedCollection new. |
|
3046 |
weakProcessList := WeakArray withAll:newProcessList. |
|
3047 |
weakProcessList keysAndValuesDo:[:indexInWeakArray :procOrNilOrZero | |
|
3048 |
"/ in a weakarray, dead entries are 0 |
|
3049 |
(procOrNilOrZero notNil and:[procOrNilOrZero ~~ 0]) ifTrue:[ |
|
3050 |
(procOrNilOrZero isDead not or:[self showDead value]) ifTrue:[ |
|
3051 |
| processItem | |
|
3052 |
processItem := ProcessItem new. |
|
3053 |
self fillItemInformationIn:processItem with:procOrNilOrZero inArray:weakProcessList atIndex:indexInWeakArray. |
|
3054 |
newList add:processItem. |
|
3055 |
] |
|
3056 |
] |
|
3057 |
]. |
|
3058 |
]. |
|
3059 |
newList sort:self sortBlock. |
|
3060 |
newList doWithIndex:[:newItem :index| |
|
3061 |
| oldItem | |
|
3062 |
oldItem := processList at:index ifAbsent:nil. |
|
3063 |
oldItem isNil ifTrue:[ |
|
3064 |
processList add:newItem beforeIndex:index |
|
3065 |
] ifFalse:[ |
|
3066 |
self updateChangedItem:oldItem newItem:newItem atIndex:index |
|
3067 |
] |
|
3068 |
]. |
|
3069 |
diff := processList size - newList size. |
|
3070 |
diff > 0 ifTrue:[ |
|
3071 |
processList removeLast:diff |
|
3072 |
]. |
|
4498 | 3073 |
"/ Transcript showCR:'oldSelection on set in updateTable: ', (oldSelection isEmptyOrNil ifTrue:['nil'] ifFalse:[oldSelection first printString]). |
7811 | 3074 |
self changeSelectionToProcesses:oldSelection. |
4498 | 3075 |
]. |
4463 | 3076 |
! ! |
3077 |
||
3078 |
!ProcessMonitorV2::ProcessItem methodsFor:'accessing'! |
|
3079 |
||
3080 |
groupVal |
|
3081 |
"return the value of the instance variable 'groupVal' (automatically generated)" |
|
3082 |
||
3083 |
^ groupVal |
|
3084 |
! |
|
3085 |
||
3086 |
groupVal:something |
|
3087 |
"set the value of the instance variable 'groupVal' (automatically generated)" |
|
3088 |
||
3089 |
groupVal := something. |
|
3090 |
! |
|
3091 |
||
3092 |
idVal |
|
3093 |
"return the value of the instance variable 'idVal' (automatically generated)" |
|
3094 |
||
3095 |
^ idVal |
|
3096 |
! |
|
3097 |
||
3098 |
idVal:something |
|
3099 |
"set the value of the instance variable 'idVal' (automatically generated)" |
|
3100 |
||
3101 |
idVal := something. |
|
3102 |
! |
|
3103 |
||
3104 |
prioVal |
|
3105 |
"return the value of the instance variable 'prioVal' (automatically generated)" |
|
3106 |
||
3107 |
^ prioVal |
|
3108 |
! |
|
3109 |
||
3110 |
prioVal:something |
|
3111 |
"set the value of the instance variable 'prioVal' (automatically generated)" |
|
3112 |
||
3113 |
prioVal := something. |
|
3114 |
! |
|
3115 |
||
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3116 |
processActive |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3117 |
"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
|
3118 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3119 |
^ processActive |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3120 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3121 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3122 |
processActive:something |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3123 |
"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
|
3124 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3125 |
processActive := something. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3126 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3127 |
|
9526
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3128 |
processBlocked |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3129 |
^ processBlocked |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3130 |
|
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3131 |
"Created: / 18-07-2010 / 23:52:26 / cg" |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3132 |
! |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3133 |
|
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3134 |
processBlocked:aBoolean |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3135 |
processBlocked := aBoolean. |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3136 |
|
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3137 |
"Created: / 18-07-2010 / 23:52:41 / cg" |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3138 |
! |
2825b947679d
comment/format in: #fillItemInformationIn:
Claus Gittinger <cg@exept.de>
parents:
9480
diff
changeset
|
3139 |
|
4463 | 3140 |
processCurrentSegment |
3141 |
"return the value of the instance variable 'processCurrentSegment' (automatically generated)" |
|
3142 |
||
3143 |
^ processCurrentSegment |
|
3144 |
! |
|
3145 |
||
3146 |
processCurrentSegment:something |
|
3147 |
"set the value of the instance variable 'processCurrentSegment' (automatically generated)" |
|
3148 |
||
3149 |
processCurrentSegment := something. |
|
3150 |
! |
|
3151 |
||
3152 |
processGroup |
|
3153 |
"return the value of the instance variable 'processGroup' (automatically generated)" |
|
3154 |
||
3155 |
^ processGroup |
|
3156 |
! |
|
3157 |
||
3158 |
processGroup:something |
|
3159 |
"set the value of the instance variable 'processGroup' (automatically generated)" |
|
3160 |
||
3161 |
processGroup := something. |
|
3162 |
! |
|
3163 |
||
3164 |
processId |
|
3165 |
"return the value of the instance variable 'processId' (automatically generated)" |
|
3166 |
||
3167 |
^ processId |
|
3168 |
! |
|
3169 |
||
3170 |
processId:something |
|
3171 |
"set the value of the instance variable 'processId' (automatically generated)" |
|
3172 |
||
3173 |
processId := something. |
|
3174 |
! |
|
3175 |
||
3176 |
processInstance |
|
3177 |
"return the value of the instance variable 'processInstance' (automatically generated)" |
|
3178 |
||
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3179 |
|procOrNilOrZero| |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3180 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3181 |
procOrNilOrZero := weakArrayWithProcesses at:processInstanceIndexInWeakArray. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3182 |
procOrNilOrZero == 0 ifTrue:[^ nil]. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3183 |
^ procOrNilOrZero |
4463 | 3184 |
! |
3185 |
||
3186 |
processInstance:something |
|
3187 |
"set the value of the instance variable 'processInstance' (automatically generated)" |
|
3188 |
||
3189 |
processInstance := something. |
|
3190 |
! |
|
3191 |
||
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3192 |
processInstanceIndexInWeakArray |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3193 |
"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
|
3194 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3195 |
^ processInstanceIndexInWeakArray |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3196 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3197 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3198 |
processInstanceIndexInWeakArray:something |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3199 |
"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
|
3200 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3201 |
processInstanceIndexInWeakArray := something. |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3202 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3203 |
|
4463 | 3204 |
processName |
3205 |
"return the value of the instance variable 'processName' (automatically generated)" |
|
3206 |
||
3207 |
^ processName |
|
3208 |
! |
|
3209 |
||
3210 |
processName:something |
|
3211 |
"set the value of the instance variable 'processName' (automatically generated)" |
|
3212 |
||
3213 |
processName := something. |
|
3214 |
! |
|
3215 |
||
3216 |
processPrio |
|
3217 |
"return the value of the instance variable 'processPrio' (automatically generated)" |
|
3218 |
||
3219 |
^ processPrio |
|
3220 |
! |
|
3221 |
||
3222 |
processPrio:something |
|
3223 |
processPrio := something. |
|
3224 |
! |
|
3225 |
||
3226 |
processState |
|
3227 |
^ processState |
|
3228 |
! |
|
3229 |
||
3230 |
processState:something |
|
3231 |
processState := something. |
|
3232 |
! |
|
3233 |
||
3234 |
processSwitch |
|
3235 |
^ processSwitch |
|
3236 |
! |
|
3237 |
||
3238 |
processSwitch:something |
|
3239 |
processSwitch := something. |
|
3240 |
! |
|
3241 |
||
3242 |
processTotalStack |
|
3243 |
^ processTotalStack |
|
3244 |
! |
|
3245 |
||
3246 |
processTotalStack:something |
|
3247 |
processTotalStack := something. |
|
3248 |
! |
|
3249 |
||
3250 |
processUsedStack |
|
3251 |
^ processUsedStack |
|
3252 |
! |
|
3253 |
||
3254 |
processUsedStack:something |
|
3255 |
processUsedStack := something. |
|
3256 |
! |
|
3257 |
||
3258 |
processWhere |
|
3259 |
^ processWhere |
|
3260 |
! |
|
3261 |
||
3262 |
processWhere:something |
|
3263 |
processWhere := something. |
|
4576
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3264 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3265 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3266 |
weakArrayWithProcesses |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3267 |
^ weakArrayWithProcesses |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3268 |
! |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3269 |
|
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3270 |
weakArrayWithProcesses:something |
4423626f9dfe
now the dead processes are gone if collect garbage will pressed in
penk
parents:
4570
diff
changeset
|
3271 |
weakArrayWithProcesses := something. |
4463 | 3272 |
! ! |
3273 |
||
4498 | 3274 |
!ProcessMonitorV2::ProcessItem methodsFor:'printing'! |
3275 |
||
8001
07add94fd83b
Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents:
7921
diff
changeset
|
3276 |
printOn:aStream |
07add94fd83b
Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents:
7921
diff
changeset
|
3277 |
(self processName ? '') printOn:aStream. |
07add94fd83b
Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents:
7921
diff
changeset
|
3278 |
aStream nextPut:$[. |
07add94fd83b
Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents:
7921
diff
changeset
|
3279 |
(self processId ? '') printOn:aStream. |
07add94fd83b
Define #printOn: for each method defining #printString
Stefan Vogel <sv@exept.de>
parents:
7921
diff
changeset
|
3280 |
aStream nextPut:$]. |
4498 | 3281 |
! ! |
3282 |
||
4463 | 3283 |
!ProcessMonitorV2 class methodsFor:'documentation'! |
3284 |
||
3285 |
version |
|
9661
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
3286 |
^ '$Header: /cvs/stx/stx/libtool/ProcessMonitorV2.st,v 1.52 2010-12-08 17:24:11 cg Exp $' |
9035
90950862113a
no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents:
8652
diff
changeset
|
3287 |
! |
90950862113a
no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents:
8652
diff
changeset
|
3288 |
|
90950862113a
no need for #asText to emphasize a string
Claus Gittinger <cg@exept.de>
parents:
8652
diff
changeset
|
3289 |
version_CVS |
9661
947e86d2fc7f
changed: #getWhereStringFor:running:
Claus Gittinger <cg@exept.de>
parents:
9526
diff
changeset
|
3290 |
^ '$Header: /cvs/stx/stx/libtool/ProcessMonitorV2.st,v 1.52 2010-12-08 17:24:11 cg Exp $' |
4463 | 3291 |
! ! |