comparison dwt/browser/ProgressAdapter.d @ 125:5583f8eeee6c

Synced mozilla with dwt-linux
author Jacob Carlborg <doob@me.com>
date Fri, 16 Jan 2009 12:49:08 +0100
parents d8635bb48c7c
children
comparison
equal deleted inserted replaced
124:540fa4e9974a 125:5583f8eeee6c
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2003, 2008 IBM Corporation and others. 2 * Copyright (c) 2003, 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
8 * Contributors: 8 * Contributors:
9 * IBM Corporation - initial API and implementation 9 * IBM Corporation - initial API and implementation
10 *
11 * Port to the D programming language: 10 * Port to the D programming language:
12 * Jacob Carlborg <doob@me.com> 11 * John Reimer <terminal.node@gmail.com>
13 *******************************************************************************/ 12 *******************************************************************************/
14 module dwt.browser.ProgressAdapter; 13 module dwt.browser.ProgressAdapter;
15 14
15 import dwt.browser.ProgressEvent;
16 import dwt.browser.ProgressListener; 16 import dwt.browser.ProgressListener;
17 import dwt.browser.ProgressEvent;
18 import dwt.dwthelper.utils;
19 17
20 /** 18 /**
21 * This adapter class provides default implementations for the 19 * This adapter class provides default implementations for the
22 * methods described by the {@link ProgressListener} interface. 20 * methods described by the {@link ProgressListener} interface.
23 * <p> 21 * <p>
24 * Classes that wish to deal with {@link ProgressEvent}'s can 22 * Classes that wish to deal with {@link ProgressEvent}'s can
25 * extend this class and override only the methods which they are 23 * extend this class and override only the methods which they are
26 * interested in. 24 * interested in.
27 * </p> 25 * </p>
28 * 26 *
29 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
30 *
31 * @since 3.0 27 * @since 3.0
32 */ 28 */
33 public abstract class ProgressAdapter : ProgressListener { 29 public abstract class ProgressAdapter : ProgressListener {
30
31 public void changed(ProgressEvent event) {
32 }
34 33
35 public void changed (ProgressEvent event) { 34 public void completed(ProgressEvent event) {
36 }
37
38 public void completed (ProgressEvent event) {
39 }
40 } 35 }
36 }