Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2014-06-03 16:13:23 -0400
committerMarc-Andre Laperle2014-06-04 11:00:19 -0400
commit9a572723bbd873eef657f2c40dc01924f3510775 (patch)
treead9cb4a596b02bc37de9a24c70969ea314f89dcc
parent16fc8ca4692bd11de967cad4e9570f15f4b9181d (diff)
downloadorg.eclipse.linuxtools-9a572723bbd873eef657f2c40dc01924f3510775.tar.gz
org.eclipse.linuxtools-9a572723bbd873eef657f2c40dc01924f3510775.tar.xz
org.eclipse.linuxtools-9a572723bbd873eef657f2c40dc01924f3510775.zip
tmf-guide: Update view tutorial using latest code
Change-Id: I78c0804750f2f5195a2b12ce8d8348a41f6b4992 Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/27877 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.help/doc/Developer-Guide.mediawiki10
1 files changed, 5 insertions, 5 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.help/doc/Developer-Guide.mediawiki b/lttng/org.eclipse.linuxtools.tmf.help/doc/Developer-Guide.mediawiki
index dc3da734c3..ad50f82343 100644
--- a/lttng/org.eclipse.linuxtools.tmf.help/doc/Developer-Guide.mediawiki
+++ b/lttng/org.eclipse.linuxtools.tmf.help/doc/Developer-Guide.mediawiki
@@ -403,7 +403,7 @@ This tutorial will cover concepts like:
=== Prerequisites ===
-The tutorial is based on Eclipse 4.3 (Eclipse Kepler), TMF 2.0.0 and SWTChart 0.7.0. You can install SWTChart by using the Orbit update site. http://download.eclipse.org/tools/orbit/downloads/
+The tutorial is based on Eclipse 4.4 (Eclipse Luna), TMF 3.0.0 and SWTChart 0.7.0. If you are using TMF from the source repository, SWTChart is already included in the target definition file (see org.eclipse.linuxtools.lttng.target). You can also install it manually by using the Orbit update site. http://download.eclipse.org/tools/orbit/downloads/
=== Creating an Eclipse UI Plug-in ===
@@ -537,8 +537,8 @@ Then we need to actually gather data from the trace. This is done asynchronously
// Create the request to get data from the trace
TmfEventRequest req = new TmfEventRequest(TmfEvent.class,
- TmfTimeRange.ETERNITY, TmfEventRequest.ALL_DATA,
- ExecutionType.BACKGROUND) {
+ TmfTimeRange.ETERNITY, 0, ITmfEventRequest.ALL_DATA,
+ ITmfEventRequest.ExecutionType.BACKGROUND) {
@Override
public void handleData(ITmfEvent data) {
@@ -569,8 +569,8 @@ The chart expects an array of doubles for both the X and Y axis values. To provi
<pre>
TmfEventRequest req = new TmfEventRequest(TmfEvent.class,
- TmfTimeRange.ETERNITY, TmfEventRequest.ALL_DATA,
- ExecutionType.BACKGROUND) {
+ TmfTimeRange.ETERNITY, 0, ITmfEventRequest.ALL_DATA,
+ ITmfEventRequest.ExecutionType.BACKGROUND) {
ArrayList<Double> xValues = new ArrayList<Double>();
ArrayList<Double> yValues = new ArrayList<Double>();

Back to the top