blob: 4e0d58e9231276fa4edd353666c66bb2073ca09c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 Remain Software
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* wim.jongman@remainsoftware.com - initial API and implementation
*******************************************************************************/
package org.eclipse.tips.ui.internal;
import org.eclipse.swt.widgets.Slider;
import org.eclipse.tips.core.TipProvider;
/**
* Interface for TipProvider listeners.
*/
@FunctionalInterface
public interface ProviderSelectionListener {
/**
* Is called when the provider is selected in the {@link Slider}.
*
* @param provider
* the {@link TipProvider} that was selected
*/
public void selected(TipProvider provider);
}