tmf: Bump plugins version to 2.0 for Kepler branch
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / tests / stubs / trace / TmfExperimentStub.java
CommitLineData
9e0640dc
FC
1/*******************************************************************************
2 * Copyright (c) 2012 Ericsson
9b749023 3 *
9e0640dc
FC
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
9b749023 8 *
9e0640dc
FC
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.tests.stubs.trace;
14
15import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
16import org.eclipse.linuxtools.tmf.core.event.TmfEvent;
17import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
18import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
19
20/**
21 * <b><u>TmfExperimentStub</u></b>
22 * <p>
23 * Implement me. Please.
24 * <p>
25 */
54a7a54c 26@SuppressWarnings("javadoc")
9b749023 27public class TmfExperimentStub<T extends ITmfEvent> extends TmfExperiment<TmfEvent> {
9e0640dc
FC
28
29 public TmfExperimentStub(String name, ITmfTrace<TmfEvent>[] traces, int blockSize) {
30 super(TmfEvent.class, name, traces, blockSize);
31 setIndexer(new TmfIndexerStub(this, blockSize));
32 }
33
34 @Override
35 public TmfIndexerStub getIndexer() {
36 return (TmfIndexerStub) super.getIndexer();
37 }
38}
This page took 0.037676 seconds and 5 git commands to generate.