35
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2004, 2006 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 * IBM Corporation - initial API and implementation
|
|
10 * Port to the D programming language:
|
|
11 * Frank Benoit <benoit@tionex.de>
|
|
12 *******************************************************************************/
|
|
13
|
|
14 module dwtx.jface.wizard.IWizardContainer2;
|
|
15
|
|
16 import dwtx.jface.wizard.IWizardContainer;
|
|
17
|
|
18 /**
|
|
19 * <p><code>IWizardContainer2</code> is a supplement to
|
|
20 * <code>IWizardContainer</code> that adds a method for updating the size of
|
|
21 * the wizard shell based on the contents of the current page.</p>
|
|
22 *
|
|
23 * <p>The class <code>WizardDialog</code> provides a fully functional
|
|
24 * implementation of this interface which will meet the needs of
|
|
25 * most clients. However, clients are also free to implement this
|
|
26 * interface if <code>WizardDialog</code> does not suit their needs.
|
|
27 * </p>
|
|
28 *
|
|
29 * @see dwtx.jface.wizard.IWizardContainer
|
|
30 * @since 3.0
|
|
31 */
|
|
32 public interface IWizardContainer2 : IWizardContainer {
|
|
33
|
|
34 /**
|
|
35 * Updates the window size to reflect the state of the current wizard.
|
|
36 * <p>
|
|
37 * This method is called by the container itself
|
|
38 * when its wizard changes and may be called
|
|
39 * by the wizard at other times to force a window
|
|
40 * size change.
|
|
41 * </p>
|
|
42 */
|
|
43 public void updateSize();
|
|
44 }
|