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