projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tmf: Cache CallStackEvent names
[deliverable/tracecompass.git]
/
tmf
/
org.eclipse.tracecompass.tmf.ui
/
src
/
org
/
eclipse
/
tracecompass
/
tmf
/
ui
/
views
/
callstack
/
CallStackEvent.java
diff --git
a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/callstack/CallStackEvent.java
b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/callstack/CallStackEvent.java
index e56959052eaf2872533997e1669544ce3e770494..c2782e29e1634af49267072a4d0d3a7d5b0af559 100644
(file)
--- a/
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/callstack/CallStackEvent.java
+++ b/
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/views/callstack/CallStackEvent.java
@@
-36,4
+36,14
@@
public class CallStackEvent extends TimeEvent {
public CallStackEvent(CallStackEntry entry, long time, long duration, int value) {
super(entry, time, duration, value);
}
public CallStackEvent(CallStackEntry entry, long time, long duration, int value) {
super(entry, time, duration, value);
}
+
+ /**
+ * @since 2.1
+ */
+ @Override
+ public CallStackEntry getEntry() {
+ /* Type enforced at constructor */
+ return (CallStackEntry) fEntry;
+ }
+
}
}
This page took
0.027679 seconds
and
5
git commands to generate.