Copyright header update, 2015 edition
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core.tests / stubs / org / eclipse / tracecompass / tmf / tests / stubs / analysis / TestAnalysis2.java
CommitLineData
c068a752 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
c068a752
GB
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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
12
2bdf0193 13package org.eclipse.tracecompass.tmf.tests.stubs.analysis;
c068a752
GB
14
15import org.eclipse.core.runtime.IProgressMonitor;
2bdf0193
AM
16import org.eclipse.tracecompass.tmf.core.analysis.TmfAbstractAnalysisModule;
17import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
18import org.eclipse.tracecompass.tmf.tests.stubs.trace.TmfTraceStub2;
c068a752
GB
19
20/**
21 * Simple analysis type for test
22 */
4d2857be 23public class TestAnalysis2 extends TmfAbstractAnalysisModule {
c068a752
GB
24
25 @Override
26 public boolean canExecute(ITmfTrace trace) {
4d2857be
GB
27 /* This just makes sure the trace is a trace stub 2 */
28 return (TmfTraceStub2.class.isAssignableFrom(trace.getClass()));
c068a752
GB
29 }
30
31 @Override
32 protected void canceling() {
33
34 }
35
36 @Override
37 protected boolean executeAnalysis(final IProgressMonitor monitor) {
38 return false;
39 }
40
41}
This page took 0.057625 seconds and 5 git commands to generate.