01: /*******************************************************************************
02: * Copyright (c) 2006, 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Chris Gross (schtoo@schtoo.com) - initial API and implementation for bug 16179
10: * IBM Corporation - revisions to initial contribution
11: *******************************************************************************/package org.eclipse.jface.dialogs;
12:
13: /**
14: * A listener which is notified when the current page of a multi-page dialog is
15: * changing. Use this listener to perform long-running work that should only be
16: * executed once, when the page is in the process of changing, rather then
17: * during validation of page controls.
18: *
19: * @see PageChangingEvent
20: * @since 3.3
21: */
22: public interface IPageChangingListener {
23:
24: /**
25: * Handle the an <code>IDialogPage</code> changing.
26: *
27: * The <code>doit</code> field of the <code>PageChangingEvent</code>
28: * must be set to false to prevent the page from changing.
29: *
30: * @param event
31: * event object describing the change
32: */
33: public void handlePageChanging(PageChangingEvent event);
34:
35: }
|