Move alltests plugin to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.ui.tests / widgetStubs / org / eclipse / linuxtools / tmf / ui / tests / stubs / analysis / TestAnalysisUi.java
CommitLineData
c068a752 1/*******************************************************************************
60ae41e1 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
13package org.eclipse.linuxtools.tmf.ui.tests.stubs.analysis;
14
15import org.eclipse.core.runtime.IProgressMonitor;
16import org.eclipse.linuxtools.tmf.core.analysis.TmfAbstractAnalysisModule;
17import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
c068a752
GB
18
19/**
20 * Stub for an analysis module with outputs
21 */
22public class TestAnalysisUi extends TmfAbstractAnalysisModule {
23
24 /** ID of the view opened by this analysis module */
25 public static final String VIEW_ID = "org.eclipse.linuxtools.tmf.ui.tests.testAnalysisView";
26
27 private String fTraceName;
28
29 /**
30 * Constructor
31 */
32 public TestAnalysisUi() {
33 super();
c068a752
GB
34 }
35
36 @Override
37 protected boolean executeAnalysis(final IProgressMonitor monitor) {
38 return false;
39 }
40
41 @Override
42 protected void canceling() {
43
44 }
45
46 @Override
47 public ITmfTrace getTrace() {
48 return super.getTrace();
49 }
50
51 /**
52 * Returns the name of the trace that should be set
53 *
54 * @return Name of the trace
55 */
56 public String getTraceName() {
57 return fTraceName;
58 }
59
60}
This page took 0.039886 seconds and 5 git commands to generate.