lttng: Migrate LTTng-UST CallStack to the analysis framework
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / callstack / AbstractCallStackAnalysis.java
CommitLineData
50659279
AM
1/*******************************************************************************
2 * Copyright (c) 2014 Ericsson
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 * Alexandre Montplaisir - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.ui.views.callstack;
14
15import org.eclipse.linuxtools.tmf.core.statesystem.TmfStateSystemAnalysisModule;
16import org.eclipse.linuxtools.tmf.ui.analysis.TmfAnalysisViewOutput;
17
18/**
19 * The base classes for analyses who want to populate the CallStack View.
20 *
21 * @author Alexandre Montplaisir
22 * @since 3.0
23 */
24public abstract class AbstractCallStackAnalysis extends TmfStateSystemAnalysisModule {
25
26 /**
27 * Abstract constructor (should only be called via the sub-classes'
28 * constructors.
29 */
30 public AbstractCallStackAnalysis() {
31 super();
32 registerOutput(new TmfAnalysisViewOutput(CallStackView.ID));
33 }
34
35 @Override
36 protected StateSystemBackendType getBackendType() {
37 /* Full history by default, sub-classes are free to override */
38 return StateSystemBackendType.FULL;
39 }
40
41}
This page took 0.026152 seconds and 5 git commands to generate.