7a5fd2684e5b303830c2ba2eeed18e8f1fd797ba
1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.tests
.stubs
.trace
;
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
;
21 * <b><u>TmfEmptyTraceStub</u></b>
23 * Dummy test trace. Use in conjunction with TmfEventParserStub.
25 public class TmfEmptyTraceStub
extends TmfTraceStub
{
30 // ------------------------------------------------------------------------
32 // ------------------------------------------------------------------------
37 public TmfEmptyTraceStub() {
39 setParser(new TmfEventParserStub(this));
42 // ------------------------------------------------------------------------
44 // ------------------------------------------------------------------------
47 public TmfContext
seekEvent(final ITmfLocation
<?
> location
) {
48 return new TmfContext();
52 public TmfContext
seekEvent(final double ratio
) {
53 return new TmfContext();
57 public double getLocationRatio(ITmfLocation
<?
> location
) {
62 public ITmfLocation
<Long
> getCurrentLocation() {
67 public TmfEvent
parseEvent(final ITmfContext context
) {
This page took 0.031047 seconds and 5 git commands to generate.