diff options
author | Marc-Andre Laperle | 2014-06-03 20:13:23 +0000 |
---|---|---|
committer | Marc-Andre Laperle | 2014-06-05 15:49:38 +0000 |
commit | 42c6ec903fe6cfeaddd1408d4390c1e6534e4543 (patch) | |
tree | e5d6cabf9c3d79494b42c0cc7c8e3028f71a2dbe | |
parent | 7f3855be62b389570f6da993768b3aabe149f86b (diff) | |
download | org.eclipse.linuxtools-42c6ec903fe6cfeaddd1408d4390c1e6534e4543.tar.gz org.eclipse.linuxtools-42c6ec903fe6cfeaddd1408d4390c1e6534e4543.tar.xz org.eclipse.linuxtools-42c6ec903fe6cfeaddd1408d4390c1e6534e4543.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>
(cherry picked from commit 9a572723bbd873eef657f2c40dc01924f3510775)
Reviewed-on: https://git.eclipse.org/r/27950
-rw-r--r-- | lttng/org.eclipse.linuxtools.tmf.help/doc/Developer-Guide.mediawiki | 10 |
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>(); |