Fix a pile of Javadoc warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / tests / stubs / trace / TmfEmptyTraceStub.java
1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.tests.stubs.trace;
14
15 import org.eclipse.linuxtools.tmf.core.event.TmfEvent;
16 import org.eclipse.linuxtools.tmf.core.trace.ITmfContext;
17 import org.eclipse.linuxtools.tmf.core.trace.ITmfLocation;
18 import org.eclipse.linuxtools.tmf.core.trace.TmfContext;
19 import org.eclipse.linuxtools.tmf.core.trace.TmfLocation;
20
21 /**
22 * <b><u>TmfEmptyTraceStub</u></b>
23 * <p>
24 * Dummy test trace. Use in conjunction with TmfEventParserStub.
25 */
26 public class TmfEmptyTraceStub extends TmfTraceStub {
27
28 /**
29 *
30 */
31 // ------------------------------------------------------------------------
32 // Constructors
33 // ------------------------------------------------------------------------
34
35 /**
36 *
37 */
38 public TmfEmptyTraceStub() {
39 super();
40 setParser(new TmfEventParserStub(this));
41 }
42
43 // ------------------------------------------------------------------------
44 // Operators
45 // ------------------------------------------------------------------------
46
47 @Override
48 public TmfContext seekEvent(final ITmfLocation<?> location) {
49 return new TmfContext();
50 }
51
52 @Override
53 public TmfContext seekEvent(final double ratio) {
54 return new TmfContext();
55 }
56
57 @Override
58 public double getLocationRatio(ITmfLocation<?> location) {
59 return 0;
60 }
61
62 @Override
63 public TmfLocation<Long> getCurrentLocation() {
64 return null;
65 }
66
67 @Override
68 public TmfEvent parseEvent(final ITmfContext context) {
69 return null;
70 }
71
72 }
This page took 0.036002 seconds and 6 git commands to generate.