Skip to main content
summaryrefslogtreecommitdiffstats
blob: 4e0d58e9231276fa4edd353666c66bb2073ca09c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*******************************************************************************
 * 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);
}

Back to the top