lttng.ust: Implement a symbol provider for LTTng-UST traces
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / internal / tmf / ui / symbols / BasicSymbolProviderFactory.java
CommitLineData
d90ae2a5
RK
1/*******************************************************************************
2 * Copyright (c) 2016 Movidius Inc. and others
3 *
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 *******************************************************************************/
10
11package org.eclipse.tracecompass.internal.tmf.ui.symbols;
12
cb2b5e56 13import org.eclipse.jdt.annotation.NonNull;
d90ae2a5
RK
14import org.eclipse.jdt.annotation.NonNullByDefault;
15import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
16import org.eclipse.tracecompass.tmf.ui.symbols.ISymbolProvider;
17import org.eclipse.tracecompass.tmf.ui.symbols.ISymbolProviderFactory;
18
19/**
20 * Basic symbol provider factory that can handle any trace. It will create a
21 * {@link BasicSymbolProvider}.
22 *
23 * @author Robert Kiss
24 *
25 */
26@NonNullByDefault
27public class BasicSymbolProviderFactory implements ISymbolProviderFactory {
28
29 @Override
cb2b5e56
AM
30 public @NonNull ISymbolProvider createProvider(ITmfTrace trace) {
31 /* This provider can apply to any trace */
d90ae2a5
RK
32 return new BasicSymbolProvider(trace);
33 }
34
35}
This page took 0.028228 seconds and 5 git commands to generate.