1 /*******************************************************************************
2 * Copyright (c) 2013 É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
.linuxtools
.tmf
.ui
.tests
.stubs
.analysis
;
15 import org
.eclipse
.core
.runtime
.IProgressMonitor
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.analysis
.TmfAbstractAnalysisModule
;
17 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
18 import org
.eclipse
.linuxtools
.tmf
.ui
.analysis
.TmfAnalysisViewOutput
;
21 * Stub for an analysis module with outputs
23 public class TestAnalysisUi
extends TmfAbstractAnalysisModule
{
25 /** ID of the view opened by this analysis module */
26 public static final String VIEW_ID
= "org.eclipse.linuxtools.tmf.ui.tests.testAnalysisView";
28 private String fTraceName
;
33 public TestAnalysisUi() {
35 registerOutput(new TmfAnalysisViewOutput(VIEW_ID
));
39 protected boolean executeAnalysis(final IProgressMonitor monitor
) {
44 protected void canceling() {
49 public ITmfTrace
getTrace() {
50 return super.getTrace();
54 * Returns the name of the trace that should be set
56 * @return Name of the trace
58 public String
getTraceName() {