1 /*******************************************************************************
2 * Copyright (c) 2000, 2011 IBM Corporation and others.
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/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.ole.win32;
18 * Implementers of <code>OleListener</code> provide a simple
19 * <code>handleEvent()</code> method that is used internally
20 * by SWT to dispatch events.
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.
32 public interface OleListener {
35 * Sent when an event that the receiver has registered for occurs.
37 * @param event the event which occurred
39 public void handleEvent(OleEvent event);