4463
|
1 |
"{ Package: 'stx:libtool' }"
|
|
2 |
|
|
3 |
SystemStatusMonitorV2 subclass:#ProcessMonitorV2
|
|
4 |
instanceVariableNames:'processList tableColumns selectedProcesses updateSema showDetail
|
|
5 |
hasSelection selctionRestartable showProcessId showGroup
|
|
6 |
showState showPrio showUsedStack showTotalStack
|
|
7 |
showCurrentSegment showSwitch showWhere currentSortOrder
|
|
8 |
processTable processes showDead sortBlock selectionRestartable'
|
|
9 |
classVariableNames:''
|
|
10 |
poolDictionaries:''
|
|
11 |
category:'Monitors-ST/X'
|
|
12 |
!
|
|
13 |
|
|
14 |
Object subclass:#ProcessItem
|
|
15 |
instanceVariableNames:'processId processGroup processName processState processPrio
|
|
16 |
processUsedStack processTotalStack processWhere processInstance
|
|
17 |
processCurrentSegment processSwitch prioVal idVal groupVal'
|
|
18 |
classVariableNames:''
|
|
19 |
poolDictionaries:''
|
|
20 |
privateIn:ProcessMonitorV2
|
|
21 |
!
|
|
22 |
|
|
23 |
!ProcessMonitorV2 class methodsFor:'documentation'!
|
|
24 |
|
|
25 |
documentation
|
|
26 |
"
|
|
27 |
documentation to be added.
|
|
28 |
|
|
29 |
[author:]
|
|
30 |
Christian Penk (penk@bierfix)
|
|
31 |
|
|
32 |
[instance variables:]
|
|
33 |
|
|
34 |
[class variables:]
|
|
35 |
|
|
36 |
[see also:]
|
|
37 |
|
|
38 |
"
|
|
39 |
!
|
|
40 |
|
|
41 |
examples
|
|
42 |
"
|
|
43 |
Starting the application:
|
|
44 |
[exBegin]
|
|
45 |
ProcessMonitorV2 open
|
|
46 |
|
|
47 |
[exEnd]
|
|
48 |
|
|
49 |
more examples to be added:
|
|
50 |
[exBegin]
|
|
51 |
... add code fragment for
|
|
52 |
... executable example here ...
|
|
53 |
[exEnd]
|
|
54 |
"
|
|
55 |
!
|
|
56 |
|
|
57 |
history
|
|
58 |
"Created: / 14.1.2003 / 11:16:10 / penk"
|
|
59 |
! !
|
|
60 |
|
|
61 |
!ProcessMonitorV2 class methodsFor:'defaults'!
|
|
62 |
|
|
63 |
defaultIcon
|
|
64 |
|i|
|
|
65 |
|
|
66 |
i := Image fromFile:'ProcMon.xbm'.
|
|
67 |
i notNil ifTrue:[^ i].
|
|
68 |
^ super defaultIcon
|
|
69 |
|
|
70 |
"Modified: 23.1.1997 / 02:52:31 / cg"
|
|
71 |
!
|
|
72 |
|
|
73 |
defaultLabel
|
|
74 |
^ 'Process Monitor'
|
|
75 |
! !
|
|
76 |
|
|
77 |
!ProcessMonitorV2 class methodsFor:'help specs'!
|
|
78 |
|
|
79 |
helpSpec
|
|
80 |
"This resource specification was automatically generated
|
|
81 |
by the UIHelpTool of ST/X."
|
|
82 |
|
|
83 |
"Do not manually edit this!! If it is corrupted,
|
|
84 |
the UIHelpTool may not be able to read the specification."
|
|
85 |
|
|
86 |
"
|
|
87 |
UIHelpTool openOnClass:ProcessMonitorV2
|
|
88 |
"
|
|
89 |
|
|
90 |
<resource: #help>
|
|
91 |
|
|
92 |
^ super helpSpec addPairsFrom:#(
|
|
93 |
|
4468
|
94 |
#Debug
|
|
95 |
''
|
|
96 |
|
|
97 |
#Details
|
|
98 |
''
|
|
99 |
|
|
100 |
#Inspect
|
|
101 |
''
|
|
102 |
|
|
103 |
#'Lower Prio'
|
|
104 |
''
|
|
105 |
|
|
106 |
#'Raise Prio'
|
|
107 |
''
|
|
108 |
|
|
109 |
#Restart
|
|
110 |
''
|
|
111 |
|
|
112 |
#Resume
|
|
113 |
''
|
|
114 |
|
|
115 |
#Stop
|
|
116 |
''
|
|
117 |
|
|
118 |
#Suspend
|
|
119 |
''
|
|
120 |
|
|
121 |
#Terminate
|
|
122 |
''
|
|
123 |
|
|
124 |
#'Terminate Group'
|
|
125 |
''
|
|
126 |
|
|
127 |
#'Update Process List'
|
4463
|
128 |
''
|
|
129 |
|
|
130 |
)
|
|
131 |
! !
|
|
132 |
|
|
133 |
!ProcessMonitorV2 class methodsFor:'image specs'!
|
|
134 |
|
|
135 |
detailsMenuIconDown
|
|
136 |
"This resource specification was automatically generated
|
|
137 |
by the ImageEditor of ST/X."
|
|
138 |
|
|
139 |
"Do not manually edit this!! If it is corrupted,
|
|
140 |
the ImageEditor may not be able to read the specification."
|
|
141 |
|
|
142 |
"
|
|
143 |
self detailsMenuIconDown inspect
|
|
144 |
ImageEditor openOnClass:self andSelector:#detailsMenuIconDown
|
|
145 |
Icon flushCachedIcons
|
|
146 |
"
|
|
147 |
|
|
148 |
<resource: #image>
|
|
149 |
|
|
150 |
^Icon
|
|
151 |
constantNamed:#'ProcessMonitorV2 class detailsMenuIconDown'
|
|
152 |
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]
|
|
153 |
!
|
|
154 |
|
|
155 |
detailsMenuIconUp
|
|
156 |
"This resource specification was automatically generated
|
|
157 |
by the ImageEditor of ST/X."
|
|
158 |
|
|
159 |
"Do not manually edit this!! If it is corrupted,
|
|
160 |
the ImageEditor may not be able to read the specification."
|
|
161 |
|
|
162 |
"
|
|
163 |
self detailsMenuIconUp inspect
|
|
164 |
ImageEditor openOnClass:self andSelector:#detailsMenuIconUp
|
|
165 |
Icon flushCachedIcons
|
|
166 |
"
|
|
167 |
|
|
168 |
<resource: #image>
|
|
169 |
|
|
170 |
^Icon
|
|
171 |
constantNamed:#'ProcessMonitorV2 class detailsMenuIconUp'
|
|
172 |
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]
|
|
173 |
!
|
|
174 |
|
4468
|
175 |
process22x22Icon
|
|
176 |
"This resource specification was automatically generated
|
|
177 |
by the ImageEditor of ST/X."
|
|
178 |
|
|
179 |
"Do not manually edit this!! If it is corrupted,
|
|
180 |
the ImageEditor may not be able to read the specification."
|
|
181 |
|
|
182 |
"
|
|
183 |
self process22x22Icon inspect
|
|
184 |
ImageEditor openOnClass:self andSelector:#process22x22Icon
|
|
185 |
Icon flushCachedIcons
|
|
186 |
"
|
|
187 |
|
|
188 |
<resource: #image>
|
|
189 |
|
|
190 |
^Icon
|
|
191 |
constantNamed:#'ProcessMonitorV2 class process22x22Icon'
|
|
192 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
193 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
|
|
194 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
|
|
195 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@@@@@TFA XHB@@@@@@@@@@@A0\FA T@@@TFA XH@@@@@@@@@@@@@@@G
|
|
196 |
A XFAPTFA XH@@@@@@@@@@@@@@@@APXFA XFA XFB@@@@@@@@@@@@@@@APXHA0XFA XFAPXH@@@@@@@@@@@@@@\H@@@EA XG@@@GB@@@@@@@@@@@@@@@@@@@
|
|
197 |
@@TH@@@@@@@@@@@@@@@@@@@@@@@@@@@EB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
198 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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]
|
|
199 |
!
|
|
200 |
|
|
201 |
processDebug22x22Icon
|
|
202 |
"This resource specification was automatically generated
|
|
203 |
by the ImageEditor of ST/X."
|
|
204 |
|
|
205 |
"Do not manually edit this!! If it is corrupted,
|
|
206 |
the ImageEditor may not be able to read the specification."
|
|
207 |
|
|
208 |
"
|
|
209 |
self processDebug22x22Icon inspect
|
|
210 |
ImageEditor openOnClass:self andSelector:#processDebug22x22Icon
|
|
211 |
Icon flushCachedIcons
|
|
212 |
"
|
|
213 |
|
|
214 |
<resource: #image>
|
|
215 |
|
|
216 |
^Icon
|
|
217 |
constantNamed:#'ProcessMonitorV2 class processDebug22x22Icon'
|
|
218 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
219 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@F@0@@@@@@@@@@@@@@@@@@@@@@@@@@A L@@@@@@@@@@@@@@@@@
|
|
220 |
@@@CA @@A PD@P@@A L@@@@@@@@@@@@@@PPFA PDA@PFA PA@@@@@@@@@@@@@@@CA@PD@@@DA@PA@@@@@@@@@@@@@@@@A P@@0DC@@@D@0@@@@@@@@@@@@@@
|
|
221 |
A PD@0@@@@X@@@@@@@@@@@@@@@@FA PDA@D@@@@@@@HB@ HB@ @@@@@@@PDDA@@@@@@@@ HBAPTEAPTB@@@@@@@@@0@B@ @B@ HEAPTEAPTEAPH@@@@@@@HB
|
|
222 |
APTE@@HEAPTEAPTEAPTE@ @@@@@B@ TEAP@BAPTEAPTEAPTEAPH@@@@@@@HEAPT@@@@@@@@@@@@@@@@@@@@@@@HBAPTE@@HBAPTEAPTEAPTE@ @@@@@@@ HE
|
|
223 |
@ @B@ HEAPTEAPTE@ H@@@@@@@@@@@@@@@HB@ HB@ HB@ @@@@@@@@@@@@@@@@@@@@@B@ HB@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
224 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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]
|
|
225 |
!
|
|
226 |
|
|
227 |
processInspect22x22Icon
|
|
228 |
"This resource specification was automatically generated
|
|
229 |
by the ImageEditor of ST/X."
|
|
230 |
|
|
231 |
"Do not manually edit this!! If it is corrupted,
|
|
232 |
the ImageEditor may not be able to read the specification."
|
|
233 |
|
|
234 |
"
|
|
235 |
self processInspect22x22Icon inspect
|
|
236 |
ImageEditor openOnClass:self andSelector:#processInspect22x22Icon
|
|
237 |
Icon flushCachedIcons
|
|
238 |
"
|
|
239 |
|
|
240 |
<resource: #image>
|
|
241 |
|
|
242 |
^Icon
|
|
243 |
constantNamed:#'ProcessMonitorV2 class processInspect22x22Icon'
|
|
244 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
245 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
|
|
246 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA @@@@XH@@@@@@@@@@@@@@@@APXF@@@BCPH@@@@@@@@@@@@@@@@@
|
|
247 |
APXF@@0MCP4MCP0@@@@@@@@@@@@EAPXFA @MCPTEAP4M@@TG@@@@@@@@B@ FA @BCPTEAP4MCPH@B@@@@@@@@@@@A0\@CP4EAP4MCP4M@@@@@@@@@@@@@@@G
|
|
248 |
@@HMAP4MCP4M@ @@@@@@@@@@@@@@APX@CP4MCP4MCP@@@@@@@@@@@@@@APXH@@0MCP4MCP0@BP@@@@@@@@@@@@\H@@@@@@HM@ @@@ @@@@@@@@@@@@@@@@@@
|
|
249 |
@@T@@@@@B @K@0@@@@@@@@@@@@@@@@@EB@@@@@@@C ,C@@@@@@@@@@@@@@@@@@@@@@@@@@@NB0L@@@@@@@@@@@@@@@@@@@@@@@@@@@8K@0@@@@@@@@@@@@@@
|
|
250 |
@@@@@@@@@@@@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]
|
|
251 |
!
|
|
252 |
|
|
253 |
processLowerPrio22x22Icon
|
|
254 |
"This resource specification was automatically generated
|
|
255 |
by the ImageEditor of ST/X."
|
|
256 |
|
|
257 |
"Do not manually edit this!! If it is corrupted,
|
|
258 |
the ImageEditor may not be able to read the specification."
|
|
259 |
|
|
260 |
"
|
|
261 |
self processLowerPrio22x22Icon inspect
|
|
262 |
ImageEditor openOnClass:self andSelector:#processLowerPrio22x22Icon
|
|
263 |
Icon flushCachedIcons
|
|
264 |
"
|
|
265 |
|
|
266 |
<resource: #image>
|
|
267 |
|
|
268 |
^Icon
|
|
269 |
constantNamed:#'ProcessMonitorV2 class processLowerPrio22x22Icon'
|
|
270 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
271 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
|
|
272 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
|
|
273 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@TEAPTEAPTEAPTEAPT@@@@@A0\FA TEAPTE@@@@@@@EAPTE@@@@@@@G
|
|
274 |
A XFAPTEAP@@@@@@APTEAP@@@@@@APXFA TEAPT@@@@@@@TEAPT@@@@@APXHA0XEAPTE@@@@@@@EAPTE@@@@@@\H@@@EAPTEAP@@@@@@APTEAP@@@@@@@@@@
|
|
275 |
@@TE@@@@@@@@@@@@APT@@@@@@@@@@@@EAPT@@@@@@@@@APTE@@@@@@@@@@@@APTEAP@@@@@@APTEAP@@@@@@@@@@@@TEAPTE@@@@APTEAPT@@@@@@@@@@@@E
|
|
276 |
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]
|
|
277 |
!
|
|
278 |
|
|
279 |
processRaisePrio22x22Icon
|
|
280 |
"This resource specification was automatically generated
|
|
281 |
by the ImageEditor of ST/X."
|
|
282 |
|
|
283 |
"Do not manually edit this!! If it is corrupted,
|
|
284 |
the ImageEditor may not be able to read the specification."
|
|
285 |
|
|
286 |
"
|
|
287 |
self processRaisePrio22x22Icon inspect
|
|
288 |
ImageEditor openOnClass:self andSelector:#processRaisePrio22x22Icon
|
|
289 |
Icon flushCachedIcons
|
|
290 |
"
|
|
291 |
|
|
292 |
<resource: #image>
|
|
293 |
|
|
294 |
^Icon
|
|
295 |
constantNamed:#'ProcessMonitorV2 class processRaisePrio22x22Icon'
|
|
296 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
297 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
|
|
298 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
|
|
299 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@TEAPTEAPTEAPTEAPT@@@@@A0\FA TEAPTEAPT@APTEAPTE@@@@@@@G
|
|
300 |
A XFAPTEAPT@@@@EAPTEAP@@@@@@APXFA TEAPT@@@@@@@TEAPT@@@@@APXHA0XEAPT@@@@@@@@@APTE@@@@@@\H@@@EAPT@@@@@@@@@@@@EAP@@@@@@@@@@
|
|
301 |
@@TEAPT@@@@@@@TEAPT@@@@@@@@@@@@EAPTE@@@@@@@EAPTE@@@@@@@@@@@@APTEAP@@@@@@APTEAP@@@@@@@@@@@@TEAPT@@@@@@@TEAPT@@@@@@@@@@@@E
|
|
302 |
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]
|
|
303 |
!
|
|
304 |
|
|
305 |
processRestart22x22Icon
|
|
306 |
"This resource specification was automatically generated
|
|
307 |
by the ImageEditor of ST/X."
|
|
308 |
|
|
309 |
"Do not manually edit this!! If it is corrupted,
|
|
310 |
the ImageEditor may not be able to read the specification."
|
|
311 |
|
|
312 |
"
|
|
313 |
self processRestart22x22Icon inspect
|
|
314 |
ImageEditor openOnClass:self andSelector:#processRestart22x22Icon
|
|
315 |
Icon flushCachedIcons
|
|
316 |
"
|
|
317 |
|
|
318 |
<resource: #image>
|
|
319 |
|
|
320 |
^Icon
|
|
321 |
constantNamed:#'ProcessMonitorV2 class processRestart22x22Icon'
|
|
322 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
323 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@GAP@@@@@@@@@@@@@@@@@@@@@@@@@@A0T@@@@@@@@@@@@@@@@@
|
|
324 |
@@@EA0@@A0XFA@@@A0T@@@@@@@@@@@@@A@XGA0XFA XGA0XD@@@@@@@@@@@@@@@EA XFA XF@@@@@@@@@@@@@@@@@@@@A0XFAPP@@@LC@0@@@P@@@@@@@@@@
|
|
325 |
A0XFAPP@@0LC@0@E@@@@@@@@@@@GA0XFA P@@@LC@0@FA \@@@@@@@@@A@PFA XE@@LC@0@FA XD@@@@@@@@@@@@APTFA @C@0L@A XD@@@@@@@@@@@@@@@E
|
|
326 |
@@LC@0LC@0L@@@@@@@@@@@@@@@@@A0X@@0LC@0L@@@@@@@@@@@@@@@@@A0XDAP@C@0L@@@@@@@@@@@@@@@@@@@TD@@@@@@L@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
327 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
328 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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]
|
|
329 |
!
|
|
330 |
|
|
331 |
processResume22x22Icon
|
|
332 |
"This resource specification was automatically generated
|
|
333 |
by the ImageEditor of ST/X."
|
|
334 |
|
|
335 |
"Do not manually edit this!! If it is corrupted,
|
|
336 |
the ImageEditor may not be able to read the specification."
|
|
337 |
|
|
338 |
"
|
|
339 |
self processResume22x22Icon inspect
|
|
340 |
ImageEditor openOnClass:self andSelector:#processResume22x22Icon
|
|
341 |
Icon flushCachedIcons
|
|
342 |
"
|
|
343 |
|
|
344 |
<resource: #image>
|
|
345 |
|
|
346 |
^Icon
|
|
347 |
constantNamed:#'ProcessMonitorV2 class processResume22x22Icon'
|
|
348 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
349 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
|
|
350 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
|
|
351 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@TEAPT@APTEAPTEAPT@@@@@A0\FA TEAPTE@@@EAPTEAPTE@@@@@@@G
|
|
352 |
A XFAPTEAP@@@@TEAPTEAP@@@@@@APXFA TEAPT@@@@@APTEAPT@@@@@APXHA0XEAPTE@@@@@@@EAPTE@@@@@@\H@@@EAPTEAP@@@@@@@@TEAP@@@@@@@@@@
|
|
353 |
@@TEAPT@@@@@@@@EAPT@@@@@@@@@@@@EAPTE@@@@@@@EAPTE@@@@@@@@@@@@APTEAP@@@@@EAPTEAP@@@@@@@@@@@@TEAPT@@@@EAPTEAPT@@@@@@@@@@@@E
|
|
354 |
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]
|
|
355 |
!
|
|
356 |
|
|
357 |
processStop22x22Icon
|
|
358 |
"This resource specification was automatically generated
|
|
359 |
by the ImageEditor of ST/X."
|
|
360 |
|
|
361 |
"Do not manually edit this!! If it is corrupted,
|
|
362 |
the ImageEditor may not be able to read the specification."
|
|
363 |
|
|
364 |
"
|
|
365 |
self processStop22x22Icon inspect
|
|
366 |
ImageEditor openOnClass:self andSelector:#processStop22x22Icon
|
|
367 |
Icon flushCachedIcons
|
|
368 |
"
|
|
369 |
|
|
370 |
<resource: #image>
|
|
371 |
|
|
372 |
^Icon
|
|
373 |
constantNamed:#'ProcessMonitorV2 class processStop22x22Icon'
|
|
374 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
375 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
|
|
376 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
|
|
377 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TG@@@@@@@@B@ FA XG@@TEAPTEAPTEAPTEAPT@@@@@A0\FA TEAPTEAPTEAPTEAPTE@@@@@@@G
|
|
378 |
A XFAPTE@@@@APT@@@@EAP@@@@@@APXFA TEAP@@@@TE@@@@APT@@@@@APXHA0XEAPT@@@@EAP@@@@TE@@@@@@\H@@@EAPTE@@@@APT@@@@EAP@@@@@@@@@@
|
|
379 |
@@TEAP@@@@TE@@@@APT@@@@@@@@@@@@EAPT@@@@EAP@@@@TE@@@@@@@@@@@@APTE@@@@APT@@@@EAP@@@@@@@@@@@@TEAP@@@@TE@@@@APT@@@@@@@@@@@@E
|
|
380 |
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]
|
|
381 |
!
|
|
382 |
|
|
383 |
processSuspend22x22Icon
|
|
384 |
"This resource specification was automatically generated
|
|
385 |
by the ImageEditor of ST/X."
|
|
386 |
|
|
387 |
"Do not manually edit this!! If it is corrupted,
|
|
388 |
the ImageEditor may not be able to read the specification."
|
|
389 |
|
|
390 |
"
|
|
391 |
self processSuspend22x22Icon inspect
|
|
392 |
ImageEditor openOnClass:self andSelector:#processSuspend22x22Icon
|
|
393 |
Icon flushCachedIcons
|
|
394 |
"
|
|
395 |
|
|
396 |
<resource: #image>
|
|
397 |
|
|
398 |
^Icon
|
|
399 |
constantNamed:#'ProcessMonitorV2 class processSuspend22x22Icon'
|
|
400 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
401 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@G@0@@@@@@@@@@@@@@@@@@@@@@@@@@A0L@@@@@@@@@@@@@@@@@
|
|
402 |
@@@CA0@@A0TE@P@@A0L@@@@@@@@@@@@@@PTGA0TEAPTGA0TA@@@@@@@@@@@@@@@CAPTEAPTEAPTA@@@@@@@@@@@@@@@@A0TE@0DCAPTE@0@@@@@@@@@@@@@@
|
|
403 |
A0TE@0D@@@\EAPTC@@@@@@@@@@@GA0TEAPD@@@@@A0TEAP\C@@@@@@@@@PDEAPTC@@@@@@@@@@@@@P@@@@@@@@@@@0LEAP\@@@@DA@PDA@@@@@@@@@@@@@@C
|
|
404 |
APTEA0@DA@PDA@PD@@@@@@@@@@@@A0TEAP@DA@PDA@PDA@P@@@@@@@@@A0TA@0T@A@PDA@PDA@PD@@@@@@@@@@LA@@@G@@PGA0\GA0\GA@@@@@@@@@@@@@@@
|
|
405 |
@@@DA@PDA@PDA@P@@@@@@@@@@@@@@@@@A@PDA@PDA@PD@@@@@@@@@@@@@@@@@@@DA@PDA@PD@@@@@@@@@@@@@@@@@@@@@@PDA@PD@@@@@@@@@@@@@@@@@@@@
|
|
406 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 127 127 127 128 0 0 161 161 165 192 0 0 194 194 194 255 192 192 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??@_9? _9? O??@C?? C??0G??0G??0CO?0@O?0@G? @A?@@@>@@@@@') ; yourself); yourself]
|
|
407 |
!
|
|
408 |
|
|
409 |
processTerminate22x22Icon
|
|
410 |
"This resource specification was automatically generated
|
|
411 |
by the ImageEditor of ST/X."
|
|
412 |
|
|
413 |
"Do not manually edit this!! If it is corrupted,
|
|
414 |
the ImageEditor may not be able to read the specification."
|
|
415 |
|
|
416 |
"
|
|
417 |
self processTerminate22x22Icon inspect
|
|
418 |
ImageEditor openOnClass:self andSelector:#processTerminate22x22Icon
|
|
419 |
Icon flushCachedIcons
|
|
420 |
"
|
|
421 |
|
|
422 |
<resource: #image>
|
|
423 |
|
|
424 |
^Icon
|
|
425 |
constantNamed:#'ProcessMonitorV2 class processTerminate22x22Icon'
|
|
426 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
427 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@EA0@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@
|
|
428 |
@@@GAP@@APXFB@@@AP\@@@@@@@@@@@@@B@XEAPXFA XEAPXH@@@@@@@@@@@@@@@GA XFA XFA XH@@@@@@@@@@@@@@@@APXFA0 GA XFA0@@@@@@@@@@@@@@
|
|
429 |
APXFA0 @@@TFA XG@@@@@@@@@@@EAPXFA @@@@@APXFA TGC@@@@@@@B@ FA XG@@@LC@TFA XHC@,K@@@@@@@@A0\FA TLB0,LC@XHC@,KBP@@@@@@@@@G
|
|
430 |
A XFAPTJB0,LB0,KBP@@@@@@@@@@APXFA XFA (KB0,KBP@@@@@@@@@@APXHA0XFA XFC@,KC@@@@@@@@@@@@@\H@@@EA XGC@,KB00@@@@@@@@@@@@@@@@@
|
|
431 |
@@THC@,I@@(KC@@@@@@@@@@@@@@@@@@EB@0I@@@@B ,@@@@@@@@@@@@@@@@@@@0K@@@@@@@JB0@@@@@@@@@@@@@@@@@LBP@@@@@@@@,@@@@@@@@@@@@@@@@@
|
|
432 |
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]
|
|
433 |
!
|
|
434 |
|
|
435 |
processTerminateGroup22x22Icon
|
|
436 |
"This resource specification was automatically generated
|
|
437 |
by the ImageEditor of ST/X."
|
|
438 |
|
|
439 |
"Do not manually edit this!! If it is corrupted,
|
|
440 |
the ImageEditor may not be able to read the specification."
|
|
441 |
|
|
442 |
"
|
|
443 |
self processTerminateGroup22x22Icon inspect
|
|
444 |
ImageEditor openOnClass:self andSelector:#processTerminateGroup22x22Icon
|
|
445 |
Icon flushCachedIcons
|
|
446 |
"
|
|
447 |
|
|
448 |
<resource: #image>
|
|
449 |
|
|
450 |
^Icon
|
|
451 |
constantNamed:#'ProcessMonitorV2 class processTerminateGroup22x22Icon'
|
|
452 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
453 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AP\@@@@@@@@@@@@@@@@@@@@@@@@@@@TG@@@@@@@@@@@@@@@@@@@@A0T@@@TFA @@@TG@@@@@@@@@@@@
|
|
454 |
@@ FAPTF@@@FAPTFB@@@@@@@@@@@@@@@A0XF@@TG@@XFB@@@@@@@@@@@@@@@@@@FA @EA0@FA @@@@@@@@@@@@@@@@\E@@@EA XH@@@EA0@@@@@@@@@@AP@H
|
|
455 |
A TEA XFA TEA @A0@@@@@@@@ H@@\FA XFA XFA @B@ @@@@@@@@@@@@EA XGB@\FA XG@@@@@@@L@@@@@@@EA XGB@@@AP0LA \@@@@LB0,@@@TEA XF
|
|
456 |
B@@FA 0KB00LAP\LB0,I@@@HB@XFA \@A X@AP(KB00KB0,I@@@@@@@GA0XFAP@@APXFB ,KB0,I@@@@@@@@@@\FA XEAPXFA LB0,L@@@@@@@@@@@EA XF
|
|
457 |
A XFA XLB0,KC@@@@@@@@@@EA GA XFA XLB0$@B ,L@@@@@@@@A0 @@@TFA \@C@$H@@@JB0@@@@@@@@@@@@@@AP @C@,@@@@@@@(K@@@@@@@@@@@@@@TH
|
|
458 |
@@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]
|
|
459 |
!
|
|
460 |
|
|
461 |
terminateGroupIcon
|
|
462 |
"This resource specification was automatically generated
|
|
463 |
by the ImageEditor of ST/X."
|
|
464 |
|
|
465 |
"Do not manually edit this!! If it is corrupted,
|
|
466 |
the ImageEditor may not be able to read the specification."
|
|
467 |
|
|
468 |
"
|
|
469 |
self terminateGroupIcon inspect
|
|
470 |
ImageEditor openOnClass:self andSelector:#terminateGroupIcon
|
|
471 |
Icon flushCachedIcons
|
|
472 |
"
|
|
473 |
|
|
474 |
<resource: #image>
|
|
475 |
|
|
476 |
^Icon
|
|
477 |
constantNamed:#'ProcessMonitorV2 class terminateGroupIcon'
|
|
478 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 20; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
479 |
@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@@@@@
|
|
480 |
@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
|
|
481 |
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
|
|
482 |
@ 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
|
|
483 |
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]
|
|
484 |
!
|
|
485 |
|
|
486 |
terminateIcon
|
|
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 terminateIcon inspect
|
|
495 |
ImageEditor openOnClass:self andSelector:#terminateIcon
|
|
496 |
Icon flushCachedIcons
|
|
497 |
"
|
|
498 |
|
|
499 |
<resource: #image>
|
|
500 |
|
|
501 |
^Icon
|
|
502 |
constantNamed:#'ProcessMonitorV2 class terminateIcon'
|
|
503 |
ifAbsentPut:[(Depth8Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
504 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@@@@@@@@@LC@@@@@@@C@ H@@@@@@@LB@ LC@@@C@ H@@@@@@@@@@@DB@ LB
|
|
505 |
@ H@@@@@@@@@@@@@@PHB@ H@@@@@@@@@@@@@@@@C@ HC@@@@@@@@@@@@@@@C@ HB@0@@@@@@@@@@@@@C@ @@@PHC@@@@@@@@@@@@@0@@@@@A@ @@@@@@@@@@
|
|
506 |
@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]
|
|
507 |
!
|
|
508 |
|
|
509 |
updateProcesses
|
|
510 |
"This resource specification was automatically generated
|
|
511 |
by the ImageEditor of ST/X."
|
|
512 |
|
|
513 |
"Do not manually edit this!! If it is corrupted,
|
|
514 |
the ImageEditor may not be able to read the specification."
|
|
515 |
|
|
516 |
"
|
|
517 |
self updateProcesses inspect
|
|
518 |
ImageEditor openOnClass:self andSelector:#updateProcesses
|
|
519 |
Icon flushCachedIcons
|
|
520 |
"
|
|
521 |
|
|
522 |
<resource: #image>
|
|
523 |
|
|
524 |
^Icon
|
|
525 |
constantNamed:#'ProcessMonitorV2 class updateProcesses'
|
|
526 |
ifAbsentPut:[(Depth4Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
|
|
527 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#L@D@@@@@@@@@H3H@@@@@@@@@@@@3H@@@@@@@@@@@@#H@@@@@@@@@@@
|
|
528 |
@CL @@@@@@@@@@@"L3L @@@@@@@@@@H3L @@@@@@@@@@@BL @@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
529 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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]
|
|
530 |
!
|
|
531 |
|
4463
|
532 |
viewDetailsIcon
|
|
533 |
"This resource specification was automatically generated
|
|
534 |
by the ImageEditor of ST/X."
|
|
535 |
|
|
536 |
"Do not manually edit this!! If it is corrupted,
|
|
537 |
the ImageEditor may not be able to read the specification."
|
|
538 |
|
|
539 |
"
|
|
540 |
self viewDetailsIcon inspect
|
|
541 |
ImageEditor openOnClass:self andSelector:#viewDetailsIcon
|
|
542 |
Icon flushCachedIcons
|
|
543 |
"
|
|
544 |
|
|
545 |
<resource: #image>
|
|
546 |
|
|
547 |
^Icon
|
|
548 |
constantNamed:#'ProcessMonitorV2 class viewDetailsIcon'
|
|
549 |
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]
|
|
550 |
! !
|
|
551 |
|
|
552 |
!ProcessMonitorV2 class methodsFor:'interface specs'!
|
|
553 |
|
|
554 |
windowSpec
|
|
555 |
"This resource specification was automatically generated
|
|
556 |
by the UIPainter of ST/X."
|
|
557 |
|
|
558 |
"Do not manually edit this!! If it is corrupted,
|
|
559 |
the UIPainter may not be able to read the specification."
|
|
560 |
|
|
561 |
"
|
|
562 |
UIPainter new openOnClass:ProcessMonitorV2 andSelector:#windowSpec
|
|
563 |
ProcessMonitorV2 new openInterface:#windowSpec
|
|
564 |
ProcessMonitorV2 open
|
|
565 |
"
|
|
566 |
|
|
567 |
<resource: #canvas>
|
|
568 |
|
|
569 |
^
|
|
570 |
#(#FullSpec
|
|
571 |
#name: #windowSpec
|
|
572 |
#window:
|
|
573 |
#(#WindowSpec
|
|
574 |
#label: 'ProcessMonitorV2'
|
|
575 |
#name: 'ProcessMonitorV2'
|
|
576 |
#min: #(#Point 10 10)
|
|
577 |
#max: #(#Point 1024 768)
|
|
578 |
#bounds: #(#Rectangle 16 42 781 379)
|
|
579 |
#menu: #mainMenu
|
|
580 |
)
|
|
581 |
#component:
|
|
582 |
#(#SpecCollection
|
|
583 |
#collection: #(
|
|
584 |
#(#MenuPanelSpec
|
|
585 |
#name: 'ToolBar1'
|
|
586 |
#layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 32 0)
|
|
587 |
#menu: #toolBarMainMenu
|
|
588 |
#textDefault: true
|
|
589 |
)
|
|
590 |
#(#DataSetSpec
|
|
591 |
#name: 'Process Table'
|
|
592 |
#layout: #(#LayoutFrame 0 0.0 32 0.0 0 1.0 0 1.0)
|
|
593 |
#model: #selectedProcesses
|
|
594 |
#menu: #tableMenu
|
|
595 |
#hasHorizontalScrollBar: true
|
|
596 |
#hasVerticalScrollBar: true
|
|
597 |
#dataList: #processList
|
|
598 |
#useIndex: false
|
|
599 |
#has3Dsepartors: false
|
|
600 |
#doubleClickSelector: #doubleClickedAt:
|
|
601 |
#columnHolder: #tableColumns
|
|
602 |
#multipleSelectOk: true
|
|
603 |
#verticalSpacing: 0
|
|
604 |
#postBuildCallback: #postBuildProcessTable:
|
|
605 |
)
|
|
606 |
)
|
|
607 |
|
|
608 |
)
|
|
609 |
)
|
|
610 |
! !
|
|
611 |
|
|
612 |
!ProcessMonitorV2 class methodsFor:'menu specs'!
|
|
613 |
|
|
614 |
mainMenu
|
|
615 |
"This resource specification was automatically generated
|
|
616 |
by the MenuEditor of ST/X."
|
|
617 |
|
|
618 |
"Do not manually edit this!! If it is corrupted,
|
|
619 |
the MenuEditor may not be able to read the specification."
|
|
620 |
|
|
621 |
"
|
|
622 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#mainMenu
|
|
623 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 mainMenu)) startUp
|
|
624 |
"
|
|
625 |
|
|
626 |
<resource: #menu>
|
|
627 |
|
|
628 |
^
|
|
629 |
#(#Menu
|
|
630 |
#(
|
|
631 |
#(#MenuItem
|
|
632 |
#label: 'Exit'
|
|
633 |
#itemValue: #closeRequest
|
|
634 |
#translateLabel: true
|
|
635 |
)
|
|
636 |
#(#MenuItem
|
|
637 |
#label: 'Help'
|
|
638 |
#translateLabel: true
|
|
639 |
#startGroup: #right
|
|
640 |
#submenu:
|
|
641 |
#(#Menu
|
|
642 |
#(
|
|
643 |
#(#MenuItem
|
|
644 |
#label: 'Documentation'
|
|
645 |
#itemValue: #openDocumentation
|
|
646 |
#translateLabel: true
|
|
647 |
)
|
|
648 |
#(#MenuItem
|
|
649 |
#label: '-'
|
|
650 |
)
|
|
651 |
#(#MenuItem
|
|
652 |
#label: 'About this Application'
|
|
653 |
#itemValue: #openAboutThisApplication
|
|
654 |
#translateLabel: true
|
|
655 |
)
|
|
656 |
)
|
|
657 |
nil
|
|
658 |
nil
|
|
659 |
)
|
|
660 |
)
|
|
661 |
)
|
|
662 |
nil
|
|
663 |
nil
|
|
664 |
)
|
|
665 |
!
|
|
666 |
|
|
667 |
tableMenu
|
|
668 |
"This resource specification was automatically generated
|
|
669 |
by the MenuEditor of ST/X."
|
|
670 |
|
|
671 |
"Do not manually edit this!! If it is corrupted,
|
|
672 |
the MenuEditor may not be able to read the specification."
|
|
673 |
|
|
674 |
"
|
|
675 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#tableMenu
|
|
676 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 tableMenu)) startUp
|
|
677 |
"
|
|
678 |
|
|
679 |
<resource: #menu>
|
|
680 |
|
|
681 |
^
|
|
682 |
#(#Menu
|
|
683 |
#(
|
|
684 |
#(#MenuItem
|
|
685 |
#enabled: #hasSelection
|
|
686 |
#label: 'Inspect'
|
|
687 |
#itemValue: #inspectSelection
|
|
688 |
#translateLabel: true
|
|
689 |
)
|
|
690 |
#(#MenuItem
|
|
691 |
#enabled: #hasSelection
|
|
692 |
#label: 'Debug'
|
|
693 |
#itemValue: #debugProcess
|
|
694 |
#translateLabel: true
|
|
695 |
)
|
|
696 |
#(#MenuItem
|
|
697 |
#label: '-'
|
|
698 |
)
|
|
699 |
#(#MenuItem
|
|
700 |
#enabled: #hasSelection
|
|
701 |
#label: 'Resume'
|
|
702 |
#itemValue: #resumeProcess
|
|
703 |
#translateLabel: true
|
|
704 |
)
|
|
705 |
#(#MenuItem
|
|
706 |
#enabled: #hasSelection
|
|
707 |
#label: 'Suspend'
|
|
708 |
#itemValue: #suspendProcess
|
|
709 |
#translateLabel: true
|
|
710 |
)
|
|
711 |
#(#MenuItem
|
|
712 |
#enabled: #hasSelection
|
|
713 |
#label: 'Stop'
|
|
714 |
#itemValue: #stopProcess
|
|
715 |
#translateLabel: true
|
|
716 |
)
|
|
717 |
#(#MenuItem
|
|
718 |
#label: '-'
|
|
719 |
)
|
|
720 |
#(#MenuItem
|
|
721 |
#enabled: #hasSelection
|
|
722 |
#label: 'Abort'
|
|
723 |
#itemValue: #abortProcess
|
|
724 |
#translateLabel: true
|
|
725 |
)
|
|
726 |
#(#MenuItem
|
|
727 |
#enabled: #hasSelection
|
|
728 |
#label: 'Terminate'
|
|
729 |
#itemValue: #terminateProcess
|
|
730 |
#translateLabel: true
|
|
731 |
)
|
|
732 |
#(#MenuItem
|
|
733 |
#enabled: #hasSelection
|
|
734 |
#label: 'Hard Terminate'
|
|
735 |
#itemValue: #hardTerminateProcess
|
|
736 |
#translateLabel: true
|
|
737 |
)
|
|
738 |
#(#MenuItem
|
|
739 |
#enabled: #hasSelection
|
|
740 |
#label: 'Terminate Group'
|
|
741 |
#itemValue: #terminateProcessGroup
|
|
742 |
#translateLabel: true
|
|
743 |
)
|
|
744 |
#(#MenuItem
|
|
745 |
#enabled: #selectionRestartable
|
|
746 |
#label: 'Restart'
|
|
747 |
#itemValue: #restartProcess
|
|
748 |
#translateLabel: true
|
|
749 |
)
|
|
750 |
#(#MenuItem
|
|
751 |
#label: '-'
|
|
752 |
)
|
|
753 |
#(#MenuItem
|
|
754 |
#enabled: #hasSelection
|
|
755 |
#label: 'Raise Prio'
|
|
756 |
#itemValue: #raisePrio
|
|
757 |
#translateLabel: true
|
|
758 |
)
|
|
759 |
#(#MenuItem
|
|
760 |
#enabled: #hasSelection
|
|
761 |
#label: 'Lower Prio'
|
|
762 |
#itemValue: #lowerPrio
|
|
763 |
#translateLabel: true
|
|
764 |
)
|
|
765 |
#(#MenuItem
|
|
766 |
#label: '-'
|
|
767 |
)
|
|
768 |
#(#MenuItem
|
|
769 |
#label: 'Update'
|
|
770 |
#itemValue: #updateView
|
|
771 |
#translateLabel: true
|
|
772 |
)
|
|
773 |
)
|
|
774 |
nil
|
|
775 |
nil
|
|
776 |
)
|
|
777 |
!
|
|
778 |
|
|
779 |
toolBarMainMenu
|
|
780 |
"This resource specification was automatically generated
|
|
781 |
by the MenuEditor of ST/X."
|
|
782 |
|
|
783 |
"Do not manually edit this!! If it is corrupted,
|
|
784 |
the MenuEditor may not be able to read the specification."
|
|
785 |
|
|
786 |
"
|
|
787 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#toolBarMainMenu
|
|
788 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 toolBarMainMenu)) startUp
|
|
789 |
"
|
|
790 |
|
|
791 |
<resource: #menu>
|
|
792 |
|
|
793 |
^
|
|
794 |
#(#Menu
|
|
795 |
#(
|
|
796 |
#(#MenuItem
|
4468
|
797 |
#activeHelpKey: #Inspect
|
4463
|
798 |
#enabled: #hasSelection
|
|
799 |
#label: 'Inspect'
|
|
800 |
#itemValue: #inspectSelection
|
|
801 |
#translateLabel: true
|
|
802 |
#isButton: true
|
4468
|
803 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processInspect22x22Icon)
|
|
804 |
)
|
|
805 |
#(#MenuItem
|
|
806 |
#activeHelpKey: #Debug
|
|
807 |
#enabled: #hasSelection
|
|
808 |
#label: 'Debug'
|
|
809 |
#itemValue: #debugProcess
|
|
810 |
#translateLabel: true
|
|
811 |
#isButton: true
|
|
812 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processDebug22x22Icon)
|
|
813 |
)
|
|
814 |
#(#MenuItem
|
|
815 |
#label: ''
|
|
816 |
)
|
|
817 |
#(#MenuItem
|
|
818 |
#activeHelpKey: #Resume
|
|
819 |
#enabled: #hasSelection
|
|
820 |
#label: 'Resume'
|
|
821 |
#itemValue: #resumeProcess
|
|
822 |
#translateLabel: true
|
|
823 |
#isButton: true
|
|
824 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processResume22x22Icon)
|
|
825 |
)
|
|
826 |
#(#MenuItem
|
|
827 |
#activeHelpKey: #Suspend
|
|
828 |
#enabled: #hasSelection
|
|
829 |
#label: 'Suspend'
|
|
830 |
#itemValue: #suspendProcess
|
|
831 |
#translateLabel: true
|
|
832 |
#isButton: true
|
|
833 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processSuspend22x22Icon)
|
|
834 |
)
|
|
835 |
#(#MenuItem
|
|
836 |
#activeHelpKey: #Stop
|
|
837 |
#enabled: #hasSelection
|
|
838 |
#label: 'Stop'
|
|
839 |
#itemValue: #stopProcess
|
|
840 |
#translateLabel: true
|
|
841 |
#isButton: true
|
|
842 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processStop22x22Icon)
|
|
843 |
)
|
|
844 |
#(#MenuItem
|
|
845 |
#label: ''
|
4463
|
846 |
)
|
|
847 |
#(#MenuItem
|
4468
|
848 |
#activeHelpKey: #Terminate
|
|
849 |
#enabled: #hasSelection
|
|
850 |
#label: 'Terminate'
|
|
851 |
#itemValue: #terminateProcess
|
|
852 |
#translateLabel: true
|
|
853 |
#isButton: true
|
|
854 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processTerminate22x22Icon)
|
|
855 |
)
|
|
856 |
#(#MenuItem
|
|
857 |
#activeHelpKey: #'Terminate Group'
|
|
858 |
#enabled: #hasSelection
|
|
859 |
#label: 'Terminate Group'
|
|
860 |
#itemValue: #terminateProcessGroup
|
|
861 |
#translateLabel: true
|
|
862 |
#isButton: true
|
|
863 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processTerminateGroup22x22Icon)
|
|
864 |
)
|
|
865 |
#(#MenuItem
|
|
866 |
#activeHelpKey: #Restart
|
|
867 |
#enabled: #selectionRestartable
|
|
868 |
#label: 'Restart'
|
|
869 |
#itemValue: #restartProcess
|
|
870 |
#translateLabel: true
|
|
871 |
#isButton: true
|
|
872 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processRestart22x22Icon)
|
|
873 |
)
|
|
874 |
#(#MenuItem
|
|
875 |
#label: ''
|
|
876 |
)
|
|
877 |
#(#MenuItem
|
|
878 |
#activeHelpKey: #'Raise Prio'
|
|
879 |
#enabled: #hasSelection
|
|
880 |
#label: 'Raise Prio'
|
|
881 |
#itemValue: #raisePrio
|
|
882 |
#translateLabel: true
|
|
883 |
#isButton: true
|
|
884 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processRaisePrio22x22Icon)
|
|
885 |
)
|
|
886 |
#(#MenuItem
|
|
887 |
#activeHelpKey: #'Lower Prio'
|
|
888 |
#enabled: #hasSelection
|
|
889 |
#label: 'Lower Prio'
|
|
890 |
#itemValue: #lowerPrio
|
|
891 |
#translateLabel: true
|
|
892 |
#isButton: true
|
|
893 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #processLowerPrio22x22Icon)
|
|
894 |
)
|
|
895 |
#(#MenuItem
|
|
896 |
#label: ''
|
|
897 |
)
|
|
898 |
#(#MenuItem
|
|
899 |
#activeHelpKey: #'Update Process List'
|
|
900 |
#label: 'Update'
|
|
901 |
#itemValue: #updateView
|
|
902 |
#translateLabel: true
|
|
903 |
#isButton: true
|
|
904 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #updateProcesses)
|
|
905 |
)
|
|
906 |
#(#MenuItem
|
|
907 |
#activeHelpKey: #Details
|
4463
|
908 |
#label: 'View Details'
|
|
909 |
#translateLabel: true
|
|
910 |
#isButton: true
|
|
911 |
#startGroup: #right
|
|
912 |
#submenuChannel: #viewDetailsMenuSpec
|
|
913 |
#labelImage: #(#ResourceRetriever #ProcessMonitorV2 #viewDetailsIcon)
|
|
914 |
)
|
|
915 |
)
|
|
916 |
nil
|
|
917 |
nil
|
|
918 |
)
|
|
919 |
!
|
|
920 |
|
|
921 |
viewDetailsMenuSpec
|
|
922 |
"This resource specification was automatically generated
|
|
923 |
by the MenuEditor of ST/X."
|
|
924 |
|
|
925 |
"Do not manually edit this!! If it is corrupted,
|
|
926 |
the MenuEditor may not be able to read the specification."
|
|
927 |
|
|
928 |
"
|
|
929 |
MenuEditor new openOnClass:ProcessMonitorV2 andSelector:#viewDetailsMenuSpec
|
|
930 |
(Menu new fromLiteralArrayEncoding:(ProcessMonitorV2 viewDetailsMenuSpec)) startUp
|
|
931 |
"
|
|
932 |
|
|
933 |
<resource: #menu>
|
|
934 |
|
|
935 |
^
|
|
936 |
#(#Menu
|
|
937 |
#(
|
|
938 |
#(#MenuItem
|
|
939 |
#label: 'Id'
|
|
940 |
#translateLabel: true
|
|
941 |
#hideMenuOnActivated: false
|
|
942 |
#indication: #showProcessId
|
|
943 |
)
|
|
944 |
#(#MenuItem
|
|
945 |
#label: 'Group'
|
|
946 |
#translateLabel: true
|
|
947 |
#hideMenuOnActivated: false
|
|
948 |
#indication: #showGroup
|
|
949 |
)
|
|
950 |
#(#MenuItem
|
|
951 |
#label: 'State'
|
|
952 |
#translateLabel: true
|
|
953 |
#hideMenuOnActivated: false
|
|
954 |
#indication: #showState
|
|
955 |
)
|
|
956 |
#(#MenuItem
|
|
957 |
#label: 'Prio'
|
|
958 |
#translateLabel: true
|
|
959 |
#hideMenuOnActivated: false
|
|
960 |
#indication: #showPrio
|
|
961 |
)
|
|
962 |
#(#MenuItem
|
|
963 |
#label: 'Used Stack'
|
|
964 |
#translateLabel: true
|
|
965 |
#hideMenuOnActivated: false
|
|
966 |
#indication: #showUsedStack
|
|
967 |
)
|
|
968 |
#(#MenuItem
|
|
969 |
#label: 'Total Stack'
|
|
970 |
#translateLabel: true
|
|
971 |
#hideMenuOnActivated: false
|
|
972 |
#indication: #showTotalStack
|
|
973 |
)
|
|
974 |
#(#MenuItem
|
|
975 |
#label: 'Current-Segment'
|
|
976 |
#translateLabel: true
|
|
977 |
#hideMenuOnActivated: false
|
|
978 |
#indication: #showCurrentSegment
|
|
979 |
)
|
|
980 |
#(#MenuItem
|
|
981 |
#label: 'Switch'
|
|
982 |
#translateLabel: true
|
|
983 |
#hideMenuOnActivated: false
|
|
984 |
#indication: #showSwitch
|
|
985 |
)
|
|
986 |
#(#MenuItem
|
|
987 |
#label: 'Where'
|
|
988 |
#translateLabel: true
|
|
989 |
#hideMenuOnActivated: false
|
|
990 |
#indication: #showWhere
|
|
991 |
)
|
|
992 |
#(#MenuItem
|
|
993 |
#label: '-'
|
|
994 |
)
|
|
995 |
#(#MenuItem
|
|
996 |
#label: 'Show dead Processes'
|
|
997 |
#translateLabel: true
|
|
998 |
#indication: #showDead
|
|
999 |
)
|
|
1000 |
)
|
|
1001 |
nil
|
|
1002 |
nil
|
|
1003 |
)
|
|
1004 |
! !
|
|
1005 |
|
|
1006 |
!ProcessMonitorV2 class methodsFor:'tableColumns specs'!
|
|
1007 |
|
|
1008 |
tableColumns
|
|
1009 |
"This resource specification was automatically generated
|
|
1010 |
by the DataSetBuilder of ST/X."
|
|
1011 |
|
|
1012 |
"Do not manually edit this!! If it is corrupted,
|
|
1013 |
the DataSetBuilder may not be able to read the specification."
|
|
1014 |
|
|
1015 |
"
|
|
1016 |
DataSetBuilder new openOnClass:ProcessMonitorV2 andSelector:#tableColumns
|
|
1017 |
"
|
|
1018 |
|
|
1019 |
<resource: #tableColumns>
|
|
1020 |
|
|
1021 |
^#(
|
|
1022 |
#(#DataSetColumnSpec
|
|
1023 |
#label: 'Id'
|
|
1024 |
#id: #id
|
|
1025 |
#labelAlignment: #left
|
|
1026 |
#labelButtonType: #Button
|
|
1027 |
#labelActionSelector: #sortProcessListBy:
|
|
1028 |
#labelActionArgument: 'idVal'
|
|
1029 |
#width: 45
|
|
1030 |
#type: #number
|
|
1031 |
#model: #processId
|
|
1032 |
#canSelect: false
|
|
1033 |
#showRowSeparator: false
|
|
1034 |
#showColSeparator: false
|
|
1035 |
)
|
|
1036 |
#(#DataSetColumnSpec
|
|
1037 |
#label: 'Group'
|
|
1038 |
#id: #group
|
|
1039 |
#labelAlignment: #left
|
|
1040 |
#labelButtonType: #Button
|
|
1041 |
#labelActionSelector: #sortProcessListBy:
|
|
1042 |
#labelActionArgument: 'groupVal'
|
|
1043 |
#width: 45
|
|
1044 |
#model: #processGroup
|
|
1045 |
#canSelect: false
|
|
1046 |
#showRowSeparator: false
|
|
1047 |
#showColSeparator: false
|
|
1048 |
)
|
|
1049 |
#(#DataSetColumnSpec
|
|
1050 |
#label: 'Name'
|
|
1051 |
#id: #name
|
|
1052 |
#labelAlignment: #left
|
|
1053 |
#labelButtonType: #Button
|
|
1054 |
#labelActionSelector: #sortProcessListBy:
|
|
1055 |
#labelActionArgument: 'processName'
|
|
1056 |
#width: 200
|
|
1057 |
#model: #processName
|
|
1058 |
#canSelect: false
|
|
1059 |
#showRowSeparator: false
|
|
1060 |
#showColSeparator: false
|
|
1061 |
)
|
|
1062 |
#(#DataSetColumnSpec
|
|
1063 |
#label: 'State'
|
|
1064 |
#id: #state
|
|
1065 |
#labelAlignment: #left
|
|
1066 |
#labelButtonType: #Button
|
|
1067 |
#labelActionSelector: #sortProcessListBy:
|
|
1068 |
#labelActionArgument: 'processState'
|
|
1069 |
#width: 100
|
|
1070 |
#model: #processState
|
|
1071 |
#canSelect: false
|
|
1072 |
#showRowSeparator: false
|
|
1073 |
#showColSeparator: false
|
|
1074 |
)
|
|
1075 |
#(#DataSetColumnSpec
|
|
1076 |
#label: 'Prio'
|
|
1077 |
#id: #prio
|
|
1078 |
#labelAlignment: #left
|
|
1079 |
#labelButtonType: #Button
|
|
1080 |
#labelActionSelector: #sortProcessListBy:
|
|
1081 |
#labelActionArgument: 'prioVal'
|
|
1082 |
#width: 40
|
|
1083 |
#model: #processPrio
|
|
1084 |
#canSelect: false
|
|
1085 |
#showRowSeparator: false
|
|
1086 |
#showColSeparator: false
|
|
1087 |
)
|
|
1088 |
#(#DataSetColumnSpec
|
|
1089 |
#label: 'Used Stack'
|
|
1090 |
#id: #usedStack
|
|
1091 |
#labelAlignment: #left
|
|
1092 |
#labelButtonType: #Button
|
|
1093 |
#labelActionSelector: #sortProcessListBy:
|
|
1094 |
#labelActionArgument: 'processUsedStack'
|
|
1095 |
#columnAlignment: #right
|
|
1096 |
#width: 75
|
|
1097 |
#type: #number
|
|
1098 |
#model: #processUsedStack
|
|
1099 |
#canSelect: false
|
|
1100 |
#showRowSeparator: false
|
|
1101 |
#showColSeparator: false
|
|
1102 |
)
|
|
1103 |
#(#DataSetColumnSpec
|
|
1104 |
#label: 'Total Stack'
|
|
1105 |
#id: #totalStack
|
|
1106 |
#labelAlignment: #left
|
|
1107 |
#labelButtonType: #Button
|
|
1108 |
#labelActionSelector: #sortProcessListBy:
|
|
1109 |
#labelActionArgument: 'processTotalStack'
|
|
1110 |
#columnAlignment: #right
|
|
1111 |
#width: 75
|
|
1112 |
#model: #processTotalStack
|
|
1113 |
#canSelect: false
|
|
1114 |
#showRowSeparator: false
|
|
1115 |
#showColSeparator: false
|
|
1116 |
)
|
|
1117 |
#(#DataSetColumnSpec
|
|
1118 |
#label: 'Current-Segment'
|
|
1119 |
#id: #currentSegment
|
|
1120 |
#labelAlignment: #left
|
|
1121 |
#labelButtonType: #Button
|
|
1122 |
#labelActionSelector: #sortProcessListBy:
|
|
1123 |
#labelActionArgument: 'processCurrentSegment'
|
|
1124 |
#width: 110
|
|
1125 |
#model: #processCurrentSegment
|
|
1126 |
#canSelect: false
|
|
1127 |
#showRowSeparator: false
|
|
1128 |
#showColSeparator: false
|
|
1129 |
)
|
|
1130 |
#(#DataSetColumnSpec
|
|
1131 |
#label: 'Switch'
|
|
1132 |
#id: #switch
|
|
1133 |
#labelAlignment: #left
|
|
1134 |
#labelButtonType: #Button
|
|
1135 |
#labelActionSelector: #sortProcessListBy:
|
|
1136 |
#labelActionArgument: 'processSwitch'
|
|
1137 |
#columnAlignment: #right
|
|
1138 |
#width: 55
|
|
1139 |
#type: #number
|
|
1140 |
#model: #processSwitch
|
|
1141 |
#canSelect: false
|
|
1142 |
#showRowSeparator: false
|
|
1143 |
#showColSeparator: false
|
|
1144 |
)
|
|
1145 |
#(#DataSetColumnSpec
|
|
1146 |
#label: 'Where'
|
|
1147 |
#id: #where
|
|
1148 |
#labelAlignment: #left
|
|
1149 |
#labelButtonType: #Button
|
|
1150 |
#labelActionSelector: #sortProcessListBy:
|
|
1151 |
#labelActionArgument: 'processWhere'
|
|
1152 |
#model: #processWhere
|
|
1153 |
#canSelect: false
|
|
1154 |
#showRowSeparator: false
|
|
1155 |
#showColSeparator: false
|
|
1156 |
)
|
|
1157 |
)
|
|
1158 |
|
|
1159 |
! !
|
|
1160 |
|
|
1161 |
!ProcessMonitorV2 methodsFor:'actions'!
|
|
1162 |
|
|
1163 |
doubleClickedAt:anItemIndex
|
|
1164 |
"open a debugger on the selected process"
|
|
1165 |
|
|
1166 |
self debugProcess
|
|
1167 |
!
|
|
1168 |
|
|
1169 |
getProcessList
|
|
1170 |
"select processes to display.
|
|
1171 |
Subclasses may redefine this"
|
|
1172 |
|
|
1173 |
|coll|
|
|
1174 |
|
|
1175 |
self needFullInformation ifTrue:[
|
|
1176 |
coll := Process allSubInstances asOrderedCollection.
|
|
1177 |
] ifFalse:[
|
|
1178 |
coll := ProcessorScheduler knownProcesses asOrderedCollection.
|
|
1179 |
].
|
|
1180 |
^ coll
|
|
1181 |
!
|
|
1182 |
|
|
1183 |
selectedProcessesDo:aBlock
|
|
1184 |
| sel|
|
|
1185 |
|
|
1186 |
sel := self selectedProcesses value.
|
|
1187 |
sel isNil ifTrue:[^ self].
|
|
1188 |
|
|
1189 |
sel do:[:processItem |
|
|
1190 |
aBlock value:(processItem processInstance).
|
|
1191 |
]
|
|
1192 |
!
|
|
1193 |
|
|
1194 |
selectedProcessesSend:aSelector
|
|
1195 |
"send a message to all selected processes"
|
|
1196 |
|
|
1197 |
self selectedProcessesDo:[:p |
|
|
1198 |
p perform:aSelector
|
|
1199 |
].
|
|
1200 |
self updateView.
|
|
1201 |
! !
|
|
1202 |
|
|
1203 |
!ProcessMonitorV2 methodsFor:'aspects'!
|
|
1204 |
|
|
1205 |
currentSortOrder
|
|
1206 |
"return/create the 'currentSortOrder' value holder (automatically generated)"
|
|
1207 |
|
|
1208 |
currentSortOrder isNil ifTrue:[
|
|
1209 |
currentSortOrder := Dictionary new asValue.
|
|
1210 |
].
|
|
1211 |
^ currentSortOrder
|
|
1212 |
!
|
|
1213 |
|
|
1214 |
hasSelection
|
|
1215 |
|
|
1216 |
hasSelection isNil ifTrue:[
|
|
1217 |
hasSelection := ValueHolder new.
|
|
1218 |
].
|
|
1219 |
^ hasSelection
|
|
1220 |
!
|
|
1221 |
|
|
1222 |
processList
|
|
1223 |
|
|
1224 |
processList isNil ifTrue:[
|
|
1225 |
processList := List new.
|
|
1226 |
].
|
|
1227 |
^ processList.
|
|
1228 |
!
|
|
1229 |
|
|
1230 |
selectedProcesses
|
|
1231 |
|
|
1232 |
selectedProcesses isNil ifTrue:[
|
|
1233 |
selectedProcesses := ValueHolder new.
|
|
1234 |
selectedProcesses addDependent:self.
|
|
1235 |
].
|
|
1236 |
^ selectedProcesses.
|
|
1237 |
!
|
|
1238 |
|
|
1239 |
selectionRestartable
|
|
1240 |
|
|
1241 |
selectionRestartable isNil ifTrue:[
|
|
1242 |
selectionRestartable := ValueHolder new.
|
|
1243 |
].
|
|
1244 |
^ selectionRestartable
|
|
1245 |
!
|
|
1246 |
|
|
1247 |
showDead
|
|
1248 |
"return/create the 'showDead' value holder (automatically generated)"
|
|
1249 |
|
|
1250 |
showDead isNil ifTrue:[
|
|
1251 |
showDead := false asValue.
|
|
1252 |
showDead addDependent:self.
|
|
1253 |
].
|
|
1254 |
^ showDead
|
|
1255 |
!
|
|
1256 |
|
|
1257 |
sortBlock
|
|
1258 |
|
|
1259 |
sortBlock isNil ifTrue:[
|
|
1260 |
sortBlock := [:a :b |
|
|
1261 |
a idVal < b idVal
|
|
1262 |
]
|
|
1263 |
].
|
|
1264 |
^ sortBlock
|
|
1265 |
!
|
|
1266 |
|
|
1267 |
tableColumns
|
|
1268 |
|
|
1269 |
tableColumns isNil ifTrue:[
|
|
1270 |
tableColumns := self class tableColumns asValue.
|
|
1271 |
].
|
|
1272 |
^ tableColumns.
|
|
1273 |
! !
|
|
1274 |
|
|
1275 |
!ProcessMonitorV2 methodsFor:'aspects column'!
|
|
1276 |
|
|
1277 |
showCurrentSegment
|
|
1278 |
"return/create the 'showCurrentSegment' value holder (automatically generated)"
|
|
1279 |
|
|
1280 |
showCurrentSegment isNil ifTrue:[
|
|
1281 |
showCurrentSegment := showDetail asValue.
|
|
1282 |
showCurrentSegment onChangeSend:#viewedColumnsChanged to:self.
|
|
1283 |
].
|
|
1284 |
^ showCurrentSegment
|
|
1285 |
!
|
|
1286 |
|
|
1287 |
showGroup
|
|
1288 |
"return/create the 'showGroup' value holder (automatically generated)"
|
|
1289 |
|
|
1290 |
showGroup isNil ifTrue:[
|
|
1291 |
showGroup := true asValue.
|
|
1292 |
showGroup onChangeSend:#viewedColumnsChanged to:self.
|
|
1293 |
].
|
|
1294 |
^ showGroup
|
|
1295 |
!
|
|
1296 |
|
|
1297 |
showPrio
|
|
1298 |
"return/create the 'showPrio' value holder (automatically generated)"
|
|
1299 |
|
|
1300 |
showPrio isNil ifTrue:[
|
|
1301 |
showPrio := true asValue.
|
|
1302 |
showPrio onChangeSend:#viewedColumnsChanged to:self.
|
|
1303 |
].
|
|
1304 |
^ showPrio
|
|
1305 |
!
|
|
1306 |
|
|
1307 |
showProcessId
|
|
1308 |
|
|
1309 |
showProcessId isNil ifTrue:[
|
|
1310 |
showProcessId := true asValue.
|
|
1311 |
showProcessId onChangeSend:#viewedColumnsChanged to:self
|
|
1312 |
].
|
|
1313 |
^ showProcessId
|
|
1314 |
!
|
|
1315 |
|
|
1316 |
showState
|
|
1317 |
"return/create the 'showState' value holder (automatically generated)"
|
|
1318 |
|
|
1319 |
showState isNil ifTrue:[
|
|
1320 |
showState := true asValue.
|
|
1321 |
showState onChangeSend:#viewedColumnsChanged to:self
|
|
1322 |
].
|
|
1323 |
^ showState
|
|
1324 |
!
|
|
1325 |
|
|
1326 |
showSwitch
|
|
1327 |
"return/create the 'showSwitch' value holder (automatically generated)"
|
|
1328 |
|
|
1329 |
showSwitch isNil ifTrue:[
|
|
1330 |
showSwitch := showDetail asValue.
|
|
1331 |
showSwitch onChangeSend:#viewedColumnsChanged to:self
|
|
1332 |
].
|
|
1333 |
^ showSwitch
|
|
1334 |
!
|
|
1335 |
|
|
1336 |
showTotalStack
|
|
1337 |
"return/create the 'showTotalStack' value holder (automatically generated)"
|
|
1338 |
|
|
1339 |
showTotalStack isNil ifTrue:[
|
|
1340 |
showTotalStack := showDetail asValue.
|
|
1341 |
showTotalStack onChangeSend:#viewedColumnsChanged to:self
|
|
1342 |
].
|
|
1343 |
^ showTotalStack
|
|
1344 |
!
|
|
1345 |
|
|
1346 |
showUsedStack
|
|
1347 |
"return/create the 'showUsedStack' value holder (automatically generated)"
|
|
1348 |
|
|
1349 |
showUsedStack isNil ifTrue:[
|
|
1350 |
showUsedStack := showDetail asValue.
|
|
1351 |
showUsedStack onChangeSend:#viewedColumnsChanged to:self
|
|
1352 |
].
|
|
1353 |
^ showUsedStack
|
|
1354 |
!
|
|
1355 |
|
|
1356 |
showWhere
|
|
1357 |
"return/create the 'showWhere' value holder (automatically generated)"
|
|
1358 |
|
|
1359 |
showWhere isNil ifTrue:[
|
|
1360 |
showWhere := true asValue.
|
|
1361 |
showWhere onChangeSend:#viewedColumnsChanged to:self
|
|
1362 |
].
|
|
1363 |
^ showWhere
|
|
1364 |
! !
|
|
1365 |
|
|
1366 |
!ProcessMonitorV2 methodsFor:'change & update'!
|
|
1367 |
|
|
1368 |
selectionChanged
|
|
1369 |
|
|
1370 |
|allRestartable|
|
|
1371 |
|
|
1372 |
self hasSelection value:(self selectedProcesses value notEmptyOrNil).
|
|
1373 |
self hasSelection value ifFalse:[
|
|
1374 |
self selectionRestartable value:false.
|
|
1375 |
^ self
|
|
1376 |
].
|
|
1377 |
allRestartable := true.
|
|
1378 |
self selectedProcessesDo:[:p |
|
|
1379 |
p isRestartable ifFalse:[
|
|
1380 |
allRestartable := false
|
|
1381 |
].
|
|
1382 |
].
|
|
1383 |
self selectionRestartable value:allRestartable.
|
|
1384 |
^ self.
|
|
1385 |
!
|
|
1386 |
|
|
1387 |
update:something with:aParameter from:changedObject
|
|
1388 |
"Invoked when an object that I depend upon sends a change notification."
|
|
1389 |
|
|
1390 |
"stub code automatically generated - please change as required"
|
|
1391 |
|
|
1392 |
changedObject == self selectedProcesses ifTrue:[
|
|
1393 |
self selectionChanged.
|
|
1394 |
^ self
|
|
1395 |
].
|
|
1396 |
changedObject == self showDead ifTrue:[
|
|
1397 |
self updateStatus:nil.
|
|
1398 |
^ self
|
|
1399 |
].
|
|
1400 |
super update:something with:aParameter from:changedObject
|
|
1401 |
!
|
|
1402 |
|
|
1403 |
viewedColumnsChanged
|
|
1404 |
|
|
1405 |
| columns buffer locCurrentSortOrder currentSortOrderColumn currentSortOrderReverse selection|
|
|
1406 |
|
|
1407 |
selection := self selectedProcesses value.
|
|
1408 |
columns := OrderedCollection new.
|
|
1409 |
self class tableColumns do:[:el|
|
|
1410 |
columns add:(DataSetColumnSpec new fromLiteralArrayEncoding:el).
|
|
1411 |
].
|
|
1412 |
buffer := columns copy.
|
|
1413 |
locCurrentSortOrder := self currentSortOrder value.
|
|
1414 |
currentSortOrderColumn := locCurrentSortOrder at:#column ifAbsent:nil.
|
|
1415 |
currentSortOrderReverse := locCurrentSortOrder at:#reverse ifAbsent:nil.
|
|
1416 |
buffer do:[:col |
|
|
1417 |
| id |
|
|
1418 |
id := col id.
|
|
1419 |
id notNil ifTrue:[
|
|
1420 |
(col labelActionArgument notNil and:[col labelActionArgument asSymbol == currentSortOrderColumn]) ifTrue:[
|
|
1421 |
| label icon|
|
|
1422 |
label := col label.
|
|
1423 |
icon := currentSortOrderReverse ifTrue:[self class detailsMenuIconDown] ifFalse:[self class detailsMenuIconUp].
|
|
1424 |
col label:(LabelAndIcon label:label icon:icon).
|
|
1425 |
].
|
|
1426 |
(id == #id and:[self showProcessId value not]) ifTrue:[
|
|
1427 |
columns remove:col.
|
|
1428 |
] ifFalse:[
|
|
1429 |
(id == #group and:[self showGroup value not]) ifTrue:[
|
|
1430 |
columns remove:col.
|
|
1431 |
] ifFalse:[
|
|
1432 |
(id == #prio and:[self showPrio value not]) ifTrue:[
|
|
1433 |
columns remove:col.
|
|
1434 |
] ifFalse:[
|
|
1435 |
(id == #currentSegment and:[self showCurrentSegment value not]) ifTrue:[
|
|
1436 |
columns remove:col.
|
|
1437 |
] ifFalse:[
|
|
1438 |
(id == #state and:[self showState value not]) ifTrue:[
|
|
1439 |
columns remove:col.
|
|
1440 |
] ifFalse:[
|
|
1441 |
(id == #switch and:[self showSwitch value not]) ifTrue:[
|
|
1442 |
columns remove:col.
|
|
1443 |
] ifFalse:[
|
|
1444 |
(id == #totalStack and:[self showTotalStack value not]) ifTrue:[
|
|
1445 |
columns remove:col.
|
|
1446 |
] ifFalse:[
|
|
1447 |
(id == #usedStack and:[self showUsedStack value not]) ifTrue:[
|
|
1448 |
columns remove:col.
|
|
1449 |
] ifFalse:[
|
|
1450 |
(id == #where and:[self showWhere value not]) ifTrue:[
|
|
1451 |
columns remove:col.
|
|
1452 |
]
|
|
1453 |
]
|
|
1454 |
]
|
|
1455 |
]
|
|
1456 |
]
|
|
1457 |
]
|
|
1458 |
]
|
|
1459 |
]
|
|
1460 |
]
|
|
1461 |
]
|
|
1462 |
].
|
|
1463 |
updateSema critical:[
|
|
1464 |
self tableColumns value:columns.
|
|
1465 |
self selectedProcesses value:selection.
|
|
1466 |
].
|
|
1467 |
self updateList.
|
|
1468 |
! !
|
|
1469 |
|
|
1470 |
!ProcessMonitorV2 methodsFor:'event handling'!
|
|
1471 |
|
|
1472 |
processEvent:anEvent
|
|
1473 |
"filter keyboard events.
|
|
1474 |
Return true, if I have eaten the event"
|
|
1475 |
|
|
1476 |
|focusView key rawKey|
|
|
1477 |
|
|
1478 |
anEvent isKeyPressEvent ifTrue:[
|
|
1479 |
focusView := anEvent targetView.
|
|
1480 |
key := anEvent key.
|
|
1481 |
rawKey := anEvent rawKey.
|
|
1482 |
|
|
1483 |
(focusView == processList) ifTrue:[
|
|
1484 |
key == #InspectIt ifTrue:[
|
|
1485 |
self inspectSelection.
|
|
1486 |
^ true.
|
|
1487 |
].
|
|
1488 |
]
|
|
1489 |
].
|
|
1490 |
^ false
|
|
1491 |
! !
|
|
1492 |
|
|
1493 |
!ProcessMonitorV2 methodsFor:'initialization & release'!
|
|
1494 |
|
|
1495 |
closeDownViews
|
|
1496 |
"This is a hook method generated by the Browser.
|
|
1497 |
It will be invoked when your app/dialog-window is really closed.
|
|
1498 |
See also #closeDownViews, which is invoked before and may suppress the close
|
|
1499 |
or ask the user for confirmation."
|
|
1500 |
|
|
1501 |
"/ change the code below as required ...
|
|
1502 |
"/ This should cleanup any leftover resources
|
|
1503 |
"/ (for example, temporary files)
|
|
1504 |
"/ super closeRequest will initiate the closeDown
|
|
1505 |
|
|
1506 |
"/ add your code here
|
|
1507 |
|
|
1508 |
"/ do not remove the one below ...
|
|
1509 |
^ super closeDownViews
|
|
1510 |
!
|
|
1511 |
|
|
1512 |
initialize
|
|
1513 |
|
|
1514 |
super initialize.
|
|
1515 |
|
|
1516 |
showDetail := (Smalltalk at:#SystemDebugging ifAbsent:false).
|
|
1517 |
updateSema := Semaphore forMutualExclusion.
|
|
1518 |
updateDelay := 0.5.
|
|
1519 |
listUpdateDelay := 5.
|
|
1520 |
|
|
1521 |
"/ event mode is no longer used;
|
|
1522 |
"/ this event support may vanish
|
|
1523 |
Processor isPureEventDriven ifTrue:[
|
|
1524 |
updateBlock := [self updateStatus:nil].
|
|
1525 |
listUpdateBlock := [self updateList].
|
|
1526 |
].
|
|
1527 |
!
|
|
1528 |
|
|
1529 |
postBuildProcessTable:aWidget
|
|
1530 |
|
|
1531 |
processTable := aWidget scrolledView.
|
|
1532 |
processTable wantsFocusWithPointerEnter.
|
|
1533 |
!
|
|
1534 |
|
|
1535 |
postBuildWith:aBuilder
|
|
1536 |
|
|
1537 |
^ super postBuildWith:aBuilder
|
|
1538 |
!
|
|
1539 |
|
|
1540 |
postOpenWith:aBuilder
|
|
1541 |
|
|
1542 |
super postOpenWith:aBuilder.
|
|
1543 |
self viewedColumnsChanged.
|
|
1544 |
self updateList.
|
|
1545 |
self startUpdateProcess.
|
|
1546 |
self selectionChanged.
|
|
1547 |
self windowGroup addPreEventHook:self.
|
|
1548 |
! !
|
|
1549 |
|
|
1550 |
!ProcessMonitorV2 methodsFor:'menu actions'!
|
|
1551 |
|
|
1552 |
abortProcess
|
|
1553 |
"abort (raise AbortSignal in) the selected process"
|
|
1554 |
|
|
1555 |
self selectedProcessesDo:[:p |
|
|
1556 |
p abort
|
|
1557 |
]
|
|
1558 |
!
|
|
1559 |
|
|
1560 |
debugProcess
|
|
1561 |
"open a debugger on the selected process"
|
|
1562 |
|
|
1563 |
self selectedProcessesDo:[:p |
|
|
1564 |
Debugger openOn:p
|
|
1565 |
]
|
|
1566 |
!
|
|
1567 |
|
|
1568 |
debugWhenResumed
|
|
1569 |
self selectedProcessesDo:[:p |
|
|
1570 |
p addInterruptAction:[Debugger enter]
|
|
1571 |
]
|
|
1572 |
!
|
|
1573 |
|
|
1574 |
hardTerminateProcess
|
|
1575 |
"hard terminate the selected process"
|
|
1576 |
|
|
1577 |
self selectedProcessesSend:#terminateNoSignal
|
|
1578 |
!
|
|
1579 |
|
|
1580 |
inspectSelection
|
|
1581 |
"open an inspector on the selected process"
|
|
1582 |
|
|
1583 |
self selectedProcessesSend:#inspect
|
|
1584 |
!
|
|
1585 |
|
|
1586 |
lowerPrio
|
|
1587 |
"lower the selected processes priority"
|
|
1588 |
|
|
1589 |
self selectedProcessesDo:[:p |
|
|
1590 |
p priority:(p priority - 1)
|
|
1591 |
]
|
|
1592 |
!
|
|
1593 |
|
|
1594 |
openAboutThisApplication
|
|
1595 |
"This method was generated by the Browser.
|
|
1596 |
It will be invoked when the menu-item 'help-about' is selected."
|
|
1597 |
|
|
1598 |
"/ could open a customized aboutBox here ...
|
|
1599 |
super openAboutThisApplication
|
|
1600 |
!
|
|
1601 |
|
|
1602 |
openDocumentation
|
|
1603 |
"This method was generated by the Browser.
|
|
1604 |
It will be invoked when the menu-item 'help-documentation' is selected."
|
|
1605 |
|
|
1606 |
"/ change below as required ...
|
|
1607 |
|
|
1608 |
"/ to open an HTML viewer on some document (under 'doc/online/<language>/' ):
|
|
1609 |
HTMLDocumentView openFullOnDocumentationFile:'TOP.html'.
|
|
1610 |
|
|
1611 |
"/ add application-specific help files under the 'doc/online/<language>/help/appName'
|
|
1612 |
"/ directory, and open a viewer with:
|
|
1613 |
"/ HTMLDocumentView openFullOnDocumentationFile:'help/<MyApplication>/TOP.html'.
|
|
1614 |
!
|
|
1615 |
|
|
1616 |
raisePrio
|
|
1617 |
"raise the selected processes priority"
|
|
1618 |
|
|
1619 |
self selectedProcessesDo:[:p |
|
|
1620 |
p priority:(p priority + 1)
|
|
1621 |
]
|
|
1622 |
!
|
|
1623 |
|
|
1624 |
restartProcess
|
|
1625 |
"abort (raise AbortSignal in) the selected process"
|
|
1626 |
|
|
1627 |
self selectedProcessesDo:[:p |
|
|
1628 |
p restart.
|
|
1629 |
]
|
|
1630 |
!
|
|
1631 |
|
|
1632 |
resumeProcess
|
|
1633 |
"resume the selected process (i.e. let it run) "
|
|
1634 |
|
|
1635 |
self selectedProcessesSend:#resume
|
|
1636 |
!
|
|
1637 |
|
|
1638 |
stopProcess
|
|
1639 |
"stop the selected process - not even interrupts will wake it up"
|
|
1640 |
|
|
1641 |
self selectedProcessesSend:#stop
|
|
1642 |
!
|
|
1643 |
|
|
1644 |
suspendProcess
|
|
1645 |
"suspend the selected process - interrupts will let it run again"
|
|
1646 |
|
|
1647 |
self selectedProcessesSend:#suspend
|
|
1648 |
!
|
|
1649 |
|
|
1650 |
terminateProcess
|
|
1651 |
"terminate the selected process"
|
|
1652 |
|
|
1653 |
self selectedProcessesSend:#terminate.
|
|
1654 |
self updateList.
|
|
1655 |
!
|
|
1656 |
|
|
1657 |
terminateProcessGroup
|
|
1658 |
"terminate the selected process with all of its subprocesses"
|
|
1659 |
|
|
1660 |
self selectedProcessesSend:#terminateGroup.
|
|
1661 |
self updateList.
|
|
1662 |
! !
|
|
1663 |
|
|
1664 |
!ProcessMonitorV2 methodsFor:'queries'!
|
|
1665 |
|
|
1666 |
needFullInformation
|
|
1667 |
|
|
1668 |
^ true
|
|
1669 |
"/ ^ (self showUsedStack value or:[
|
|
1670 |
"/ self showTotalStack value or:[
|
|
1671 |
"/ self showCurrentSegment value or:[
|
|
1672 |
"/ self showSwitch value]]])
|
|
1673 |
!
|
|
1674 |
|
|
1675 |
showDetail
|
|
1676 |
! !
|
|
1677 |
|
|
1678 |
!ProcessMonitorV2 methodsFor:'queries - table string'!
|
|
1679 |
|
|
1680 |
getCurrentSegmentStringFor:con
|
|
1681 |
|
|
1682 |
con notNil ifTrue:[
|
|
1683 |
| contextCount c sender|
|
|
1684 |
contextCount := 1.
|
|
1685 |
c := con.
|
|
1686 |
[(sender := c sender) notNil] whileTrue:[
|
|
1687 |
c := sender.
|
|
1688 |
contextCount := contextCount + 1.
|
|
1689 |
].
|
|
1690 |
^ (((ObjectMemory addressOf:con) printStringRadix:16),
|
|
1691 |
' .. ',
|
|
1692 |
((ObjectMemory addressOf:c) printStringRadix:16)).
|
|
1693 |
].
|
|
1694 |
!
|
|
1695 |
|
|
1696 |
getGroupStringFor:aProcess
|
|
1697 |
|
|
1698 |
|gId|
|
|
1699 |
|
|
1700 |
gId := aProcess processGroupId.
|
|
1701 |
((gId == aProcess id) or:[gId isNil]) ifTrue:[
|
|
1702 |
"/ a group leader
|
|
1703 |
^ '-'.
|
|
1704 |
] ifFalse:[
|
|
1705 |
^ gId.
|
|
1706 |
].
|
|
1707 |
!
|
|
1708 |
|
|
1709 |
getPrioStringFor:aProcess
|
|
1710 |
|
|
1711 |
|prioRange|
|
|
1712 |
|
|
1713 |
Processor supportDynamicPriorities ifTrue:[
|
|
1714 |
(prioRange := aProcess priorityRange) isNil ifTrue:[
|
|
1715 |
^ aProcess priority asString.
|
|
1716 |
] ifFalse:[
|
|
1717 |
^ (aProcess priority asString,
|
|
1718 |
' [',
|
|
1719 |
prioRange start printString,
|
|
1720 |
'..',
|
|
1721 |
prioRange stop printString,
|
|
1722 |
']').
|
|
1723 |
].
|
|
1724 |
].
|
|
1725 |
!
|
|
1726 |
|
|
1727 |
getStateStringFor:aProcess running:isRunning
|
|
1728 |
|
|
1729 |
|st stateCharacter |
|
|
1730 |
|
|
1731 |
st := aProcess state.
|
|
1732 |
isRunning ifTrue:[
|
|
1733 |
stateCharacter := '* '.
|
|
1734 |
] ifFalse:[
|
|
1735 |
[
|
|
1736 |
(Processor scheduledProcesses includes:aProcess) ifTrue:[
|
|
1737 |
stateCharacter := '+ '
|
|
1738 |
] ifFalse:[
|
|
1739 |
stateCharacter := ' '.
|
|
1740 |
].
|
|
1741 |
] valueUninterruptably.
|
|
1742 |
].
|
|
1743 |
^ stateCharacter, (st asString).
|
|
1744 |
!
|
|
1745 |
|
|
1746 |
getTotalStackStringFor:aProcess
|
|
1747 |
|
|
1748 |
|
|
1749 |
aProcess id == 0 ifTrue:[
|
|
1750 |
^ 'unlimited'.
|
|
1751 |
] ifFalse:[
|
|
1752 |
| tStackSize noOfSegs |
|
|
1753 |
((tStackSize := aProcess totalStackSize) notNil and:[
|
|
1754 |
(noOfSegs := aProcess numberOfStackSegments) notNil
|
|
1755 |
]) ifTrue:[
|
|
1756 |
^ ((tStackSize printString),
|
|
1757 |
' (',
|
|
1758 |
(noOfSegs printString),
|
|
1759 |
')' )
|
|
1760 |
]
|
|
1761 |
].
|
|
1762 |
!
|
|
1763 |
|
|
1764 |
getWhereStringFor:con running:isRunning
|
|
1765 |
|
|
1766 |
con notNil ifTrue:[
|
|
1767 |
| c found skipping|
|
|
1768 |
c := con.
|
|
1769 |
found := false.
|
|
1770 |
isRunning ifFalse:[
|
|
1771 |
"/ search for a semaphore-wait in the top 10 contexts
|
|
1772 |
|
|
1773 |
1 to:10 do:[:n |
|
|
1774 |
found ifFalse:[
|
|
1775 |
c notNil ifTrue:[
|
|
1776 |
(c receiver class == Semaphore) ifTrue:[
|
|
1777 |
c selector == #wait ifTrue:[
|
|
1778 |
found := true.
|
|
1779 |
]
|
|
1780 |
].
|
|
1781 |
c := c sender.
|
|
1782 |
]
|
|
1783 |
]
|
|
1784 |
].
|
|
1785 |
].
|
|
1786 |
found ifFalse:[
|
|
1787 |
"/ search for a non-processor, non-process
|
|
1788 |
"/ receiver in the top 10 contexts
|
|
1789 |
|
|
1790 |
c := con.
|
|
1791 |
1 to:10 do:[:n |
|
|
1792 |
|r|
|
|
1793 |
|
|
1794 |
found ifFalse:[
|
|
1795 |
c notNil ifTrue:[
|
|
1796 |
((r := c receiver) ~~ Processor
|
|
1797 |
and:[r class ~~ Process]) ifTrue:[
|
|
1798 |
found := true.
|
|
1799 |
] ifFalse:[
|
|
1800 |
c := c sender.
|
|
1801 |
]
|
|
1802 |
]
|
|
1803 |
]
|
|
1804 |
]
|
|
1805 |
].
|
|
1806 |
found ifFalse:[
|
|
1807 |
c := con
|
|
1808 |
].
|
|
1809 |
|
|
1810 |
"/ skip, until an interesting context is
|
|
1811 |
"/ found.
|
|
1812 |
"/ this skips intermediate contexts, which lead
|
|
1813 |
"/ to the sema-wait (for example, unwind blocks,
|
|
1814 |
"/ delay-stuff etc.)
|
|
1815 |
|
|
1816 |
skipping := true.
|
|
1817 |
[skipping] whileTrue:[
|
|
1818 |
skipping := false.
|
|
1819 |
(c notNil
|
|
1820 |
and:[c receiver == Delay
|
|
1821 |
or:[c receiver class == Delay]]) ifTrue:[
|
|
1822 |
c := c sender.
|
|
1823 |
skipping := true.
|
|
1824 |
].
|
|
1825 |
|
|
1826 |
[c notNil
|
|
1827 |
and:[c receiver isBlock
|
|
1828 |
and:[c selector startsWith:'value']]] whileTrue:[
|
|
1829 |
c := c sender.
|
|
1830 |
skipping := true.
|
|
1831 |
].
|
|
1832 |
|
|
1833 |
[c notNil
|
|
1834 |
and:[c receiver isBlock
|
|
1835 |
and:[c selector = 'ensure:']]] whileTrue:[
|
|
1836 |
c := c sender.
|
|
1837 |
skipping := true.
|
|
1838 |
].
|
|
1839 |
|
|
1840 |
[c notNil
|
|
1841 |
and:[c receiver == OperatingSystem
|
|
1842 |
and:[c selector == #unblockInterrupts]]] whileTrue:[
|
|
1843 |
c := c sender.
|
|
1844 |
skipping := true.
|
|
1845 |
].
|
|
1846 |
|
|
1847 |
[c notNil and:[c isBlockContext]] whileTrue:[
|
|
1848 |
c := c home.
|
|
1849 |
skipping := true.
|
|
1850 |
].
|
|
1851 |
].
|
|
1852 |
|
|
1853 |
c notNil ifTrue:[
|
|
1854 |
| sel |
|
|
1855 |
sel := c selector.
|
|
1856 |
sel isNil ifTrue:[
|
|
1857 |
sel := '* unknown *'
|
|
1858 |
].
|
|
1859 |
^ (c receiver class name,
|
|
1860 |
'>>',
|
|
1861 |
sel).
|
|
1862 |
]
|
|
1863 |
].
|
|
1864 |
! !
|
|
1865 |
|
|
1866 |
!ProcessMonitorV2 methodsFor:'sorting'!
|
|
1867 |
|
|
1868 |
sortProcessListBy:instanceName
|
|
1869 |
"method to sort the list of BugReport"
|
|
1870 |
|
|
1871 |
| aSymbol isReverse cmpOp currentSortOrder|
|
|
1872 |
|
|
1873 |
aSymbol := instanceName asSymbol.
|
|
1874 |
isReverse := false.
|
|
1875 |
currentSortOrder := self currentSortOrder value.
|
|
1876 |
currentSortOrder isEmpty ifTrue:[
|
|
1877 |
currentSortOrder at:#column put:aSymbol.
|
|
1878 |
currentSortOrder at:#reverse put:false.
|
|
1879 |
] ifFalse:[
|
|
1880 |
(currentSortOrder at:#column) = aSymbol ifTrue:[
|
|
1881 |
"/ same column like before - change sort order ifReverse is true
|
|
1882 |
isReverse := currentSortOrder at:#reverse.
|
|
1883 |
currentSortOrder at:#reverse put:(isReverse not).
|
|
1884 |
] ifFalse:[
|
|
1885 |
"/ another column - remark column
|
|
1886 |
currentSortOrder at:#column put:aSymbol.
|
|
1887 |
]
|
|
1888 |
].
|
|
1889 |
self viewedColumnsChanged.
|
|
1890 |
(currentSortOrder at:#reverse) ifTrue:[
|
|
1891 |
cmpOp := #'>'
|
|
1892 |
] ifFalse:[
|
|
1893 |
cmpOp := #'<'
|
|
1894 |
].
|
|
1895 |
sortBlock := [:a :b |
|
|
1896 |
|entry1 entry2|
|
|
1897 |
|
|
1898 |
entry1 := (a perform:aSymbol).
|
|
1899 |
entry2 := (b perform:aSymbol).
|
|
1900 |
entry1 perform:cmpOp with:entry2
|
|
1901 |
].
|
|
1902 |
updateSema critical:[
|
|
1903 |
| oldList |
|
|
1904 |
oldList := self processList copy.
|
|
1905 |
self processList contents:(oldList sort:sortBlock)
|
|
1906 |
].
|
|
1907 |
! !
|
|
1908 |
|
|
1909 |
!ProcessMonitorV2 methodsFor:'update process'!
|
|
1910 |
|
|
1911 |
createItemWith:aProcess
|
|
1912 |
|
|
1913 |
| running con processItem|
|
|
1914 |
|
|
1915 |
processItem := ProcessItem new.
|
|
1916 |
|
|
1917 |
processItem processInstance:aProcess.
|
|
1918 |
|
|
1919 |
processItem processId:aProcess id.
|
|
1920 |
processItem idVal:aProcess id ? -1.
|
|
1921 |
|
|
1922 |
processItem processGroup:(self getGroupStringFor:aProcess).
|
|
1923 |
processItem groupVal:(processItem processGroup isNumber ifTrue:[processItem processGroup] ifFalse:[-1]).
|
|
1924 |
|
|
1925 |
processItem processName:aProcess name ? ''.
|
|
1926 |
|
|
1927 |
running := (aProcess state == #run and:[aProcess == Processor interruptedProcess]).
|
|
1928 |
|
|
1929 |
processItem processState:(self getStateStringFor:aProcess running:running).
|
|
1930 |
|
|
1931 |
processItem prioVal:(aProcess priority).
|
|
1932 |
processItem processPrio:(self getPrioStringFor:aProcess).
|
|
1933 |
|
|
1934 |
processItem processUsedStack:aProcess usedStackSize.
|
|
1935 |
|
|
1936 |
processItem processTotalStack:(self getTotalStackStringFor:aProcess).
|
|
1937 |
|
|
1938 |
con := aProcess suspendedContext.
|
|
1939 |
con isNil ifTrue:[
|
|
1940 |
aProcess == Processor activeProcess ifTrue:[
|
|
1941 |
con := thisContext
|
|
1942 |
]
|
|
1943 |
].
|
|
1944 |
|
|
1945 |
processItem processCurrentSegment:(self getCurrentSegmentStringFor:con).
|
|
1946 |
|
4468
|
1947 |
processItem processSwitch:(aProcess numberOfStackBoundaryHits).
|
4463
|
1948 |
|
|
1949 |
processItem processWhere:(self getWhereStringFor:con running:running).
|
|
1950 |
|
|
1951 |
^ processItem
|
|
1952 |
!
|
|
1953 |
|
|
1954 |
startUpdateProcess
|
|
1955 |
updateBlock notNil ifTrue:[
|
|
1956 |
Processor addTimedBlock:updateBlock afterSeconds:updateDelay.
|
|
1957 |
Processor addTimedBlock:listUpdateBlock afterSeconds:listUpdateDelay.
|
|
1958 |
] ifFalse:[
|
|
1959 |
updateProcess := [
|
|
1960 |
[
|
|
1961 |
|id cnt myDelay|
|
|
1962 |
|
|
1963 |
myDelay := Delay forSeconds:updateDelay.
|
|
1964 |
|
|
1965 |
"
|
|
1966 |
every updateDelay (0.5), we look which process runs;
|
|
1967 |
every half second, the status is updated.
|
|
1968 |
every listUpdateDelay (5s), the list of processes is
|
|
1969 |
built up again
|
|
1970 |
"
|
|
1971 |
[true] whileTrue:[
|
|
1972 |
((listUpdateDelay // updateDelay) max:2) - 1 timesRepeat:[
|
|
1973 |
myDelay wait.
|
|
1974 |
self updateStatus:nil.
|
|
1975 |
].
|
|
1976 |
myDelay wait.
|
|
1977 |
self updateList.
|
|
1978 |
]
|
|
1979 |
] valueOnUnwindDo:[
|
|
1980 |
updateProcess := nil
|
|
1981 |
]
|
|
1982 |
] forkAt:(Processor userSchedulingPriority + 1).
|
|
1983 |
updateProcess name:'monitor [' ,
|
|
1984 |
Processor activeProcess id printString ,
|
|
1985 |
'] update'.
|
|
1986 |
"
|
|
1987 |
raise my own priority
|
|
1988 |
"
|
|
1989 |
Processor activeProcess priority:(Processor userSchedulingPriority + 2)
|
|
1990 |
].
|
|
1991 |
!
|
|
1992 |
|
|
1993 |
updateList
|
|
1994 |
|
|
1995 |
|newList|
|
|
1996 |
|
|
1997 |
processTable shown ifTrue:[
|
|
1998 |
newList := self getProcessList.
|
|
1999 |
|
|
2000 |
"sort by id - take care of nil ids of dead processes"
|
|
2001 |
newList sort:[:p1 :p2 |
|
|
2002 |
|id1 id2|
|
|
2003 |
|
|
2004 |
(p1 isNil or:[(id1 := p1 id) isNil])
|
|
2005 |
ifTrue:[true]
|
|
2006 |
ifFalse:[
|
|
2007 |
(p2 isNil or:[(id2 := p2 id) isNil])
|
|
2008 |
ifTrue:[false]
|
|
2009 |
ifFalse:[id1 < id2]
|
|
2010 |
]
|
|
2011 |
].
|
|
2012 |
newList ~= processes ifTrue:[
|
|
2013 |
self updateStatus:newList
|
|
2014 |
].
|
|
2015 |
].
|
|
2016 |
updateBlock notNil ifTrue:[
|
|
2017 |
Processor removeTimedBlock:listUpdateBlock.
|
|
2018 |
Processor addTimedBlock:listUpdateBlock afterSeconds:listUpdateDelay
|
|
2019 |
].
|
|
2020 |
!
|
|
2021 |
|
|
2022 |
updateStatus:newProcessList
|
|
2023 |
|
|
2024 |
|startTime oldSelection newSelection newList dIndex index aProcess processItem endTime deltaT|
|
|
2025 |
|
|
2026 |
startTime := AbsoluteTime now.
|
|
2027 |
|
|
2028 |
processTable shown ifTrue:[
|
|
2029 |
newProcessList notNil ifTrue:[
|
|
2030 |
processes := WeakArray withAll:newProcessList.
|
|
2031 |
((processes findFirst:[:pro1| pro1 id == 0]) ~= 0) ifTrue:[
|
|
2032 |
Transcript showCR:'have'.
|
|
2033 |
].
|
|
2034 |
].
|
|
2035 |
processes notNil ifTrue:[
|
|
2036 |
newList := OrderedCollection new.
|
|
2037 |
|
|
2038 |
dIndex := 1.
|
|
2039 |
index := 1.
|
|
2040 |
|
|
2041 |
"/ use while-loop;
|
|
2042 |
"/ processList may change size ....
|
|
2043 |
|
|
2044 |
[index <= processes size] whileTrue:[
|
|
2045 |
aProcess := processes at:index.
|
|
2046 |
index := index + 1.
|
|
2047 |
(aProcess notNil
|
|
2048 |
and:[aProcess ~~ 0]) ifTrue:[
|
|
2049 |
((aProcess id) notNil or:[self showDead value]) ifTrue:[
|
|
2050 |
processItem := self createItemWith:aProcess.
|
|
2051 |
(((newList select:[:pro2| (pro2 processInstance == processItem processInstance)]) size) > 0) ifTrue:[
|
|
2052 |
Transcript showCR:'process ', processItem processInstance name asString, ' already in list at ', index asString.
|
|
2053 |
].
|
|
2054 |
newList add:processItem.
|
|
2055 |
processes at:dIndex put:aProcess.
|
|
2056 |
]
|
|
2057 |
].
|
|
2058 |
dIndex := dIndex + 1
|
|
2059 |
]
|
|
2060 |
].
|
|
2061 |
updateSema critical:[
|
|
2062 |
oldSelection := self selectedProcesses value.
|
|
2063 |
newList sort:self sortBlock.
|
|
2064 |
processList contents:(newList asList).
|
|
2065 |
oldSelection notNil ifTrue:[
|
|
2066 |
newSelection := OrderedCollection new.
|
|
2067 |
oldSelection do:[:processItem |
|
|
2068 |
index := newList findFirst:[:anItem | (anItem processInstance == processItem processInstance)].
|
|
2069 |
index ~~ 0 ifTrue:[
|
|
2070 |
newSelection add:(newList at:index).
|
|
2071 |
].
|
|
2072 |
]
|
|
2073 |
].
|
|
2074 |
self selectedProcesses value:newSelection.
|
|
2075 |
]
|
|
2076 |
].
|
|
2077 |
endTime := AbsoluteTime now.
|
|
2078 |
deltaT := (endTime millisecondDeltaFrom:startTime) / 1000.0.
|
|
2079 |
"/ Transcript show:deltaT; show:' ' ; showCR:(updateDelay / 10.0).
|
|
2080 |
deltaT > (updateDelay / 5) ifTrue:[
|
|
2081 |
"/ the update took longer than 20% - make delay longer, to reduce cpu load.
|
|
2082 |
updateDelay := updateDelay * 2.
|
|
2083 |
"/ Transcript show:'+++ '; showCR:updateDelay.
|
|
2084 |
] ifFalse:[
|
|
2085 |
updateDelay > 0.5 ifTrue:[
|
|
2086 |
deltaT < (updateDelay / 20) ifTrue:[
|
|
2087 |
"/ the update took less than 5% - make delay smaller for better animation.
|
|
2088 |
updateDelay := (updateDelay / 2) max:0.5.
|
|
2089 |
"/ Transcript show:'--- ';showCR:updateDelay.
|
|
2090 |
].
|
|
2091 |
].
|
|
2092 |
].
|
|
2093 |
|
|
2094 |
updateBlock notNil ifTrue:[
|
|
2095 |
Processor removeTimedBlock:updateBlock.
|
|
2096 |
Processor addTimedBlock:updateBlock afterSeconds:updateDelay
|
|
2097 |
]
|
|
2098 |
!
|
|
2099 |
|
|
2100 |
updateView
|
|
2101 |
self updateList.
|
|
2102 |
self updateStatus:nil
|
|
2103 |
! !
|
|
2104 |
|
|
2105 |
!ProcessMonitorV2::ProcessItem methodsFor:'accessing'!
|
|
2106 |
|
|
2107 |
groupVal
|
|
2108 |
"return the value of the instance variable 'groupVal' (automatically generated)"
|
|
2109 |
|
|
2110 |
^ groupVal
|
|
2111 |
!
|
|
2112 |
|
|
2113 |
groupVal:something
|
|
2114 |
"set the value of the instance variable 'groupVal' (automatically generated)"
|
|
2115 |
|
|
2116 |
groupVal := something.
|
|
2117 |
!
|
|
2118 |
|
|
2119 |
idVal
|
|
2120 |
"return the value of the instance variable 'idVal' (automatically generated)"
|
|
2121 |
|
|
2122 |
^ idVal
|
|
2123 |
!
|
|
2124 |
|
|
2125 |
idVal:something
|
|
2126 |
"set the value of the instance variable 'idVal' (automatically generated)"
|
|
2127 |
|
|
2128 |
idVal := something.
|
|
2129 |
!
|
|
2130 |
|
|
2131 |
prioVal
|
|
2132 |
"return the value of the instance variable 'prioVal' (automatically generated)"
|
|
2133 |
|
|
2134 |
^ prioVal
|
|
2135 |
!
|
|
2136 |
|
|
2137 |
prioVal:something
|
|
2138 |
"set the value of the instance variable 'prioVal' (automatically generated)"
|
|
2139 |
|
|
2140 |
prioVal := something.
|
|
2141 |
!
|
|
2142 |
|
|
2143 |
processCurrentSegment
|
|
2144 |
"return the value of the instance variable 'processCurrentSegment' (automatically generated)"
|
|
2145 |
|
|
2146 |
^ processCurrentSegment
|
|
2147 |
!
|
|
2148 |
|
|
2149 |
processCurrentSegment:something
|
|
2150 |
"set the value of the instance variable 'processCurrentSegment' (automatically generated)"
|
|
2151 |
|
|
2152 |
processCurrentSegment := something.
|
|
2153 |
!
|
|
2154 |
|
|
2155 |
processGroup
|
|
2156 |
"return the value of the instance variable 'processGroup' (automatically generated)"
|
|
2157 |
|
|
2158 |
^ processGroup
|
|
2159 |
!
|
|
2160 |
|
|
2161 |
processGroup:something
|
|
2162 |
"set the value of the instance variable 'processGroup' (automatically generated)"
|
|
2163 |
|
|
2164 |
processGroup := something.
|
|
2165 |
!
|
|
2166 |
|
|
2167 |
processId
|
|
2168 |
"return the value of the instance variable 'processId' (automatically generated)"
|
|
2169 |
|
|
2170 |
^ processId
|
|
2171 |
!
|
|
2172 |
|
|
2173 |
processId:something
|
|
2174 |
"set the value of the instance variable 'processId' (automatically generated)"
|
|
2175 |
|
|
2176 |
processId := something.
|
|
2177 |
!
|
|
2178 |
|
|
2179 |
processInstance
|
|
2180 |
"return the value of the instance variable 'processInstance' (automatically generated)"
|
|
2181 |
|
|
2182 |
^ processInstance
|
|
2183 |
!
|
|
2184 |
|
|
2185 |
processInstance:something
|
|
2186 |
"set the value of the instance variable 'processInstance' (automatically generated)"
|
|
2187 |
|
|
2188 |
processInstance := something.
|
|
2189 |
!
|
|
2190 |
|
|
2191 |
processName
|
|
2192 |
"return the value of the instance variable 'processName' (automatically generated)"
|
|
2193 |
|
|
2194 |
^ processName
|
|
2195 |
!
|
|
2196 |
|
|
2197 |
processName:something
|
|
2198 |
"set the value of the instance variable 'processName' (automatically generated)"
|
|
2199 |
|
|
2200 |
processName := something.
|
|
2201 |
!
|
|
2202 |
|
|
2203 |
processPrio
|
|
2204 |
"return the value of the instance variable 'processPrio' (automatically generated)"
|
|
2205 |
|
|
2206 |
^ processPrio
|
|
2207 |
!
|
|
2208 |
|
|
2209 |
processPrio:something
|
|
2210 |
"set the value of the instance variable 'processPrio' (automatically generated)"
|
|
2211 |
|
|
2212 |
processPrio := something.
|
|
2213 |
!
|
|
2214 |
|
|
2215 |
processState
|
|
2216 |
"return the value of the instance variable 'processState' (automatically generated)"
|
|
2217 |
|
|
2218 |
^ processState
|
|
2219 |
!
|
|
2220 |
|
|
2221 |
processState:something
|
|
2222 |
"set the value of the instance variable 'processState' (automatically generated)"
|
|
2223 |
|
|
2224 |
processState := something.
|
|
2225 |
!
|
|
2226 |
|
|
2227 |
processSwitch
|
|
2228 |
"return the value of the instance variable 'processSwitch' (automatically generated)"
|
|
2229 |
|
|
2230 |
^ processSwitch
|
|
2231 |
!
|
|
2232 |
|
|
2233 |
processSwitch:something
|
|
2234 |
"set the value of the instance variable 'processSwitch' (automatically generated)"
|
|
2235 |
|
|
2236 |
processSwitch := something.
|
|
2237 |
!
|
|
2238 |
|
|
2239 |
processTotalStack
|
|
2240 |
"return the value of the instance variable 'processTotalStack' (automatically generated)"
|
|
2241 |
|
|
2242 |
^ processTotalStack
|
|
2243 |
!
|
|
2244 |
|
|
2245 |
processTotalStack:something
|
|
2246 |
"set the value of the instance variable 'processTotalStack' (automatically generated)"
|
|
2247 |
|
|
2248 |
processTotalStack := something.
|
|
2249 |
!
|
|
2250 |
|
|
2251 |
processUsedStack
|
|
2252 |
"return the value of the instance variable 'processUsedStack' (automatically generated)"
|
|
2253 |
|
|
2254 |
^ processUsedStack
|
|
2255 |
!
|
|
2256 |
|
|
2257 |
processUsedStack:something
|
|
2258 |
"set the value of the instance variable 'processUsedStack' (automatically generated)"
|
|
2259 |
|
|
2260 |
processUsedStack := something.
|
|
2261 |
!
|
|
2262 |
|
|
2263 |
processWhere
|
|
2264 |
"return the value of the instance variable 'processWhere' (automatically generated)"
|
|
2265 |
|
|
2266 |
^ processWhere
|
|
2267 |
!
|
|
2268 |
|
|
2269 |
processWhere:something
|
|
2270 |
"set the value of the instance variable 'processWhere' (automatically generated)"
|
|
2271 |
|
|
2272 |
processWhere := something.
|
|
2273 |
! !
|
|
2274 |
|
|
2275 |
!ProcessMonitorV2 class methodsFor:'documentation'!
|
|
2276 |
|
|
2277 |
version
|
4468
|
2278 |
^ '$Header: /cvs/stx/stx/libtool/ProcessMonitorV2.st,v 1.2 2003-01-23 12:22:29 penk Exp $'
|
4463
|
2279 |
! !
|