/*******************************************************************************
- * Copyright (c) 2009, 2010 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
package org.eclipse.linuxtools.tmf.tests.stubs.trace;
-import org.eclipse.linuxtools.tmf.core.event.TmfEvent;
+import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
import org.eclipse.linuxtools.tmf.core.trace.ITmfContext;
-import org.eclipse.linuxtools.tmf.core.trace.ITmfLocation;
import org.eclipse.linuxtools.tmf.core.trace.TmfContext;
-import org.eclipse.linuxtools.tmf.core.trace.TmfLocation;
+import org.eclipse.linuxtools.tmf.core.trace.location.ITmfLocation;
/**
* <b><u>TmfEmptyTraceStub</u></b>
*/
public class TmfEmptyTraceStub extends TmfTraceStub {
+ /**
+ *
+ */
// ------------------------------------------------------------------------
// Constructors
// ------------------------------------------------------------------------
/**
- * @param path
- * @throws FileNotFoundException
+ *
*/
public TmfEmptyTraceStub() {
super();
// ------------------------------------------------------------------------
@Override
- public TmfContext seekEvent(final ITmfLocation<?> location) {
+ public TmfContext seekEvent(final ITmfLocation location) {
return new TmfContext();
}
}
@Override
- public double getLocationRatio(ITmfLocation<?> location) {
+ public double getLocationRatio(ITmfLocation location) {
return 0;
}
@Override
- public TmfLocation<Long> getCurrentLocation() {
+ public ITmfLocation getCurrentLocation() {
return null;
}
@Override
- public TmfEvent parseEvent(final ITmfContext context) {
+ public ITmfEvent parseEvent(final ITmfContext context) {
return null;
}