1 /*******************************************************************************
2 * Copyright (c) 2012, 2013 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
.tracecompass
.tmf
.tests
.stubs
.trace
;
15 import org
.eclipse
.core
.resources
.IResource
;
16 import org
.eclipse
.tracecompass
.tmf
.core
.event
.ITmfEvent
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
18 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.experiment
.TmfExperiment
;
19 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.indexer
.ITmfTraceIndexer
;
22 * <b><u>TmfExperimentStub</u></b>
24 * Implement me. Please.
27 @SuppressWarnings("javadoc")
28 public class TmfExperimentStub
extends TmfExperiment
{
31 * Default constructor. Should not be called directly by the code, but
32 * needed for the extension point.
34 * @deprecated Only used by the extension point.
37 public TmfExperimentStub() {
41 public TmfExperimentStub(String name
, ITmfTrace
[] traces
, int blockSize
) {
42 super(ITmfEvent
.class, name
, traces
, blockSize
, null);
46 protected ITmfTraceIndexer
createIndexer(int interval
) {
47 return new TmfIndexerStub(this, interval
);
51 public TmfIndexerStub
getIndexer() {
52 return (TmfIndexerStub
) super.getIndexer();
56 public void initExperiment(final Class
<?
extends ITmfEvent
> type
, final String path
, final ITmfTrace
[] traces
, final int indexPageSize
, IResource resource
) {
57 super.initExperiment(type
, path
, traces
, indexPageSize
, resource
);
This page took 0.034404 seconds and 5 git commands to generate.