-
Notifications
You must be signed in to change notification settings - Fork 96
/
SelectionChangeListener.java
41 lines (37 loc) · 1.46 KB
/
SelectionChangeListener.java
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
30
31
32
33
34
35
36
37
38
39
40
41
/*******************************************************************************
* Copyright (c) 2014-2021 Laurent CARON
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors: Laurent CARON (laurent.caron at gmail dot com) - initial API
* and implementation
*******************************************************************************/
package org.eclipse.nebula.widgets.opal.duallist;
import org.eclipse.swt.internal.SWTEventListener;
/**
* Classes which implement this interface provide methods that deal with the
* events that are generated when selection occurs in a control.
* <p>
* After creating an instance of a class that implements this interface it can
* be added to a control using the <code>addSelectionChangeListener</code>
* method and removed using the <code>removeSelectionChangeListener</code>
* method. When selection occurs in a control the appropriate method will be
* invoked.
* </p>
*
* @see SelectionChangeEvent
*/
@SuppressWarnings("restriction")
@FunctionalInterface
public interface SelectionChangeListener extends SWTEventListener {
/**
* Sent when selection occurs in the control.
*
* @param e an event containing information about the selection
*/
public void widgetSelected(SelectionChangeEvent e);
}