1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
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 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ui
.tests
.stubs
.analysis
;
15 import org
.eclipse
.core
.runtime
.IProgressMonitor
;
16 import org
.eclipse
.tracecompass
.tmf
.core
.analysis
.TmfAbstractAnalysisModule
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
20 * Stub for an analysis module with outputs
22 public class TestAnalysisUi
extends TmfAbstractAnalysisModule
{
24 /** ID of the view opened by this analysis module */
25 public static final String VIEW_ID
= "org.eclipse.linuxtools.tmf.ui.tests.testAnalysisView";
27 private String fTraceName
;
32 public TestAnalysisUi() {
37 protected boolean executeAnalysis(final IProgressMonitor monitor
) {
42 protected void canceling() {
47 public ITmfTrace
getTrace() {
48 return super.getTrace();
52 * Returns the name of the trace that should be set
54 * @return Name of the trace
56 public String
getTraceName() {