6fc01be3ab237409bfa9623bb01eb4a5caa1aee3
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui / src / org / eclipse / tracecompass / internal / tmf / ui / symbols / BasicSymbolProviderFactory.java
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
11 package org.eclipse.tracecompass.internal.tmf.ui.symbols;
12
13 import org.eclipse.jdt.annotation.NonNull;
14 import org.eclipse.jdt.annotation.NonNullByDefault;
15 import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
16 import org.eclipse.tracecompass.tmf.ui.symbols.ISymbolProvider;
17 import 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
27 public class BasicSymbolProviderFactory implements ISymbolProviderFactory {
28
29 @Override
30 public @NonNull ISymbolProvider createProvider(ITmfTrace trace) {
31 /* This provider can apply to any trace */
32 return new BasicSymbolProvider(trace);
33 }
34
35 }
This page took 0.039749 seconds and 5 git commands to generate.