Mercurial > projects > dwt-addons
diff dwtx/jface/dialogs/IPageChangedListener.d @ 20:d1f4edab3f34
Page Change
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 03 Apr 2008 00:33:43 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwtx/jface/dialogs/IPageChangedListener.d Thu Apr 03 00:33:43 2008 +0200 @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2005 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: + * Frank Benoit <benoit@tionex.de> + *******************************************************************************/ +module dwtx.jface.dialogs.IPageChangedListener; + +import dwtx.jface.dialogs.PageChangedEvent; + +import dwt.dwthelper.utils; + +/** + * A listener which is notified when the current page of the multi-page dialog + * is changed. + * + * @see IPageChangeProvider + * @see PageChangedEvent + * + * @since 3.1 + */ +public interface IPageChangedListener { + /** + * Notifies that the selected page has changed. + * + * @param event + * event object describing the change + */ + public void pageChanged(PageChangedEvent event); +}