Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/ole/win32/OleListener.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 /******************************************************************************* | |
2 * Copyright (c) 2000, 2008 IBM Corporation and others. | |
3 * All rights reserved. This program and the accompanying materials | |
4 * are made available under the terms of the Eclipse Public License v1.0 | |
5 * which accompanies this distribution, and is available at | |
6 * http://www.eclipse.org/legal/epl-v10.html | |
7 * | |
8 * Contributors: | |
9 * IBM Corporation - initial API and implementation | |
10 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
12 *******************************************************************************/ | |
13 module org.eclipse.swt.ole.win32.OleListener; | |
14 | |
15 import org.eclipse.swt.ole.win32.OleEvent; | |
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 } |