Mercurial > projects > dwt-addons
view dwtx/jface/dialogs/IPageChangingListener.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 source
/******************************************************************************* * Copyright (c) 2006, 2007 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: * Chris Gross (schtoo@schtoo.com) - initial API and implementation for bug 16179 * IBM Corporation - revisions to initial contribution * Port to the D programming language: * Frank Benoit <benoit@tionex.de> *******************************************************************************/ module dwtx.jface.dialogs.IPageChangingListener; import dwtx.jface.dialogs.PageChangingEvent; import dwt.dwthelper.utils; /** * A listener which is notified when the current page of a multi-page dialog is * changing. Use this listener to perform long-running work that should only be * executed once, when the page is in the process of changing, rather then * during validation of page controls. * * @see PageChangingEvent * @since 3.3 */ public interface IPageChangingListener { /** * Handle the an <code>IDialogPage</code> changing. * * The <code>doit</code> field of the <code>PageChangingEvent</code> * must be set to false to prevent the page from changing. * * @param event * event object describing the change */ public void handlePageChanging(PageChangingEvent event); }