comparison 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
comparison
equal deleted inserted replaced
19:2b36428a5ce4 20:d1f4edab3f34
1 /*******************************************************************************
2 * Copyright (c) 2006, 2007 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 * Chris Gross (schtoo@schtoo.com) - initial API and implementation for bug 16179
10 * IBM Corporation - revisions to initial contribution
11 * Port to the D programming language:
12 * Frank Benoit <benoit@tionex.de>
13 *******************************************************************************/
14 module dwtx.jface.dialogs.IPageChangingListener;
15
16 import dwtx.jface.dialogs.PageChangingEvent;
17
18 import dwt.dwthelper.utils;
19
20 /**
21 * A listener which is notified when the current page of a multi-page dialog is
22 * changing. Use this listener to perform long-running work that should only be
23 * executed once, when the page is in the process of changing, rather then
24 * during validation of page controls.
25 *
26 * @see PageChangingEvent
27 * @since 3.3
28 */
29 public interface IPageChangingListener {
30
31 /**
32 * Handle the an <code>IDialogPage</code> changing.
33 *
34 * The <code>doit</code> field of the <code>PageChangingEvent</code>
35 * must be set to false to prevent the page from changing.
36 *
37 * @param event
38 * event object describing the change
39 */
40 public void handlePageChanging(PageChangingEvent event);
41
42 }