author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Fri, 25 Jan 2019 13:33:51 +0000 | |
changeset 143 | df7f89efd39d |
parent 106 | 2a95c11eb590 |
child 241 | 9996050286c5 |
permissions | -rw-r--r-- |
49
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
1 |
" |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
2 |
jv:vdb - Visual / VM Debugger |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
3 |
Copyright (C) 2015-now Jan Vrany |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
4 |
|
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
5 |
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License' |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
6 |
|
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
7 |
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/ |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
8 |
" |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
"{ Package: 'jv:vdb' }" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
|
40
d766d4c854a2
Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
33
diff
changeset
|
11 |
"{ NameSpace: Smalltalk }" |
d766d4c854a2
Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
33
diff
changeset
|
12 |
|
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
VDBAbstractApplication subclass:#VDBEventLogApplication |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
instanceVariableNames:'eventList eventSelectionHolder' |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
classVariableNames:'' |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
poolDictionaries:'' |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
category:'VDB-UI-Events' |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
|
49
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
20 |
!VDBEventLogApplication class methodsFor:'documentation'! |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
21 |
|
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
22 |
copyright |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
23 |
" |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
24 |
jv:vdb - Visual / VM Debugger |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
25 |
Copyright (C) 2015-now Jan Vrany |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
26 |
|
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
27 |
This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License' |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
28 |
|
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
29 |
You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/ |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
30 |
" |
2ec7f7ed9242
License this package under 'Creative Commons Attribution-NonCommercial 4.0 International License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
44
diff
changeset
|
31 |
! ! |
7
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
32 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
33 |
!VDBEventLogApplication class methodsFor:'columns specs'! |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
34 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
35 |
listColumnSpec |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
36 |
"This resource specification was automatically generated |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
37 |
by the DataSetBuilder of ST/X." |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
38 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
39 |
"Do not manually edit this!! If it is corrupted, |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
40 |
the DataSetBuilder may not be able to read the specification." |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
41 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
42 |
" |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
43 |
DataSetBuilder new openOnClass:VDBEventLogApplication andSelector:#listColumnSpec |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
44 |
" |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
45 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
46 |
<resource: #tableColumns> |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
47 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
48 |
^#( |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
49 |
(DataSetColumnSpec |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
50 |
label: 'Class Name' |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
51 |
labelButtonType: Button |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
52 |
usePreferredWidth: true |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
53 |
minWidth: 150 |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
54 |
height: heightOfFirstRow |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
55 |
menuFromApplication: false |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
56 |
printSelector: className |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
57 |
canSelect: false |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
58 |
) |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
59 |
(DataSetColumnSpec |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
60 |
label: 'Value' |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
61 |
labelButtonType: Button |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
62 |
width: 1.0 |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
63 |
height: heightOfFirstRow |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
64 |
menuFromApplication: false |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
65 |
printSelector: displayString |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
66 |
canSelect: false |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
67 |
) |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
68 |
) |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
69 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
70 |
! ! |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
71 |
|
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
72 |
!VDBEventLogApplication class methodsFor:'interface specs'! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
73 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
74 |
windowSpec |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
75 |
"This resource specification was automatically generated |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
76 |
by the UIPainter of ST/X." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
77 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
"Do not manually edit this!! If it is corrupted, |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
79 |
the UIPainter may not be able to read the specification." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
80 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
81 |
" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
82 |
UIPainter new openOnClass:VDBEventLogApplication andSelector:#windowSpec |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
83 |
VDBEventLogApplication new openInterface:#windowSpec |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
84 |
VDBEventLogApplication open |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
85 |
" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
<resource: #canvas> |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
88 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
89 |
^ |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
90 |
#(FullSpec |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
91 |
name: windowSpec |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
92 |
window: |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
93 |
(WindowSpec |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
94 |
label: 'Event Log' |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
95 |
name: 'Event Log' |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
96 |
min: (Point 10 10) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
97 |
bounds: (Rectangle 0 0 300 300) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
98 |
) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
99 |
component: |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
100 |
(SpecCollection |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
101 |
collection: ( |
33
25ec72596ce3
Use DataSetView instead of ListView.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7
diff
changeset
|
102 |
(DataSetSpec |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
103 |
name: 'EventList' |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
104 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
105 |
model: eventSelectionHolder |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
106 |
menu: eventMenu |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
107 |
hasHorizontalScrollBar: true |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
108 |
hasVerticalScrollBar: true |
33
25ec72596ce3
Use DataSetView instead of ListView.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7
diff
changeset
|
109 |
dataList: eventList |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
110 |
useIndex: false |
33
25ec72596ce3
Use DataSetView instead of ListView.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
7
diff
changeset
|
111 |
columnHolder: listColumnSpec |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
112 |
) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
113 |
) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
114 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
115 |
) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
116 |
) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
117 |
! ! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
118 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
119 |
!VDBEventLogApplication class methodsFor:'menu specs'! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
120 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
121 |
eventMenu |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
122 |
"This resource specification was automatically generated |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
123 |
by the MenuEditor of ST/X." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
124 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
125 |
"Do not manually edit this!! If it is corrupted, |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
126 |
the MenuEditor may not be able to read the specification." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
127 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
128 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
129 |
" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
130 |
MenuEditor new openOnClass:VDBEventLogApplication andSelector:#eventMenu |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
131 |
(Menu new fromLiteralArrayEncoding:(VDBEventLogApplication eventMenu)) startUp |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
132 |
" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
133 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
134 |
<resource: #menu> |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
135 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
136 |
^ |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
137 |
#(Menu |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
138 |
( |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
139 |
(MenuItem |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
140 |
enabled: hasEventSelectedHolder |
44 | 141 |
label: 'Inspect Event' |
142 |
itemValue: doInspect |
|
143 |
) |
|
144 |
(MenuItem |
|
145 |
label: 'Clear Events' |
|
146 |
itemValue: doClear |
|
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
147 |
) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
148 |
) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
149 |
nil |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
150 |
nil |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
151 |
) |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
152 |
! ! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
153 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
154 |
!VDBEventLogApplication class methodsFor:'plugIn spec'! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
155 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
156 |
aspectSelectors |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
157 |
"This resource specification was automatically generated |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
158 |
by the UIPainter of ST/X." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
159 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
160 |
"Do not manually edit this. If it is corrupted, |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
161 |
the UIPainter may not be able to read the specification." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
162 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
163 |
"Return a description of exported aspects; |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
164 |
these can be connected to aspects of an embedding application |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
165 |
(if this app is embedded in a subCanvas)." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
166 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
167 |
^ #( |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
168 |
#debuggerHolder |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
169 |
). |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
170 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
171 |
! ! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
172 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
173 |
!VDBEventLogApplication methodsFor:'aspects'! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
174 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
175 |
eventList |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
176 |
<resource: #uiAspect> |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
177 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
178 |
"automatically generated by UIPainter ..." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
179 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
180 |
"*** the code below creates a default model when invoked." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
181 |
"*** (which may not be the one you wanted)" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
182 |
"*** Please change as required and accept it in the browser." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
183 |
"*** (and replace this comment by something more useful ;-)" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
184 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
185 |
eventList isNil ifTrue:[ |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
186 |
eventList := List new. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
187 |
"/ if your app needs to be notified of changes, uncomment one of the lines below: |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
188 |
"/ eventList addDependent:self. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
189 |
"/ eventList onChangeSend:#eventListChanged to:self. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
190 |
]. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
191 |
^ eventList. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
192 |
! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
193 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
194 |
eventSelectionHolder |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
195 |
<resource: #uiAspect> |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
196 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
197 |
"automatically generated by UIPainter ..." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
198 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
199 |
"*** the code below creates a default model when invoked." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
200 |
"*** (which may not be the one you wanted)" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
201 |
"*** Please change as required and accept it in the browser." |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
202 |
"*** (and replace this comment by something more useful ;-)" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
203 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
204 |
eventSelectionHolder isNil ifTrue:[ |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
205 |
eventSelectionHolder := ValueHolder new. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
206 |
"/ if your app needs to be notified of changes, uncomment one of the lines below: |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
207 |
"/ eventSelectionHolder addDependent:self. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
208 |
"/ eventSelectionHolder onChangeSend:#eventSelectionHolderChanged to:self. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
209 |
]. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
210 |
^ eventSelectionHolder. |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
211 |
! ! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
212 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
213 |
!VDBEventLogApplication methodsFor:'event handling'! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
214 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
215 |
onEvent: aGDBEvent |
106
2a95c11eb590
Fix error when cloding standalone VDB
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
49
diff
changeset
|
216 |
(aGDBEvent isKindOf: GDBExitEvent) ifTrue:[ |
2a95c11eb590
Fix error when cloding standalone VDB
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
49
diff
changeset
|
217 |
self unsubscribe. |
2a95c11eb590
Fix error when cloding standalone VDB
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
49
diff
changeset
|
218 |
^self. |
2a95c11eb590
Fix error when cloding standalone VDB
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
49
diff
changeset
|
219 |
]. |
2a95c11eb590
Fix error when cloding standalone VDB
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
49
diff
changeset
|
220 |
((aGDBEvent isKindOf: GDBCommandEvent) and:[aGDBEvent command isKindOf: GDBMI_gdb_exit]) ifTrue:[ |
2a95c11eb590
Fix error when cloding standalone VDB
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
49
diff
changeset
|
221 |
self unsubscribe. |
2a95c11eb590
Fix error when cloding standalone VDB
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
49
diff
changeset
|
222 |
^self. |
2a95c11eb590
Fix error when cloding standalone VDB
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
49
diff
changeset
|
223 |
]. |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
224 |
self eventList add: aGDBEvent |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
225 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
226 |
"Created: / 07-06-2014 / 14:33:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
227 |
! ! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
228 |
|
7
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
229 |
!VDBEventLogApplication methodsFor:'hooks'! |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
230 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
231 |
postBuildListView:aView |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
232 |
<resource: #uiCallback> |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
233 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
234 |
aView setupTableRenderer |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
235 |
columnDescriptors:self class listColumnSpec; |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
236 |
showHorizontalSeparators:false; |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
237 |
showItemInAdditionToColumns: false. |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
238 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
239 |
"Modified: / 10-06-2014 / 21:21:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
240 |
! ! |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
241 |
|
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
242 |
!VDBEventLogApplication methodsFor:'initialization & release'! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
243 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
244 |
subscribe |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
245 |
"Register for debugger events. To be overrided by subclasses" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
246 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
247 |
debugger announcer |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
248 |
when: GDBEvent send: #onEvent: to: self |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
249 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
250 |
"Created: / 07-06-2014 / 14:33:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
251 |
! ! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
252 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
253 |
!VDBEventLogApplication methodsFor:'menu actions'! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
254 |
|
44 | 255 |
doClear |
256 |
<resource: #uiCallback> |
|
257 |
||
258 |
eventList removeAll |
|
259 |
||
260 |
"Modified: / 11-06-2017 / 20:18:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
261 |
! |
|
262 |
||
263 |
doInspect |
|
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
264 |
| event | |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
265 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
266 |
event := self eventSelectionHolder value. |
44 | 267 |
event notNil ifTrue:[ |
268 |
event inspect |
|
269 |
]. |
|
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
270 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
271 |
"Modified: / 07-06-2014 / 14:36:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
272 |
! ! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
273 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
274 |
!VDBEventLogApplication methodsFor:'menu queries'! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
275 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
276 |
hasEventSelectedHolder |
2
9741a7683808
Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1
diff
changeset
|
277 |
^ (AspectAdaptor forAspect:#notEmptyOrNil) subjectChannel: self eventSelectionHolder |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
278 |
|
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
279 |
"Created: / 07-06-2014 / 14:37:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
2
9741a7683808
Added VDBInferiorConsoleApplication to display debugee's input/output.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1
diff
changeset
|
280 |
"Modified: / 09-06-2014 / 10:16:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
281 |
! ! |
09b3ef5606e7
Added simple event log application. Initial stub for application containers (docking panels)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
282 |
|
7
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
283 |
!VDBEventLogApplication class methodsFor:'documentation'! |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
284 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
285 |
version_HG |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
286 |
|
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
287 |
^ '$Changeset: <not expanded> $' |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
288 |
! ! |
ec4557167e53
VDB event log application changed to show a table with class and event display string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2
diff
changeset
|
289 |