Commit | Line | Data |
---|---|---|
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 | ||
11 | package org.eclipse.tracecompass.tmf.ui.symbols; | |
12 | ||
d90ae2a5 | 13 | import org.eclipse.jdt.annotation.Nullable; |
d90ae2a5 RK |
14 | import org.eclipse.tracecompass.tmf.core.trace.TmfTrace; |
15 | ||
16 | /** | |
17 | * An ISymbolProvider is used to map symbol addresses that might be found inside | |
35d62dbf MK |
18 | * an {@link TmfTrace} into human readable strings. This interface should be |
19 | * used to augment | |
20 | * {@link org.eclipse.tracecompass.tmf.core.symbols.ISymbolProvider} to support | |
21 | * preference pages. | |
d90ae2a5 RK |
22 | * |
23 | * @author Robert Kiss | |
24 | * @since 2.0 | |
25 | * @see ISymbolProviderFactory | |
d90ae2a5 | 26 | */ |
35d62dbf | 27 | public interface ISymbolProvider extends org.eclipse.tracecompass.tmf.core.symbols.ISymbolProvider { |
d90ae2a5 | 28 | |
d90ae2a5 RK |
29 | /** |
30 | * Create the {@link ISymbolProviderPreferencePage} that can be used to | |
31 | * configure this {@link ISymbolProvider} | |
32 | * | |
33 | * @return the {@link ISymbolProviderPreferencePage} or null if this symbol | |
34 | * provider does not offer a configuration UI | |
35 | */ | |
36 | @Nullable ISymbolProviderPreferencePage createPreferencePage(); | |
37 | ||
38 | } |