diff dwt/browser.old/LocationAdapter.d @ 288:4ee8c4237614

old branches... commit by mistake
author John Reimer<terminal.node@gmail.com>
date Tue, 05 Aug 2008 18:00:50 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dwt/browser.old/LocationAdapter.d	Tue Aug 05 18:00:50 2008 -0700
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2003, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ * Port to the D programming language:
+ *     John Reimer <terminal.node@gmail.com>
+ *******************************************************************************/
+module dwt.browser.LocationAdapter;
+
+import dwt.browser.LocationListener;
+import dwt.browser.LocationEvent;
+import dwt.dwthelper.utils;
+
+/**
+ * This adapter class provides default implementations for the
+ * methods described by the {@link LocationListener} interface.
+ * <p>
+ * Classes that wish to deal with {@link LocationEvent}'s can
+ * extend this class and override only the methods which they are
+ * interested in.
+ * </p>
+ * 
+ * @since 3.0
+ */
+public abstract class LocationAdapter : LocationListener {
+
+    public void changing(LocationEvent event) {
+    }
+
+    public void changed(LocationEvent event) {
+    }
+}