tmf: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / tests / stubs / trace / TmfExperimentStub.java
1 /*******************************************************************************
2 * Copyright (c) 2012, 2013 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.core.resources.IResource;
16 import org.eclipse.linuxtools.tmf.core.event.ITmfEvent;
17 import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
18 import org.eclipse.linuxtools.tmf.core.trace.TmfExperiment;
19 import org.eclipse.linuxtools.tmf.core.trace.indexer.ITmfTraceIndexer;
20
21 /**
22 * <b><u>TmfExperimentStub</u></b>
23 * <p>
24 * Implement me. Please.
25 * <p>
26 */
27 @SuppressWarnings("javadoc")
28 public class TmfExperimentStub extends TmfExperiment {
29
30 public TmfExperimentStub() {
31 super();
32 }
33
34 public TmfExperimentStub(String name, ITmfTrace[] traces, int blockSize) {
35 super(ITmfEvent.class, name, traces, blockSize);
36 }
37
38 @Override
39 protected ITmfTraceIndexer createIndexer(int interval) {
40 return new TmfIndexerStub(this, interval);
41 }
42
43 @Override
44 public TmfIndexerStub getIndexer() {
45 return (TmfIndexerStub) super.getIndexer();
46 }
47
48 @Override
49 public void initExperiment(final Class<? extends ITmfEvent> type, final String path, final ITmfTrace[] traces, final int indexPageSize, IResource resource) {
50 super.initExperiment(type, path, traces, indexPageSize, resource);
51 }
52 }
This page took 0.039888 seconds and 5 git commands to generate.