]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/src/org/eclipse/swt/ole/win32/OleListener.java
Merge branch 'bug-623' into release/1.43.0
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / src / org / eclipse / swt / ole / win32 / OleListener.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2011 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.swt.ole.win32;
15
16
17 /**
18  * Implementers of <code>OleListener</code> provide a simple
19  * <code>handleEvent()</code> method that is used internally
20  * by SWT to dispatch events.
21  * <p>
22  * After creating an instance of a class that implements this
23  * interface it can be added to an <code>OleControlSite</code>
24  * using the <code>addEventListener()</code> method and removed
25  * using the <code>removeEventListener()</code> method.  When the
26  * specified event occurs, <code>handleEvent()</code> will be
27  * sent to the instance.
28  * </p>
29  *
30  * @see OleControlSite
31  */
32 public interface OleListener {
33
34 /**
35  * Sent when an event that the receiver has registered for occurs.
36  *
37  * @param event the event which occurred
38  */
39 public void handleEvent(OleEvent event);
40 }