/******************************************************************************* * Copyright (c) 2013, 2014 École Polytechnique de Montréal * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Geneviève Bastien - Initial API and implementation *******************************************************************************/ package org.eclipse.tracecompass.tmf.ui.tests.stubs.analysis; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.tracecompass.tmf.core.analysis.TmfAbstractAnalysisModule; import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace; /** * Stub for an analysis module with outputs */ public class TestAnalysisUi extends TmfAbstractAnalysisModule { /** ID of the view opened by this analysis module */ public static final String VIEW_ID = "org.eclipse.linuxtools.tmf.ui.tests.testAnalysisView"; private String fTraceName; /** * Constructor */ public TestAnalysisUi() { super(); } @Override protected boolean executeAnalysis(final IProgressMonitor monitor) { return false; } @Override protected void canceling() { } @Override public ITmfTrace getTrace() { return super.getTrace(); } /** * Returns the name of the trace that should be set * * @return Name of the trace */ public String getTraceName() { return fTraceName; } }