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