1 /*******************************************************************************
2 * Copyright (c) 2016 Movidius Inc. and others
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
9 *******************************************************************************/
11 package org
.eclipse
.tracecompass
.tmf
.ui
.symbols
;
13 import org
.eclipse
.jdt
.annotation
.NonNullByDefault
;
14 import org
.eclipse
.jface
.preference
.PreferencePage
;
17 * Abstract implementation of the {@link ISymbolProviderPreferencePage}. Instead
18 * of implementing the interface one should extend this class.
24 public abstract class AbstractSymbolProviderPreferencePage
extends PreferencePage
implements ISymbolProviderPreferencePage
{
26 private final ISymbolProvider fProvider
;
29 * Create a new instance that knows how to configure the given provider
32 * the {@link ISymbolProvider} to configure
34 public AbstractSymbolProviderPreferencePage(ISymbolProvider provider
) {
36 setTitle(provider
.getTrace().getName());
37 noDefaultAndApplyButton();
41 public ISymbolProvider
getSymbolProvider() {