1 /******************************************************************************* 2 * Copyright (c) 2000, 2004 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.internal.SWTEventObject; 14 15 16 import java.lang.all; 17 import java.util.EventObject; 18 19 /** 20 * This class is the cross-platform version of the 21 * java.util.EventObject class. 22 * <p> 23 * It is part of our effort to provide support for both J2SE 24 * and J2ME platforms. Under this scheme, classes need to 25 * extend SWTEventObject instead of java.util.EventObject. 26 * </p> 27 * <p> 28 * Note: java.util.EventObject is not part of CDC and CLDC. 29 * </p> 30 */ 31 public class SWTEventObject : EventObject { 32 33 //static const long serialVersionUID = 3258125873411470903L; 34 35 /** 36 * Constructs a new instance of this class. 37 * 38 * @param source the object which fired the event 39 */ 40 public this(Object source) { 41 super(source); 42 } 43 }