2181
|
1 |
"{ Package: 'stx:libtool2' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Tools }"
|
|
4 |
|
2184
|
5 |
ToolApplicationModel subclass:#ObjectModuleInformation
|
|
6 |
instanceVariableNames:'readOnly listOfModuleNames selectedModuleIndexHolder allModules
|
2183
|
7 |
objectHandles showOthers showCObjects showBuiltIn showMethods
|
2253
|
8 |
showClassLibs table1VisibleHolder table2VisibleHolder
|
|
9 |
selectedInfoIndexHolder canBrowseSelectedModule
|
|
10 |
canUnloadSelectedModule classNamesShown classInfoShown
|
|
11 |
vmInfoShown'
|
2181
|
12 |
classVariableNames:''
|
|
13 |
poolDictionaries:''
|
|
14 |
category:'Monitors-ST/X'
|
|
15 |
!
|
|
16 |
|
|
17 |
Object subclass:#InfoRow
|
2183
|
18 |
instanceVariableNames:'name version date value'
|
2181
|
19 |
classVariableNames:''
|
|
20 |
poolDictionaries:''
|
|
21 |
privateIn:ObjectModuleInformation
|
|
22 |
!
|
|
23 |
|
|
24 |
!ObjectModuleInformation class methodsFor:'documentation'!
|
|
25 |
|
|
26 |
documentation
|
|
27 |
"
|
|
28 |
Shows the modules (dll's) of ST/X.
|
|
29 |
Both builtIn modules, and dynamically loaded modules are listed.
|
|
30 |
|
|
31 |
[author:]
|
2253
|
32 |
Claus Gittinger
|
2181
|
33 |
"
|
|
34 |
!
|
|
35 |
|
|
36 |
examples
|
|
37 |
"
|
|
38 |
Starting the application:
|
|
39 |
[exBegin]
|
|
40 |
ObjectModuleInformation open
|
|
41 |
|
|
42 |
[exEnd]
|
|
43 |
"
|
|
44 |
! !
|
|
45 |
|
|
46 |
!ObjectModuleInformation class methodsFor:'info'!
|
|
47 |
|
|
48 |
defaultLabel
|
2183
|
49 |
^ 'Object Module Info'
|
2181
|
50 |
|
|
51 |
"Created: / 05-10-2007 / 11:56:59 / cg"
|
|
52 |
! !
|
|
53 |
|
|
54 |
!ObjectModuleInformation class methodsFor:'interface specs'!
|
|
55 |
|
|
56 |
windowSpec
|
|
57 |
"This resource specification was automatically generated
|
|
58 |
by the UIPainter of ST/X."
|
|
59 |
|
|
60 |
"Do not manually edit this!! If it is corrupted,
|
|
61 |
the UIPainter may not be able to read the specification."
|
|
62 |
|
|
63 |
"
|
2183
|
64 |
UIPainter new openOnClass:Tools::ObjectModuleInformation andSelector:#windowSpec
|
|
65 |
Tools::ObjectModuleInformation new openInterface:#windowSpec
|
|
66 |
Tools::ObjectModuleInformation open
|
2181
|
67 |
"
|
|
68 |
|
|
69 |
<resource: #canvas>
|
|
70 |
|
|
71 |
^
|
|
72 |
#(FullSpec
|
|
73 |
name: windowSpec
|
|
74 |
window:
|
|
75 |
(WindowSpec
|
|
76 |
label: 'ST/X Module & Version Information'
|
|
77 |
name: 'ST/X Module & Version Information'
|
|
78 |
min: (Point 0 0)
|
|
79 |
bounds: (Rectangle 0 0 505 567)
|
|
80 |
menu: mainMenu
|
|
81 |
)
|
|
82 |
component:
|
|
83 |
(SpecCollection
|
|
84 |
collection: (
|
|
85 |
(MenuPanelSpec
|
|
86 |
name: 'ToolBar1'
|
|
87 |
layout: (LayoutFrame 0 0 0 0 0 1 30 0)
|
|
88 |
menu: toolbarMenu
|
|
89 |
textDefault: true
|
|
90 |
)
|
|
91 |
(VariableVerticalPanelSpec
|
|
92 |
name: 'VariableVerticalPanel1'
|
|
93 |
layout: (LayoutFrame 0 0 30 0 0 1 0 1)
|
|
94 |
component:
|
|
95 |
(SpecCollection
|
|
96 |
collection: (
|
|
97 |
(SequenceViewSpec
|
|
98 |
name: 'List1'
|
|
99 |
model: selectedModuleIndexHolder
|
2253
|
100 |
menu: moduleMenu
|
2181
|
101 |
hasHorizontalScrollBar: true
|
|
102 |
hasVerticalScrollBar: true
|
|
103 |
useIndex: true
|
|
104 |
sequenceList: listOfModuleNames
|
|
105 |
)
|
|
106 |
(ViewSpec
|
|
107 |
name: 'Box1'
|
|
108 |
component:
|
|
109 |
(SpecCollection
|
|
110 |
collection: (
|
|
111 |
(LabelSpec
|
|
112 |
name: 'Label1'
|
|
113 |
layout: (LayoutFrame 0 0 0 0 0 1 30 0)
|
|
114 |
translateLabel: true
|
|
115 |
labelChannel: middleLabelHolder
|
|
116 |
adjust: left
|
|
117 |
)
|
|
118 |
(DataSetSpec
|
|
119 |
name: 'Table1'
|
|
120 |
layout: (LayoutFrame 0 0 30 0 0 1 0 1)
|
2183
|
121 |
visibilityChannel: table1VisibleHolder
|
2181
|
122 |
model: selectedInfoIndexHolder
|
2253
|
123 |
menu: moduleItemMenu
|
2181
|
124 |
hasHorizontalScrollBar: true
|
|
125 |
hasVerticalScrollBar: true
|
2183
|
126 |
dataList: infoTable1ListHolder
|
2181
|
127 |
columnHolder: tableColumns
|
|
128 |
separatorOneDColor: (Color 66.999313344015 66.999313344015 66.999313344015)
|
|
129 |
)
|
2183
|
130 |
(DataSetSpec
|
|
131 |
name: 'Table2'
|
|
132 |
layout: (LayoutFrame 0 0 30 0 0 1 0 1)
|
|
133 |
initiallyInvisible: true
|
|
134 |
visibilityChannel: table2VisibleHolder
|
|
135 |
model: selectedInfoIndexHolder
|
|
136 |
hasHorizontalScrollBar: true
|
|
137 |
hasVerticalScrollBar: true
|
|
138 |
dataList: infoTable2ListHolder
|
|
139 |
columnHolder: tableColumnsForSingleInfo
|
|
140 |
separatorOneDColor: (Color 66.999313344015 66.999313344015 66.999313344015)
|
|
141 |
)
|
2181
|
142 |
)
|
|
143 |
|
|
144 |
)
|
|
145 |
)
|
|
146 |
)
|
|
147 |
|
|
148 |
)
|
|
149 |
handles: (Any 0.35195530726257 1.0)
|
|
150 |
)
|
|
151 |
)
|
|
152 |
|
|
153 |
)
|
|
154 |
)
|
|
155 |
! !
|
|
156 |
|
|
157 |
!ObjectModuleInformation class methodsFor:'menu specs'!
|
|
158 |
|
|
159 |
mainMenu
|
|
160 |
"This resource specification was automatically generated
|
|
161 |
by the MenuEditor of ST/X."
|
|
162 |
|
|
163 |
"Do not manually edit this!! If it is corrupted,
|
|
164 |
the MenuEditor may not be able to read the specification."
|
|
165 |
|
|
166 |
"
|
2183
|
167 |
MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#mainMenu
|
|
168 |
(Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation mainMenu)) startUp
|
2181
|
169 |
"
|
|
170 |
|
|
171 |
<resource: #menu>
|
|
172 |
|
|
173 |
^
|
|
174 |
#(Menu
|
|
175 |
(
|
|
176 |
(MenuItem
|
|
177 |
label: 'File'
|
|
178 |
translateLabel: true
|
|
179 |
submenu:
|
|
180 |
(Menu
|
|
181 |
(
|
|
182 |
(MenuItem
|
|
183 |
label: 'Exit'
|
|
184 |
itemValue: closeRequest
|
|
185 |
translateLabel: true
|
|
186 |
)
|
|
187 |
)
|
|
188 |
nil
|
|
189 |
nil
|
|
190 |
)
|
|
191 |
)
|
|
192 |
(MenuItem
|
|
193 |
label: 'View'
|
|
194 |
translateLabel: true
|
|
195 |
submenu:
|
|
196 |
(Menu
|
|
197 |
(
|
|
198 |
(MenuItem
|
|
199 |
label: 'Builtin'
|
|
200 |
translateLabel: true
|
2183
|
201 |
hideMenuOnActivated: false
|
2181
|
202 |
indication: showBuiltIn
|
|
203 |
)
|
|
204 |
(MenuItem
|
|
205 |
label: 'Class Libraries'
|
|
206 |
translateLabel: true
|
2183
|
207 |
hideMenuOnActivated: false
|
2181
|
208 |
indication: showClassLibs
|
|
209 |
)
|
|
210 |
(MenuItem
|
|
211 |
label: 'Methods'
|
|
212 |
translateLabel: true
|
2183
|
213 |
hideMenuOnActivated: false
|
2181
|
214 |
indication: showMethods
|
|
215 |
)
|
|
216 |
(MenuItem
|
|
217 |
label: 'C-Objects'
|
|
218 |
translateLabel: true
|
2183
|
219 |
hideMenuOnActivated: false
|
2181
|
220 |
indication: showCObjects
|
|
221 |
)
|
|
222 |
(MenuItem
|
|
223 |
label: 'Others'
|
|
224 |
translateLabel: true
|
2183
|
225 |
hideMenuOnActivated: false
|
2181
|
226 |
indication: showOthers
|
|
227 |
)
|
|
228 |
)
|
|
229 |
nil
|
|
230 |
nil
|
|
231 |
)
|
|
232 |
)
|
|
233 |
(MenuItem
|
|
234 |
label: 'Module'
|
|
235 |
translateLabel: true
|
|
236 |
submenu:
|
|
237 |
(Menu
|
|
238 |
(
|
2253
|
239 |
(MenuItem
|
|
240 |
enabled: canBrowseSelectedModule
|
|
241 |
label: 'Browse'
|
|
242 |
itemValue: browseModule
|
|
243 |
translateLabel: true
|
|
244 |
)
|
|
245 |
(MenuItem
|
|
246 |
enabled: canCopyClassNameList
|
|
247 |
label: 'Copy Version Info to Clipboard'
|
|
248 |
itemValue: copyClassOrVMNameList
|
|
249 |
translateLabel: true
|
|
250 |
)
|
2181
|
251 |
(MenuItem
|
2253
|
252 |
label: '-'
|
|
253 |
)
|
|
254 |
(MenuItem
|
|
255 |
enabled: canUnloadSelectedModule
|
2181
|
256 |
label: 'Unload'
|
|
257 |
translateLabel: true
|
2253
|
258 |
itemValue: unloadSelectedModule
|
2181
|
259 |
)
|
2253
|
260 |
(MenuItem
|
|
261 |
enabled: canUnloadSelectedModule
|
|
262 |
label: 'Remove Classes && Unload'
|
|
263 |
itemValue: unloadSelectedModuleAndRemoveClasses
|
|
264 |
translateLabel: true
|
|
265 |
)
|
2181
|
266 |
)
|
|
267 |
nil
|
|
268 |
nil
|
|
269 |
)
|
|
270 |
)
|
|
271 |
(MenuItem
|
|
272 |
label: 'Help'
|
|
273 |
translateLabel: true
|
|
274 |
startGroup: conditionalRight
|
|
275 |
submenu:
|
|
276 |
(Menu
|
|
277 |
(
|
|
278 |
(MenuItem
|
|
279 |
label: 'Documentation'
|
|
280 |
itemValue: openDocumentation
|
|
281 |
translateLabel: true
|
|
282 |
)
|
|
283 |
(MenuItem
|
|
284 |
label: '-'
|
|
285 |
)
|
|
286 |
(MenuItem
|
|
287 |
label: 'About this Application...'
|
|
288 |
itemValue: openAboutThisApplication
|
|
289 |
translateLabel: true
|
|
290 |
)
|
|
291 |
)
|
|
292 |
nil
|
|
293 |
nil
|
|
294 |
)
|
|
295 |
)
|
|
296 |
)
|
|
297 |
nil
|
|
298 |
nil
|
|
299 |
)
|
2253
|
300 |
!
|
|
301 |
|
|
302 |
moduleItemMenu
|
|
303 |
"This resource specification was automatically generated
|
|
304 |
by the MenuEditor of ST/X."
|
|
305 |
|
|
306 |
"Do not manually edit this!! If it is corrupted,
|
|
307 |
the MenuEditor may not be able to read the specification."
|
|
308 |
|
|
309 |
"
|
|
310 |
MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#moduleItemMenu
|
|
311 |
(Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation moduleItemMenu)) startUp
|
|
312 |
"
|
|
313 |
|
|
314 |
<resource: #menu>
|
|
315 |
|
|
316 |
^
|
|
317 |
#(Menu
|
|
318 |
(
|
|
319 |
(MenuItem
|
|
320 |
enabled: canBrowseSelectedClass
|
|
321 |
label: 'Browse'
|
|
322 |
itemValue: browseClass
|
|
323 |
translateLabel: true
|
|
324 |
)
|
|
325 |
(MenuItem
|
|
326 |
label: '-'
|
|
327 |
)
|
|
328 |
(MenuItem
|
|
329 |
enabled: canCopyClassNameList
|
|
330 |
label: 'Copy Version Info to Clipboard'
|
|
331 |
itemValue: copyClassOrVMNameList
|
|
332 |
translateLabel: true
|
|
333 |
)
|
|
334 |
)
|
|
335 |
nil
|
|
336 |
nil
|
|
337 |
)
|
|
338 |
!
|
|
339 |
|
|
340 |
moduleMenu
|
|
341 |
"This resource specification was automatically generated
|
|
342 |
by the MenuEditor of ST/X."
|
|
343 |
|
|
344 |
"Do not manually edit this!! If it is corrupted,
|
|
345 |
the MenuEditor may not be able to read the specification."
|
|
346 |
|
|
347 |
"
|
|
348 |
MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#moduleMenu
|
|
349 |
(Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation moduleMenu)) startUp
|
|
350 |
"
|
|
351 |
|
|
352 |
<resource: #menu>
|
|
353 |
|
|
354 |
^
|
|
355 |
#(Menu
|
|
356 |
(
|
|
357 |
(MenuItem
|
|
358 |
enabled: canBrowseSelectedModule
|
|
359 |
label: 'Browse'
|
|
360 |
itemValue: browseModule
|
|
361 |
translateLabel: true
|
|
362 |
)
|
|
363 |
(MenuItem
|
|
364 |
enabled: canCopyClassNameList
|
|
365 |
label: 'Copy Version Info to Clipboard'
|
|
366 |
itemValue: copyClassOrVMNameList
|
|
367 |
translateLabel: true
|
|
368 |
)
|
|
369 |
(MenuItem
|
|
370 |
label: '-'
|
|
371 |
)
|
|
372 |
(MenuItem
|
|
373 |
enabled: canUnloadSelectedModule
|
|
374 |
label: 'Remove Classes && Unload'
|
|
375 |
itemValue: unloadSelectedModuleAndRemoveClasses
|
|
376 |
translateLabel: true
|
|
377 |
)
|
|
378 |
(MenuItem
|
|
379 |
enabled: canUnloadSelectedModule
|
|
380 |
label: 'Unload'
|
|
381 |
itemValue: unloadSelectedModule
|
|
382 |
translateLabel: true
|
|
383 |
)
|
|
384 |
)
|
|
385 |
nil
|
|
386 |
nil
|
|
387 |
)
|
2181
|
388 |
! !
|
|
389 |
|
|
390 |
!ObjectModuleInformation class methodsFor:'tableColumns specs'!
|
|
391 |
|
|
392 |
tableColumns
|
|
393 |
"This resource specification was automatically generated
|
|
394 |
by the DataSetBuilder of ST/X."
|
|
395 |
|
|
396 |
"Do not manually edit this!! If it is corrupted,
|
|
397 |
the DataSetBuilder may not be able to read the specification."
|
|
398 |
|
|
399 |
"
|
|
400 |
DataSetBuilder new openOnClass:ObjectModuleInformation andSelector:#tableColumns
|
|
401 |
"
|
|
402 |
|
|
403 |
<resource: #tableColumns>
|
|
404 |
|
|
405 |
^#(
|
|
406 |
(DataSetColumnSpec
|
|
407 |
label: 'Name'
|
|
408 |
activeHelpKey: ''
|
|
409 |
labelButtonType: Button
|
|
410 |
width: 0.5
|
|
411 |
model: name
|
|
412 |
canSelect: false
|
|
413 |
)
|
|
414 |
(DataSetColumnSpec
|
|
415 |
label: 'Version'
|
|
416 |
activeHelpKey: ''
|
|
417 |
labelButtonType: Button
|
|
418 |
model: version
|
|
419 |
canSelect: false
|
|
420 |
)
|
|
421 |
(DataSetColumnSpec
|
|
422 |
label: 'Date'
|
|
423 |
activeHelpKey: ''
|
|
424 |
labelButtonType: Button
|
|
425 |
model: date
|
|
426 |
canSelect: false
|
|
427 |
)
|
|
428 |
)
|
|
429 |
|
2183
|
430 |
!
|
|
431 |
|
|
432 |
tableColumnsForSingleInfo
|
|
433 |
"This resource specification was automatically generated
|
|
434 |
by the DataSetBuilder of ST/X."
|
|
435 |
|
|
436 |
"Do not manually edit this!! If it is corrupted,
|
|
437 |
the DataSetBuilder may not be able to read the specification."
|
|
438 |
|
|
439 |
"
|
|
440 |
DataSetBuilder new openOnClass:Tools::ObjectModuleInformation andSelector:#tableColumnsForSingleInfo
|
|
441 |
"
|
|
442 |
|
|
443 |
<resource: #tableColumns>
|
|
444 |
|
|
445 |
^#(
|
|
446 |
(DataSetColumnSpec
|
|
447 |
label: ''
|
|
448 |
activeHelpKey: ''
|
|
449 |
labelButtonType: None
|
|
450 |
width: 0.3
|
|
451 |
model: name
|
|
452 |
canSelect: false
|
|
453 |
)
|
|
454 |
(DataSetColumnSpec
|
|
455 |
label: ''
|
|
456 |
activeHelpKey: ''
|
|
457 |
labelButtonType: None
|
|
458 |
model: value
|
|
459 |
canSelect: false
|
|
460 |
)
|
|
461 |
)
|
|
462 |
|
2181
|
463 |
! !
|
|
464 |
|
|
465 |
!ObjectModuleInformation methodsFor:'aspects'!
|
|
466 |
|
2253
|
467 |
canBrowseSelectedClass
|
|
468 |
^ [classNamesShown notEmptyOrNil
|
|
469 |
and:[ self selectedInfoIndex notNil
|
|
470 |
and:[ self selectedInfoIndex ~~ 0 ]]]
|
|
471 |
|
|
472 |
"Modified: / 05-10-2007 / 10:51:39 / cg"
|
|
473 |
!
|
|
474 |
|
|
475 |
canBrowseSelectedModule
|
|
476 |
canBrowseSelectedModule isNil ifTrue:[
|
|
477 |
canBrowseSelectedModule := false asValue
|
|
478 |
].
|
|
479 |
^ canBrowseSelectedModule.
|
|
480 |
|
|
481 |
"Modified: / 05-10-2007 / 10:51:39 / cg"
|
|
482 |
!
|
|
483 |
|
|
484 |
canCopyClassNameList
|
|
485 |
^ [table1VisibleHolder value
|
|
486 |
and:[classInfoShown notEmptyOrNil or:[vmInfoShown notEmptyOrNil] ]]
|
|
487 |
|
|
488 |
"Modified: / 05-10-2007 / 10:51:39 / cg"
|
|
489 |
!
|
|
490 |
|
|
491 |
canUnloadSelectedModule
|
|
492 |
canUnloadSelectedModule isNil ifTrue:[
|
|
493 |
canUnloadSelectedModule := false asValue
|
|
494 |
].
|
|
495 |
^ canUnloadSelectedModule.
|
|
496 |
|
|
497 |
"Modified: / 05-10-2007 / 10:51:39 / cg"
|
|
498 |
!
|
|
499 |
|
2183
|
500 |
infoTable1ListHolder
|
|
501 |
^ builder valueAspectFor:#'infoTable1ListHolder' initialValue:#()
|
2181
|
502 |
|
2183
|
503 |
"Created: / 05-10-2007 / 12:48:06 / cg"
|
|
504 |
!
|
|
505 |
|
|
506 |
infoTable2ListHolder
|
|
507 |
^ builder valueAspectFor:#'infoTable2ListHolder' initialValue:#()
|
|
508 |
|
|
509 |
"Created: / 05-10-2007 / 12:48:10 / cg"
|
2181
|
510 |
!
|
|
511 |
|
|
512 |
listOfModuleNames
|
|
513 |
listOfModuleNames isNil ifTrue:[
|
|
514 |
listOfModuleNames := List new.
|
|
515 |
].
|
|
516 |
^ listOfModuleNames.
|
|
517 |
|
|
518 |
"Modified: / 05-10-2007 / 10:49:19 / cg"
|
|
519 |
!
|
|
520 |
|
|
521 |
middleLabelHolder
|
|
522 |
^ builder valueAspectFor:#'middleLabelHolder' initialValue:''
|
|
523 |
|
|
524 |
"Created: / 05-10-2007 / 11:05:08 / cg"
|
|
525 |
!
|
|
526 |
|
2184
|
527 |
notReadOnly
|
|
528 |
^ self readOnly not
|
|
529 |
|
|
530 |
"Created: / 05-10-2007 / 13:06:00 / cg"
|
|
531 |
!
|
|
532 |
|
|
533 |
readOnly
|
|
534 |
^ readOnly ? false
|
|
535 |
|
|
536 |
"Created: / 05-10-2007 / 13:05:51 / cg"
|
|
537 |
!
|
|
538 |
|
2253
|
539 |
readOnly:aBoolean
|
|
540 |
readOnly := aBoolean
|
|
541 |
|
|
542 |
"Created: / 05-10-2007 / 13:05:51 / cg"
|
|
543 |
!
|
|
544 |
|
|
545 |
selectedInfoIndex
|
|
546 |
|sel|
|
|
547 |
|
|
548 |
sel := self selectedInfoIndexHolder value.
|
|
549 |
^ sel
|
|
550 |
!
|
|
551 |
|
|
552 |
selectedInfoIndexHolder
|
|
553 |
selectedInfoIndexHolder isNil ifTrue:[
|
|
554 |
selectedInfoIndexHolder := ValueHolder new.
|
|
555 |
selectedInfoIndexHolder onChangeSend:#selectedInfoIndexChanged to:self.
|
|
556 |
].
|
|
557 |
^ selectedInfoIndexHolder.
|
|
558 |
|
|
559 |
"Modified: / 05-10-2007 / 10:51:39 / cg"
|
|
560 |
!
|
|
561 |
|
|
562 |
selectedModuleIndex
|
|
563 |
|sel|
|
|
564 |
|
|
565 |
sel := self selectedModuleIndexHolder value.
|
|
566 |
^ sel
|
|
567 |
!
|
|
568 |
|
2181
|
569 |
selectedModuleIndexHolder
|
|
570 |
selectedModuleIndexHolder isNil ifTrue:[
|
|
571 |
selectedModuleIndexHolder := ValueHolder new.
|
|
572 |
selectedModuleIndexHolder onChangeSend:#selectedModuleIndexChanged to:self.
|
|
573 |
].
|
|
574 |
^ selectedModuleIndexHolder.
|
|
575 |
|
|
576 |
"Modified: / 05-10-2007 / 10:51:39 / cg"
|
|
577 |
!
|
|
578 |
|
|
579 |
showBuiltIn
|
2183
|
580 |
showBuiltIn isNil ifTrue:[
|
|
581 |
showBuiltIn := true asValue.
|
|
582 |
showBuiltIn onChangeSend:#filterChanged to:self.
|
|
583 |
].
|
|
584 |
^ showBuiltIn
|
2181
|
585 |
|
2183
|
586 |
"Modified: / 05-10-2007 / 12:43:23 / cg"
|
2181
|
587 |
!
|
|
588 |
|
|
589 |
showCObjects
|
2183
|
590 |
showCObjects isNil ifTrue:[
|
|
591 |
showCObjects := true asValue.
|
|
592 |
showCObjects onChangeSend:#filterChanged to:self.
|
|
593 |
].
|
|
594 |
^ showCObjects
|
2181
|
595 |
|
2183
|
596 |
"Modified: / 05-10-2007 / 12:43:16 / cg"
|
2181
|
597 |
!
|
|
598 |
|
|
599 |
showClassLibs
|
2183
|
600 |
showClassLibs isNil ifTrue:[
|
|
601 |
showClassLibs := true asValue.
|
|
602 |
showClassLibs onChangeSend:#filterChanged to:self.
|
|
603 |
].
|
|
604 |
^ showClassLibs
|
2181
|
605 |
|
2183
|
606 |
"Modified: / 05-10-2007 / 12:43:10 / cg"
|
2181
|
607 |
!
|
|
608 |
|
|
609 |
showMethods
|
2183
|
610 |
showMethods isNil ifTrue:[
|
|
611 |
showMethods := true asValue.
|
|
612 |
showMethods onChangeSend:#filterChanged to:self.
|
|
613 |
].
|
|
614 |
^ showMethods
|
2181
|
615 |
|
2183
|
616 |
"Modified: / 05-10-2007 / 12:43:02 / cg"
|
2181
|
617 |
!
|
|
618 |
|
|
619 |
showOthers
|
2183
|
620 |
showOthers isNil ifTrue:[
|
|
621 |
showOthers := true asValue.
|
|
622 |
showOthers onChangeSend:#filterChanged to:self.
|
|
623 |
].
|
|
624 |
^ showOthers
|
|
625 |
|
|
626 |
"Modified: / 05-10-2007 / 12:42:54 / cg"
|
|
627 |
!
|
2181
|
628 |
|
2183
|
629 |
table1VisibleHolder
|
|
630 |
table1VisibleHolder isNil ifTrue:[
|
|
631 |
table1VisibleHolder := true asValue.
|
|
632 |
].
|
|
633 |
^ table1VisibleHolder.
|
|
634 |
|
|
635 |
"Modified: / 05-10-2007 / 12:53:05 / cg"
|
|
636 |
!
|
|
637 |
|
|
638 |
table2VisibleHolder
|
|
639 |
table2VisibleHolder isNil ifTrue:[
|
|
640 |
table2VisibleHolder := false asValue.
|
|
641 |
].
|
|
642 |
^ table2VisibleHolder.
|
|
643 |
|
|
644 |
"Modified: / 05-10-2007 / 12:53:14 / cg"
|
2181
|
645 |
! !
|
|
646 |
|
|
647 |
!ObjectModuleInformation methodsFor:'change & update'!
|
|
648 |
|
2253
|
649 |
selectedInfoIndexChanged
|
|
650 |
!
|
|
651 |
|
|
652 |
selectedModule
|
|
653 |
|sel|
|
|
654 |
|
|
655 |
sel := self selectedModuleIndex.
|
|
656 |
sel isNil ifTrue:[^ nil].
|
|
657 |
^ objectHandles at:sel.
|
|
658 |
!
|
2181
|
659 |
|
2253
|
660 |
selectedModuleIndexChanged
|
|
661 |
|module info|
|
|
662 |
|
|
663 |
info := self selectedModuleInfo.
|
|
664 |
module := self selectedModule.
|
|
665 |
|
|
666 |
self canBrowseSelectedModule value:(info notNil and:[info ~~ #VM and:[module notNil]]).
|
|
667 |
self canUnloadSelectedModule value:(self readOnly not and:[info ~~ #VM and:[module notNil and:[module dynamic]]]).
|
|
668 |
|
|
669 |
classNamesShown := nil.
|
|
670 |
classInfoShown := nil.
|
|
671 |
vmInfoShown := nil.
|
2181
|
672 |
|
|
673 |
info isNil ifTrue:[
|
|
674 |
"/ selected a method, cObject or unknown
|
2253
|
675 |
self showInfoForNonClassLib:(self selectedModuleIndex).
|
2181
|
676 |
^ self.
|
|
677 |
].
|
|
678 |
info == #VM ifTrue:[
|
|
679 |
"/ selected the pseudo entry for the VM itself
|
|
680 |
self showInfoForVM.
|
|
681 |
^ self.
|
|
682 |
].
|
|
683 |
"/ selected a class-library package
|
|
684 |
self showInfoForClassLib:info.
|
|
685 |
|
2183
|
686 |
"Modified: / 05-10-2007 / 12:56:13 / cg"
|
2181
|
687 |
!
|
|
688 |
|
2253
|
689 |
selectedModuleInfo
|
|
690 |
|sel info|
|
|
691 |
|
|
692 |
sel := self selectedModuleIndex.
|
|
693 |
sel notNil ifTrue:[
|
|
694 |
(self showClassLibs value or:[self showBuiltIn value]) ifTrue:[
|
|
695 |
info := allModules at:sel ifAbsent:nil.
|
|
696 |
].
|
|
697 |
].
|
|
698 |
^ info
|
|
699 |
!
|
|
700 |
|
2181
|
701 |
showInfoForClassLib:info
|
|
702 |
"/ selected a package; fill bottom list with class-info
|
|
703 |
|
2183
|
704 |
|classNames rows|
|
2181
|
705 |
|
|
706 |
self middleLabelHolder value:'Contains Modules:'.
|
|
707 |
|
|
708 |
classNames := info classNames asSortedCollection.
|
|
709 |
classNames := classNames select:[:cName |
|
|
710 |
|cls|
|
|
711 |
|
|
712 |
cls := Smalltalk classNamed:cName.
|
|
713 |
cls isNil ifTrue:[
|
|
714 |
true "a removed class"
|
|
715 |
] ifFalse:[
|
|
716 |
cls isPrivate not
|
|
717 |
].
|
|
718 |
].
|
|
719 |
|
2253
|
720 |
classNamesShown := classNames.
|
|
721 |
|
2183
|
722 |
rows := classNames collect:[:cName |
|
2181
|
723 |
|cls entry rev listEntry revisionInfo|
|
|
724 |
|
|
725 |
listEntry := InfoRow new.
|
|
726 |
listEntry name:cName.
|
|
727 |
|
|
728 |
cls := Smalltalk classNamed:cName.
|
|
729 |
cls isNil ifTrue:[
|
2183
|
730 |
(cName endsWith:'_extensions') ifFalse:[
|
|
731 |
listEntry version:'(class removed)'.
|
|
732 |
]
|
2181
|
733 |
] ifFalse:[
|
|
734 |
rev := cls binaryRevision.
|
|
735 |
rev notNil ifTrue:[
|
|
736 |
cls isLoaded ifFalse:[
|
|
737 |
entry := '(stub for: ' , rev.
|
|
738 |
] ifTrue:[
|
|
739 |
entry :='(bin: ' , rev.
|
|
740 |
].
|
|
741 |
cls revision ~= rev ifTrue:[
|
|
742 |
entry := entry , ' / src: ' , (cls revision printString)
|
|
743 |
].
|
|
744 |
entry := entry , ')'.
|
|
745 |
listEntry version:entry
|
|
746 |
] ifFalse:[
|
|
747 |
cls revision notNil ifTrue:[
|
|
748 |
listEntry version:'(overloaded by: ' , cls revision , ')'
|
|
749 |
]
|
|
750 |
].
|
|
751 |
revisionInfo := cls revisionInfo.
|
|
752 |
revisionInfo notNil ifTrue:[
|
|
753 |
listEntry date:(revisionInfo at:#date)
|
|
754 |
].
|
|
755 |
].
|
|
756 |
listEntry
|
|
757 |
].
|
|
758 |
|
2253
|
759 |
classInfoShown := rows.
|
|
760 |
|
2183
|
761 |
self infoTable1ListHolder value:rows.
|
|
762 |
self table1VisibleHolder value:true.
|
|
763 |
self table2VisibleHolder value:false.
|
2181
|
764 |
|
2183
|
765 |
"Modified: / 05-10-2007 / 13:03:56 / cg"
|
2181
|
766 |
!
|
|
767 |
|
|
768 |
showInfoForNonClassLib:sel
|
|
769 |
"/ selected a method, cObject or unknown
|
|
770 |
|
2183
|
771 |
|module fileName list entry|
|
2181
|
772 |
|
2253
|
773 |
sel isNil ifTrue:[
|
|
774 |
self table1VisibleHolder value:false.
|
|
775 |
self table2VisibleHolder value:false.
|
|
776 |
^ self.
|
|
777 |
].
|
|
778 |
|
2181
|
779 |
module := objectHandles at:sel.
|
|
780 |
fileName := module pathName.
|
|
781 |
|
|
782 |
module isMethodHandle ifTrue:[
|
|
783 |
|method nm entry1 entry2 entry3|
|
|
784 |
|
2183
|
785 |
self middleLabelHolder value:'Compiled Method:'.
|
2181
|
786 |
|
|
787 |
(method := module method) isNil ifTrue:[
|
|
788 |
nm := '** removed **'.
|
|
789 |
] ifFalse:[
|
|
790 |
"/ menu := PopUpMenu
|
|
791 |
"/ labels:#('Inspect' 'Browse')
|
|
792 |
"/ selectors:#(inspect browse).
|
|
793 |
"/ menu actionAt:#inspect put:[ method inspect ].
|
|
794 |
"/ menu actionAt:#browse put:[ |who|
|
|
795 |
"/ who := method who.
|
|
796 |
"/ UserPreferences systemBrowserClass
|
|
797 |
"/ openInClass:(who methodClass)
|
|
798 |
"/ selector:(who methodSelector)
|
|
799 |
"/ ].
|
|
800 |
"/ listView1 middleButtonMenu:menu.
|
|
801 |
|
|
802 |
nm := (method whoString) asText emphasizeAllWith:(#color->Color blue).
|
|
803 |
].
|
|
804 |
entry1 := InfoRow new.
|
2183
|
805 |
entry1 name:'Compiled method'; value:nm.
|
2181
|
806 |
|
|
807 |
entry2 := InfoRow new.
|
2183
|
808 |
entry2 name:'Path'; value:fileName.
|
2181
|
809 |
|
|
810 |
entry3 := InfoRow new.
|
2183
|
811 |
entry3 name:'Address'; value:('(16r) ' , (method code address hexPrintString leftPaddedTo:8 with:$0)).
|
2181
|
812 |
|
2183
|
813 |
self infoTable2ListHolder value:(Array with:entry1 with:entry2 with:entry3).
|
|
814 |
self table1VisibleHolder value:false.
|
|
815 |
self table2VisibleHolder value:true.
|
2181
|
816 |
^ self.
|
|
817 |
].
|
|
818 |
|
|
819 |
(module isFunctionObjectHandle
|
|
820 |
and:[module functions notEmpty]) ifTrue:[
|
2183
|
821 |
self middleLabelHolder value:'Functions:'.
|
2181
|
822 |
|
|
823 |
"/ menu := PopUpMenu
|
|
824 |
"/ labels:#('Inspect')
|
|
825 |
"/ selectors:#(inspect).
|
|
826 |
"/ menu actionAt:#inspect put:[ module functions inspect ].
|
|
827 |
"/ listView1 middleButtonMenu:menu.
|
|
828 |
"/
|
|
829 |
list := (module functions select:[:f | f notNil])
|
|
830 |
collect:[:f | |entry|
|
|
831 |
entry := InfoRow new.
|
|
832 |
entry name:(f name asText emphasizeAllWith:(#color->Color blue)).
|
2183
|
833 |
entry value:('address: (16r) ' , (f code address hexPrintString leftPaddedTo:8 with:$0)).
|
2181
|
834 |
entry
|
|
835 |
].
|
2183
|
836 |
self infoTable2ListHolder value:list.
|
|
837 |
self table1VisibleHolder value:false.
|
|
838 |
self table2VisibleHolder value:true.
|
2181
|
839 |
^ self.
|
|
840 |
].
|
|
841 |
|
|
842 |
entry := InfoRow new.
|
|
843 |
entry name:'Unknown'.
|
2183
|
844 |
self infoTable2ListHolder value:(Array with:entry).
|
|
845 |
self table1VisibleHolder value:false.
|
|
846 |
self table2VisibleHolder value:true.
|
2181
|
847 |
|
2183
|
848 |
"Modified: / 05-10-2007 / 13:01:33 / cg"
|
2181
|
849 |
!
|
|
850 |
|
|
851 |
showInfoForVM
|
|
852 |
"/ show file versions in lower view.
|
|
853 |
|
|
854 |
|l|
|
|
855 |
|
|
856 |
self middleLabelHolder value:'Contains Modules:'.
|
|
857 |
|
|
858 |
l := (ObjectMemory getVMIdentificationStrings).
|
|
859 |
l := l select:[:entry | entry includesString:'$Header'].
|
|
860 |
l := l select:[:entry | entry includesString:',v'].
|
|
861 |
l := l collect:[:entry |
|
|
862 |
|i1 i2 file revision date listEntry|
|
|
863 |
|
|
864 |
listEntry := InfoRow new.
|
|
865 |
|
|
866 |
i1 := entry indexOfSubCollection:'librun'.
|
|
867 |
i1 ~~ 0 ifTrue:[
|
|
868 |
i2 := entry indexOfSubCollection:',v' startingAt:i1.
|
|
869 |
i2 ~~ 0 ifTrue:[
|
|
870 |
file := entry copyFrom:i1+7 to:(i2-1).
|
|
871 |
listEntry name:file.
|
|
872 |
|
|
873 |
i1 := i2+3.
|
|
874 |
i2 := entry indexOfSeparatorStartingAt:i1.
|
|
875 |
revision := entry copyFrom:i1 to:(i2-1).
|
|
876 |
listEntry version:revision.
|
|
877 |
|
|
878 |
i1 := i2+1.
|
|
879 |
i2 := entry indexOfSeparatorStartingAt:i1.
|
|
880 |
date := entry copyFrom:i1 to:(i2-1).
|
|
881 |
listEntry date:date.
|
|
882 |
].
|
|
883 |
].
|
|
884 |
listEntry.
|
|
885 |
].
|
2253
|
886 |
|
|
887 |
vmInfoShown := l.
|
2183
|
888 |
self infoTable1ListHolder value:l.
|
|
889 |
self table1VisibleHolder value:true.
|
|
890 |
self table2VisibleHolder value:false.
|
2181
|
891 |
|
|
892 |
"/ readOnly ifFalse:[
|
|
893 |
"/ unloadButton disable.
|
|
894 |
"/ unloadAndRemoveButton disable.
|
|
895 |
"/ ]
|
|
896 |
|
2183
|
897 |
"Modified: / 05-10-2007 / 12:53:44 / cg"
|
2181
|
898 |
! !
|
|
899 |
|
|
900 |
!ObjectModuleInformation methodsFor:'initialization'!
|
|
901 |
|
|
902 |
postBuildWith:aBuilder
|
|
903 |
|canDoIt|
|
|
904 |
|
|
905 |
super postBuildWith:aBuilder.
|
|
906 |
|
|
907 |
canDoIt := ObjectFileLoader notNil and:[ObjectFileLoader canLoadObjectFiles].
|
|
908 |
self showBuiltIn value:canDoIt.
|
|
909 |
self showCObjects value:canDoIt.
|
|
910 |
self showClassLibs value:canDoIt.
|
|
911 |
self showMethods value:canDoIt.
|
|
912 |
self showOthers value:canDoIt.
|
|
913 |
|
|
914 |
self updateModuleList
|
|
915 |
|
|
916 |
"Created: / 05-10-2007 / 10:50:27 / cg"
|
|
917 |
! !
|
|
918 |
|
|
919 |
!ObjectModuleInformation methodsFor:'menu actions'!
|
|
920 |
|
2253
|
921 |
browseClass
|
|
922 |
|module info classNames selectedClassName selectedClass|
|
|
923 |
|
|
924 |
module := self selectedModule.
|
|
925 |
info := self selectedModuleInfo.
|
|
926 |
classNames := info classNames asSortedCollection.
|
|
927 |
selectedClassName := classNames at:(self selectedInfoIndex).
|
|
928 |
selectedClass := Smalltalk classNamed:selectedClassName.
|
|
929 |
|
|
930 |
UserPreferences systemBrowserClass
|
|
931 |
openInClass:selectedClass
|
|
932 |
!
|
|
933 |
|
|
934 |
browseModule
|
|
935 |
|module classes|
|
|
936 |
|
|
937 |
module := self selectedModule.
|
|
938 |
classes := module classNames collect:[:nm | Smalltalk classNamed:nm].
|
|
939 |
UserPreferences systemBrowserClass
|
|
940 |
browseClasses:classes
|
|
941 |
label:(resources string:'Classes in %1' with:module libraryName)
|
|
942 |
!
|
|
943 |
|
|
944 |
copyClassOrVMNameList
|
|
945 |
|text|
|
|
946 |
|
|
947 |
text := ((classInfoShown ? vmInfoShown)collect:[:eachRow | eachRow infoString]) asStringCollection asString.
|
|
948 |
self window setClipboardText:text.
|
|
949 |
!
|
|
950 |
|
2181
|
951 |
openDocumentation
|
2184
|
952 |
self openHTMLDocument: 'tools/misc/TOP.html#MODULEINFO'
|
2181
|
953 |
|
2184
|
954 |
"Modified: / 05-10-2007 / 13:11:45 / cg"
|
2253
|
955 |
!
|
|
956 |
|
2254
|
957 |
unloadSelectedModule
|
|
958 |
self unloadSelectedModuleRemoveClasses:false
|
2253
|
959 |
!
|
|
960 |
|
2254
|
961 |
unloadSelectedModuleAndRemoveClasses
|
|
962 |
self unloadSelectedModuleRemoveClasses:true
|
2253
|
963 |
!
|
|
964 |
|
2254
|
965 |
unloadSelectedModuleRemoveClasses:doRemoveClasses
|
2253
|
966 |
self withWaitCursorDo:[
|
|
967 |
|info idx handle pathName|
|
|
968 |
|
|
969 |
info := self selectedModuleInfo.
|
2254
|
970 |
handle := objectHandles at:(self selectedModuleIndex).
|
2253
|
971 |
self selectedModuleIndexHolder value:nil.
|
|
972 |
|
|
973 |
info isNil ifTrue:[
|
|
974 |
"/ selected a method
|
|
975 |
"/ idx := idx - allModules size.
|
|
976 |
pathName := handle pathName.
|
|
977 |
] ifFalse:[
|
|
978 |
"/ selected a package
|
|
979 |
pathName := info pathName.
|
|
980 |
].
|
|
981 |
pathName notNil ifTrue:[
|
|
982 |
doRemoveClasses ifTrue:[
|
|
983 |
ObjectFileLoader unloadObjectFileAndRemoveClasses:pathName.
|
|
984 |
] ifFalse:[
|
|
985 |
ObjectFileLoader unloadObjectFile:pathName.
|
|
986 |
]
|
|
987 |
].
|
|
988 |
self updateModuleList.
|
|
989 |
]
|
2181
|
990 |
! !
|
|
991 |
|
|
992 |
!ObjectModuleInformation methodsFor:'private'!
|
|
993 |
|
2183
|
994 |
filterChanged
|
|
995 |
self updateModuleList
|
|
996 |
|
|
997 |
"Created: / 05-10-2007 / 12:43:36 / cg"
|
|
998 |
!
|
|
999 |
|
2181
|
1000 |
updateModuleList
|
|
1001 |
|showClassLibs showBuiltIn showMethods showCObjects showOthers
|
|
1002 |
listOfModuleNames allObjects handles|
|
|
1003 |
|
|
1004 |
showClassLibs := self showClassLibs value.
|
|
1005 |
showBuiltIn := self showBuiltIn value.
|
|
1006 |
showMethods := self showMethods value.
|
|
1007 |
showCObjects := self showCObjects value.
|
|
1008 |
showOthers := self showOthers value.
|
|
1009 |
|
|
1010 |
listOfModuleNames := OrderedCollection new.
|
|
1011 |
handles := OrderedCollection new.
|
|
1012 |
|
|
1013 |
allObjects := ObjectFileLoader loadedObjectHandles.
|
|
1014 |
|
|
1015 |
(showClassLibs or:[showBuiltIn]) ifTrue:[
|
|
1016 |
|moduleNames|
|
|
1017 |
|
|
1018 |
allModules := ObjectMemory binaryModuleInfo asOrderedCollection.
|
|
1019 |
(showBuiltIn and:[showClassLibs]) ifFalse:[
|
|
1020 |
allModules := allModules select:
|
|
1021 |
[:i |
|
|
1022 |
|wantToSee|
|
|
1023 |
|
|
1024 |
wantToSee := i dynamic.
|
|
1025 |
showBuiltIn ifTrue:[
|
|
1026 |
wantToSee := wantToSee not
|
|
1027 |
].
|
|
1028 |
wantToSee
|
|
1029 |
]
|
|
1030 |
].
|
|
1031 |
|
|
1032 |
"/ sorting by reverse id brings newest ones to the top (a side effect)
|
|
1033 |
allModules sort:[:a :b | (a id) > (b id)].
|
|
1034 |
moduleNames := allModules collect:[:entry | entry name].
|
|
1035 |
listOfModuleNames addAll:moduleNames.
|
|
1036 |
handles addAll:allModules.
|
|
1037 |
].
|
|
1038 |
|
|
1039 |
showMethods ifTrue:[
|
|
1040 |
|methodObjects methodNames|
|
|
1041 |
|
|
1042 |
methodObjects := (allObjects select:[:h | h isMethodHandle]) asArray.
|
|
1043 |
methodNames := methodObjects collect:[:mH | mH method isNil ifTrue:[
|
|
1044 |
'compiled method - removed' " , ' (in ' , mH pathName , ')' "
|
|
1045 |
] ifFalse:[
|
|
1046 |
'compiled method ' , mH method whoString " , ' (in ' , mH pathName , ')' "
|
|
1047 |
].
|
|
1048 |
].
|
|
1049 |
listOfModuleNames addAll:methodNames.
|
|
1050 |
handles addAll:methodObjects.
|
|
1051 |
].
|
|
1052 |
|
|
1053 |
showCObjects ifTrue:[
|
|
1054 |
|cObjects cObjectNames|
|
|
1055 |
|
|
1056 |
cObjects := (allObjects select:[:h | h isFunctionObjectHandle]) asArray.
|
|
1057 |
cObjectNames := cObjects collect:[:entry | entry pathName].
|
|
1058 |
listOfModuleNames addAll:cObjectNames.
|
|
1059 |
handles addAll:cObjects.
|
|
1060 |
].
|
|
1061 |
|
|
1062 |
showOthers ifTrue:[
|
|
1063 |
|otherObjects otherObjectNames|
|
|
1064 |
|
|
1065 |
otherObjects := (allObjects select:[:h | (h isFunctionObjectHandle
|
|
1066 |
or:[h isMethodHandle
|
|
1067 |
or:[h isClassLibHandle]]) not]) asArray.
|
|
1068 |
otherObjectNames := otherObjects collect:[:entry | entry pathName].
|
|
1069 |
listOfModuleNames addAll:otherObjectNames.
|
|
1070 |
handles addAll:otherObjects.
|
|
1071 |
].
|
|
1072 |
|
|
1073 |
showBuiltIn ifTrue:[
|
|
1074 |
listOfModuleNames addFirst:'VM'.
|
|
1075 |
handles addFirst:#VM.
|
|
1076 |
allModules addFirst:#VM.
|
|
1077 |
].
|
|
1078 |
|
|
1079 |
self listOfModuleNames contents:listOfModuleNames.
|
2183
|
1080 |
objectHandles := handles.
|
2181
|
1081 |
|
2183
|
1082 |
"Modified: / 05-10-2007 / 12:45:37 / cg"
|
2181
|
1083 |
! !
|
|
1084 |
|
|
1085 |
!ObjectModuleInformation::InfoRow methodsFor:'accessing'!
|
|
1086 |
|
|
1087 |
date
|
|
1088 |
^ date
|
|
1089 |
!
|
|
1090 |
|
|
1091 |
date:something
|
|
1092 |
date := something.
|
|
1093 |
!
|
|
1094 |
|
|
1095 |
name
|
|
1096 |
^ name
|
|
1097 |
!
|
|
1098 |
|
|
1099 |
name:something
|
|
1100 |
name := something.
|
|
1101 |
!
|
|
1102 |
|
|
1103 |
name:nameArg version:versionArg date:dateArg
|
|
1104 |
name := nameArg.
|
|
1105 |
version := versionArg.
|
|
1106 |
date := dateArg.
|
|
1107 |
!
|
|
1108 |
|
2183
|
1109 |
value
|
|
1110 |
^ value
|
|
1111 |
!
|
|
1112 |
|
|
1113 |
value:something
|
|
1114 |
value := something.
|
|
1115 |
!
|
|
1116 |
|
2181
|
1117 |
version
|
|
1118 |
^ version
|
|
1119 |
!
|
|
1120 |
|
|
1121 |
version:something
|
|
1122 |
version := something.
|
|
1123 |
! !
|
|
1124 |
|
2253
|
1125 |
!ObjectModuleInformation::InfoRow methodsFor:'info'!
|
|
1126 |
|
|
1127 |
infoString
|
|
1128 |
^ name , ' ', (version ? '-') , ' ', (date ? '-') printString
|
|
1129 |
! !
|
|
1130 |
|
2181
|
1131 |
!ObjectModuleInformation class methodsFor:'documentation'!
|
|
1132 |
|
|
1133 |
version
|
|
1134 |
^ '$Header$'
|
|
1135 |
! !
|